emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* editing "org-export-latex-default-packages-alist" has no effect
@ 2011-04-23  7:24 Stinky Wizzleteet
  2011-04-23 14:24 ` Aankhen
  2011-04-23 19:54 ` Carsten Dominik
  0 siblings, 2 replies; 7+ messages in thread
From: Stinky Wizzleteet @ 2011-04-23  7:24 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

thanks to help on this list I found out about this variable as I need to
omit the "textcomp" and "fontenc" packages in my exported latex header.
My tex file won't compile otherwise on my n900.

my init.el contains :

(custom-set-variables

  '(org-export-latex-default-packages-alist (quote (("AUTO" "inputenc" t) ("T1" "fontenc" nil) ("" "fixltx2e" nil) ("" "graphicx" t) ("" "longtable" nil) ("" "float" nil) ("" "wrapfig" nil) ("" "soul" t) ("" "textcomp" nil) ("" "marvosym" t) ("" "wasysym" t) ("" "latexsym" t) ("" "amssymb" t) ("" "hyperref" nil) "\\tolerance=1000")))

)

However, fontenc and textcomp are still in the org-generated tex file.
bug, or feature ?

best,
wzzl 
-- 
Stinky Wizzleteet thinks: 
You are standing on my toes.

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

* Re: editing "org-export-latex-default-packages-alist" has no effect
  2011-04-23  7:24 editing "org-export-latex-default-packages-alist" has no effect Stinky Wizzleteet
@ 2011-04-23 14:24 ` Aankhen
  2011-04-23 18:10   ` Stinky Wizzleteet
  2011-04-23 19:54 ` Carsten Dominik
  1 sibling, 1 reply; 7+ messages in thread
From: Aankhen @ 2011-04-23 14:24 UTC (permalink / raw)
  To: Stinky Wizzleteet, Org mailing list

Hi Stinky,

On Sat, Apr 23, 2011 at 12:54, Stinky Wizzleteet <wizzleteet@hotmail.com> wrote:
> thanks to help on this list I found out about this variable as I need to
> omit the "textcomp" and "fontenc" packages in my exported latex header.
> My tex file won't compile otherwise on my n900.
>
> my init.el contains :
>
> (custom-set-variables
>
>  '(org-export-latex-default-packages-alist (quote (("AUTO" "inputenc" t) ("T1" "fontenc" nil) ("" "fixltx2e" nil) ("" "graphicx" t) ("" "longtable" nil) ("" "float" nil) ("" "wrapfig" nil) ("" "soul" t) ("" "textcomp" nil) ("" "marvosym" t) ("" "wasysym" t) ("" "latexsym" t) ("" "amssymb" t) ("" "hyperref" nil) "\\tolerance=1000")))
>
> )
>
> However, fontenc and textcomp are still in the org-generated tex file.
> bug, or feature ?

That line you pasted contains both packages.  Maybe you forgot to set
it after customising it or some such thing?

Aankhen

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

* Re: editing "org-export-latex-default-packages-alist" has no effect
  2011-04-23 14:24 ` Aankhen
@ 2011-04-23 18:10   ` Stinky Wizzleteet
  2011-04-23 18:21     ` Stinky Wizzleteet
  0 siblings, 1 reply; 7+ messages in thread
From: Stinky Wizzleteet @ 2011-04-23 18:10 UTC (permalink / raw)
  To: emacs-orgmode

Aankhen <aankhen@gmail.com> writes:

> Hi Stinky,
>
> On Sat, Apr 23, 2011 at 12:54, Stinky Wizzleteet <wizzleteet@hotmail.com> wrote:
>> thanks to help on this list I found out about this variable as I need to
>> omit the "textcomp" and "fontenc" packages in my exported latex header.
>> My tex file won't compile otherwise on my n900.
>>
>> my init.el contains :
>>
>> (custom-set-variables
>>
>>  '(org-export-latex-default-packages-alist (quote (("AUTO"
>> "inputenc" t) ("T1" "fontenc" nil) ("" "fixltx2e" nil) (""
>> "graphicx" t) ("" "longtable" nil) ("" "float" nil) ("" "wrapfig"
>> nil) ("" "soul" t) ("" "textcomp" nil) ("" "marvosym" t) (""
>> "wasysym" t) ("" "latexsym" t) ("" "amssymb" t) ("" "hyperref" nil)
>> "\\tolerance=1000")))
>>
>> )
>>
>> However, fontenc and textcomp are still in the org-generated tex file.
>> bug, or feature ?
>
> That line you pasted contains both packages.  Maybe you forgot to set
> it after customising it or some such thing?

I figured that "textcomp" "nil" meant that textcomp was turned off..
I'll try to erase the entry alltogether.

wzzl

>
> Aankhen
>
>

-- 
Stinky Wizzleteet thinks: 
Try the Moo Shu Pork.  It is especially good today.

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

