Re: hyperref use

2006-05-31 Thread Dominik Waßenhoven

Kamran SHAFQAT schrieb:

i am trying to use hyperref in a report class document. [...]

\hypersetup{backref=true, 
bookmarksopen=true,bookmarks=true,bookmarkstype=toc,citebordercolor=1 1 1,

=1 1 1,pagebordercolor=1 1 1}

In the Pdf file the links are created in the table of contents and also 
for the references in the text. But the problem is that all the links 
have boxes around them. 


You know that the boxes are not printed? -- so the printed pdf file has 
no color, but the links can still be used when read on screen.


i tired citebordercolor option as above and also 
linkbordercolor=1 1 1 and colorlinks=false option but the it has no 
effect on the ouput. Also the bookmarks it not created.


If you want to have colored links you have to set colorlinks=true (and 
maybe change the linkcolor, urlcolor etc. if the standard values are not 
what you want). If you want to have links, but black text without boxes, 
you have to set colorlinks=false and pdfborder={0 0 0} (i.e. a white box 
around the link, which is not visible on white paper) or colorlinks=true 
and linkcolor=black.


HTH,
Dominik.-



Why does my LyX convert all images every time it compiles the file?

2006-05-31 Thread Jinghua Zhong

Hi,

I'm using LyX 1.3.7-3 to edit a file I created using 1.3.5 last year. I 
have both EPS and PDF versions of my figures in the same directory.


With 1.3.5, I seem to remember it doesn't convert my EPS files if PDF 
files are present. (I didn't specify extensions for my figure files and 
I use pdflatex.) However, with 1.3.7-3, LyX converts all my EPS files to 
PDF every time I compile. This makes it significantly slower.


I lost my old 1.3.5 setup during a laptop failure, so I'm hoping someone 
here with more experience can tell me if I'm missing something in my new 
setup.


Thanks,
Jinghua Zhong


Re: Page number Alignment

2006-05-31 Thread Luqman H

2006/5/30, Paul A. Rubin [EMAIL PROTECTED]:

If you want the page number bottom right on every page, some of this can
be simplified.  (Menu instructions below follow the LyX 1.4.x layout,
but the same can be done in LyX 1.3.x.)  First, go to
Document-Settings...-Page Layout-Page style: and set it to fancy.
This takes the place of the \pagestyle{fancy} command.  Add the other
commands Andreas recommended to the preamble (although you only need the
ones with empty arguments, such as \cfoot{}, if there's something in the
header or footer you want to turn off, such as a centered page number in
the footer).  I don't think you will need to add \thispagestyle{fancy}
to the text.

/Paul


thanks it works... but not on every page...
on the first page of the chapter, the pagenumber still align to center..
is there still a way to do it ?


Chapter base Page numbering to TOC

2006-05-31 Thread Luqman H

hi,

i'm using Report Document style
i want my chapter look like this:
Chapter I
Chapter II
Chapter III

and the page number (for ex. Chapter 3 page 5) like this:
III-5

i use this command in ERT:
\renewcommand{\headrulewidth}{0pt}
\rhead{}
\lhead{}
\rfoot{\thechapter-\thepage}
\lfoot{}
\cfoot{}

but it only shows page number like: 3-5

and of course for the TOC, i want the page numbering shows
. III-5
. III-6

is it possible? how to do that ?



thanks...


Re: Page number Alignment

2006-05-31 Thread Paul A. Rubin

Luqman H wrote:

2006/5/30, Paul A. Rubin [EMAIL PROTECTED]:

If you want the page number bottom right on every page, some of this can
be simplified.  (Menu instructions below follow the LyX 1.4.x layout,
but the same can be done in LyX 1.3.x.)  First, go to
Document-Settings...-Page Layout-Page style: and set it to fancy.
This takes the place of the \pagestyle{fancy} command.  Add the other
commands Andreas recommended to the preamble (although you only need the
ones with empty arguments, such as \cfoot{}, if there's something in the
header or footer you want to turn off, such as a centered page number in
the footer).  I don't think you will need to add \thispagestyle{fancy}
to the text.

/Paul


thanks it works... but not on every page...
on the first page of the chapter, the pagenumber still align to center..
is there still a way to do it ?



Choose the fancy page style, and add the following to the preamble:

\chead{}
\lhead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\fancyplain{\thepage}{\thepage}}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancyplain}

If you want the first page of a chapter or section unnumbered, change 
the \rfoot command to \rfoot{\fancyplain{}{\thepage}}.


/Paul





is it possible too use psfrag in lyx?

2006-05-31 Thread Rafael Sabaini
Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
Nichts Verdächtiges gefunden.

keine Anlagen gefunden
---

Hello too everybody.


Is it possible too use the advantages off psfrag in lyx?

If yes, how???

thanks, Rafael



Re: Why does my LyX convert all images every time it compiles the file?

2006-05-31 Thread Georg Baum
Jinghua Zhong wrote:

 I lost my old 1.3.5 setup during a laptop failure, so I'm hoping someone
 here with more experience can tell me if I'm missing something in my new
 setup.

To get the old behaviour back you can turn off the usage of a temporary
directory in the preferences, but that has side effects. Note that that
won't work with 1.4.x anymore.


Georg



Re: is it possible too use psfrag in lyx?

2006-05-31 Thread Georg Baum
Rafael Sabaini wrote:

 Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
 Nichts Verdächtiges gefunden.
 
 keine Anlagen gefunden

