Re: [O] How to customize option templates?
> OTOH, hard-coding the order of options doesn't work so well for > back-ends, so the template could, at a bare minimum, follow the order > specified in `org-export-define-backend'. I'll look into it. Done in master. I also reordered keywords in back-ends.
Re: [O] How to customize option templates?
Hi Frederik, Frederik writes: > I just looked at `org-export-define-derived-backend' and saw all the > org-koma-letter-* options -- this will ease most of the pain ;-) Some people, notably Viktor and Alan, rely on LCO files for such things. You can place LCO files somewhere in the texlive/miktex path and load them via #+LCO: file1 file2 . . .. > But I did not yet figure out how to set options like > LATEX_CLASS_OPTIONS or Write your own template. ox-koma-letter has supported it's own standard template (as compared to the default LaTeX template) for a while now. A description on how to use this feature is included in the preamble of the file. If you insist on not having "non-file-based" customizations use something like Emacs skeletons or yasnippet (not part of Emacs) to generate templates. > how to use German language and smart quotes when composing a letter. Did you turn on smart quotes? (setq org-export-with-smart-quotes t). It works on my system with ox-koma-letter. Hope it helps, Rasmus -- Enough with the bla bla!
Re: [O] How to customize option templates?
I just looked at `org-export-define-derived-backend' and saw all the org-koma-letter-* options -- this will ease most of the pain ;-) But I did not yet figure out how to set options like LATEX_CLASS_OPTIONS or how to use German language and smart quotes when composing a letter. Thanks and regards -- Frederik
Re: [O] How to customize option templates?
Hello, Frederik writes: > is it possible to customize the option templates one can insert via > `C-c C-e #' ? E.g. for productively composing letters it would be nice > to have some of the listed options to be set differently from the > default. I don't think it would be interesting to allow customization since you might as well create your own template insertion function. OTOH, hard-coding the order of options doesn't work so well for back-ends, so the template could, at a bare minimum, follow the order specified in `org-export-define-backend'. I'll look into it. Regards, -- Nicolas Goaziou
[O] How to customize option templates?
Hey there, is it possible to customize the option templates one can insert via `C-c C-e #' ? E.g. for productively composing letters it would be nice to have some of the listed options to be set differently from the default. Regards -- Frederik