* Re: editing "org-export-latex-default-packages-alist" has no effect
  2011-04-23 18:10   ` Stinky Wizzleteet
@ 2011-04-23 18:21     ` Stinky Wizzleteet
  2011-04-23 19:58       ` Aankhen
  0 siblings, 1 reply; 7+ messages in thread
From: Stinky Wizzleteet @ 2011-04-23 18:21 UTC (permalink / raw)
  To: emacs-orgmode

Stinky Wizzleteet <wizzleteet@hotmail.com> writes:

> Aankhen <aankhen@gmail.com> writes:
-snip-
>>> However, fontenc and textcomp are still in the org-generated tex file.
>>> bug, or feature ?
>>
>> That line you pasted contains both packages.  Maybe you forgot to set
>> it after customising it or some such thing?
>
> I figured that "textcomp" "nil" meant that textcomp was turned off..
> I'll try to erase the entry alltogether.

Yes, I have confirmed now that I need to erase these items from the list
in order for them to not show up in the header.
The customize-variable system toggled the entries from "t" to "nil",
which apparently was not enough.
I think this is a bug.

But now, for me, it works.

thx.

-- 
Stinky Wizzleteet thinks: 
You'll never be the man your mother was!

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

* Re: editing "org-export-latex-default-packages-alist" has no effect
  2011-04-23  7:24 editing "org-export-latex-default-packages-alist" has no effect Stinky Wizzleteet
  2011-04-23 14:24 ` Aankhen
@ 2011-04-23 19:54 ` Carsten Dominik
  2011-04-23 21:34   ` Stinky Wizzleteet
  1 sibling, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2011-04-23 19:54 UTC (permalink / raw)
  To: Stinky Wizzleteet; +Cc: emacs-orgmode


On 23.4.2011, at 09:24, Stinky Wizzleteet wrote:

> Hi all,
> 
> thanks to help on this list I found out about this variable as I need to
> omit the "textcomp" and "fontenc" packages in my exported latex header.
> My tex file won't compile otherwise on my n900.
> 
> my init.el contains :
> 
> (custom-set-variables
> 
>  '(org-export-latex-default-packages-alist (quote (("AUTO" "inputenc" t) ("T1" "fontenc" nil) ("" "fixltx2e" nil) ("" "graphicx" t) ("" "longtable" nil) ("" "float" nil) ("" "wrapfig" nil) ("" "soul" t) ("" "textcomp" nil) ("" "marvosym" t) ("" "wasysym" t) ("" "latexsym" t) ("" "amssymb" t) ("" "hyperref" nil) "\\tolerance=1000")))
> 
> )
> 
> However, fontenc and textcomp are still in the org-generated tex file.
> bug, or feature ?

Hi,

please read the docstring of the variable!

- Carsten

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

* Re: editing "org-export-latex-default-packages-alist" has no effect
  2011-04-23 18:21     ` Stinky Wizzleteet
@ 2011-04-23 19:58       ` Aankhen
  0 siblings, 0 replies; 7+ messages in thread
From: Aankhen @ 2011-04-23 19:58 UTC (permalink / raw)
  To: Stinky Wizzleteet, Org mailing list

On Sat, Apr 23, 2011 at 23:51, Stinky Wizzleteet <wizzleteet@hotmail.com> wrote:
> Stinky Wizzleteet <wizzleteet@hotmail.com> writes:
>
>> Aankhen <aankhen@gmail.com> writes:
> -snip-
>>>> However, fontenc and textcomp are still in the org-generated tex file.
>>>> bug, or feature ?
>>>
>>> That line you pasted contains both packages.  Maybe you forgot to set
>>> it after customising it or some such thing?
>>
>> I figured that "textcomp" "nil" meant that textcomp was turned off..
>> I'll try to erase the entry alltogether.
>
> Yes, I have confirmed now that I need to erase these items from the list
> in order for them to not show up in the header.
> The customize-variable system toggled the entries from "t" to "nil",
> which apparently was not enough.
> I think this is a bug.

From the docstring:

,----[ C-h v org-export-latex-default-packages-alist RET ]
| Each cell is of the format ( "options" "package" snippet-flag).
| If SNIPPET-FLAG is t, the package also needs to be included when
| compiling LaTeX snippets into images for inclusion into HTML.
`----

If you look at the Customize interface, where you toggled it, the
label is ‘Snippet’.  The ‘INS’ and ‘DEL’ buttons are for manipulating
the list.

> But now, for me, it works.
>
> thx.

Glad I could help.

Aankhen

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

* Re: editing "org-export-latex-default-packages-alist" has no effect
  2011-04-23 19:54 ` Carsten Dominik
@ 2011-04-23 21:34   ` Stinky Wizzleteet
  0 siblings, 0 replies; 7+ messages in thread
From: Stinky Wizzleteet @ 2011-04-23 21:34 UTC (permalink / raw)
  To: emacs-orgmode

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

> On 23.4.2011, at 09:24, Stinky Wizzleteet wrote:

>
> Hi,
>
> please read the docstring of the variable!
>
> - Carsten
>
>
>
Oh snap !
Apologies all around.
This noob stands corrected.

I should have read it better -if at all.

thx for the strict-but-fair fleecing.

wzzl
-- 
Stinky Wizzleteet thinks: 
Today is what happened to yesterday.

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

end of thread, other threads:[~2011-04-23 21:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-23  7:24 editing "org-export-latex-default-packages-alist" has no effect Stinky Wizzleteet
2011-04-23 14:24 ` Aankhen
2011-04-23 18:10   ` Stinky Wizzleteet
2011-04-23 18:21     ` Stinky Wizzleteet
2011-04-23 19:58       ` Aankhen
2011-04-23 19:54 ` Carsten Dominik
2011-04-23 21:34   ` Stinky Wizzleteet

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