Please fix your virus scanner.


 Is it possible too use the advantages off psfrag in lyx?

Yes, but native support is not available.

 If yes, how???

Add

\usepackage{psfrags}

to the preamble, and write the \psfrag commands in ERT.


Georg



Re: How to get/use beamer class?

2006-05-31 Thread lyx . overbored

For your first question: yes, I restard LyX many times. I ran
configure (sh is from MSYS) but there was no mention of beamer.

C:\Program Files\LyX141\Resourceskpsewhich beamer.cls
C:/Programs/texmf/tex/latex/beamer/beamer.cls

C:\Program Files\LyX141\Resourcessh configure
checking for a LaTeX2e program...
+checking for pplatex... no
+checking for latex2e... no
+checking for latex... yes
checking for the pdflatex program...
+checking for pdflatex... yes
checking for a Tgif viewer and editor...
+checking for tgif... no
checking for a FIG viewer and editor...
+checking for xfig... yes
checking for a Grace viewer and editor...
+checking for xmgrace... yes
checking for a FEN viewer and editor...
+checking for xboard... no
checking for a raster image viewer...
+checking for xv... no
+checking for kview... no
+checking for gimp... no
checking for a raster image editor...
+checking for gimp... no
checking for a text editor...
+checking for xemacs... no
+checking for gvim... no
+checking for kedit... no
+checking for kwrite... no
+checking for kate... no
+checking for nedit... yes
checking for a LaTeX - LyX converter...
+checking for /c/Program... no
+checking for tex2lyx... no
checking for a Noweb - LyX converter...
+checking for noweb2lyx... no
checking for a Noweb - LaTeX converter...
+checking for noweave... no
checking for an HTML - LaTeX converter...
+checking for html2latex... no
checking for an MS Word - LaTeX converter...
+checking for wvCleanLatex... no
checking for a LaTeX - MS Word converter...
+checking for htlatex... yes
checking for Image converter...
+checking for convert... yes
checking for an OpenOffice.org - LaTeX converter...
+checking for w2l... no
checking for a LaTeX - OpenOffice.org converter...
+checking for oolatex... yes
checking for a Postscript previewer...
+checking for gsview32... no
+checking for gv... yes
checking for a PDF previewer...
+checking for acrobat... no
+checking for acrord32... no
+checking for gsview32... no
+checking for acroread... no
+checking for gv... yes
checking for a DVI previewer...
+checking for xdvi... yes
checking for a HTML previewer...
+checking for mozilla... yes
checking for a PS to PDF converter...
+checking for ps2pdf13... yes
checking for a DVI to PS converter...
+checking for dvips... yes
checking for a DVI to PDF converter...
+checking for dvipdfm... yes
checking for dvipng...
+checking for dvipng... yes
checking for a *roff formatter...
+checking for groff... yes
checking for ChkTeX...
+checking for chktex... no
checking for a spellchecker...
+checking for ispell... no
checking for Octave...
+checking for octave... yes
checking for Maple...
+checking for maple... no
checking for a fax program...
+checking for kdeprintfax... no
+checking for ksendfax... no
checking for SGML-tools 1.x (LinuxDoc)...
+checking for sgml2lyx... no
checking for SGML-tools 2.x (DocBook) or db2x scripts...
+checking for sgmltools... no
+checking for db2dvi... no
checking for a spool command...
+checking for lp... no
+checking for lpr... yes
checking for a LaTeX - HTML converter...
+checking for htlatex... yes
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2003/12/01
+checking for available hyphenation patterns... english, dumylang, nohyphenatio
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... yes
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... yes
+checking for docbook  class agu-dtd...  no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... yes
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... no
+checking for document class chess [article,lyxskak.sty]... no
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... no
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class docbook...  no
+checking for document class dtk [dtk]... yes
+checking for document class egs [egs]... no
+checking for document class elsart [elsart,amssymb.sty]... no
+checking for document class entcs [entcs]... no
+checking for document class extarticle [extarticle]... yes
+checking for document class extbook [extbook]... yes
+checking for document class extletter [extletter]... yes
+checking for document class 

Re: How to import source codes

2006-05-31 Thread Gunnar
I use a program called highlight to highlight the source code, and all this 
is done by adding an external template (insert - external template)

In the file .lyx/external_templates I add

Template CppKod
GuiName [C++ $$Basename]
HelpText
Snyggar till C++ kod
HelpTextEnd
FileFilter *
ViewCommand nedit $$FName
EditCommand nedit $$FName
AutomaticProduction true
Format LaTeX
Product {\\small \\input{$$FName.tex} }
UpdateCommand highlight -A -L -t 4 -I -S cpp -f -r -q 
$$FName -o $$FName.tex
UpdateResult $$FName.tex
FormatEnd
TemplateEnd

and it works quite well for me. Dynamically also!


Re: How to get/use beamer class?

2006-05-31 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

For your first question: yes, I restard LyX many times. I ran
configure (sh is from MSYS) but there was no mention of beamer.

C:\Program Files\LyX141\Resourceskpsewhich beamer.cls
C:/Programs/texmf/tex/latex/beamer/beamer.cls

