Search found 5 matches

by SomeTex
Mon Apr 07, 2008 9:31 pm
Forum: General
Topic: \ref in headings
Replies: 8
Views: 7374

Re: \ref in headings

Nice catch Stefan, the problem was the conversion to uppercase.

@gmedina: Yeah, I don't really care if the heading has a hyperlink, I just want it to have the correct number for the ref.
by SomeTex
Mon Apr 07, 2008 8:09 pm
Forum: LyX
Topic: Not numbering title page and abstract
Replies: 10
Views: 116474

Not numbering title page and abstract

Have a look at:

Code: Select all

\pagestyle{empty} % Use for title page, or use
\begin{titlepage}
...
\end{titlepage}


\pagestyle{plain} % No headers, just page numbers
\pagenumbering{roman} % Roman numerals
\setcounter{page}{2}
by SomeTex
Mon Apr 07, 2008 8:03 pm
Forum: General
Topic: \ref in headings
Replies: 8
Views: 7374

Re: \ref in headings

Well, that is certainly better than having question marks in my document. Thanks for the suggestion. I'll either do that or just not use the hyperrefs (I have many appendix sections labeled "Proof of Lemma \ref{}" so an alternate heading label won't really distinguish between the sections unless I ...
by SomeTex
Mon Apr 07, 2008 7:50 pm
Forum: General
Topic: \ref in headings
Replies: 8
Views: 7374

\ref in headings

I've figured out that the problem only occurs when I include the hyperref package. Here's an example. (sorry about the length, the first heading only appears on the second page of a chaper)




\documentclass[12pt,twosided]{report}

\usepackage{hyperref}
\usepackage{theorem}
\newtheorem{thm ...
by SomeTex
Mon Apr 07, 2008 6:36 pm
Forum: General
Topic: \ref in headings
Replies: 8
Views: 7374

\ref in headings

I have some section titles that use a "\ref". This works fine, but when I enable headings, the headings (from the default report style) include the section titles and thus the \refs. However, the headings can not resolve the \refs and I end up with question marks in the heading (even after multiple ...