Re: [O] [suggest] We should import latex template system

2013-06-13 Thread Marcin Borkowski
Dnia 2013-06-12, o godz. 08:46:43 Viktor Rosenfeld listuse...@gmail.com napisał(a): I would also like to have a template mechanism for my LaTeX exports. However, I think the way to do it in LaTeX is to write custom *.sty files which can then be included using #+LATEX_HEADER: \usepackage{...}

Re: [O] [suggest] We should import latex template system

2013-06-13 Thread Viktor Rosenfeld
Hi Marcin, Marcin Borkowski wrote: Dnia 2013-06-12, o godz. 08:46:43 Viktor Rosenfeld listuse...@gmail.com napisał(a): I would also like to have a template mechanism for my LaTeX exports. However, I think the way to do it in LaTeX is to write custom *.sty files which can then be

Re: [O] [suggest] We should import latex template system

2013-06-12 Thread Viktor Rosenfeld
Hi, Feng Shu wrote: org-mode odt exporter are using 'org-odt-styles-file, which are odt templetes, I think latex exporter should do like this. for example: I would also like to have a template mechanism for my LaTeX exports. However, I think the way to do it in LaTeX is to write custom *.sty

Re: [O] [suggest] We should import latex template system

2013-06-12 Thread Feng Shu
Viktor Rosenfeld listuse...@gmail.com writes: Hi, Feng Shu wrote: org-mode odt exporter are using 'org-odt-styles-file, which are odt templetes, I think latex exporter should do like this. for example: I would also like to have a template mechanism for my LaTeX exports. However, I think

Re: [O] [suggest] We should import latex template system

2013-06-12 Thread Feng Shu
Feng Shu tuma...@gmail.com writes: Viktor Rosenfeld listuse...@gmail.com writes: Hi, Feng Shu wrote: org-mode odt exporter are using 'org-odt-styles-file, which are odt templetes, I think latex exporter should do like this. for example: I would also like to have a template mechanism for

Re: [O] [suggest] We should import latex template system

2013-06-12 Thread Nicolas Goaziou
Hello, Feng Shu tuma...@gmail.com writes: I don't know other language users, for Chinese latex user, the first thing of write a document may change the document class, for example, change article to ctexart. If I want use org-mode ,I should add all the class common used to the

Re: [O] [suggest] We should import latex template system

2013-06-12 Thread Eric Abrahamsen
Feng Shu tuma...@gmail.com writes: Feng Shu tuma...@gmail.com writes: Viktor Rosenfeld listuse...@gmail.com writes: Hi, Feng Shu wrote: org-mode odt exporter are using 'org-odt-styles-file, which are odt templetes, I think latex exporter should do like this. for example: I would also

Re: [O] [suggest] We should import latex template system

2013-06-12 Thread Feng Shu
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Feng Shu tuma...@gmail.com writes: I don't know other language users, for Chinese latex user, the first thing of write a document may change the document class, for example, change article to ctexart. If I want use org-mode ,I should add

Re: [O] [suggest] We should import latex template system

2013-06-12 Thread Rasmus
Feng Shu tuma...@gmail.com writes: 1. I don't need customize 'org-latex-classes I don't see why customizing `org-latex-classes' _once_ would be a nightmare. If all the CJKV org-mode users need customize this virable _once_ , It's a nightmare for org-mode, for all the CJKV org-mode users

Re: [O] [suggest] We should import latex template system

2013-06-12 Thread Feng Shu
(eval-after-load 'ox-latex '(add-to-list 'org-latex-classes '(myclass \\documentclass{article} [NO-DEFAULT-PACKAGES] [NO-PACKAGES] [EXTRA] \\usepackage{mychinesestylefile} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s})

[O] [suggest] We should import latex template system

2013-06-11 Thread Feng Shu
Hi: org-mode odt exporter are using 'org-odt-styles-file, which are odt templetes, I think latex exporter should do like this. for example: org-latex-styles-file or org-latex-templete-file we can include many different language's templates into org, and no need touch the ox-latex.el and