[O] editing org-export-latex-default-packages-alist has no effect

2011-04-23 Thread Stinky Wizzleteet
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.




Re: [O] editing org-export-latex-default-packages-alist has no effect

2011-04-23 Thread Aankhen
Hi Stinky,

On Sat, Apr 23, 2011 at 12:54, Stinky Wizzleteet wizzlet...@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



Re: [O] editing org-export-latex-default-packages-alist has no effect

2011-04-23 Thread Stinky Wizzleteet
Aankhen aank...@gmail.com writes:

 Hi Stinky,

 On Sat, Apr 23, 2011 at 12:54, Stinky Wizzleteet wizzlet...@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.




Re: [O] editing org-export-latex-default-packages-alist has no effect

2011-04-23 Thread Stinky Wizzleteet
Stinky Wizzleteet wizzlet...@hotmail.com writes:

 Aankhen aank...@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!




Re: [O] editing org-export-latex-default-packages-alist has no effect

2011-04-23 Thread Aankhen
On Sat, Apr 23, 2011 at 23:51, Stinky Wizzleteet wizzlet...@hotmail.com wrote:
 Stinky Wizzleteet wizzlet...@hotmail.com writes:

 Aankhen aank...@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



Re: [O] editing org-export-latex-default-packages-alist has no effect

2011-04-23 Thread Carsten Dominik

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