Here come the example files...

Just one more question: "to use pdftex" means to use it in the preample
like \usepackage{pdftex}?

Thank you very much for your help!

Stephan
(See attached file: example.tgz)
--
Stephan E. Schlierf M.A.
- chief concept & design developer -
speed2web GmbH Germany
FON: +49 921 99 00 86 12
FAX: +49 921 99 00 86 70
http://www.speed2web.de


                                                                                       
                                                      
                    Herbert Voss                                                       
                                                      
                    Sent by: voss        To:     "Stephan E. Schlierf" 
<[EMAIL PROTECTED]>                                       
                                         cc:     LyX-Mailingliste 
<[EMAIL PROTECTED]>                                                  
                                         Subject:     Re: Working with multiple 
documents in multiple export formats                         
                    09/20/01                                                           
                                                      
                    08:09 PM                                                           
                                                      
                                                                                       
                                                      
                                                                                       
                                                      




"Stephan E. Schlierf" wrote:
>
> First (and uncomplete) testing shows the following results:
> I created one master-LyX-file and included two other LyX-files. A preview
> (pdf or dvi) shows the master document but only one (the first) of the

can you send example-files?

> included documents. Second problem is: How can I create a link that is
valid
> for both - pdf and html ?

this works, when you use pdftex, otherwise work with a boolean
variable and set it to true for pdf and false for html

\newif \ifpdf
    \ifx \pdfoutput \undefined
        \pdffalse
    \else
        \pdftrue
\fi
\usepackage{html}
\let\myUrl\url
\renewcommand\url[1]{%
           \ifpdf
                     \myUrl{#1}
           \else
                     \htmlink{#1}
\fi


maybe that the \htmllink command has another name, look at
package.

Herbert

--
http://www.educat.hu-berlin.de/~voss/lyx/


example.tgz

Reply via email to