[Zim-wiki] Export dialog and link to dialog
Hi everybody, I created two proposals how to redesign the export dialog (and the export mechanism behind it) and the link to dialog on the wiki: http://www.zim-wiki.org/wiki/doku.php?id=a_better_link_to_dialog http://www.zim-wiki.org/wiki/doku.php?id=improve_export_function Feedback, Comments, Improvements, Critic, Suggestions, Discussions etc. are highly appreciated. Regards Johannes -- Johannes Reinhardt jreinha...@ist-dein-freund.de ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] latex export - why is usepackage ulem needed?
The ulem package is used to typeset text in underline style underlined. I missed the fact that the emph style is wrong. I fixed the templates in this branch: lp:~johannes-reinhardt/zim/fixes @Jaap: It noticed that the options structure mechanism does not work for the LaTeX templates. The options dict that is passed to the dumper is always empty. I fail to completely understand the code you wrote for that, perhaps you can take a look. Thanks for the report Johannes On Tue, 8 Jun 2010 11:20:16 +0200 s...@z107.de wrote: Hello, I am wondering, why the \usepackage{ulem} is defined in the latex template. With this package, emphasised text (\emph{} in the tex file) is underlined instead of italic. I would prefere the same format in the pdf and in zim (where it is possible), so in this case I would prefere italic. The HTML export uses italic letters for emphasised text. Or is there another reason for using ulem? best regards, Stefan ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp -- Johannes Reinhardt jreinha...@ist-dein-freund.de ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
[Zim-wiki] LaTeX export and some questions
Hi everybody, I am working on LaTeX export. If someone is interested in testing and providing feedback, the bzr branch can be found here: https://code.launchpad.net/~johannes-reinhardt/+junk/zim-latex I've run into a problem, where I am not sure what the best soltion is. The sectioning levels depend on the documentclass (article, report, book, presentation, ...). For example, there are no chapters in articles. To make the dumper do the right thing, (i.e provide the five correct sectioning levels for the documentclass), I see several possibilities: * A custom dumper class for each documentclass. This pollutes the output format menu with lots of LaTeX-variant. * The dumper class has to know which documentclass the chosen template is. So the exporter has to tell the dumper which template is targeted. Also either the template has to be parsed or some convention for the template name has to be established so that the documentclass for a template can be determined. * The dumper writes sectioning indirect commands (like \hone, \htwo, \hthree, ...), and these are mapped to the right sectioning commands within the template with \newcommand. This is ugly, as the resulting LaTeX Code is obfuscated. * Sacrifice the flexibility and lock LaTeX export to a certain documentclass. Greetings, Johannes Reinhardt -- Johannes Reinhardt jreinha...@ist-dein-freund.de ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp