emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Jörg Hagmann" <joerg.hagmann@unibas.ch>
To: Matthew Lundin <mdl@imapmail.org>, emacs-orgmode@gnu.org
Subject: Re: table of contents--html export
Date: Tue, 07 Apr 2009 16:17:14 +0200	[thread overview]
Message-ID: <49DB606A.4030200@unibas.ch> (raw)
In-Reply-To: <m28wmcr301.fsf@fastmail.fm>

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.hagmann@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

  reply	other threads:[~2009-04-07 14:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-07 13:12 Jörg Hagmann
2009-04-07 13:45 ` Matthew Lundin
2009-04-07 14:17   ` Jörg Hagmann [this message]
     [not found]     ` <m2y6ucpkfv.fsf@fastmail.fm>
2009-04-07 15:15       ` Matthew Lundin
2009-04-07 15:10 ` Sebastian Rose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49DB606A.4030200@unibas.ch \
    --to=joerg.hagmann@unibas.ch \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.org \
    --subject='Re: table of contents--html export' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).