C:\Program Files\LyX141\Resourcessh configure
checking for a LaTeX2e program...
+checking for pplatex... no
+checking for latex2e... no
+checking for latex... yes
checking for the pdflatex program...
+checking for pdflatex... yes
checking for a Tgif viewer and editor...
+checking for tgif... no
checking for a FIG viewer and editor...
+checking for xfig... yes
checking for a Grace viewer and editor...
+checking for xmgrace... yes
checking for a FEN viewer and editor...
+checking for xboard... no
checking for a raster image viewer...
+checking for xv... no
+checking for kview... no
+checking for gimp... no
checking for a raster image editor...
+checking for gimp... no
checking for a text editor...
+checking for xemacs... no
+checking for gvim... no
+checking for kedit... no
+checking for kwrite... no
+checking for kate... no
+checking for nedit... yes
checking for a LaTeX - LyX converter...
+checking for /c/Program... no
+checking for tex2lyx... no
checking for a Noweb - LyX converter...
+checking for noweb2lyx... no
checking for a Noweb - LaTeX converter...
+checking for noweave... no
checking for an HTML - LaTeX converter...
+checking for html2latex... no
checking for an MS Word - LaTeX converter...
+checking for wvCleanLatex... no
checking for a LaTeX - MS Word converter...
+checking for htlatex... yes
checking for Image converter...
+checking for convert... yes
checking for an OpenOffice.org - LaTeX converter...
+checking for w2l... no
checking for a LaTeX - OpenOffice.org converter...
+checking for oolatex... yes
checking for a Postscript previewer...
+checking for gsview32... no
+checking for gv... yes
checking for a PDF previewer...
+checking for acrobat... no
+checking for acrord32... no
+checking for gsview32... no
+checking for acroread... no
+checking for gv... yes
checking for a DVI previewer...
+checking for xdvi... yes
checking for a HTML previewer...
+checking for mozilla... yes
checking for a PS to PDF converter...
+checking for ps2pdf13... yes
checking for a DVI to PS converter...
+checking for dvips... yes
checking for a DVI to PDF converter...
+checking for dvipdfm... yes
checking for dvipng...
+checking for dvipng... yes
checking for a *roff formatter...
+checking for groff... yes
checking for ChkTeX...
+checking for chktex... no
checking for a spellchecker...
+checking for ispell... no
checking for Octave...
+checking for octave... yes
checking for Maple...
+checking for maple... no
checking for a fax program...
+checking for kdeprintfax... no
+checking for ksendfax... no
checking for SGML-tools 1.x (LinuxDoc)...
+checking for sgml2lyx... no
checking for SGML-tools 2.x (DocBook) or db2x scripts...
+checking for sgmltools... no
+checking for db2dvi... no
checking for a spool command...
+checking for lp... no
+checking for lpr... yes
checking for a LaTeX - HTML converter...
+checking for htlatex... yes
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2003/12/01
+checking for available hyphenation patterns... english, dumylang, 
nohyphenatio

+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... yes
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... yes
+checking for docbook  class agu-dtd...  no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... yes
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... no
+checking for document class chess [article,lyxskak.sty]... no
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... no
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class docbook...  no
+checking for document class dtk [dtk]... yes
+checking for document class egs [egs]... no
+checking for document class elsart [elsart,amssymb.sty]... no
+checking for document class entcs [entcs]... no
+checking for document class extarticle [extarticle]... yes
+checking for document class extbook [extbook]... yes
+checking for document class extletter [extletter]... yes

Re: hyperref use

2006-05-31 Thread Dominik Waßenhoven

Kamran SHAFQAT schrieb:

i am trying to use hyperref in a report class document. [...]

\hypersetup{backref=true, 
bookmarksopen=true,bookmarks=true,bookmarkstype=toc,citebordercolor=1 1 1,

=1 1 1,pagebordercolor=1 1 1}

In the Pdf file the links are created in the table of contents and also 
for the references in the text. But the problem is that all the links 
have boxes around them. 


You know that the boxes are not printed? -- so the printed pdf file has 
no color, but the links can still be used when read on screen.


i tired citebordercolor option as above and also 
linkbordercolor=1 1 1 and colorlinks=false option but the it has no 
effect on the ouput. Also the bookmarks it not created.


If you want to have colored links you have to set colorlinks=true (and 
maybe change the linkcolor, urlcolor etc. if the standard values are not 
what you want). If you want to have links, but black text without boxes, 
you have to set colorlinks=false and pdfborder={0 0 0} (i.e. a white box 
around the link, which is not visible on white paper) or colorlinks=true 
and linkcolor=black.


HTH,
Dominik.-



Why does my LyX convert all images every time it compiles the file?

2006-05-31 Thread Jinghua Zhong

Hi,

I'm using LyX 1.3.7-3 to edit a file I created using 1.3.5 last year. I 
have both EPS and PDF versions of my figures in the same directory.


With 1.3.5, I seem to remember it doesn't convert my EPS files if PDF 
files are present. (I didn't specify extensions for my figure files and 
I use pdflatex.) However, with 1.3.7-3, LyX converts all my EPS files to 
PDF every time I compile. This makes it significantly slower.


I lost my old 1.3.5 setup during a laptop failure, so I'm hoping someone 
here with more experience can tell me if I'm missing something in my new 
setup.


Thanks,
Jinghua Zhong


Re: Page number Alignment

2006-05-31 Thread Luqman H

2006/5/30, Paul A. Rubin [EMAIL PROTECTED]:

