emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Possible bug in LaTeX export of special blocks
@ 2016-02-27  0:08 Thomas S. Dye
  2016-02-27  8:36 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas S. Dye @ 2016-02-27  0:08 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Aloha all,

Exporting these two special blocks to LaTeX

,------------------
| #+name: eq:foobar
| #+begin_equation 
| foo = bar        
| #+end_equation   
|                  
| #+begin_equation 
| bar = baz        
| #+end_equation   
`------------------

yields this in the tex file

,-------------------------
| \begin{equation}        
| foo = bar               
| \label{orgspecialblock1}
|                         
| \end{equation}          
|                         
| \begin{equation}        
| bar = baz               
| \end{equation}          
`-------------------------

The blank line after \label{orgspecialblock1} causes the equation number
to be set on the following line, rather than to the right of the
equation.  My expectation is there is no blank line after the \label,
which yields the desired behavior.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Possible bug in LaTeX export of special blocks
  2016-02-27  0:08 Possible bug in LaTeX export of special blocks Thomas S. Dye
@ 2016-02-27  8:36 ` Nicolas Goaziou
  2016-02-27 13:43   ` Thomas S. Dye
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-02-27  8:36 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-orgmode@gnu.org

Hello,

Thomas S. Dye <tsd@tsdye.com> writes:

> Exporting these two special blocks to LaTeX
>
> ,------------------
> | #+name: eq:foobar
> | #+begin_equation 
> | foo = bar        
> | #+end_equation   
> |                  
> | #+begin_equation 
> | bar = baz        
> | #+end_equation   
> `------------------
>
> yields this in the tex file
>
> ,-------------------------
> | \begin{equation}        
> | foo = bar               
> | \label{orgspecialblock1}
> |                         
> | \end{equation}          
> |                         
> | \begin{equation}        
> | bar = baz               
> | \end{equation}          
> `-------------------------
>
> The blank line after \label{orgspecialblock1} causes the equation number
> to be set on the following line, rather than to the right of the
> equation.  My expectation is there is no blank line after the \label,
> which yields the desired behavior.

Fixed in maint. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Possible bug in LaTeX export of special blocks
  2016-02-27  8:36 ` Nicolas Goaziou
@ 2016-02-27 13:43   ` Thomas S. Dye
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas S. Dye @ 2016-02-27 13:43 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode@gnu.org

Aloha Nicolas,

Nicolas Goaziou writes:
>>
>> The blank line after \label{orgspecialblock1} causes the equation number
>> to be set on the following line, rather than to the right of the
>> equation.  My expectation is there is no blank line after the \label,
>> which yields the desired behavior.
>
> Fixed in maint. Thank you.

Perfect.  Thanks!

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-27 13:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-27  0:08 Possible bug in LaTeX export of special blocks Thomas S. Dye
2016-02-27  8:36 ` Nicolas Goaziou
2016-02-27 13:43   ` Thomas S. Dye

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).