<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-05-17 13:47 GMT+02:00 Sharon Kimble <span dir="ltr"><<a href="mailto:boudiccas@skimble.plus.com" target="_blank">boudiccas@skimble.plus.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Wilfred van Rooijen <<a href="mailto:wvanrooijen@yahoo.com">wvanrooijen@yahoo.com</a>> writes:<br>
<br>
> Excuse me for being ignorant, but if you want __no__ section numbers,<br>
> then why not use \section*{} ?<br>
<br>
You're not being ignorant, just asking a perfectly valuable<br>
question. I don't want<br>
<br>
- the section-numbers before the Chapter heading, but it still to<br>
appear in the table of contents<br>
- I do want the section-numbers before the \subsection but not<br>
before the \subsubsection<br>
- but the \subsection is to appear in the toc, whereas the<br>
\subsubsection isn't!<br>
<br></blockquote><div>In the article class, \part is level 0, \section is level 1, \subsection is level 2 etc (in book and report \part is level -1, \chapter is level 0 and the rest is the same). There are two important counters: secnumdepth controls, how many levels are automatically numbered and tocdepth controls, how many levels are added to the table of contents.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Clear now? :) :)<br>
<br>
Sharon.<br>
><br>
> Cheers,<br>
> Wilfred<br>
><br>
> On Saturday, May 17, 2014 7:07 PM, Zdenek Wagner<br>
<div class="HOEnZb"><div class="h5">> <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>> wrote:<br>
><br>
><br>
><br>
><br>
><br>
><br>
> 2014-05-17 11:38 GMT+02:00 Sharon Kimble<br>
> <<a href="mailto:boudiccas@skimble.plus.com">boudiccas@skimble.plus.com</a>>:<br>
><br>
><br>
> Stefan Solbrig <<a href="mailto:stefan.solbrig@ur.de">stefan.solbrig@ur.de</a>> writes:<br>
><br>
> > Sorry, but I cannot reproduce your problem. If I typeset<br>
> your minimal<br>
> > example, section numbers just show up fine in the text and<br>
> the table<br>
> > of contents. How did you typeset the document?<br>
> > (As a remark: it's weird to use xelatex /and/ inputenc,<br>
> since xetex<br>
> > already handles unicode.)<br>
><br>
><br>
> Thanks for this, to quote what I originally said<br>
> ╭────<br>
> │>> - no section numbers showing anywhere in the resulting pdf<br>
> ╰────<br>
> That’s part of my wish list. :)<br>
><br>
> I didn't know about xetex handling unicode itself, so I'll<br>
> comment<br>
> out the "inputenc" line now and see how it goes.<br>
><br>
><br>
><br>
><br>
> And fontenc as well.<br>
><br>
><br>
><br>
><br>
> Sharon.<br>
><br>
><br>
> ><br>
> > best,<br>
> > Stefan<br>
> ><br>
> >> I'm trying to write a latex document which will have<br>
> >> - a hyperlinked toc<br>
> >> - all glossary items in the main body be hyperlinked to<br>
> their<br>
> >> definition.<br>
> >> - hyperlinked page numbers in the glossary items<br>
> >> - hyperlinked page numbers in the index<br>
> >> - no section numbers showing anywhere in the resulting pdf<br>
> >><br>
> >> This is what I have for my header -<br>
> >> --8<---------------cut<br>
> here---------------start------------->8---<br>
> >> \documentclass[a4paper]{article}<br>
> >> \usepackage{mathptmx}<br>
> >> \usepackage[utf8]{inputenc}<br>
> >> \usepackage[T1]{fontenc}<br>
> >> \usepackage{fixltx2e}<br>
> >> \usepackage{import}<br>
> >> \usepackage{graphicx}<br>
> >> \usepackage{longtable}<br>
> >> \usepackage{float}<br>
> >> \usepackage{wrapfig}<br>
> >> \usepackage{rotating}<br>
> >> \usepackage[normalem]{ulem}<br>
> >> \usepackage{amsmath}<br>
> >> \usepackage[official]{eurosym}<br>
> >> \usepackage{textcomp}<br>
> >> \usepackage{marvosym}<br>
> >> \usepackage{wasysym}<br>
> >> \usepackage{amssymb}<br>
> >> \usepackage{fancyhdr}<br>
> >> \pagestyle{fancy}<br>
> >> %% \setcounter{secnumdepth}{-2}<br>
> >> \usepackage{imakeidx}<br>
> >> \makeindex[options=-s .<br>
> /index.ist,columnseprule,intoc]%robustindex %<br>
> >> Indexing<br>
> >> \usepackage[backend=biber,style=verbose,style=numeric]<br>
> {biblatex}<br>
> >> \addbibresource{uh2014.bib}<br>
> >> \bibliography{uh2014}<br>
> >> \usepackage[toc]{glossaries}<br>
> >> \makeglossaries<br>
> >> \input{uh2014-glossary}<br>
> >> \usepackage<br>
> [colorlinks=true,linkcolor=blue,linktoc=all,hyperindex=true]<br>
> {hyperref}<br>
> >> \tolerance=1000<br>
> >> \begin{document}<br>
> >> \thispagestyle{fancy}<br>
> >> \tableofcontents<br>
> >> \addtocontents{toc}{~\hfill\textbf{Page}\par}<br>
> >><br>
> >> \clearpage<br>
> >> \section{Chapter 1.}<br>
> >> \label{sec-1}<br>
> >> \subsection{Disclaimer.}<br>
> >> \label{sec-1-1}<br>
> >> --8<---------------cut<br>
> here---------------end--------------->8---<br>
> >><br>
> >> Currently I have<br>
> >> - a hyperlinked toc<br>
> >> - hyperlinked page numbers in the index<br>
> >><br>
> >> So how do I get the other three please?<br>
> >><br>
> >> Thanks<br>
> >> Sharon.<br>
> >> --<br>
> >> A taste of linux = <a href="http://www.sharons.org.uk" target="_blank">http://www.sharons.org.uk</a><br>
> >> my git repo = <a href="https://bitbucket.org/boudiccas/dots" target="_blank">https://bitbucket.org/boudiccas/dots</a><br>
> >> TGmeds = <a href="http://www.tgmeds.org.uk" target="_blank">http://www.tgmeds.org.uk</a><br>
> >> Debian testing, Fluxbox 1.3.5, emacs 24.3.91.1<br>
> >><br>
> >><br>
> >> --------------------------------------------------<br>
> >> Subscriptions, Archive, and List information, etc.:<br>
> >> <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --------------------------------------------------<br>
> > Subscriptions, Archive, and List information, etc.:<br>
> > <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
> ><br>
><br>
> --<br>
> A taste of linux = <a href="http://www.sharons.org.uk" target="_blank">http://www.sharons.org.uk</a><br>
> my git repo = <a href="https://bitbucket.org/boudiccas/dots" target="_blank">https://bitbucket.org/boudiccas/dots</a><br>
> TGmeds = <a href="http://www.tgmeds.org.uk" target="_blank">http://www.tgmeds.org.uk</a><br>
> Debian testing, Fluxbox 1.3.5, emacs 24.3.91.1<br>
><br>
><br>
><br>
><br>
> --------------------------------------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
> <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Zdeněk Wagner<br>
> <a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
> <a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
><br>
><br>
><br>
><br>
><br>
> --------------------------------------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
> <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> --------------------------------------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
> <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br>
--<br>
A taste of linux = <a href="http://www.sharons.org.uk" target="_blank">http://www.sharons.org.uk</a><br>
my git repo = <a href="https://bitbucket.org/boudiccas/dots" target="_blank">https://bitbucket.org/boudiccas/dots</a><br>
TGmeds = <a href="http://www.tgmeds.org.uk" target="_blank">http://www.tgmeds.org.uk</a><br>
Debian testing, Fluxbox 1.3.5, emacs 24.3.91.1<br>
</div></div><br><br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Zdeněk Wagner<br><a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a>
</div></div>