If you want the page number bottom right on every page, some of this can
be simplified.  (Menu instructions below follow the LyX 1.4.x layout,
but the same can be done in LyX 1.3.x.)  First, go to
Document-Settings...-Page Layout-Page style: and set it to fancy.
This takes the place of the \pagestyle{fancy} command.  Add the other
commands Andreas recommended to the preamble (although you only need the
ones with empty arguments, such as \cfoot{}, if there's something in the
header or footer you want to turn off, such as a centered page number in
the footer).  I don't think you will need to add \thispagestyle{fancy}
to the text.

/Paul


thanks it works... but not on every page...
on the first page of the chapter, the pagenumber still align to center..
is there still a way to do it ?


Chapter base Page numbering to TOC

2006-05-31 Thread Luqman H

hi,

i'm using Report Document style
i want my chapter look like this:
Chapter I
Chapter II
Chapter III

and the page number (for ex. Chapter 3 page 5) like this:
III-5

i use this command in ERT:
\renewcommand{\headrulewidth}{0pt}
\rhead{}
\lhead{}
\rfoot{\thechapter-\thepage}
\lfoot{}
\cfoot{}

but it only shows page number like: 3-5

and of course for the TOC, i want the page numbering shows
. III-5
. III-6

is it possible? how to do that ?



thanks...


Re: Page number Alignment

2006-05-31 Thread Paul A. Rubin

Luqman H wrote:

2006/5/30, Paul A. Rubin [EMAIL PROTECTED]:

If you want the page number bottom right on every page, some of this can
be simplified.  (Menu instructions below follow the LyX 1.4.x layout,
but the same can be done in LyX 1.3.x.)  First, go to
Document-Settings...-Page Layout-Page style: and set it to fancy.
This takes the place of the \pagestyle{fancy} command.  Add the other
commands Andreas recommended to the preamble (although you only need the
ones with empty arguments, such as \cfoot{}, if there's something in the
header or footer you want to turn off, such as a centered page number in
the footer).  I don't think you will need to add \thispagestyle{fancy}
to the text.

/Paul


thanks it works... but not on every page...
on the first page of the chapter, the pagenumber still align to center..
is there still a way to do it ?



Choose the fancy page style, and add the following to the preamble:

\chead{}
\lhead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\fancyplain{\thepage}{\thepage}}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancyplain}

If you want the first page of a chapter or section unnumbered, change 
the \rfoot command to \rfoot{\fancyplain{}{\thepage}}.


/Paul





is it possible too use psfrag in lyx?

2006-05-31 Thread Rafael Sabaini
Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
Nichts Verdächtiges gefunden.

keine Anlagen gefunden
---

Hello too everybody.


Is it possible too use the advantages off psfrag in lyx?

If yes, how???

thanks, Rafael



Re: Why does my LyX convert all images every time it compiles the file?

2006-05-31 Thread Georg Baum
Jinghua Zhong wrote:

 I lost my old 1.3.5 setup during a laptop failure, so I'm hoping someone
 here with more experience can tell me if I'm missing something in my new
 setup.

To get the old behaviour back you can turn off the usage of a temporary
directory in the preferences, but that has side effects. Note that that
won't work with 1.4.x anymore.


Georg



Re: is it possible too use psfrag in lyx?

2006-05-31 Thread Georg Baum
Rafael Sabaini wrote:

 Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
 Nichts Verdächtiges gefunden.
 
 keine Anlagen gefunden

Please fix your virus scanner.


 Is it possible too use the advantages off psfrag in lyx?

Yes, but native support is not available.

 If yes, how???

Add

\usepackage{psfrags}

to the preamble, and write the \psfrag commands in ERT.


Georg



Re: How to get/use beamer class?

2006-05-31 Thread lyx . overbored

For your first question: yes, I restard LyX many times. I ran
configure (sh is from MSYS) but there was no mention of beamer.

C:\Program Files\LyX141\Resourceskpsewhich beamer.cls
C:/Programs/texmf/tex/latex/beamer/beamer.cls

