Vincent VAQUIN wrote:
> 
> Herbert Voss a �crit :
> >
> > > Herbert Voss a �crit :
> > > >
> > > > Vincent VAQUIN wrote:
> > > > > I'am using lyx.1.1.5 with Linux, and I have a bug when I want to insert,
> > > > > in cross reference, pretty ref.
> >
> > can you send an example-file?

prettyref needs a label definiaion like \label{tab:MyTable}
than \prettyref{tab:Mytable} gives in dvi-output Table aNumber.
from my point of view, lyx doesn't create the labels in
prettyref-style, so it's not possible to use cross-reference
with the prettyref-button.

it's a question to Lars or/and Jean-Marc:
  insert label AND insert cross-reference must have BOTH
  the prettyref-option?! if someone chooses once this option
  all the rest of labels and references must converted
  to prettyref-style. 

your attached lyx-file shows how all works with pure latex-code,
but this isn't lyx-like ... :-(

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/voss
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.16
\textclass article
\begin_preamble
\usepackage{prettyref}
\end_preamble
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\float_placement !htb
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language french
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

TITLE
\layout Author

MySelf
\layout Date

Today
\layout Section

This is my first section
\latex latex 

\backslash 
label{sec:FirstSection}
\layout Standard

This is a very interesting text.
 This is a very interesting text.
 This is a very interesting text.
 This is a very interesting text.
 
\layout Standard

\begin_float tab 
\layout Caption


\latex latex 

\backslash 
label{tab:MyTab}
\latex default 
 my Table
\layout Standard
\align center \LyXTable
multicol5
2 2 0 0 -1 -1 -1 -1
1 1 0 0
1 1 0 0
8 1 0 "" ""
8 1 1 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""
0 8 1 0 0 0 0 "" ""

1
\newline 
2
\newline 
3
\newline 
4
\end_float 
This is a very interesting text.
 
\layout Section

This is my second section
\layout Standard

Au commencement, Dieu cr�a les cieux et la terre.
 La terre �tait informe et vide et l'esprit de Dieu flottait au-dessus des
 eaux.
\layout Standard

This a cross-reference to the firts 
\latex latex 
 
\backslash 
prettyref{sec:FirstSection}
\latex default 
 hier
\layout Standard

And so on...
 with 
\latex latex 

\backslash 
prettyref{tab:MyTab}
\latex default 
 for a table and a standard ref for table too.
\the_end

Reply via email to