[XeTeX] hyperlinks, and no section numbers

Sharon Kimble boudiccas at skimble.plus.com
Sat May 17 13:47:07 CEST 2014


Wilfred van Rooijen <wvanrooijen at yahoo.com> writes:

> Excuse me for being ignorant, but if you want __no__ section numbers,
> then why not use \section*{} ?

You're not being ignorant, just asking a perfectly valuable
question. I don't want

 - the section-numbers before the Chapter heading, but it still to
 appear in the table of contents
 - I do want the section-numbers before the \subsection but not
 before the \subsubsection
 - but the \subsection is to appear in the toc, whereas the
 \subsubsection isn't!

Clear now? :) :)

Sharon.
>
> Cheers,
> Wilfred
>
> On Saturday, May 17, 2014 7:07 PM, Zdenek Wagner
> <zdenek.wagner at gmail.com> wrote:
>
>     
>     
>     
>     
>     
>     2014-05-17 11:38 GMT+02:00 Sharon Kimble
>     <boudiccas at skimble.plus.com>:
>     
>     
>         Stefan Solbrig <stefan.solbrig at ur.de> writes:
>         
>         > Sorry, but I cannot reproduce your problem. If I typeset
>         your minimal
>         > example, section numbers just show up fine in the text and
>         the table
>         > of contents. How did you typeset the document?
>         > (As a remark: it's weird to use xelatex /and/ inputenc,
>         since xetex
>         > already handles unicode.)
>         
>         
>         Thanks for this, to quote what I originally said
>         ╭────
>         │>> - no section numbers showing anywhere in the resulting pdf
>         ╰────
>         That’s part of my wish list. :)
>         
>         I didn't know about xetex handling unicode itself, so I'll
>         comment
>         out the "inputenc" line now and see how it goes.
>         
>
>     
>     
>     And fontenc as well. 
>     
>     
>     
>         
>         Sharon.
>         
>         
>         >
>         > best,
>         > Stefan
>         >
>         >> I'm trying to write a latex document which will have
>         >> - a hyperlinked toc
>         >> - all glossary items in the main body be hyperlinked to
>         their
>         >> definition.
>         >> - hyperlinked page numbers in the glossary items
>         >> - hyperlinked page numbers in the index
>         >> - no section numbers showing anywhere in the resulting pdf
>         >>
>         >> This is what I have for my header -
>         >> --8<---------------cut
>         here---------------start------------->8---
>         >> \documentclass[a4paper]{article}
>         >> \usepackage{mathptmx}
>         >> \usepackage[utf8]{inputenc}
>         >> \usepackage[T1]{fontenc}
>         >> \usepackage{fixltx2e}
>         >> \usepackage{import}
>         >> \usepackage{graphicx}
>         >> \usepackage{longtable}
>         >> \usepackage{float}
>         >> \usepackage{wrapfig}
>         >> \usepackage{rotating}
>         >> \usepackage[normalem]{ulem}
>         >> \usepackage{amsmath}
>         >> \usepackage[official]{eurosym}
>         >> \usepackage{textcomp}
>         >> \usepackage{marvosym}
>         >> \usepackage{wasysym}
>         >> \usepackage{amssymb}
>         >> \usepackage{fancyhdr}
>         >> \pagestyle{fancy}
>         >> %% \setcounter{secnumdepth}{-2}
>         >> \usepackage{imakeidx}
>         >> \makeindex[options=-s .
>         /index.ist,columnseprule,intoc]%robustindex %
>         >> Indexing
>         >> \usepackage[backend=biber,style=verbose,style=numeric]
>         {biblatex}
>         >> \addbibresource{uh2014.bib}
>         >> \bibliography{uh2014}
>         >> \usepackage[toc]{glossaries}
>         >> \makeglossaries
>         >> \input{uh2014-glossary}
>         >> \usepackage
>         [colorlinks=true,linkcolor=blue,linktoc=all,hyperindex=true]
>         {hyperref}
>         >> \tolerance=1000
>         >> \begin{document}
>         >> \thispagestyle{fancy}
>         >> \tableofcontents
>         >> \addtocontents{toc}{~\hfill\textbf{Page}\par}
>         >>
>         >> \clearpage
>         >> \section{Chapter 1.}
>         >> \label{sec-1}
>         >> \subsection{Disclaimer.}
>         >> \label{sec-1-1}
>         >> --8<---------------cut
>         here---------------end--------------->8---
>         >>
>         >> Currently I have
>         >> - a hyperlinked toc
>         >> - hyperlinked page numbers in the index
>         >>
>         >> So how do I get the other three please?
>         >>
>         >> Thanks
>         >> Sharon.
>         >> --
>         >> A taste of linux = http://www.sharons.org.uk
>         >> my git repo = https://bitbucket.org/boudiccas/dots
>         >> TGmeds = http://www.tgmeds.org.uk
>         >> Debian testing, Fluxbox 1.3.5, emacs 24.3.91.1
>         >>
>         >>
>         >> --------------------------------------------------
>         >> Subscriptions, Archive, and List information, etc.:
>         >> http://tug.org/mailman/listinfo/xetex
>         >
>         >
>         >
>         >
>         > --------------------------------------------------
>         > Subscriptions, Archive, and List information, etc.:
>         > http://tug.org/mailman/listinfo/xetex
>         >
>         
>         --
>         A taste of linux = http://www.sharons.org.uk
>         my git repo = https://bitbucket.org/boudiccas/dots
>         TGmeds = http://www.tgmeds.org.uk
>         Debian testing, Fluxbox 1.3.5, emacs 24.3.91.1
>         
>
>         
>         
>         --------------------------------------------------
>         Subscriptions, Archive, and List information, etc.:
>         http://tug.org/mailman/listinfo/xetex
>
>         
>         
>
>     -- 
>     Zdeněk Wagner
>     http://hroch486.icpf.cas.cz/wagner/
>     http://icebearsoft.euweb.cz
>     
>
>     
>     
>     
>     --------------------------------------------------
>     Subscriptions, Archive, and List information, etc.:
>     http://tug.org/mailman/listinfo/xetex
>     
>
>     
>     
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex

-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.3.91.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20140517/77589791/attachment.bin>


More information about the XeTeX mailing list