Hello.

today i have a problem on working with lyx. I defined a algorithm  float object 
and inserted a cation and a label to ist, because i want to reference to this 
algorithm box. . With referencing to this box, lyx can translate the file to a 
pdf. But if i'm referencing from my text with the cross reference function  to 
my algortihm box, i got a malfunction box.

Here ist a code snippet where the cross reference is insert.

\subsubsection*{Präprozessoren}

Some text \ref{alg:Praeprozessor} some other text


%
\begin{algorithm}[h]
\#ifdef \_\_WIN32\_\_
DWORD PluginList::grabDLLPluginInfo(const std::string dllsrc, Info\&
info) \{

//function related stuff
//specific for windows.

\} \#endif

\#ifdef \_\_LINUX\_\_
void PluginList::grabDLLPluginInfo(const std::string, IPluginInfo{*}\&
info) \{

//function related stuff
//specific for linux

\} \#endif

\caption{\label{alg:Praeprozessor}Präprozessordefinition}

\end{algorithm}

and the malfunction box says me, that there is a "undefinded control sequence" 
and the details are talking about:

  ...Some text \ref{alg:Praeprozessor}
                                                    some other
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Can you say me whats is wrong there?

Another Problem i have is the German translation of the floatbox description 
"Algorithm #" where # is the specific number of the algorithm box. Everything 
is in german, but these description is in english. Can you say me why?

Okay, for the moment that's enough from my side and i hope the problem is 
explained enough. If you have question don't hesitate to write me.

King regards Thomas.


-- 
Mit freundlichen Grüßen
Thomas Schmidt

-------------------------------------------------------------------
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

Reply via email to