emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [BUG] latex superscript and documentation bugs


From: Dan Davison
Subject: [Orgmode] [BUG] latex superscript and documentation bugs
Date: Tue, 27 Apr 2010 20:57:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Org:
x^{(0)}

becomes [note missing parenthesis]

LaTeX:
x$^{\mathrm{(0}}$

(Emacs 24 with Org 6.35i and also with current Org-mode HEAD)

Also, two possible documentation bugs:

1
=============================

http://orgmode.org/manual/Images-and-tables.html#Images-and-tables

says

    You can use the following lines somewhere before the table to assign
    a caption and a label for cross references, and in the text you can
    refer to the object with \ref{tab:basic-data}:

I think that is a LaTeX-specific comment in a non-LaTeX specific manual
section? Should it say "and if exporting to LaTeX, in the text you can
refer to the object..."?



2
==============================

In the docstring for org-export-latex-classes it says

    So a header like
    
      \documentclass{article}
      [NO-DEFAULT-PACKAGES]
      [EXTRA]
      \providecommand{\alert}[1]{\textbf{#1}}
      [PACKAGES]
    
    will omit the default packages, 

I wonder whether it would be better to show the double backslashes (\\)
explicitly, seeing as the user will need to escape them in this way, or
at least to warn the reader.


Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]