Page numbers in pdf display

2008-06-28 Thread Maksi

Hello,


as my thesis requires roman numerals for the front matter and arabic
numerals for the main matter I would like the resulting PDF file to display
always the right number as on the printed paper. Right now it displays
something like

i -- 1
ii -- 2 etc.
1 -- 7
2 -- 8 etc.

as the PDF viewer simply counts from the first to the last page. However, I
have seen already LaTeX-PDF-Files that display always the same page number
as is being printed. How can I achieve that in LyX 1.5.5 and XeTeX on latest
MacTeX?

Thanks for any help,


Maksi
-- 
View this message in context: 
http://www.nabble.com/Page-numbers-in-pdf-display-tp18171590p18171590.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-28 Thread Christopher Reeve
Hi Etinne,

I know you won't exactly love this solution, but it does work. You can
remove the extra space again simply by entering a spacer with a user
value with a negative in front. eg -1 em. This removes the text up a
line again.

You have to give LyX more of a chance. Writing in LaTeX requires some
fiddling too and most problems you can get around with LyX. You just
need to find new ways sometimes.

There are so many advantages to writing in LyX when you get to know
it. I'd never go back!

Chris.


Re: Page numbers in pdf display

2008-06-28 Thread Jürgen Spitzmüller
Maksi wrote:
 However, I
 have seen already LaTeX-PDF-Files that display always the same page number
 as is being printed. How can I achieve that in LyX 1.5.5 and XeTeX on
 latest MacTeX?

Works for me using the \frontmatter ans \mainmatter commands and Acroread as 
PDF viewer.

Jürgen


Re: Page numbers in pdf display

2008-06-28 Thread Paul A. Rubin

Maksi wrote:

Hello,


as my thesis requires roman numerals for the front matter and arabic
numerals for the main matter I would like the resulting PDF file to display
always the right number as on the printed paper. Right now it displays
something like

i -- 1
ii -- 2 etc.
1 -- 7
2 -- 8 etc.

as the PDF viewer simply counts from the first to the last page. However, I
have seen already LaTeX-PDF-Files that display always the same page number
as is being printed. How can I achieve that in LyX 1.5.5 and XeTeX on latest
MacTeX?

Thanks for any help,


Maksi


Apparently you are not currently using the hyperref package in the 
document.  Try adding \usepackage{hyperref} to the preamble.  The 
hyperref option pdfpagelabels=true (which is the default setting) will 
induce Acrobat Reader (and hopefully other readers) to display something 
like ii (2 of 938) as the page number.


/Paul



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-28 Thread Etienne M. Gagnon

Christopher Reeve wrote:

I know you won't exactly love this solution, but it does work. You can
remove the extra space again simply by entering a spacer with a user
value with a negative in front. eg -1 em. This removes the text up a
line again.
  

The main problem with this approach is that:

  1. It won't always look similar to not having a blank line in the
 LaTeX source as soon as you start playing with global spacing
 options. Having to go back and fix every ERT because you changed a
 global option is not a good idea.
  2. It requires the human to consistently add ERT to every list.
 Consistency is not best achieved by humans, unfortunately.

This is best solved by making sure LyX doesn't spit out spurious \n's 
everywhere... I've looked in the code, and this part does not seem 
beautiful at all. I won't even copy here some comments I read in the 
code; they were too awful! :-)


Etienne

--
Etienne M. Gagnon, Ph.D.
SableCC:http://sablecc.org
SableVM:http://sablevm.org



signature.asc
Description: OpenPGP digital signature


Problem with EPS images and diacritics

2008-06-28 Thread Tomas Pavlik

Hello Lyx users :)
I have a problem with images in lyx. I'm writing a thesis and some graphs  
are included. The problem is with the written part of the graphs -  
legends, axes descriptions etc. Some diacritic markers are not displayed  
in lyx output - like the letter Č is displayed as C. But when I view the  
picture in a picture viewer like IrfanView, everything is displayed  
correctly. I am using EPS format for images since that's the best way to  
ensure the quality of the output.


Thank you for any suggestions.

Please reply to my e-mail address too since I'm not a member of the lyx  
users mailinglist.


Best regards,

Tomas Pavlik


wrapfigure environment options

