emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] latex export extra package formatted improperly
@ 2015-01-19 12:23 Eric S Fraga
  2015-01-19 12:31 ` Rasmus
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2015-01-19 12:23 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I have the following customisation for LaTeX export in org:

  (add-to-list 'org-latex-packages-alist '("version=3", "mhchem"))

I updated org yesterday (and again today) and now I cannot export to
LaTeX without error.  The above line results in the following LaTeX
preamble line:

  \usepackage[version=3]{(, mhchem)}

which should actually be 

  \usepackage[version=3]{mhchem}

I will try to track this down to a particular commit later.

Thanks in advance,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-703-gef523b.dirty

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

* Re: [bug] latex export extra package formatted improperly
  2015-01-19 12:23 [bug] latex export extra package formatted improperly Eric S Fraga
@ 2015-01-19 12:31 ` Rasmus
  2015-01-19 16:30   ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2015-01-19 12:31 UTC (permalink / raw)
  To: emacs-orgmode

Hi Eric,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> I have the following customisation for LaTeX export in org:
>
>   (add-to-list 'org-latex-packages-alist '("version=3", "mhchem"))
                                                       ^^^

Do you actually have the comma in your init.el?  If so that's the issue.

Otherwise, nothing looks suspicious in the log and I can't reproduce the
issue with the current head.

Cheers,
Rasmus

-- 
When the facts change, I change my mind. What do you do, sir?

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

* Re: [bug] latex export extra package formatted improperly
  2015-01-19 12:31 ` Rasmus
@ 2015-01-19 16:30   ` Eric S Fraga
  0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2015-01-19 16:30 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

On Monday, 19 Jan 2015 at 13:31, Rasmus wrote:
> Hi Eric,
>
> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>
>> I have the following customisation for LaTeX export in org:
>>
>>   (add-to-list 'org-latex-packages-alist '("version=3", "mhchem"))
>                                                        ^^^
>
> Do you actually have the comma in your init.el?  If so that's the issue.

<blush>

it is indeed the issue.  Very embarrassing: I use org for my emacs
customisation but generate the .el file by tangling.  I fixed this a
while ago in the .el and not in the org file and only just regenerated
the .el.  Sigh.

Thanks for your help!
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-726-gd34b80.dirty

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

end of thread, other threads:[~2015-01-19 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 12:23 [bug] latex export extra package formatted improperly Eric S Fraga
2015-01-19 12:31 ` Rasmus
2015-01-19 16:30   ` Eric S Fraga

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