Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-08 Thread Nick Dokos
Thomas S. Dye t...@tsdye.com wrote: Hi Nick, Nick Dokos nicholas.do...@hp.com writes: Thomas S. Dye t...@tsdye.com wrote: Hi Nick, Good point. How about three new variables, org-export-latex-open-double-quotes, org-export-latex-close-double-quotes, and

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-08 Thread Bastien
Hi Nick and Tom, Nick Dokos nicholas.do...@hp.com writes: Sounds good: there's always tomorrow. BTW, since you are doing the hard work here, I'll volunteer to write a section for the LaTeX tutorial (but if you prefer to write it, I will defer). I'm following this thread and waiting for the

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-08 Thread Frederik
Am 08.07.2011 04:09, schrieb Nick Dokos: Thomas S. Dyet...@tsdye.com wrote: Hi Nick, Good point. How about three new variables, org-export-latex-open-double-quotes, org-export-latex-close-double-quotes, and org-export-latex-single-quote? The regexp stuff could stay as hard code and the

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-08 Thread Thomas S. Dye
Frederik freak.f...@gmail.com writes: Am 08.07.2011 04:09, schrieb Nick Dokos: Thomas S. Dyet...@tsdye.com wrote: Hi Nick, Good point. How about three new variables, org-export-latex-open-double-quotes, org-export-latex-close-double-quotes, and org-export-latex-single-quote? The

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-07 Thread Stefan Nobis
Nick Dokos nicholas.do...@hp.com writes: Here are some points to keep in mind while working on a patch: o csquotes.sty is part of the texlive-latex-extra package on Ubuntu (and probably something similar on other Linux distros and possibly MacOS X - hunoz about Windoz?) On MacOS the

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-07 Thread Nick Dokos
Stefan Nobis stefan...@snobis.de wrote: Nick Dokos nicholas.do...@hp.com writes: Here are some points to keep in mind while working on a patch: o csquotes.sty is part of the texlive-latex-extra package on Ubuntu (and probably something similar on other Linux distros and possibly

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-07 Thread Stefan Nobis
Nick Dokos nicholas.do...@hp.com writes: I'd worry a bit about adding the newcommand in the preamble during org processing: what would happen if I tried to use csquotes then? It should be either the newcommand or else use csquotes. Mixing both would be no good idea. -- Until the next mail...,

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-07 Thread Frederik
Am 06.07.2011 22:20, schrieb Nick Dokos: The problem is the usual exponential growth of possibilities and how you manage them: if you read the babel manual and the csquotes manual and all the options that you can have, your head starts spinning (well, *my* head starts spinning). I tend to think

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-07 Thread Thomas S. Dye
Frederik freak.f...@gmail.com writes: Am 06.07.2011 22:20, schrieb Nick Dokos: The problem is the usual exponential growth of possibilities and how you manage them: if you read the babel manual and the csquotes manual and all the options that you can have, your head starts spinning (well,

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-07 Thread Nick Dokos
Responses to Frederik and Tom inline. Frederik freak.f...@gmail.com writes: Why not use one option for babel and another for csquotes? I thought of something like this: #+OPTIONS: babel:english,ngerman csquotes:autostyle,german=guillemets I did suggest different options, one controlling

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-07 Thread Thomas S. Dye
Hi Nick, Good point. How about three new variables, org-export-latex-open-double-quotes, org-export-latex-close-double-quotes, and org-export-latex-single-quote? The regexp stuff could stay as hard code and the user would only be able to mess up what actually ends up being exported. All the

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-07 Thread Nick Dokos
Thomas S. Dye t...@tsdye.com wrote: Hi Nick, Good point. How about three new variables, org-export-latex-open-double-quotes, org-export-latex-close-double-quotes, and org-export-latex-single-quote? The regexp stuff could stay as hard code and the user would only be able to mess up

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-06 Thread Frederik
Hi Tom! It looks more cumbersome than it is in practice. You can use C-c C-l to add the link and depending on the length of the link type name, it can be very close to the same number of keystrokes you'd need for \enquote{}. During normal LaTex editing I never type `\enquote{}'. Of course I

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-06 Thread Frederik
Apparently someone tried a simple hack: http://osdir.com/ml/emacs-orgmode-gnu/2010-01/msg00681.html When I find the time I will try this... I've tried the hack and for me this works pretty well. It's static but this doesn't really matter as I always stick to `csquotes' I think it

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-06 Thread Thomas S. Dye
Frederik freak.f...@gmail.com writes: Apparently someone tried a simple hack: http://osdir.com/ml/emacs-orgmode-gnu/2010-01/msg00681.html When I find the time I will try this... I've tried the hack and for me this works pretty well. It's static but this doesn't really matter as I always

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-06 Thread Nick Dokos
Thomas S. Dye t...@tsdye.com wrote: Frederik freak.f...@gmail.com writes: Apparently someone tried a simple hack: http://osdir.com/ml/emacs-orgmode-gnu/2010-01/msg00681.html When I find the time I will try this... I've tried the hack and for me this works pretty well. It's static

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-05 Thread Frederik
Hey Tom! One way to use \enquote in your LaTeX export is described here: http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-3 [[latex:enquote][Das ist ein Test]] will export as \enquote{Das ist ein Test}. Thanks for your hint. But this is a rather cumbersome way to quote

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-05 Thread Thomas S. Dye
Frederik freak.f...@gmail.com writes: Hey Tom! One way to use \enquote in your LaTeX export is described here: http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-3 [[latex:enquote][Das ist ein Test]] will export as \enquote{Das ist ein Test}. Thanks for your hint. But

[O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-04 Thread Frederik
Hi there! I just started using org-mode - what a fantastic piece of software! Now I wonder how to make use of one of the best LaTeX-packages out there: `csquotes'. I figured out how to include the package in the header by altering the corresponding variable, but I didn't find any hint how to

Re: [O] LaTex export: How to use `csquotes' and `\enquote{}'

2011-07-04 Thread Thomas S. Dye
Aloha Frederik, Welcome to Org-mode. One way to use \enquote in your LaTeX export is described here: http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-10-3 [[latex:enquote][Das ist ein Test]] will export as \enquote{Das ist ein Test}. hth, Tom Frederik freak.f...@gmail.com