emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Additional empty line in TeXinfo export of #+BEGIN_SRC ... #+END_SRC [7.9.3e (7.9.3e-957-g03e433 @ /home/fifr/.emacs.d/el-get/org-mode/lisp/)]
@ 2013-02-10 10:00 Frank Fischer
  2013-02-10 19:51 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Fischer @ 2013-02-10 10:00 UTC (permalink / raw)
  To: emacs-orgmode

Consider the following minimal org-file:

===
One line before
#+BEGIN_SRC shell
Some example
#+END_SRC
One line after
===

When exporting to texi, the file contains an additional empty line
before the "@end example":

===
...
One line before
@example
Some example

@end example
One line after
...
===

While this makes no difference for the resulting "info" file when
converting this file by "makeinfo test.texi", it does make a difference
when converting to pdf by "texi2pdf test.texi": there's an extra empty
line between the example and the following text. Therefore I think the
exported file should not contain that empty line.


Emacs  : GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-11-09 on lakoocha, modified by Debian
Package: Org-mode version 7.9.3e (7.9.3e-957-g03e433 @
~/.emacs.d/el-get/org-mode/lisp/)

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

* Re: Bug: Additional empty line in TeXinfo export of #+BEGIN_SRC ... #+END_SRC [7.9.3e (7.9.3e-957-g03e433 @ /home/fifr/.emacs.d/el-get/org-mode/lisp/)]
  2013-02-10 10:00 Bug: Additional empty line in TeXinfo export of #+BEGIN_SRC ... #+END_SRC [7.9.3e (7.9.3e-957-g03e433 @ /home/fifr/.emacs.d/el-get/org-mode/lisp/)] Frank Fischer
@ 2013-02-10 19:51 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-02-10 19:51 UTC (permalink / raw)
  To: Frank Fischer; +Cc: emacs-orgmode

Hello,

Frank Fischer <frank-fischer@shadow-soft.de> writes:

> Consider the following minimal org-file:
>
> === One line before
> #+BEGIN_SRC shell
> Some example
> #+END_SRC
> One line after
> ===
>
> When exporting to texi, the file contains an additional empty line
> before the "@end example":
>
> ===
> ...
> One line before
> @example
> Some example
>
> @end example
> One line after
> ...
> ===
>
> While this makes no difference for the resulting "info" file when
> converting this file by "makeinfo test.texi", it does make a difference
> when converting to pdf by "texi2pdf test.texi": there's an extra empty
> line between the example and the following text. Therefore I think the
> exported file should not contain that empty line.

Indeed. This should now be fixed in master. 

Thank you for reporting this.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2013-02-10 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-10 10:00 Bug: Additional empty line in TeXinfo export of #+BEGIN_SRC ... #+END_SRC [7.9.3e (7.9.3e-957-g03e433 @ /home/fifr/.emacs.d/el-get/org-mode/lisp/)] Frank Fischer
2013-02-10 19:51 ` Nicolas Goaziou

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