emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] latex superscript and documentation bugs
@ 2010-04-28  0:57 Dan Davison
  2010-04-28 15:22 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Davison @ 2010-04-28  0:57 UTC (permalink / raw)
  To: emacs org-mode mailing list

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

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

* Re: [BUG] latex superscript and documentation bugs
  2010-04-28  0:57 [BUG] latex superscript and documentation bugs Dan Davison
@ 2010-04-28 15:22 ` Carsten Dominik
  2010-04-28 19:00   ` Dan Davison
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2010-04-28 15:22 UTC (permalink / raw)
  To: Dan Davison; +Cc: emacs org-mode mailing list


On Apr 28, 2010, at 2:57 AM, Dan Davison wrote:

> Org:
> x^{(0)}
>
> becomes [note missing parenthesis]
>
> LaTeX:
> x$^{\mathrm{(0}}$

This is now fixed.

>
> (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..."?

No, this works also in HTML.  It should, anyway.

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

You can add a warning - but this depends on whether you use customize  
or not to edit the variable.

- Carsten

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

* Re: [BUG] latex superscript and documentation bugs
  2010-04-28 15:22 ` Carsten Dominik
@ 2010-04-28 19:00   ` Dan Davison
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Davison @ 2010-04-28 19:00 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs org-mode mailing list

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Apr 28, 2010, at 2:57 AM, Dan Davison wrote:
>
>> Org:
>> x^{(0)}
>>
>> becomes [note missing parenthesis]
>>
>> LaTeX:
>> x$^{\mathrm{(0}}$
>
> This is now fixed.

Thanks!

Dan

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

end of thread, other threads:[~2010-04-28 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28  0:57 [BUG] latex superscript and documentation bugs Dan Davison
2010-04-28 15:22 ` Carsten Dominik
2010-04-28 19:00   ` Dan Davison

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