2008-06-28 Thread James Sutherland
I have noticed that in the wrapfigure environment (text wrap float),  
there is no option for allowing the figure to really float.  In the  
actual LaTeX code, you may specify l/L, r/R, o/O, etc. with the lower  
case mandating placement at that point in the text and upper case  
allowing the figure to float.  It appears, from looking at the LaTeX  
source generated by LyX, that the lower-case options are hard coded.   
Does anyone know how to change this?


James


Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-28 Thread Tom Schlangen
Dear Olivier,

thank you very much for your extensive answer!

 Now, I do not really understand why you need such a
 complex workflow. Why do you need to go in Linux ?

That´s just because so far I didn´t know better how to deal with bounding boxes 
- and I have a Linux machine running anyway.

 I did the following in Windows (one line, mail agent may wrap it):
 gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite 
 -sOutputFile=dummy2.eps dummy.eps

I tried this, but ...

 The resulting image displays fine in LyX with or without the
 clipping options

While this is true regarding the bounding box problem, the resulting picture 
quality I get (LyX display and printout) is very poor compared to the other 
method I used so far. I am using AFPL Ghostscript V8.54, because it is 
installed on the Windows machine anyway.

I will try some younger Windows versions of ghostscript tomorrow and report 
back.

Maybe there are additional parameters that could be passed to gswin32c.exe to 
improve the picture quality?

Thank you again,

Tom Schlangen

-- 
mailto:[EMAIL PROTECTED]



TOF_formatting

2008-06-28 Thread Kamran SHAFQAT

Hi,
I have a little bit of a problem with formatting my table of contents. I 
have use the following latex code to get the table of content as shown 
in the attached figure.


