How to get starred titles in the TOC

2005-08-15 Thread sugen
Hello,

I'm using the apa layout. It has no part environment, but only the
starred versions part*, which means the parts are not numbered in
the text (same for sections/subsections). That's ok, it's a
requirement of the APA article style.

However, I would like to have a table of contents. I have tried to
redefine the part* command so that it includes an entry in the TOC.
I've put the following in the preamble:


\let\oldpart\part*

\renewcommand{\part*}[1]{
 \oldpart{#1}
 \addcontentsline{toc}{part}{#1}
}


This gives me errors, the first of which being:


You can't use `macro parameter character #' in horizontal mode.
 \contentsline {part}{1}{1}


I have the impression this trick works fine if I try to redefine a
non-starred command, like  part or section, but it fails for the
starred versions part* and section*.

What am I doing wrong ? Is there a better way of doing this?

Thanks,
Sonja


problem compiling on x86_64 (Slamd64)

2005-08-15 Thread Nathan Becker
I'm having trouble compiling LyX 1.3.6 on an AMD64 machine.  For some 
reason LyX is looking in the /usr/lib directory for some libraries even 
though all environment variables point it to /usr/lib64


Here is the error message:
/usr/lib/libGL.so: could not read symbols: File in wrong format

It should be trying to use /usr/lib64/libGL.so

The library path is set appropriately in the Makefile.

Thanks for your help.


Problem with incorporation of subparts

2005-08-15 Thread S. Teletchéa
I'm writing down my PhD (well finishing today or tomorrow if you can 
help me) and i'm encountering a problem


I've made a file where all my chapters are incorporated (using 
'incorporation').


Each incorporated file begin with Part + some chapters

When i incorporate all of them, parts are well numbered but chapters are 
never reinitialized. Any idea why ?


I have :

Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 4
Chapter 5
Part 3
Chapter 6
...
and so on...

I'll need :
Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 1
Chapter 2
Part 3
Chapter 1
...

I'm using Mandrake Linux 10.1 Official :
lyx-1.3.4-5mdk

Thanks in advance for any help.

Note that if i only use 'chapter' (no Part) the numbering is ok (but i 
presume it is a side effect).


Stéphane

--
http://www.steletch.org
Fingerprint: 1E83 26EE A2F1 87E5 5865 4DBF F2B4 9083 F44C AE88
GPG key @ http://www.steletch.org/article.php3?id_article=13
Mandrakelinux release 10.1 (Official) @ http://www.mandrakesoft.com/
12:35:00 up 3:25, 2 users, load average: 0.17, 0.07, 0.09


Problem viewing PDFs

2005-08-15 Thread Gustavo Guerra

Hi there

I just installed LyX 1.3.6 for Windows.
When I select View-PDF (any of the three versions), acrobat reader gives an
error saying that it can't open the document. The file is generated in the
temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given on the
wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.



smime.p7s
Description: S/MIME cryptographic signature


Re: Problem viewing PDFs

2005-08-15 Thread Geoffrey Lloyd


- Original Message - 
From: Gustavo Guerra [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 4:02 PM
Subject: Problem viewing PDFs



Hi there

I just installed LyX 1.3.6 for Windows.
When I select View-PDF (any of the three versions), acrobat reader gives 
an

error saying that it can't open the document. The file is generated in the
temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given on the
wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.


Firstly the fonts, yes you do have to install them seperately.

Secondly with the pdf problem. Is Acrobat open at the time, if so close it, 
then select view pdf.


If this doesn;t help let us know







Re: Problem with incorporation of subparts

2005-08-15 Thread Paul A. Rubin

S. Teletchéa wrote:
I'm writing down my PhD (well finishing today or tomorrow if you can 
help me) and i'm encountering a problem


I've made a file where all my chapters are incorporated (using 
'incorporation').


Each incorporated file begin with Part + some chapters

When i incorporate all of them, parts are well numbered but chapters are 
never reinitialized. Any idea why ?


I have :

Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 4
Chapter 5
Part 3
Chapter 6
...
and so on...

I'll need :
Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 1
Chapter 2
Part 3
Chapter 1
...

I'm using Mandrake Linux 10.1 Official :
lyx-1.3.4-5mdk

Thanks in advance for any help.

Note that if i only use 'chapter' (no Part) the numbering is ok (but i 
presume it is a side effect).


Stéphane

