Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You can't use `macro parameter character #' in horizontal mode. #3

Open
bgrinstein opened this issue Sep 29, 2018 · 0 comments
Open

Comments

@bgrinstein
Copy link

Installed the package and run for a test the example given in the github (reproduced bellow). The result of compilation is the following error:

ERROR: You can't use `macro parameter character #' in horizontal mode.

--- TeX said ---
...inkstart {link}{\Hy@tocdestname }{##
######3}\hyper@linkend
l.2 \contentsline {chapter}{####3}{1}{chapter*.2}

--- HELP ---
The special character # has appeared in ordinary text. You probably
meant to type #.

Here is the full file I tried to compile:

\documentclass{book}
\usepackage[
% silent,% suppress the warning
% indentunnumbered% need unnumbered chapters to be indented in the toc??
]{unnumberedtotoc}
\usepackage{blindtext}
\begin{document}
\tableofcontents
\addchap{Wombat}
\addsec{Capybara}
\blindtext[10]
\chapter{Numbered chapter}
\addsec{unnumbered}
\section{numbered}
\end{document}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant