emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Italic objects parsed as latex-fragments
Date: Sun, 13 Oct 2013 16:25:12 +0200	[thread overview]
Message-ID: <87ob6tdz93.fsf@gmail.com> (raw)


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

             reply	other threads:[~2013-10-13 14:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-13 14:25 Thorsten Jolitz [this message]
2013-10-13 16:24 ` [BUG] Italic objects parsed as latex-fragments Nicolas Goaziou
2013-10-13 16:38   ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ob6tdz93.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).