I'm not sure why the chapter counter is not being reset -- it may be 
dependent on the class you are using -- but for a workaround try adding 
the following to the preamble of the master document: 
[EMAIL PROTECTED]


Paul




Re: Problem with incorporation of subparts

2005-08-15 Thread S. Teletchéa

Paul A. Rubin wrote:

S. Teletchéa wrote:




I'm using Mandrake Linux 10.1 Official :
lyx-1.3.4-5mdk

Thanks in advance for any help.

Note that if i only use 'chapter' (no Part) the numbering is ok (but i 
presume it is a side effect).


Stéphane

I'm not sure why the chapter counter is not being reset -- it may be 
dependent on the class you are using -- but for a workaround try adding 
the following to the preamble of the master document: 
[EMAIL PROTECTED]


Paul



Thanks for the tip
i've been helped on irc:
\setcounter{chapter}{0}

I need to include it on every incorporated file but it works.

If i revise my manuscript, i'll try your answer.

Thanks a lot for your quick answer, i hope it'll help someone else :-)

Stéphane

--
http://www.steletch.org
Fingerprint: 1E83 26EE A2F1 87E5 5865 4DBF F2B4 9083 F44C AE88
GPG key @ http://www.steletch.org/article.php3?id_article=13
Mandrakelinux release 10.1 (Official) @ http://www.mandrakesoft.com/
18:05:00 up 8:55, 2 users, load average: 0.43, 0.58, 0.41


Adjust image width to text width

2005-08-15 Thread [EMAIL PROTECTED]

¿How can i adjust the image width to text width?

Thanks


Re: Adjust image width to text width

2005-08-15 Thread Geoffrey Lloyd