C:\Program Files\LyX141\Resourcessh configure
checking for a LaTeX2e program...
+checking for pplatex... no
+checking for latex2e... no
+checking for latex... yes
checking for the pdflatex program...
+checking for pdflatex... yes
checking for a Tgif viewer and editor...
+checking for tgif... no
checking for a FIG viewer and editor...
+checking for xfig... yes
checking for a Grace viewer and editor...
+checking for xmgrace... yes
checking for a FEN viewer and editor...
+checking for xboard... no
checking for a raster image viewer...
+checking for xv... no
+checking for kview... no
+checking for gimp... no
checking for a raster image editor...
+checking for gimp... no
checking for a text editor...
+checking for xemacs... no
+checking for gvim... no
+checking for kedit... no
+checking for kwrite... no
+checking for kate... no
+checking for nedit... yes
checking for a LaTeX - LyX converter...
+checking for /c/Program... no
+checking for tex2lyx... no
checking for a Noweb - LyX converter...
+checking for noweb2lyx... no
checking for a Noweb - LaTeX converter...
+checking for noweave... no
checking for an HTML - LaTeX converter...
+checking for html2latex... no
checking for an MS Word - LaTeX converter...
+checking for wvCleanLatex... no
checking for a LaTeX - MS Word converter...
+checking for htlatex... yes
checking for Image converter...
+checking for convert... yes
checking for an OpenOffice.org - LaTeX converter...
+checking for w2l... no
checking for a LaTeX - OpenOffice.org converter...
+checking for oolatex... yes
checking for a Postscript previewer...
+checking for gsview32... no
+checking for gv... yes
checking for a PDF previewer...
+checking for acrobat... no
+checking for acrord32... no
+checking for gsview32... no
+checking for acroread... no
+checking for gv... yes
checking for a DVI previewer...
+checking for xdvi... yes
checking for a HTML previewer...
+checking for mozilla... yes
checking for a PS to PDF converter...
+checking for ps2pdf13... yes
checking for a DVI to PS converter...
+checking for dvips... yes
checking for a DVI to PDF converter...
+checking for dvipdfm... yes
checking for dvipng...
+checking for dvipng... yes
checking for a *roff formatter...
+checking for groff... yes
checking for ChkTeX...
+checking for chktex... no
checking for a spellchecker...
+checking for ispell... no
checking for Octave...
+checking for octave... yes
checking for Maple...
+checking for maple... no
checking for a fax program...
+checking for kdeprintfax... no
+checking for ksendfax... no
checking for SGML-tools 1.x (LinuxDoc)...
+checking for sgml2lyx... no
checking for SGML-tools 2.x (DocBook) or db2x scripts...
+checking for sgmltools... no
+checking for db2dvi... no
checking for a spool command...
+checking for lp... no
+checking for lpr... yes
checking for a LaTeX - HTML converter...
+checking for htlatex... yes
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2003/12/01
+checking for available hyphenation patterns... english, dumylang, nohyphenatio
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... yes
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... yes
+checking for docbook  class agu-dtd...  no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... yes
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... no
+checking for document class chess [article,lyxskak.sty]... no
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... no
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class docbook...  no
+checking for document class dtk [dtk]... yes
+checking for document class egs [egs]... no
+checking for document class elsart [elsart,amssymb.sty]... no
+checking for document class entcs [entcs]... no
+checking for document class extarticle [extarticle]... yes
+checking for document class extbook [extbook]... yes
+checking for document class extletter [extletter]... yes
+checking for document class 

Re: How to import source codes

2006-05-31 Thread Gunnar
I use a program called highlight to highlight the source code, and all this 
is done by adding an external template (insert - external template)

In the file .lyx/external_templates I add

Template CppKod
GuiName [C++ $$Basename]
HelpText
Snyggar till C++ kod
HelpTextEnd
FileFilter *
ViewCommand nedit $$FName
EditCommand nedit $$FName
AutomaticProduction true
Format LaTeX
Product {\\small \\input{$$FName.tex} }
UpdateCommand highlight -A -L -t 4 -I -S cpp -f -r -q 
$$FName -o $$FName.tex
UpdateResult $$FName.tex
FormatEnd
TemplateEnd

and it works quite well for me. Dynamically also!


Re: How to get/use beamer class?

2006-05-31 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

For your first question: yes, I restard LyX many times. I ran
configure (sh is from MSYS) but there was no mention of beamer.

C:\Program Files\LyX141\Resourceskpsewhich beamer.cls
C:/Programs/texmf/tex/latex/beamer/beamer.cls

C:\Program Files\LyX141\Resourcessh configure
checking for a LaTeX2e program...
+checking for pplatex... no
+checking for latex2e... no
+checking for latex... yes
checking for the pdflatex program...
+checking for pdflatex... yes
checking for a Tgif viewer and editor...
+checking for tgif... no
checking for a FIG viewer and editor...
+checking for xfig... yes
checking for a Grace viewer and editor...
+checking for xmgrace... yes
checking for a FEN viewer and editor...
+checking for xboard... no
checking for a raster image viewer...
+checking for xv... no
+checking for kview... no
+checking for gimp... no
checking for a raster image editor...
+checking for gimp... no
checking for a text editor...
+checking for xemacs... no
+checking for gvim... no
+checking for kedit... no
+checking for kwrite... no
+checking for kate... no
+checking for nedit... yes
checking for a LaTeX - LyX converter...
+checking for /c/Program... no
+checking for tex2lyx... no
checking for a Noweb - LyX converter...
+checking for noweb2lyx... no
checking for a Noweb - LaTeX converter...
+checking for noweave... no
checking for an HTML - LaTeX converter...
+checking for html2latex... no
checking for an MS Word - LaTeX converter...
+checking for wvCleanLatex... no
checking for a LaTeX - MS Word converter...
+checking for htlatex... yes
checking for Image converter...
+checking for convert... yes
checking for an OpenOffice.org - LaTeX converter...
+checking for w2l... no
checking for a LaTeX - OpenOffice.org converter...
+checking for oolatex... yes
checking for a Postscript previewer...
+checking for gsview32... no
+checking for gv... yes
checking for a PDF previewer...
+checking for acrobat... no
+checking for acrord32... no
+checking for gsview32... no
+checking for acroread... no
+checking for gv... yes
checking for a DVI previewer...
+checking for xdvi... yes
checking for a HTML previewer...
+checking for mozilla... yes
checking for a PS to PDF converter...
+checking for ps2pdf13... yes
checking for a DVI to PS converter...
+checking for dvips... yes
checking for a DVI to PDF converter...
+checking for dvipdfm... yes
checking for dvipng...
+checking for dvipng... yes
checking for a *roff formatter...
+checking for groff... yes
checking for ChkTeX...
+checking for chktex... no
checking for a spellchecker...
+checking for ispell... no
checking for Octave...
+checking for octave... yes
checking for Maple...
+checking for maple... no
checking for a fax program...
+checking for kdeprintfax... no
+checking for ksendfax... no
checking for SGML-tools 1.x (LinuxDoc)...
+checking for sgml2lyx... no
checking for SGML-tools 2.x (DocBook) or db2x scripts...
+checking for sgmltools... no
+checking for db2dvi... no
checking for a spool command...
+checking for lp... no
+checking for lpr... yes
checking for a LaTeX - HTML converter...
+checking for htlatex... yes
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2003/12/01
+checking for available hyphenation patterns... english, dumylang, 
nohyphenatio

