* org-latex-fragments on sections
@ 2015-03-02 11:26 Andreas Leha
2015-03-02 11:52 ` Rasmus
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Leha @ 2015-03-02 11:26 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-latex-fragments on sections
2015-03-02 11:26 org-latex-fragments on sections Andreas Leha
@ 2015-03-02 11:52 ` Rasmus
2015-03-02 12:03 ` Andreas Leha
0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2015-03-02 11:52 UTC (permalink / raw)
To: emacs-orgmode
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> 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.
> [...]
> 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.
I can't reproduce in neither Org 8.2 nor 8.3 using emacs -q.
When I put the cursor on ** section 1.1 and do C-u C-c C-x C-l I get the
desired fragments, i.e. section 1.1.1 and 1.1.2.
—Rasmus
--
It was you, Jezebel, it was you
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-latex-fragments on sections
2015-03-02 11:52 ` Rasmus
@ 2015-03-02 12:03 ` Andreas Leha
2015-03-02 12:19 ` Rasmus
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Leha @ 2015-03-02 12:03 UTC (permalink / raw)
To: emacs-orgmode
Hi Rasmus,
Thanks for testing this
Rasmus <rasmus@gmx.us> writes:
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>
>> 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.
>> [...]
>> 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.
>
> I can't reproduce in neither Org 8.2 nor 8.3 using emacs -q.
>
> When I put the cursor on ** section 1.1 and do C-u C-c C-x C-l I get the
> desired fragments, i.e. section 1.1.1 and 1.1.2.
>
> —Rasmus
I just tried with emacs -Q (which I had not done previously) and can
still reproduce it.
My system info:
GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.3.0, NS appkit-1265.21 Version 10.9.4 (Build 13E28)) of 2014-09-02 on mib106584i.local
Org-mode version 8.3beta (release_8.3beta-902-gd749e8)
Best,
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-latex-fragments on sections
2015-03-02 12:03 ` Andreas Leha
@ 2015-03-02 12:19 ` Rasmus
2015-03-02 12:36 ` Andreas Leha
0 siblings, 1 reply; 6+ messages in thread
From: Rasmus @ 2015-03-02 12:19 UTC (permalink / raw)
To: emacs-orgmode
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> Hi Rasmus,
>
> Thanks for testing this
>
> Rasmus <rasmus@gmx.us> writes:
>> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>>
>>
>>> 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.
>>> [...]
>>> 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.
>>
>> I can't reproduce in neither Org 8.2 nor 8.3 using emacs -q.
>>
>> When I put the cursor on ** section 1.1 and do C-u C-c C-x C-l I get the
>> desired fragments, i.e. section 1.1.1 and 1.1.2.
>>
>> —Rasmus
>
> I just tried with emacs -Q (which I had not done previously) and can
> still reproduce it.
>
> My system info:
>
> GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.3.0, NS appkit-1265.21
> Version 10.9.4 (Build 13E28)) of 2014-09-02 on mib106584i.local
> Org-mode version 8.3beta (release_8.3beta-902-gd749e8)
I'm on:
GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.8) of 2015-02-27 on W530
Org-mode version 8.3beta (release_8.3beta-882-gf8731e @ /usr/share/emacs/site-lisp/org/)
And I just updated to latest version of master, and it still works.
This is what I see
http://i.imgur.com/RytjyTW.png
Perhaps I misunderstood the issue?
Rasmus
--
. . . It begins of course with The Internet. A Net of Peers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-latex-fragments on sections
2015-03-02 12:19 ` Rasmus
@ 2015-03-02 12:36 ` Andreas Leha
2015-03-02 22:53 ` Andreas Leha
0 siblings, 1 reply; 6+ messages in thread
From: Andreas Leha @ 2015-03-02 12:36 UTC (permalink / raw)
To: emacs-orgmode
Hi Rasmus,
Rasmus <rasmus@gmx.us> writes:
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> Hi Rasmus,
>>
>> Thanks for testing this
>>
>> Rasmus <rasmus@gmx.us> writes:
>>> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>>>
>>>
>>>> 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.
>>>> [...]
>>>> 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.
>>>
>>> I can't reproduce in neither Org 8.2 nor 8.3 using emacs -q.
>>>
>>> When I put the cursor on ** section 1.1 and do C-u C-c C-x C-l I get the
>>> desired fragments, i.e. section 1.1.1 and 1.1.2.
>>>
>>> —Rasmus
>>
>> I just tried with emacs -Q (which I had not done previously) and can
>> still reproduce it.
>>
>> My system info:
>>
>> GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.3.0, NS appkit-1265.21
>> Version 10.9.4 (Build 13E28)) of 2014-09-02 on mib106584i.local
>> Org-mode version 8.3beta (release_8.3beta-902-gd749e8)
>
> I'm on:
>
> GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.8) of 2015-02-27 on W530
>
> Org-mode version 8.3beta (release_8.3beta-882-gf8731e @ /usr/share/emacs/site-lisp/org/)
>
> And I just updated to latest version of master, and it still works.
That is strange.
>
> This is what I see
>
> http://i.imgur.com/RytjyTW.png
>
> Perhaps I misunderstood the issue?
I think you understood correctly. That is what I'd like to see, as
well. But I see this
http://i.imgur.com/KJJHSWl.png
Thanks,
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: org-latex-fragments on sections
2015-03-02 12:36 ` Andreas Leha
@ 2015-03-02 22:53 ` Andreas Leha
0 siblings, 0 replies; 6+ messages in thread
From: Andreas Leha @ 2015-03-02 22:53 UTC (permalink / raw)
To: emacs-orgmode
Hi Rasmus,
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> Hi Rasmus,
>
> Rasmus <rasmus@gmx.us> writes:
>> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>>
>>> Hi Rasmus,
>>>
>>> Thanks for testing this
>>>
>>> Rasmus <rasmus@gmx.us> writes:
>>>> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>>>>
>>>>
>>>>> 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.
>>>>> [...]
>>>>> 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.
>>>>
>>>> I can't reproduce in neither Org 8.2 nor 8.3 using emacs -q.
>>>>
>>>> When I put the cursor on ** section 1.1 and do C-u C-c C-x C-l I get the
>>>> desired fragments, i.e. section 1.1.1 and 1.1.2.
>>>>
>>>> —Rasmus
>>>
>>> I just tried with emacs -Q (which I had not done previously) and can
>>> still reproduce it.
>>>
>>> My system info:
>>>
>>> GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.3.0, NS appkit-1265.21
>>> Version 10.9.4 (Build 13E28)) of 2014-09-02 on mib106584i.local
>>> Org-mode version 8.3beta (release_8.3beta-902-gd749e8)
>>
>> I'm on:
>>
>> GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.8) of 2015-02-27 on W530
>>
>> Org-mode version 8.3beta (release_8.3beta-882-gf8731e @ /usr/share/emacs/site-lisp/org/)
>>
>> And I just updated to latest version of master, and it still works.
>
> That is strange.
>
Nothing strange after all. I just forgot that I still had Nicolas (very
nice) patch about improved latex fragment handling applied. On the
clean build I see the expected behaviour as well. Thanks for your
effort in reproducing this.
(Reported in that thread
http://permalink.gmane.org/gmane.emacs.orgmode/95597)
Sorry for the noise,
Andreas
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-03-02 22:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-02 11:26 org-latex-fragments on sections Andreas Leha
2015-03-02 11:52 ` 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
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).