emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas S. Dye <tsd@tsdye.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Possible bug in LaTeX export of special blocks
Date: Fri, 26 Feb 2016 14:08:50 -1000	[thread overview]
Message-ID: <m24mcvovzh.fsf@tsdye.com> (raw)

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

             reply	other threads:[~2016-02-27  0:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27  0:08 Thomas S. Dye [this message]
2016-02-27  8:36 ` Possible bug in LaTeX export of special blocks Nicolas Goaziou
2016-02-27 13:43   ` Thomas S. Dye

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=m24mcvovzh.fsf@tsdye.com \
    --to=tsd@tsdye.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).