+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... yes
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... yes
+checking for docbook  class agu-dtd...  no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... yes
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... no
+checking for document class chess [article,lyxskak.sty]... no
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... no
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class docbook...  no
+checking for document class dtk [dtk]... yes
+checking for document class egs [egs]... no
+checking for document class elsart [elsart,amssymb.sty]... no
+checking for document class entcs [entcs]... no
+checking for document class extarticle [extarticle]... yes
+checking for document class extbook [extbook]... yes
+checking for document class extletter [extletter]... yes

Re: hyperref use

2006-05-31 Thread Dominik Waßenhoven

Kamran SHAFQAT schrieb:

i am trying to use hyperref in a report class document. [...]

\hypersetup{backref=true, 
bookmarksopen=true,bookmarks=true,bookmarkstype=toc,citebordercolor=1 1 1,

=1 1 1,pagebordercolor=1 1 1}

In the Pdf file the links are created in the table of contents and also 
for the references in the text. But the problem is that all the links 
have boxes around them. 


You know that the boxes are not printed? -- so the printed pdf file has 
no color, but the links can still be used when read on screen.


i tired citebordercolor option as above and also 
linkbordercolor=1 1 1 and colorlinks=false option but the it has no 
effect on the ouput. Also the bookmarks it not created.


If you want to have colored links you have to set colorlinks=true (and 
maybe change the linkcolor, urlcolor etc. if the standard values are not 
what you want). If you want to have links, but black text without boxes, 
you have to set colorlinks=false and pdfborder={0 0 0} (i.e. a white box 
around the link, which is not visible on white paper) or colorlinks=true 
and linkcolor=black.


HTH,
Dominik.-



Why does my LyX convert all images every time it compiles the file?

2006-05-31 Thread Jinghua Zhong

Hi,

I'm using LyX 1.3.7-3 to edit a file I created using 1.3.5 last year. I 
have both EPS and PDF versions of my figures in the same directory.


With 1.3.5, I seem to remember it doesn't convert my EPS files if PDF 
files are present. (I didn't specify extensions for my figure files and 
I use pdflatex.) However, with 1.3.7-3, LyX converts all my EPS files to 
PDF every time I compile. This makes it significantly slower.


I lost my old 1.3.5 setup during a laptop failure, so I'm hoping someone 
here with more experience can tell me if I'm missing something in my new 
setup.


Thanks,
Jinghua Zhong


Re: Page number Alignment

2006-05-31 Thread Luqman H

2006/5/30, Paul A. Rubin <[EMAIL PROTECTED]>:

If you want the page number bottom right on every page, some of this can
be simplified.  (Menu instructions below follow the LyX 1.4.x layout,
but the same can be done in LyX 1.3.x.)  First, go to
Document->Settings...->Page Layout->Page style: and set it to fancy.
This takes the place of the \pagestyle{fancy} command.  Add the other
commands Andreas recommended to the preamble (although you only need the
ones with empty arguments, such as \cfoot{}, if there's something in the
header or footer you want to turn off, such as a centered page number in
the footer).  I don't think you will need to add \thispagestyle{fancy}
to the text.

/Paul


thanks it works... but not on every page...
on the first page of the chapter, the pagenumber still align to center..
is there still a way to do it ?


Chapter base Page numbering to TOC

2006-05-31 Thread Luqman H

hi,

i'm using Report Document style
i want my chapter look like this:
Chapter I
Chapter II
Chapter III

and the page number (for ex. Chapter 3 page 5) like this:
III-5

i use this command in ERT:
\renewcommand{\headrulewidth}{0pt}
\rhead{}
\lhead{}
\rfoot{\thechapter-\thepage}
\lfoot{}
\cfoot{}

but it only shows page number like: 3-5

and of course for the TOC, i want the page numbering shows
. III-5
. III-6

is it possible? how to do that ?



thanks...


Re: Page number Alignment

2006-05-31 Thread Paul A. Rubin

Luqman H wrote:

2006/5/30, Paul A. Rubin <[EMAIL PROTECTED]>:

If you want the page number bottom right on every page, some of this can
be simplified.  (Menu instructions below follow the LyX 1.4.x layout,
but the same can be done in LyX 1.3.x.)  First, go to
Document->Settings...->Page Layout->Page style: and set it to fancy.
This takes the place of the \pagestyle{fancy} command.  Add the other
commands Andreas recommended to the preamble (although you only need the
ones with empty arguments, such as \cfoot{}, if there's something in the
header or footer you want to turn off, such as a centered page number in
the footer).  I don't think you will need to add \thispagestyle{fancy}
to the text.

/Paul


thanks it works... but not on every page...
on the first page of the chapter, the pagenumber still align to center..
is there still a way to do it ?



Choose the fancy page style, and add the following to the preamble:

\chead{}
\lhead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\fancyplain{\thepage}{\thepage}}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancyplain}

If you want the first page of a chapter or section unnumbered, change 
the \rfoot command to \rfoot{\fancyplain{}{\thepage}}.


/Paul





is it possible too use psfrag in lyx?

