LyXreferences and cross-references

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
CSMR
Posts: 44
Joined: Fri Oct 10, 2008 10:44 pm

references and cross-references

Post by CSMR »

I am having problems with references.
Specifically, in some of my LyX documents (not all), LaTeX complains at compliation if there are commands in the LaTeX preamble like:

Code: Select all

\newrefformat{pro}{Proposition \ref{#1}}
I am not sure why this applies to only some of my documents, while others complile fine with these commands.

I heard that LyX was moving from default prettyref to refstyle, or the other way round. But I did not find much info in the User's guide.

What is the current standard way to insert references and define formatting?

Many thanks!
Last edited by Stefan Kottwitz on Sat Jan 07, 2012 10:32 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Re: references and cross-references

Post by Stefan Kottwitz »

Hi,

you could post the log file here, as attachment to a post. We could have a look at the information therein. Perhaps post such a LyX example document as attachment as well, for testing.

Stefan
LaTeX.org admin
Post Reply