emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: org-latex-fragments on sections
Date: Mon, 02 Mar 2015 11:26:29 +0000	[thread overview]
Message-ID: <olur3t7od22.fsf@med.uni-goettingen.de> (raw)

Hi, 

I am forwarding a question from stackexchange [1] here, as I am
interested in this myself and I think this a bug.

I just add that the behaviour is not as expected also when the prefixed
command (C-u C-c C-x C-l) is used.

begin_quote

In the following Orgmode file, I can't figure a way to preview only the
latex fragments of section 1.1 (= those contained in sections 1.1.1 and
1.1.2, not those of section 1.2 nor section 2)

#+begin_org
* section 1
** section 1.1
*** section 1.1.1
$\alpha=1$ 
*** section 1.1.2
$\alpha=2$
** section 1.2 
$\alpha=3$

* section 2 
** section 2.1
$\alpha=4$
** section 2.2
$\alpha=5$
#+end_org

unfortunately when my maker is at point

  ** section 1.1

the command org-preview-latex-fragment (C-c C-x C-l) has no effect.

Same question to preview only the latex fragments of (the whole) section
1, it seems that at point

  * section 1 

the command C-c C-x C-l processes ALL latex fragments (section 1 and
section 2) of the tree.

end_quote


Regards,
Andreas


[1] http://stackoverflow.com/questions/28807852/dealing-with-org-latex-preview-within-trees

             reply	other threads:[~2015-03-02 11:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-02 11:26 Andreas Leha [this message]
2015-03-02 11:52 ` org-latex-fragments on sections Rasmus
2015-03-02 12:03   ` Andreas Leha
2015-03-02 12:19     ` Rasmus
2015-03-02 12:36       ` Andreas Leha
2015-03-02 22:53         ` Andreas Leha

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=olur3t7od22.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --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).