2006-05-31 Thread Rafael Sabaini
Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
Nichts Verdächtiges gefunden.

keine Anlagen gefunden
---

Hello too everybody.


Is it possible too use the advantages off psfrag in lyx?

If yes, how???

thanks, Rafael



Re: Why does my LyX convert all images every time it compiles the file?

2006-05-31 Thread Georg Baum
Jinghua Zhong wrote:

> I lost my old 1.3.5 setup during a laptop failure, so I'm hoping someone
> here with more experience can tell me if I'm missing something in my new
> setup.

To get the old behaviour back you can turn off the usage of a temporary
directory in the preferences, but that has side effects. Note that that
won't work with 1.4.x anymore.


Georg



Re: is it possible too use psfrag in lyx?

2006-05-31 Thread Georg Baum
Rafael Sabaini wrote:

> Ikarus GuardNT hat dieses eMail auf Viren und Trojaner untersucht.
> Nichts Verdächtiges gefunden.
> 
> keine Anlagen gefunden

Please fix your virus scanner.


> Is it possible too use the advantages off psfrag in lyx?

Yes, but native support is not available.

> If yes, how???

Add

\usepackage{psfrags}

to the preamble, and write the \psfrag commands in ERT.


Georg



Re: How to get/use beamer class?

2006-05-31 Thread lyx . overbored

For your first question: yes, I restard LyX many times. I ran
configure (sh is from MSYS) but there was no mention of beamer.

C:\Program Files\LyX141\Resources>kpsewhich beamer.cls
C:/Programs/texmf/tex/latex/beamer/beamer.cls

C:\Program Files\LyX141\Resources>sh configure
checking for a LaTeX2e program...
+checking for "pplatex"... no
+checking for "latex2e"... no
+checking for "latex"... yes
checking for the pdflatex program...
+checking for "pdflatex"... yes
checking for a Tgif viewer and editor...
+checking for "tgif"... no
checking for a FIG viewer and editor...
+checking for "xfig"... yes
checking for a Grace viewer and editor...
+checking for "xmgrace"... yes
checking for a FEN viewer and editor...
+checking for "xboard"... no
checking for a raster image viewer...
+checking for "xv"... no
+checking for "kview"... no
+checking for "gimp"... no
checking for a raster image editor...
+checking for "gimp"... no
checking for a text editor...
+checking for "xemacs"... no
+checking for "gvim"... no
+checking for "kedit"... no
+checking for "kwrite"... no
+checking for "kate"... no
+checking for "nedit"... yes
checking for a LaTeX -> LyX converter...
+checking for "/c/Program"... no
+checking for "tex2lyx"... no
checking for a Noweb -> LyX converter...
+checking for "noweb2lyx"... no
checking for a Noweb -> LaTeX converter...
+checking for "noweave"... no
checking for an HTML -> LaTeX converter...
+checking for "html2latex"... no
checking for an MS Word -> LaTeX converter...
+checking for "wvCleanLatex"... no
checking for a LaTeX -> MS Word converter...
+checking for "htlatex"... yes
checking for Image converter...
+checking for "convert"... yes
checking for an OpenOffice.org -> LaTeX converter...
+checking for "w2l"... no
checking for a LaTeX -> OpenOffice.org converter...
+checking for "oolatex"... yes
checking for a Postscript previewer...
+checking for "gsview32"... no
+checking for "gv"... yes
checking for a PDF previewer...
+checking for "acrobat"... no
+checking for "acrord32"... no
+checking for "gsview32"... no
+checking for "acroread"... no
+checking for "gv"... yes
checking for a DVI previewer...
+checking for "xdvi"... yes
checking for a HTML previewer...
+checking for "mozilla"... yes
checking for a PS to PDF converter...
+checking for "ps2pdf13"... yes
checking for a DVI to PS converter...
+checking for "dvips"... yes
checking for a DVI to PDF converter...
+checking for "dvipdfm"... yes
checking for dvipng...
+checking for "dvipng"... yes
checking for a *roff formatter...
+checking for "groff"... yes
checking for ChkTeX...
+checking for "chktex"... no
checking for a spellchecker...
+checking for "ispell"... no
checking for Octave...
+checking for "octave"... yes
checking for Maple...
+checking for "maple"... no
checking for a fax program...
+checking for "kdeprintfax"... no
+checking for "ksendfax"... no
checking for SGML-tools 1.x (LinuxDoc)...
+checking for "sgml2lyx"... no
checking for SGML-tools 2.x (DocBook) or db2x scripts...
+checking for "sgmltools"... no
+checking for "db2dvi"... no
checking for a spool command...
+checking for "lp"... no
+checking for "lpr"... yes
checking for a LaTeX -> HTML converter...
+checking for "htlatex"... yes
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2003/12/01
+checking for available hyphenation patterns... english, dumylang, nohyphenatio
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... yes
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... yes
+checking for docbook  class agu-dtd...  no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... yes
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... no
+checking for document class chess [article,lyxskak.sty]... no
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... no
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class docbook...  no
+checking for document class dtk [dtk]... yes
+checking for document class egs [egs]... no
+checking for document class elsart [elsart,amssymb.sty]... no
+checking for document class entcs [entcs]... no
+checking for document class extarticle [extarticle]... yes
+checking for document 

Re: How to import source codes

2006-05-31 Thread Gunnar
I use a program called "highlight" to highlight the source code, and all this 
is done by adding an external template (insert -> external template)

