* [BUG] Italic objects parsed as latex-fragments
@ 2013-10-13 14:25 Thorsten Jolitz
2013-10-13 16:24 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Jolitz @ 2013-10-13 14:25 UTC (permalink / raw)
To: emacs-orgmode
Hi List,
with tmp.org
#+begin_src org
* TODO [#A] This *is* _the_ \Headline\ <2013-10-13 So 04:44> :tag1:
:PROPERTIES:
:CUSTOM_ID: abc123
:END:
#+end_src
calling `org-element-parse-buffer' yields:
#+begin_src emacs-lisp
(org-data nil (headline (:raw-value This *is* _the_ \Headline\
<2013-10-13 So 04:44> :begin 1 :end 113 :pre-blank 0 :hiddenp
nil :contents-begin 69 :contents-end 113 :level 1 :priority
65 :tags (tag1) :todo-keyword TODO :todo-type todo :post-blank
0 :footnote-section-p nil :archivedp nil :commentedp nil :quotedp
nil :CUSTOM_ID abc123 :CATEGORY ??? :title (This (bold (:begin
6 :end 11 :contents-begin 7 :contents-end 9 :post-blank 1 :parent
#1) is) (underline (:begin 11 :end 17 :contents-begin
12 :contents-end 15 :post-blank 1 :parent #1)
the) (latex-fragment (:value \Headline :begin 17 :end
26 :post-blank 0 :parent #1)) \ (timestamp (:type
active :raw-value <2013-10-13 So 04:44> :year-start
2013 :month-start 10 :day-start 13 :hour-start 4 :minute-start
44 :year-end 2013 :month-end 10 :day-end 13 :hour-end
4 :minute-end 44 :begin 28 :end 49 :post-blank 0 :parent
#1))) :parent #0) (section (:begin 69 :end 113 :contents-begin
69 :contents-end 113 :post-blank 0 :parent
#1) (property-drawer (:begin 69 :end 113 :hiddenp
nil :contents-begin 84 :contents-end 105 :post-blank
0 :post-affiliated 69 :parent #2) (node-property (:key
CUSTOM_ID :value abc123 :begin 84 :end 105 :post-blank 0 :parent
#3))))))
#+end_src
Note that
#+begin_src emacs-lisp
(latex-fragment (:value \Headline :begin 17 :end
26 :post-blank 0 :parent #1))
#+end_src
should really be an =(italic (...))= object.
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] Italic objects parsed as latex-fragments
2013-10-13 14:25 [BUG] Italic objects parsed as latex-fragments Thorsten Jolitz
@ 2013-10-13 16:24 ` Nicolas Goaziou
2013-10-13 16:38 ` Thorsten Jolitz
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-10-13 16:24 UTC (permalink / raw)
To: Thorsten Jolitz; +Cc: emacs-orgmode
Hello,
Thorsten Jolitz <tjolitz@gmail.com> writes:
> with tmp.org
>
> #+begin_src org
> * TODO [#A] This *is* _the_ \Headline\ <2013-10-13 So 04:44> :tag1:
> :PROPERTIES:
> :CUSTOM_ID: abc123
> :END:
> #+end_src
Italic syntax is /Headline/, not \Headline\.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] Italic objects parsed as latex-fragments
2013-10-13 16:24 ` Nicolas Goaziou
@ 2013-10-13 16:38 ` Thorsten Jolitz
0 siblings, 0 replies; 3+ messages in thread
From: Thorsten Jolitz @ 2013-10-13 16:38 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Hello,
>
> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> with tmp.org
>>
>> #+begin_src org
>> * TODO [#A] This *is* _the_ \Headline\ <2013-10-13 So 04:44> :tag1:
>> :PROPERTIES:
>> :CUSTOM_ID: abc123
>> :END:
>> #+end_src
>
> Italic syntax is /Headline/, not \Headline\.
,--------------------------------------------------------------
| You can make words *bold*, /italic/, _underlined_, =code= and
| ~verbatim~, and, if you must, ‘+strike-through+’.
`--------------------------------------------------------------
Ups, you are right - sorry for the noise.
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-13 16:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-13 14:25 [BUG] Italic objects parsed as latex-fragments Thorsten Jolitz
2013-10-13 16:24 ` Nicolas Goaziou
2013-10-13 16:38 ` Thorsten Jolitz
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).