- Original Message - 
From: [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 6:32 PM
Subject: Adjust image width to text width



¿How can i adjust the image width to text width?

Thanks



Click on the image and a grey Graphics box pops up.

Under Ouput Width select text% 



Extra comma in index?

2005-08-15 Thread Kevin Pfeiffer
The index that is generated (using Koma-script) looks like this:

Washington, George, 22, 25--27, 152, 170

The comma between the name and the first page reference looks odd to me. 
Is there a way to remove it or should I just get used to it??

-Kevin



-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Pagenumber at top of page - how to

2005-08-15 Thread Søren O'Neill
The title says it all ... How do I put the page number at the top of a page 
rather than at the bottom?

Kind regards
Soren

-- 
Soren O'Neill, kiropraktor, MSc, klinisk lektor
Rygambulatoriet, Sygehus Fyn
Lindevej 5, 5750 Ringe

[EMAIL PROTECTED]
http://www.dskkb.dk
tlf. 6362 1906 (arb.)


Re: Problem viewing PDFs

2005-08-15 Thread Gustavo Guerra


- Original Message - 
From: Geoffrey Lloyd [EMAIL PROTECTED]

To: [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 4:05 PM
Subject: Re: Problem viewing PDFs




- Original Message - 
From: Gustavo Guerra [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 4:02 PM
Subject: Problem viewing PDFs



Hi there

I just installed LyX 1.3.6 for Windows.
When I select View-PDF (any of the three versions), acrobat reader gives 
an
error saying that it can't open the document. The file is generated in 
the

temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given on 
the

wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.


Firstly the fonts, yes you do have to install them seperately.

Secondly with the pdf problem. Is Acrobat open at the time, if so close 
it, then select view pdf.




Yes, closing acrobat first solves the problem. Thanks.
It's still a weird behaviour, though, having to keep closing acrobat. Is it 
a bug in acrobat?


Best Regards,
Gustavo Guerra



Re: Pagenumber at top of page - how to

2005-08-15 Thread Paul A. Rubin

Søren O'Neill wrote:
The title says it all ... How do I put the page number at the top of a page 
rather than at the bottom?


Kind regards
Soren

First set Layout-Document-Layout-Page style to Fancy, then in the 
preamble add \rhead{\thepage} to put it in the upper right corner. 
Change \rhead to \lhead or \chead to put it in the left corner or center 
respectively.  You can also embellish it (for instance, 
\rhead{-\thepage-} to add a dash on either side).


This won't apply to a title page, though.

Paul



Re: Pagenumber at top of TITLE page - how to?

2005-08-15 Thread Brian Williams
Hi - just out of interest - is there a way to enable page numbers on Title 
pages?
 
Thanks,
 
Brian

Paul A. Rubin [EMAIL PROTECTED] wrote:
Søren O'Neill wrote:
 The title says it all ... How do I put the page number at the top of a page 
 rather than at the bottom?
 
 Kind regards
 Soren
 
First set Layout-Document-Layout-Page style to Fancy, then in the 
preamble add \rhead{\thepage} to put it in the upper right corner. 
Change \rhead to \lhead or \chead to put it in the left corner or center 
respectively. You can also embellish it (for instance, 
\rhead{-\thepage-} to add a dash on either side).

This won't apply to a title page, though.

Paul



-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Problem viewing PDFs

2005-08-15 Thread Paul A. Rubin

Gustavo Guerra wrote:


- Original Message - From: Geoffrey Lloyd 
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]; 
lyx-users@lists.lyx.org

Sent: Monday, August 15, 2005 4:05 PM
Subject: Re: Problem viewing PDFs




- Original Message - From: Gustavo Guerra 
[EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 4:02 PM
Subject: Problem viewing PDFs



Hi there

I just installed LyX 1.3.6 for Windows.
When I select View-PDF (any of the three versions), acrobat reader 
gives an
error saying that it can't open the document. The file is generated 
in the

temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given 
on the

wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.



Firstly the fonts, yes you do have to install them seperately.

Secondly with the pdf problem. Is Acrobat open at the time, if so 
close it, then select view pdf.




Yes, closing acrobat first solves the problem. Thanks.
It's still a weird behaviour, though, having to keep closing acrobat. Is 
it a bug in acrobat?


Best Regards,
Gustavo Guerra


Windows does not handle pipes very well, certainly not as well as Unix 
and its derivatives do.  I'm inclined to blame Windows rather than 
Acrobat Reader.


There's a workaround of sorts.  Manually edit your preferences file 
(should be in C:\Documents and Settings\your login id\Application 
Data\lyx), adding the following line:


\custom_export_command acrord32 $$FName

This assumes that you have the path to Acrobat Reader on LyX's path 
prefix.  Close and restart LyX if it is open when you make the change. 
Now instead of using View-PDF (or either of the PDF alternatives), use 
File-Export-Custom, pick the PDF format you want, and click ok.  The 
export command should already be filled in.  For whatever reason, this 
can display the document in an already running copy of Acrobat Reader.


One thing this does not fix:  there is no way to use View-Update-PDF 
to view changes while the previous version of the document is open in 
Reader. Again, I think the fault lies with Windows: while you're 
displaying the previous version, Windows puts a read lock on the file in 
the temp directory, so the updated version (which uses the same file 
name) cannot overwrite it.


Paul



How to get starred titles in the TOC

2005-08-15 Thread sugen
Hello,

I'm using the apa layout. It has no part environment, but only the
starred versions part*, which means the parts are not numbered in
the text (same for sections/subsections). That's ok, it's a
requirement of the APA article style.

However, I would like to have a table of contents. I have tried to
redefine the part* command so that it includes an entry in the TOC.
I've put the following in the preamble:


\let\oldpart\part*

\renewcommand{\part*}[1]{
 \oldpart{#1}
 \addcontentsline{toc}{part}{#1}
}


This gives me errors, the first of which being:


You can't use `macro parameter character #' in horizontal mode.
 \contentsline {part}{1}{1}


I have the impression this trick works fine if I try to redefine a
non-starred command, like  part or section, but it fails for the
starred versions part* and section*.

What am I doing wrong ? Is there a better way of doing this?

Thanks,
Sonja


problem compiling on x86_64 (Slamd64)

2005-08-15 Thread Nathan Becker
I'm having trouble compiling LyX 1.3.6 on an AMD64 machine.  For some 
reason LyX is looking in the /usr/lib directory for some libraries even 
though all environment variables point it to /usr/lib64


Here is the error message:
/usr/lib/libGL.so: could not read symbols: File in wrong format

It should be trying to use /usr/lib64/libGL.so

The library path is set appropriately in the Makefile.

Thanks for your help.


Problem with incorporation of subparts

2005-08-15 Thread S. Teletchéa
I'm writing down my PhD (well finishing today or tomorrow if you can 
help me) and i'm encountering a problem


I've made a file where all my chapters are incorporated (using 
'incorporation').


Each incorporated file begin with Part + some chapters

When i incorporate all of them, parts are well numbered but chapters are 
never reinitialized. Any idea why ?


I have :

Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 4
Chapter 5
Part 3
Chapter 6
...
and so on...

I'll need :
Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 1
Chapter 2
Part 3
Chapter 1
...

I'm using Mandrake Linux 10.1 Official :
lyx-1.3.4-5mdk

Thanks in advance for any help.

Note that if i only use 'chapter' (no Part) the numbering is ok (but i 
presume it is a side effect).


Stéphane

--
http://www.steletch.org
Fingerprint: 1E83 26EE A2F1 87E5 5865 4DBF F2B4 9083 F44C AE88
GPG key @ http://www.steletch.org/article.php3?id_article=13
Mandrakelinux release 10.1 (Official) @ http://www.mandrakesoft.com/
12:35:00 up 3:25, 2 users, load average: 0.17, 0.07, 0.09


Problem viewing PDFs

2005-08-15 Thread Gustavo Guerra

Hi there

I just installed LyX 1.3.6 for Windows.
When I select View-PDF (any of the three versions), acrobat reader gives an
error saying that it can't open the document. The file is generated in the
temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given on the
wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.



smime.p7s
Description: S/MIME cryptographic signature


Re: Problem viewing PDFs

2005-08-15 Thread Geoffrey Lloyd


- Original Message - 
From: Gustavo Guerra [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 4:02 PM
Subject: Problem viewing PDFs



Hi there

I just installed LyX 1.3.6 for Windows.
When I select View-PDF (any of the three versions), acrobat reader gives 
an

error saying that it can't open the document. The file is generated in the
temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given on the
wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.


Firstly the fonts, yes you do have to install them seperately.

Secondly with the pdf problem. Is Acrobat open at the time, if so close it, 
then select view pdf.


If this doesn;t help let us know







Re: Problem with incorporation of subparts

2005-08-15 Thread Paul A. Rubin

S. Teletchéa wrote:
I'm writing down my PhD (well finishing today or tomorrow if you can 
help me) and i'm encountering a problem


I've made a file where all my chapters are incorporated (using 
'incorporation').


Each incorporated file begin with Part + some chapters

When i incorporate all of them, parts are well numbered but chapters are 
never reinitialized. Any idea why ?


I have :

Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 4
Chapter 5
Part 3
Chapter 6
...
and so on...

I'll need :
Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 1
Chapter 2
Part 3
Chapter 1
...

I'm using Mandrake Linux 10.1 Official :
lyx-1.3.4-5mdk

Thanks in advance for any help.

Note that if i only use 'chapter' (no Part) the numbering is ok (but i 
presume it is a side effect).


Stéphane

I'm not sure why the chapter counter is not being reset -- it may be 
dependent on the class you are using -- but for a workaround try adding 
the following to the preamble of the master document: 
[EMAIL PROTECTED]


Paul




Re: Problem with incorporation of subparts

2005-08-15 Thread S. Teletchéa

Paul A. Rubin wrote:

S. Teletchéa wrote:




I'm using Mandrake Linux 10.1 Official :
lyx-1.3.4-5mdk

Thanks in advance for any help.

Note that if i only use 'chapter' (no Part) the numbering is ok (but i 
presume it is a side effect).


Stéphane

I'm not sure why the chapter counter is not being reset -- it may be 
dependent on the class you are using -- but for a workaround try adding 
the following to the preamble of the master document: 
[EMAIL PROTECTED]


Paul



Thanks for the tip
i've been helped on irc:
\setcounter{chapter}{0}

I need to include it on every incorporated file but it works.

If i revise my manuscript, i'll try your answer.

Thanks a lot for your quick answer, i hope it'll help someone else :-)

Stéphane

--
http://www.steletch.org
Fingerprint: 1E83 26EE A2F1 87E5 5865 4DBF F2B4 9083 F44C AE88
GPG key @ http://www.steletch.org/article.php3?id_article=13
Mandrakelinux release 10.1 (Official) @ http://www.mandrakesoft.com/
18:05:00 up 8:55, 2 users, load average: 0.43, 0.58, 0.41


Adjust image width to text width

2005-08-15 Thread [EMAIL PROTECTED]

¿How can i adjust the image width to text width?

Thanks


Re: Adjust image width to text width

2005-08-15 Thread Geoffrey Lloyd


- Original Message - 
From: [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 6:32 PM
Subject: Adjust image width to text width



¿How can i adjust the image width to text width?

Thanks



Click on the image and a grey Graphics box pops up.

Under Ouput Width select text% 



Extra comma in index?

2005-08-15 Thread Kevin Pfeiffer
The index that is generated (using Koma-script) looks like this:

Washington, George, 22, 25--27, 152, 170

The comma between the name and the first page reference looks odd to me. 
Is there a way to remove it or should I just get used to it??

-Kevin



-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Pagenumber at top of page - how to

2005-08-15 Thread Søren O'Neill
The title says it all ... How do I put the page number at the top of a page 
rather than at the bottom?

Kind regards
Soren

-- 
Soren O'Neill, kiropraktor, MSc, klinisk lektor
Rygambulatoriet, Sygehus Fyn
Lindevej 5, 5750 Ringe

[EMAIL PROTECTED]
http://www.dskkb.dk
tlf. 6362 1906 (arb.)


Re: Problem viewing PDFs

2005-08-15 Thread Gustavo Guerra


- Original Message - 
From: Geoffrey Lloyd [EMAIL PROTECTED]

To: [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 4:05 PM
Subject: Re: Problem viewing PDFs




- Original Message - 
From: Gustavo Guerra [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 4:02 PM
Subject: Problem viewing PDFs



Hi there

I just installed LyX 1.3.6 for Windows.
When I select View-PDF (any of the three versions), acrobat reader gives 
an
error saying that it can't open the document. The file is generated in 
the

temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given on 
the

wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.


Firstly the fonts, yes you do have to install them seperately.

Secondly with the pdf problem. Is Acrobat open at the time, if so close 
it, then select view pdf.




Yes, closing acrobat first solves the problem. Thanks.
It's still a weird behaviour, though, having to keep closing acrobat. Is it 
a bug in acrobat?


Best Regards,
Gustavo Guerra



Re: Pagenumber at top of page - how to

2005-08-15 Thread Paul A. Rubin

Søren O'Neill wrote:
The title says it all ... How do I put the page number at the top of a page 
rather than at the bottom?


Kind regards
Soren

First set Layout-Document-Layout-Page style to Fancy, then in the 
preamble add \rhead{\thepage} to put it in the upper right corner. 
Change \rhead to \lhead or \chead to put it in the left corner or center 
respectively.  You can also embellish it (for instance, 
\rhead{-\thepage-} to add a dash on either side).


This won't apply to a title page, though.

Paul



Re: Pagenumber at top of TITLE page - how to?

2005-08-15 Thread Brian Williams
Hi - just out of interest - is there a way to enable page numbers on Title 
pages?
 
Thanks,
 
Brian

Paul A. Rubin [EMAIL PROTECTED] wrote:
Søren O'Neill wrote:
 The title says it all ... How do I put the page number at the top of a page 
 rather than at the bottom?
 
 Kind regards
 Soren
 
First set Layout-Document-Layout-Page style to Fancy, then in the 
preamble add \rhead{\thepage} to put it in the upper right corner. 
Change \rhead to \lhead or \chead to put it in the left corner or center 
respectively. You can also embellish it (for instance, 
\rhead{-\thepage-} to add a dash on either side).

This won't apply to a title page, though.

Paul



-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Problem viewing PDFs

2005-08-15 Thread Paul A. Rubin

Gustavo Guerra wrote:


- Original Message - From: Geoffrey Lloyd 
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]; 
lyx-users@lists.lyx.org

Sent: Monday, August 15, 2005 4:05 PM
Subject: Re: Problem viewing PDFs




- Original Message - From: Gustavo Guerra 
[EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Monday, August 15, 2005 4:02 PM
Subject: Problem viewing PDFs



Hi there

I just installed LyX 1.3.6 for Windows.
When I select View-PDF (any of the three versions), acrobat reader 
gives an
error saying that it can't open the document. The file is generated 
in the

temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given 
on the

wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.



Firstly the fonts, yes you do have to install them seperately.

Secondly with the pdf problem. Is Acrobat open at the time, if so 
close it, then select view pdf.




Yes, closing acrobat first solves the problem. Thanks.
It's still a weird behaviour, though, having to keep closing acrobat. Is 
it a bug in acrobat?


Best Regards,
Gustavo Guerra


Windows does not handle pipes very well, certainly not as well as Unix 
and its derivatives do.  I'm inclined to blame Windows rather than 
Acrobat Reader.


There's a workaround of sorts.  Manually edit your preferences file 
(should be in C:\Documents and Settings\your login id\Application 
Data\lyx), adding the following line:


\custom_export_command acrord32 $$FName

This assumes that you have the path to Acrobat Reader on LyX's path 
prefix.  Close and restart LyX if it is open when you make the change. 
Now instead of using View-PDF (or either of the PDF alternatives), use 
File-Export-Custom, pick the PDF format you want, and click ok.  The 
export command should already be filled in.  For whatever reason, this 
can display the document in an already running copy of Acrobat Reader.


One thing this does not fix:  there is no way to use View-Update-PDF 
to view changes while the previous version of the document is open in 
Reader. Again, I think the fault lies with Windows: while you're 
displaying the previous version, Windows puts a read lock on the file in 
the temp directory, so the updated version (which uses the same file 
name) cannot overwrite it.


Paul



How to get starred titles in the TOC

2005-08-15 Thread sugen
Hello,

I'm using the apa layout. It has no "part" environment, but only the
starred versions "part*", which means the parts are not numbered in
the text (same for sections/subsections). That's ok, it's a
requirement of the APA article style.

However, I would like to have a table of contents. I have tried to
redefine the "part*" command so that it includes an entry in the TOC.
I've put the following in the preamble:


\let\oldpart\part*

\renewcommand{\part*}[1]{
 \oldpart{#1}
 \addcontentsline{toc}{part}{#1}
}


This gives me errors, the first of which being:


You can't use `macro parameter character #' in horizontal mode.
 \contentsline {part}{1}{1}


I have the impression this trick works fine if I try to redefine a
non-starred command, like  "part" or "section", but it fails for the
starred versions "part*" and "section*".

What am I doing wrong ? Is there a better way of doing this?

Thanks,
Sonja


problem compiling on x86_64 (Slamd64)

2005-08-15 Thread Nathan Becker
I'm having trouble compiling LyX 1.3.6 on an AMD64 machine.  For some 
reason LyX is looking in the /usr/lib directory for some libraries even 
though all environment variables point it to /usr/lib64


Here is the error message:
/usr/lib/libGL.so: could not read symbols: File in wrong format

It should be trying to use /usr/lib64/libGL.so

The library path is set appropriately in the Makefile.

Thanks for your help.


Problem with incorporation of subparts

2005-08-15 Thread S. Teletchéa
I'm writing down my PhD (well finishing today or tomorrow if you can 
help me) and i'm encountering a problem


I've made a file where all my chapters are incorporated (using 
'incorporation').


Each incorporated file begin with Part + some chapters

When i incorporate all of them, parts are well numbered but chapters are 
never reinitialized. Any idea why ?


I have :

Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 4
Chapter 5
Part 3
Chapter 6
...
and so on...

I'll need :
Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 1
Chapter 2
Part 3
Chapter 1
...

I'm using Mandrake Linux 10.1 Official :
lyx-1.3.4-5mdk

Thanks in advance for any help.

Note that if i only use 'chapter' (no Part) the numbering is ok (but i 
presume it is a side effect).


Stéphane

--
http://www.steletch.org
Fingerprint: 1E83 26EE A2F1 87E5 5865 4DBF F2B4 9083 F44C AE88
GPG key @ http://www.steletch.org/article.php3?id_article=13
Mandrakelinux release 10.1 (Official) @ http://www.mandrakesoft.com/
12:35:00 up 3:25, 2 users, load average: 0.17, 0.07, 0.09


Problem viewing PDFs

2005-08-15 Thread Gustavo Guerra

Hi there

I just installed LyX 1.3.6 for Windows.
When I select View->PDF (any of the three versions), acrobat reader gives an
error saying that it can't open the document. The file is generated in the
temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given on the
wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.



smime.p7s
Description: S/MIME cryptographic signature


Re: Problem viewing PDFs

2005-08-15 Thread Geoffrey Lloyd


- Original Message - 
From: "Gustavo Guerra" <[EMAIL PROTECTED]>

To: 
Sent: Monday, August 15, 2005 4:02 PM
Subject: Problem viewing PDFs



Hi there

I just installed LyX 1.3.6 for Windows.
When I select View->PDF (any of the three versions), acrobat reader gives 
an

error saying that it can't open the document. The file is generated in the
temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given on the
wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.


Firstly the fonts, yes you do have to install them seperately.

Secondly with the pdf problem. Is Acrobat open at the time, if so close it, 
then select view pdf.


If this doesn;t help let us know







Re: Problem with incorporation of subparts

2005-08-15 Thread Paul A. Rubin

S. Teletchéa wrote:
I'm writing down my PhD (well finishing today or tomorrow if you can 
help me) and i'm encountering a problem


I've made a file where all my chapters are incorporated (using 
'incorporation').


Each incorporated file begin with Part + some chapters

When i incorporate all of them, parts are well numbered but chapters are 
never reinitialized. Any idea why ?


I have :

Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 4
Chapter 5
Part 3
Chapter 6
...
and so on...

I'll need :
Part 1
Chapter 1
Chapter 2
Chapter 3
Part 2
Chapter 1
Chapter 2
Part 3
Chapter 1
...

I'm using Mandrake Linux 10.1 Official :
lyx-1.3.4-5mdk

Thanks in advance for any help.

Note that if i only use 'chapter' (no Part) the numbering is ok (but i 
presume it is a side effect).


Stéphane

I'm not sure why the chapter counter is not being reset -- it may be 
dependent on the class you are using -- but for a workaround try adding 
the following to the preamble of the master document: 
[EMAIL PROTECTED]


Paul




Re: Problem with incorporation of subparts

2005-08-15 Thread S. Teletchéa

Paul A. Rubin wrote:

S. Teletchéa wrote:




I'm using Mandrake Linux 10.1 Official :
lyx-1.3.4-5mdk

Thanks in advance for any help.

Note that if i only use 'chapter' (no Part) the numbering is ok (but i 
presume it is a side effect).


Stéphane

I'm not sure why the chapter counter is not being reset -- it may be 
dependent on the class you are using -- but for a workaround try adding 
the following to the preamble of the master document: 
[EMAIL PROTECTED]


Paul



Thanks for the tip
i've been helped on irc:
\setcounter{chapter}{0}

I need to include it on every incorporated file but it works.

If i revise my manuscript, i'll try your answer.

Thanks a lot for your quick answer, i hope it'll help someone else :-)

Stéphane

--
http://www.steletch.org
Fingerprint: 1E83 26EE A2F1 87E5 5865 4DBF F2B4 9083 F44C AE88
GPG key @ http://www.steletch.org/article.php3?id_article=13
Mandrakelinux release 10.1 (Official) @ http://www.mandrakesoft.com/
18:05:00 up 8:55, 2 users, load average: 0.43, 0.58, 0.41


Adjust image width to text width

2005-08-15 Thread [EMAIL PROTECTED]

¿How can i adjust the image width to text width?

Thanks


Re: Adjust image width to text width

2005-08-15 Thread Geoffrey Lloyd


- Original Message - 
From: <[EMAIL PROTECTED]>

To: 
Sent: Monday, August 15, 2005 6:32 PM
Subject: Adjust image width to text width



¿How can i adjust the image width to text width?

Thanks



Click on the image and a grey Graphics box pops up.

Under Ouput Width select text% 



Extra comma in index?

2005-08-15 Thread Kevin Pfeiffer
The index that is generated (using Koma-script) looks like this:

Washington, George, 22, 25--27, 152, 170

The comma between the name and the first page reference looks odd to me. 
Is there a way to remove it or should I just get used to it??

-Kevin



-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Pagenumber at top of page - how to

2005-08-15 Thread Søren O'Neill
The title says it all ... How do I put the page number at the top of a page 
rather than at the bottom?

Kind regards
Soren

-- 
Soren O'Neill, kiropraktor, MSc, klinisk lektor
Rygambulatoriet, Sygehus Fyn
Lindevej 5, 5750 Ringe

[EMAIL PROTECTED]
http://www.dskkb.dk
tlf. 6362 1906 (arb.)


Re: Problem viewing PDFs

2005-08-15 Thread Gustavo Guerra


- Original Message - 
From: "Geoffrey Lloyd" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>; 
Sent: Monday, August 15, 2005 4:05 PM
Subject: Re: Problem viewing PDFs




- Original Message - 
From: "Gustavo Guerra" <[EMAIL PROTECTED]>

To: 
Sent: Monday, August 15, 2005 4:02 PM
Subject: Problem viewing PDFs



Hi there

I just installed LyX 1.3.6 for Windows.
When I select View->PDF (any of the three versions), acrobat reader gives 
an
error saying that it can't open the document. The file is generated in 
the

temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given on 
the

wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.


Firstly the fonts, yes you do have to install them seperately.

Secondly with the pdf problem. Is Acrobat open at the time, if so close 
it, then select view pdf.




Yes, closing acrobat first solves the problem. Thanks.
It's still a weird behaviour, though, having to keep closing acrobat. Is it 
a bug in acrobat?


Best Regards,
Gustavo Guerra



Re: Pagenumber at top of page - how to

2005-08-15 Thread Paul A. Rubin

Søren O'Neill wrote:
The title says it all ... How do I put the page number at the top of a page 
rather than at the bottom?


Kind regards
Soren

First set Layout->Document->Layout->Page style to Fancy, then in the 
preamble add \rhead{\thepage} to put it in the upper right corner. 
Change \rhead to \lhead or \chead to put it in the left corner or center 
respectively.  You can also embellish it (for instance, 
\rhead{-\thepage-} to add a dash on either side).


This won't apply to a title page, though.

Paul



Re: Pagenumber at top of TITLE page - how to?

2005-08-15 Thread Brian Williams
Hi - just out of interest - is there a way to enable page numbers on Title 
pages?
 
Thanks,
 
Brian

"Paul A. Rubin" <[EMAIL PROTECTED]> wrote:
Søren O'Neill wrote:
> The title says it all ... How do I put the page number at the top of a page 
> rather than at the bottom?
> 
> Kind regards
> Soren
> 
First set Layout->Document->Layout->Page style to Fancy, then in the 
preamble add \rhead{\thepage} to put it in the upper right corner. 
Change \rhead to \lhead or \chead to put it in the left corner or center 
respectively. You can also embellish it (for instance, 
\rhead{-\thepage-} to add a dash on either side).

This won't apply to a title page, though.

Paul



-
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Re: Problem viewing PDFs

2005-08-15 Thread Paul A. Rubin

Gustavo Guerra wrote:


- Original Message - From: "Geoffrey Lloyd" 
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; 


Sent: Monday, August 15, 2005 4:05 PM
Subject: Re: Problem viewing PDFs




- Original Message - From: "Gustavo Guerra" 
<[EMAIL PROTECTED]>

To: 
Sent: Monday, August 15, 2005 4:02 PM
Subject: Problem viewing PDFs



Hi there

I just installed LyX 1.3.6 for Windows.
When I select View->PDF (any of the three versions), acrobat reader 
gives an
error saying that it can't open the document. The file is generated 
in the

temp dir, but probably the path is being passed wrong. How can I fix it?
Thanks

Best regards,
Gustavo Guerra

PS: With this new instaler, I still have to install the fonts given 
on the

wiki site(ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX.zip), or does the
installer include them.



Firstly the fonts, yes you do have to install them seperately.

Secondly with the pdf problem. Is Acrobat open at the time, if so 
close it, then select view pdf.




Yes, closing acrobat first solves the problem. Thanks.
It's still a weird behaviour, though, having to keep closing acrobat. Is 
it a bug in acrobat?


Best Regards,
Gustavo Guerra


Windows does not handle pipes very well, certainly not as well as Unix 
and its derivatives do.  I'm inclined to blame Windows rather than 
Acrobat Reader.


There's a workaround of sorts.  Manually edit your preferences file 
(should be in C:\Documents and Settings\\Application 
Data\lyx), adding the following line:


\custom_export_command "acrord32 $$FName"

This assumes that you have the path to Acrobat Reader on LyX's path 
prefix.  Close and restart LyX if it is open when you make the change. 
Now instead of using View->PDF (or either of the PDF alternatives), use 
File->Export->Custom, pick the PDF format you want, and click ok.  The 
export command should already be filled in.  For whatever reason, this 
can display the document in an already running copy of Acrobat Reader.


One thing this does not fix:  there is no way to use View->Update->PDF 
to view changes while the previous version of the document is open in 
Reader. Again, I think the fault lies with Windows: while you're 
displaying the previous version, Windows puts a read lock on the file in 
the temp directory, so the updated version (which uses the same file 
name) cannot overwrite it.


Paul