In the file .lyx/external_templates I add

Template CppKod
GuiName "[C++ $$Basename]"
HelpText
Snyggar till C++ kod
HelpTextEnd
FileFilter "*"
ViewCommand "nedit $$FName"
EditCommand "nedit $$FName"
AutomaticProduction true
Format LaTeX
Product "{\\small \\input{$$FName.tex} }"
UpdateCommand "highlight -A -L -t 4 -I -S cpp -f -r -q 
$$FName -o $$FName.tex"
UpdateResult "$$FName.tex"
FormatEnd
TemplateEnd

and it works quite well for me. Dynamically also!


Re: How to get/use beamer class?

2006-05-31 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

For your first question: yes, I restard LyX many times. I ran
configure (sh is from MSYS) but there was no mention of beamer.

C:\Program Files\LyX141\Resources>kpsewhich beamer.cls
C:/Programs/texmf/tex/latex/beamer/beamer.cls

C:\Program Files\LyX141\Resources>sh configure
checking for a LaTeX2e program...
+checking for "pplatex"... no
+checking for "latex2e"... no
+checking for "latex"... yes
checking for the pdflatex program...
+checking for "pdflatex"... yes
checking for a Tgif viewer and editor...
+checking for "tgif"... no
checking for a FIG viewer and editor...
+checking for "xfig"... yes
checking for a Grace viewer and editor...
+checking for "xmgrace"... yes
checking for a FEN viewer and editor...
+checking for "xboard"... no
checking for a raster image viewer...
+checking for "xv"... no
+checking for "kview"... no
+checking for "gimp"... no
checking for a raster image editor...
+checking for "gimp"... no
checking for a text editor...
+checking for "xemacs"... no
+checking for "gvim"... no
+checking for "kedit"... no
+checking for "kwrite"... no
+checking for "kate"... no
+checking for "nedit"... yes
checking for a LaTeX -> LyX converter...
+checking for "/c/Program"... no
+checking for "tex2lyx"... no
checking for a Noweb -> LyX converter...
+checking for "noweb2lyx"... no
checking for a Noweb -> LaTeX converter...
+checking for "noweave"... no
checking for an HTML -> LaTeX converter...
+checking for "html2latex"... no
checking for an MS Word -> LaTeX converter...
+checking for "wvCleanLatex"... no
checking for a LaTeX -> MS Word converter...
+checking for "htlatex"... yes
checking for Image converter...
+checking for "convert"... yes
checking for an OpenOffice.org -> LaTeX converter...
+checking for "w2l"... no
checking for a LaTeX -> OpenOffice.org converter...
+checking for "oolatex"... yes
checking for a Postscript previewer...
+checking for "gsview32"... no
+checking for "gv"... yes
checking for a PDF previewer...
+checking for "acrobat"... no
+checking for "acrord32"... no
+checking for "gsview32"... no
+checking for "acroread"... no
+checking for "gv"... yes
checking for a DVI previewer...
+checking for "xdvi"... yes
checking for a HTML previewer...
+checking for "mozilla"... yes
checking for a PS to PDF converter...
+checking for "ps2pdf13"... yes
checking for a DVI to PS converter...
+checking for "dvips"... yes
checking for a DVI to PDF converter...
+checking for "dvipdfm"... yes
checking for dvipng...
+checking for "dvipng"... yes
checking for a *roff formatter...
+checking for "groff"... yes
checking for ChkTeX...
+checking for "chktex"... no
checking for a spellchecker...
+checking for "ispell"... no
checking for Octave...
+checking for "octave"... yes
checking for Maple...
+checking for "maple"... no
checking for a fax program...
+checking for "kdeprintfax"... no
+checking for "ksendfax"... no
checking for SGML-tools 1.x (LinuxDoc)...
+checking for "sgml2lyx"... no
checking for SGML-tools 2.x (DocBook) or db2x scripts...
+checking for "sgmltools"... no
+checking for "db2dvi"... no
checking for a spool command...
+checking for "lp"... no
+checking for "lpr"... yes
checking for a LaTeX -> HTML converter...
+checking for "htlatex"... yes
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2003/12/01
+checking for available hyphenation patterns... english, dumylang, 
nohyphenatio

+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... yes
+checking for document class aa [aa]... no
+checking for document class aapaper [aa]... no
+checking for document class aastex [aastex]... yes
+checking for docbook  class agu-dtd...  no
+checking for document class agums [aguplus,agums.sty]... no
+checking for document class amsart-plain [amsart]... yes
+checking for document class amsart-seq [amsart]... yes
+checking for document class amsart [amsart]... yes
+checking for document class amsbook [amsbook]... yes
+checking for document class apa [apa,apacite.sty]... yes
+checking for document class article [article]... yes
+checking for document class book [book]... yes
+checking for document class broadway [broadway]... no
+checking for document class chess [article,lyxskak.sty]... no
+checking for document class cl2emult [cl2emult]... no
+checking for document class cv [cv]... no
+checking for document class dinbrief [dinbrief]... yes
+checking for docbook  class docbook-book...  no
+checking for docbook  class docbook-chapter...  no
+checking for docbook  class docbook-section...  no
+checking for docbook  class docbook...  no
+checking for document class dtk [dtk]... yes
+checking for document class egs [egs]... no
+checking for document class elsart [elsart,amssymb.sty]... no
+checking for document class entcs [entcs]... no
+checking for document class extarticle [extarticle]...