\contentsline {chapter}{{\textbf{\textit{\Large{Chapter\hspace{0.2cm}%
\numberline{\itshape{\bfseries{\Large{2}}}\\}{\hspace{-3.2cm}\protect\rule[-.3cm]{15.65cm}{0.08cm}\hfill%
\hspace{-3.2cm}Tachogram resampling, Ectopic beat correction and 
Detrending}}{\bf{6}}{chapter.2}


\contentsline {section}{\numberline {2.1}Introduction}{6}{section.2.1}


basically i have just made some changes in the line related to the 
chapters. I would like to move the chapter heading Tachogram resampling 
. a bit to the left. I tried to use \hspace command but it didn't 
work i might be putting it in the wrong place or something i don't know. 
If someone can help me with this i would really appreciate. Thanks



Regards,

Kamran


toc.pdf
Description: Adobe PDF document


Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-28 Thread Etienne M. Gagnon

Bennett Helm wrote:

[...]
In the meantime, so your report doesn't get lost, may I suggest that 
you submit this as a bug [...]


Done. See: http://bugzilla.lyx.org/show_bug.cgi?id=4993.

Etienne

--
Etienne M. Gagnon, Ph.D.
SableCC:http://sablecc.org
SableVM:http://sablevm.org




signature.asc
Description: OpenPGP digital signature


Page numbers in pdf display

2008-06-28 Thread Maksi

Hello,


as my thesis requires roman numerals for the front matter and arabic
numerals for the main matter I would like the resulting PDF file to display
always the right number as on the printed paper. Right now it displays
something like

i -- 1
ii -- 2 etc.
1 -- 7
2 -- 8 etc.

as the PDF viewer simply counts from the first to the last page. However, I
have seen already LaTeX-PDF-Files that display always the same page number
as is being printed. How can I achieve that in LyX 1.5.5 and XeTeX on latest
MacTeX?

Thanks for any help,


Maksi
-- 
View this message in context: 
http://www.nabble.com/Page-numbers-in-pdf-display-tp18171590p18171590.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-28 Thread Christopher Reeve
Hi Etinne,

I know you won't exactly love this solution, but it does work. You can
remove the extra space again simply by entering a spacer with a user
value with a negative in front. eg -1 em. This removes the text up a
line again.

You have to give LyX more of a chance. Writing in LaTeX requires some
fiddling too and most problems you can get around with LyX. You just
need to find new ways sometimes.

There are so many advantages to writing in LyX when you get to know
it. I'd never go back!

Chris.


Re: Page numbers in pdf display

2008-06-28 Thread Jürgen Spitzmüller
Maksi wrote:
 However, I
 have seen already LaTeX-PDF-Files that display always the same page number
 as is being printed. How can I achieve that in LyX 1.5.5 and XeTeX on
 latest MacTeX?

Works for me using the \frontmatter ans \mainmatter commands and Acroread as 
PDF viewer.

Jürgen


Re: Page numbers in pdf display

2008-06-28 Thread Paul A. Rubin

Maksi wrote:

Hello,


as my thesis requires roman numerals for the front matter and arabic
numerals for the main matter I would like the resulting PDF file to display
always the right number as on the printed paper. Right now it displays
something like

i -- 1
ii -- 2 etc.
1 -- 7
2 -- 8 etc.

as the PDF viewer simply counts from the first to the last page. However, I
have seen already LaTeX-PDF-Files that display always the same page number
as is being printed. How can I achieve that in LyX 1.5.5 and XeTeX on latest
MacTeX?

Thanks for any help,


Maksi


Apparently you are not currently using the hyperref package in the 
document.  Try adding \usepackage{hyperref} to the preamble.  The 
hyperref option pdfpagelabels=true (which is the default setting) will 
induce Acrobat Reader (and hopefully other readers) to display something 
like ii (2 of 938) as the page number.


/Paul



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-28 Thread Etienne M. Gagnon

Christopher Reeve wrote:

I know you won't exactly love this solution, but it does work. You can
remove the extra space again simply by entering a spacer with a user
value with a negative in front. eg -1 em. This removes the text up a
line again.
  

The main problem with this approach is that:

  1. It won't always look similar to not having a blank line in the
 LaTeX source as soon as you start playing with global spacing
 options. Having to go back and fix every ERT because you changed a
 global option is not a good idea.
  2. It requires the human to consistently add ERT to every list.
 Consistency is not best achieved by humans, unfortunately.

This is best solved by making sure LyX doesn't spit out spurious \n's 
everywhere... I've looked in the code, and this part does not seem 
beautiful at all. I won't even copy here some comments I read in the 
code; they were too awful! :-)


Etienne

--
Etienne M. Gagnon, Ph.D.
SableCC:http://sablecc.org
SableVM:http://sablevm.org



signature.asc
Description: OpenPGP digital signature


Problem with EPS images and diacritics

2008-06-28 Thread Tomas Pavlik

Hello Lyx users :)
I have a problem with images in lyx. I'm writing a thesis and some graphs  
are included. The problem is with the written part of the graphs -  
legends, axes descriptions etc. Some diacritic markers are not displayed  
in lyx output - like the letter Č is displayed as C. But when I view the  
picture in a picture viewer like IrfanView, everything is displayed  
correctly. I am using EPS format for images since that's the best way to  
ensure the quality of the output.


Thank you for any suggestions.

Please reply to my e-mail address too since I'm not a member of the lyx  
users mailinglist.


Best regards,

Tomas Pavlik


wrapfigure environment options

2008-06-28 Thread James Sutherland
I have noticed that in the wrapfigure environment (text wrap float),  
there is no option for allowing the figure to really float.  In the  
actual LaTeX code, you may specify l/L, r/R, o/O, etc. with the lower  
case mandating placement at that point in the text and upper case  
allowing the figure to float.  It appears, from looking at the LaTeX  
source generated by LyX, that the lower-case options are hard coded.   
Does anyone know how to change this?


James


Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-28 Thread Tom Schlangen
Dear Olivier,

thank you very much for your extensive answer!

 Now, I do not really understand why you need such a
 complex workflow. Why do you need to go in Linux ?

That´s just because so far I didn´t know better how to deal with bounding boxes 
- and I have a Linux machine running anyway.

 I did the following in Windows (one line, mail agent may wrap it):
 gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite 
 -sOutputFile=dummy2.eps dummy.eps

I tried this, but ...

 The resulting image displays fine in LyX with or without the
 clipping options

While this is true regarding the bounding box problem, the resulting picture 
quality I get (LyX display and printout) is very poor compared to the other 
method I used so far. I am using AFPL Ghostscript V8.54, because it is 
installed on the Windows machine anyway.

I will try some younger Windows versions of ghostscript tomorrow and report 
back.

Maybe there are additional parameters that could be passed to gswin32c.exe to 
improve the picture quality?

Thank you again,

Tom Schlangen

-- 
mailto:[EMAIL PROTECTED]



TOF_formatting

2008-06-28 Thread Kamran SHAFQAT

Hi,
I have a little bit of a problem with formatting my table of contents. I 
have use the following latex code to get the table of content as shown 
in the attached figure.


\contentsline {chapter}{{\textbf{\textit{\Large{Chapter\hspace{0.2cm}%
\numberline{\itshape{\bfseries{\Large{2}}}\\}{\hspace{-3.2cm}\protect\rule[-.3cm]{15.65cm}{0.08cm}\hfill%
\hspace{-3.2cm}Tachogram resampling, Ectopic beat correction and 
Detrending}}{\bf{6}}{chapter.2}


\contentsline {section}{\numberline {2.1}Introduction}{6}{section.2.1}


basically i have just made some changes in the line related to the 
chapters. I would like to move the chapter heading Tachogram resampling 
. a bit to the left. I tried to use \hspace command but it didn't 
work i might be putting it in the wrong place or something i don't know. 
If someone can help me with this i would really appreciate. Thanks



Regards,

Kamran


toc.pdf
Description: Adobe PDF document


Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-28 Thread Etienne M. Gagnon

Bennett Helm wrote:

[...]
In the meantime, so your report doesn't get lost, may I suggest that 
you submit this as a bug [...]


Done. See: http://bugzilla.lyx.org/show_bug.cgi?id=4993.

Etienne

--
Etienne M. Gagnon, Ph.D.
SableCC:http://sablecc.org
SableVM:http://sablevm.org




signature.asc
Description: OpenPGP digital signature


Page numbers in pdf display

2008-06-28 Thread Maksi

Hello,


as my thesis requires roman numerals for the front matter and arabic
numerals for the main matter I would like the resulting PDF file to display
always the right number as on the printed paper. Right now it displays
something like

i --> 1
ii --> 2 etc.
1 --> 7
2 --> 8 etc.

as the PDF viewer simply counts from the first to the last page. However, I
have seen already LaTeX-PDF-Files that display always the same page number
as is being printed. How can I achieve that in LyX 1.5.5 and XeTeX on latest
MacTeX?

Thanks for any help,


Maksi
-- 
View this message in context: 
http://www.nabble.com/Page-numbers-in-pdf-display-tp18171590p18171590.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-28 Thread Christopher Reeve
Hi Etinne,

I know you won't exactly love this solution, but it does work. You can
remove the extra space again simply by entering a spacer with a user
value with a negative in front. eg -1 em. This removes the text up a
line again.

You have to give LyX more of a chance. Writing in LaTeX requires some
fiddling too and most problems you can get around with LyX. You just
need to find new ways sometimes.

There are so many advantages to writing in LyX when you get to know
it. I'd never go back!

Chris.


Re: Page numbers in pdf display

2008-06-28 Thread Jürgen Spitzmüller
Maksi wrote:
> However, I
> have seen already LaTeX-PDF-Files that display always the same page number
> as is being printed. How can I achieve that in LyX 1.5.5 and XeTeX on
> latest MacTeX?

Works for me using the \frontmatter ans \mainmatter commands and Acroread as 
PDF viewer.

Jürgen


Re: Page numbers in pdf display

2008-06-28 Thread Paul A. Rubin

Maksi wrote:

Hello,


as my thesis requires roman numerals for the front matter and arabic
numerals for the main matter I would like the resulting PDF file to display
always the right number as on the printed paper. Right now it displays
something like

i --> 1
ii --> 2 etc.
1 --> 7
2 --> 8 etc.

as the PDF viewer simply counts from the first to the last page. However, I
have seen already LaTeX-PDF-Files that display always the same page number
as is being printed. How can I achieve that in LyX 1.5.5 and XeTeX on latest
MacTeX?

Thanks for any help,


Maksi


Apparently you are not currently using the hyperref package in the 
document.  Try adding \usepackage{hyperref} to the preamble.  The 
hyperref option pdfpagelabels=true (which is the default setting) will 
induce Acrobat Reader (and hopefully other readers) to display something 
like "ii (2 of 938)" as the page number.


/Paul



Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-28 Thread Etienne M. Gagnon

Christopher Reeve wrote:

I know you won't exactly love this solution, but it does work. You can
remove the extra space again simply by entering a spacer with a user
value with a negative in front. eg -1 em. This removes the text up a
line again.
  

The main problem with this approach is that:

  1. It won't always look similar to not having a blank line in the
 LaTeX source as soon as you start playing with global spacing
 options. Having to go back and fix every ERT because you changed a
 global option is not a good idea.
  2. It requires the human to consistently add ERT to every list.
 Consistency is not best achieved by humans, unfortunately.

This is best solved by making sure LyX doesn't spit out spurious "\n"'s 
everywhere... I've looked in the code, and this part does not seem 
beautiful at all. I won't even copy here some comments I read in the 
code; they were too awful! :-)


Etienne

--
Etienne M. Gagnon, Ph.D.
SableCC:http://sablecc.org
SableVM:http://sablevm.org



signature.asc
Description: OpenPGP digital signature


Problem with EPS images and diacritics

2008-06-28 Thread Tomas Pavlik

Hello Lyx users :)
I have a problem with images in lyx. I'm writing a thesis and some graphs  
are included. The problem is with the written part of the graphs -  
legends, axes descriptions etc. Some diacritic markers are not displayed  
in lyx output - like the letter Č is displayed as C. But when I view the  
picture in a picture viewer like IrfanView, everything is displayed  
correctly. I am using EPS format for images since that's the best way to  
ensure the quality of the output.


Thank you for any suggestions.

Please reply to my e-mail address too since I'm not a member of the lyx  
users mailinglist.


Best regards,

Tomas Pavlik


wrapfigure environment options

2008-06-28 Thread James Sutherland
I have noticed that in the wrapfigure environment (text wrap float),  
there is no option for allowing the figure to really float.  In the  
actual LaTeX code, you may specify l/L, r/R, o/O, etc. with the lower  
case mandating placement at that point in the text and upper case  
allowing the figure to float.  It appears, from looking at the LaTeX  
source generated by LyX, that the lower-case options are hard coded.   
Does anyone know how to change this?


James


Re: Bounding box problem (not caused by LyX but ghostscript)

2008-06-28 Thread Tom Schlangen
Dear Olivier,

thank you very much for your extensive answer!

> Now, I do not really understand why you need such a
> complex workflow. Why do you need to go in Linux ?

That´s just because so far I didn´t know better how to deal with bounding boxes 
- and I have a Linux machine running anyway.

> I did the following in Windows (one line, mail agent may wrap it):
> gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite 
> -sOutputFile=dummy2.eps dummy.eps

I tried this, but ...

> The resulting image displays fine in LyX with or without the
> clipping options

While this is true regarding the bounding box problem, the resulting picture 
quality I get (LyX display and printout) is very poor compared to the other 
method I used so far. I am using AFPL Ghostscript V8.54, because it is 
installed on the Windows machine anyway.

I will try some younger Windows versions of ghostscript tomorrow and report 
back.

Maybe there are additional parameters that could be passed to gswin32c.exe to 
improve the picture quality?

Thank you again,

Tom Schlangen

-- 
mailto:[EMAIL PROTECTED]



TOF_formatting

2008-06-28 Thread Kamran SHAFQAT

Hi,
I have a little bit of a problem with formatting my table of contents. I 
have use the following latex code to get the table of content as shown 
in the attached figure.


\contentsline {chapter}{{\textbf{\textit{\Large{Chapter\hspace{0.2cm}%
\numberline{\itshape{\bfseries{\Large{2}}}\\}{\hspace{-3.2cm}\protect\rule[-.3cm]{15.65cm}{0.08cm}\hfill%
\hspace{-3.2cm}Tachogram resampling, Ectopic beat correction and 
Detrending}}{\bf{6}}{chapter.2}


\contentsline {section}{\numberline {2.1}Introduction}{6}{section.2.1}


basically i have just made some changes in the line related to the 
chapters. I would like to move the chapter heading "Tachogram resampling 
." a bit to the left. I tried to use \hspace command but it didn't 
work i might be putting it in the wrong place or something i don't know. 
If someone can help me with this i would really appreciate. Thanks



Regards,

Kamran


toc.pdf
Description: Adobe PDF document


Re: Blank Line Before \begin{itemize} in Geneterated LaTeX

2008-06-28 Thread Etienne M. Gagnon

Bennett Helm wrote:

[...]
In the meantime, so your report doesn't get lost, may I suggest that 
you submit this as a bug [...]


Done. See: http://bugzilla.lyx.org/show_bug.cgi?id=4993.

Etienne

--
Etienne M. Gagnon, Ph.D.
SableCC:http://sablecc.org
SableVM:http://sablevm.org




signature.asc
Description: OpenPGP digital signature