[Orgmode] Table of Contents
Hi, I'd like to know if there is a way to change the Table of Contents title, when publishing a HTML file. The reason is that I'd like to translate Table of Contents to Portuguese automatically. How can I do that? Flavio Souza http://www.flaviosouza.org ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Table of Contents
On Sun, Oct 24, 2010 at 10:58:00PM -0200, Flavio Souza wrote: I'd like to know if there is a way to change the Table of Contents title, when publishing a HTML file. The reason is that I'd like to translate Table of Contents to Portuguese automatically. Hi Flavio, Have a look at org-export-language-setup. You can customize this variable via M-x customize-variable. BR, .j. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Table of Contents in html export
Andrei Jirnyi a-jir...@northwestern.edu writes: Hi all, Are there any options to modify the table of contents in the exported html files (other than whether to show it and to what level)? Or, if there are no such options, perhaps I could modify some elisp functions? Specifically, what I wanted to do was to: - change its name to just Contents - put a separator between the TOC and the first section? If I add smth like #+html: hr at the beginning, it gets inserted between the title and the TOC :( Thanks!! M-x customize-variable RET org-export-language-setup RET ...and use CSS to add border and spacing at the bottom: div#table-of-contents { padding-bottom:30px; border-bottom:1px solid #00; } HTH Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Table of Contents in html export
Hi all, Are there any options to modify the table of contents in the exported html files (other than whether to show it and to what level)? Or, if there are no such options, perhaps I could modify some elisp functions? Specifically, what I wanted to do was to: - change its name to just Contents - put a separator between the TOC and the first section? If I add smth like #+html: hr at the beginning, it gets inserted between the title and the TOC :( Thanks!! --aj ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Table of contents in another language
Dear all; Just trying to learn Org-Mode (which I find absolutely great so far). I was wondering if anyone could let me know how to change the automatic generation of table of contents in the export to html code, so I can go back and forth between Contenidos (in Spanish) and the usual Table of Contents in English. Thank you. Leo ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Table of Contents in an extra buffer?
Wouldn't it be useful to have a table of contents in an extra buffer to move around quickly in huge org-files as it is possible in LaTeX-files with RefTeX? For me this is a feature that would make Org an even better authoring tool. Karl ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Table of Contents in an extra buffer?
On May 4, 2009, at 3:02 PM, Karl Maihofer wrote: Wouldn't it be useful to have a table of contents in an extra buffer to move around quickly in huge org-files as it is possible in LaTeX- files with RefTeX? For me this is a feature that would make Org an even better authoring tool. Bastien has implemented this in org-toc.el which is a contributed package. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Table of Contents in an extra buffer?
Quoting Carsten Dominik carsten.domi...@gmail.com: Bastien has implemented this in org-toc.el which is a contributed package. Perfekt! Thanks a lot! ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Table of Contents in an extra buffer?
I use imenu for this. Speedbar works too. Sometimes I still use my own `speedbar in same frame' (which works on console too). For both, add this line to your setup: (add-hook 'org-mode-hook 'imenu-add-menubar-index) Regards, Sebastian Karl Maihofer ignora...@gmx.de writes: Wouldn't it be useful to have a table of contents in an extra buffer to move around quickly in huge org-files as it is possible in LaTeX-files with RefTeX? For me this is a feature that would make Org an even better authoring tool. Karl ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] table of contents--html export
Hi, When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). Thanks, Jörg ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] table of contents--html export
Hi Jörg, Jörg Hagmann joerg.hagm...@unibas.ch writes: When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). Try customizing the variable org-export-language-setup. This will enable you to change the title of the Table of Contents for your particular locale. Another approach: I get rid of the table of contents heading on my website by using css: --8---cut here---start-8--- #table-of-contents h2 { display: none; } --8---cut here---end---8--- Best, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] table of contents--html export
Hi Matthew, Thanks. I presently have table of contents turned off, and I dont want the same in a different language. What I want is something like On this page, because otherwise users think they are dealing with links to other pages and, depending on where exactly the table of contents link points to, nothing may happen (when the page is short, the pointed to link is already visible etc.). Then they think it didn't work. I tried to change Table of contents in the language section of the file org-exp.el, but that didn't do it. But from your answer I guess that there is no customization for what I want? Regards, Jörg Matthew Lundin wrote: Hi Jörg, Jörg Hagmann joerg.hagm...@unibas.ch writes: When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). Try customizing the variable org-export-language-setup. This will enable you to change the title of the Table of Contents for your particular locale. Another approach: I get rid of the table of contents heading on my website by using css: --8---cut here---start-8--- #table-of-contents h2 { display: none; } --8---cut here---end---8--- Best, Matt -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] table of contents--html export
Jörg Hagmann joerg.hagm...@unibas.ch writes: Hi, When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). I can't find another way than what you probably found already: M-x customize-variable RET org-export-default-language RET is the only possibility I can think of now. This will change the name of the TOC for all of your files and projects. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] table of contents--html export
Jörg, Jörg Hagmann joerg.hagm...@unibas.ch writes: Thanks. I presently have table of contents turned off, and I dont want the same in a different language. Did you try to customize the variable org-export-language-setup, as I suggested? The variable allows you to change the name of the Table of Contents header *for* any given language (see full instructions below). What I want is something like On this page, because otherwise users think they are dealing with links to other pages and, depending on where exactly the table of contents link points to, nothing may happen (when the page is short, the pointed to link is already visible etc.). Then they think it didn't work. I tried to change Table of contents in the language section of the file org-exp.el, but that didn't do it. But from your answer I guess that there is no customization for what I want? On the contrary, org-export-language-setup is exactly what enables you to customize the table of contents line. Simply type: M-x customize-variable RET org-export-language-setup Then, if you are publishing your websites in English, change the line that reads Table of Contents to On this page. (Or, change the table of contents line for the language you are using.) I just did this and got the following table of contents header in my html export: , | div id=table-of-contents | h2On this page/h2 ` - Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode