emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Variable settings in .emacs VS cross device portability.


From: Sebastien Vauban
Subject: Re: [O] Variable settings in .emacs VS cross device portability.
Date: Wed, 01 Feb 2012 18:43:29 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.92 (windows-nt)

Hi Eric,

Eric S Fraga wrote:
> herewith is a minimal example that illustrates the problem I have with
> exporting and file local variables.  The attached file re-defines
> org-export-latex-tag-markup to use a box instead of bold for tags.  When
> I visit the file, Emacs does indeed set the variable to what I
> want. However, this setting is ignored on export.
>
> Actually, in this case, the BIND is also ignored on export even though
> the variable does change to the specified value after export!
>
> I am very confused, to say the least.  *How* can I get file local
> behaviour when exporting with org?  Am I doing something silly
> somewhere?  (highly likely given my past track record ;-)  Do others see
> different behaviour?
>
> I'm up to date (as of this morning) with org and latest emacs as of last
> week.
>
> Thanks,
> eric
>
>
> # -*- org-export-latex-tag-markup: "locally set: \\fbox{%s}"; -*-
> #+TITLE:     examplebug.org
> #+AUTHOR:    Eric S Fraga
> #+EMAIL:     address@hidden
> #+DATE:      2012-01-09 Mon
>
> #+bind: org-export-latex-tag-markup  "bound: \\fbox{%s}"
>
> * Formatting tags                                                   :example:
>   When exporting, the default is to put tags in bold.  I want a box around 
> them.

I almost never play(ed) with local variables and bind variables, but I wanted
to confirm what you see:

the local variable is the one set by your bind; but it has no impact on the
exported LaTeX file...

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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