emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Minor bug in org export to latex
@ 2013-05-31 14:50 Robert Goldman
  2013-05-31 15:22 ` Rasmus
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Goldman @ 2013-05-31 14:50 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

I find that a mathmode environment, bounded by $..$, that breaks across
line boundaries, is not typeset correctly.

I am attaching a minimal example org-file.

Best,
r

[-- Attachment #2: test-latex-export-bug.org --]
[-- Type: text/plain, Size: 742 bytes --]

#+TITLE: Latex Export bug on line boundaries
#+AUTHOR: Robert P. Goldman
#+DATE: <2013-05-31 Fri>
#+EMAIL: rpgoldman@sift.info
#+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline author:t c:nil
#+OPTIONS: creator:comment d:(not LOGBOOK) date:t e:t email:nil f:t inline:t
#+OPTIONS: num:t p:nil pri:nil stat:t tags:t tasks:t tex:t timestamp:t toc:t
#+OPTIONS: todo:t |:t
#+CREATOR: Emacs 24.3.50.3 (Org mode 8.0.3)
#+DESCRIPTION:
#+EXCLUDE_TAGS: noexport
#+KEYWORDS:
#+LANGUAGE: en
#+SELECT_TAGS: export

* Here is a good example

$(1 - \nu)$

* Here is a bad example

When I type a lot of text in front of the mathmode so that the mathmode breaks
across a line boundary, I find that it is not typeset properly as here: $(1 
- \nu)$

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

* Re: Minor bug in org export to latex
  2013-05-31 14:50 Minor bug in org export to latex Robert Goldman
@ 2013-05-31 15:22 ` Rasmus
  0 siblings, 0 replies; 2+ messages in thread
From: Rasmus @ 2013-05-31 15:22 UTC (permalink / raw)
  To: emacs-orgmode


It's not a bug.

> I find that a mathmode environment, bounded by $..$, that breaks across
> line boundaries, is not typeset correctly.

It just happens to work most of the times.  Use \(.\) when in doubt.


> I am attaching a minimal example org-file.
> When I type a lot of text in front of the mathmode so that the mathmode breaks
> across a line boundary, I find that it is not typeset properly as here: $(1 
> - \nu)$

but

 $(1
    x -\nu)$

would work.  -/+ is being picked up because it starts a list.

Hope this helps,
Rasmus

-- 
⠠⠵

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

end of thread, other threads:[~2013-05-31 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31 14:50 Minor bug in org export to latex Robert Goldman
2013-05-31 15:22 ` Rasmus

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