tufte layout - does not work in lyx anymore using DVI

2013-09-12 Thread seacyd
When I try to use the tufte book layout I get the following error
message:

! Argument of \MakeTextUppercase has an extra }.

Detailed error message:
http://pastebin.com/kWbDSnJV

In order to see, if you get the same error message, please open the file 
http://wiki.lyx.org/uploads/Layouts/tufte-book/layoutProposal/tufte-book.lyx 
of the wiki page http://wiki.lyx.org/Layouts/Tufte-book#toc1 and then
view it as DVI. 

If I create a new file manually, change the document class to tufte and
create a title for a book, the same error message gets shown.

I have arch/manjaro installed und use LyX 2.0.6 with texlive 2013.30815-2. 

Is there anything I can do to make tufte layout work again, as it did at
earlier times?

seacyd 

P.S.: If I view it with pdflatex it works. 




Page numbers use fonts of surrounding environments

2013-09-12 Thread Itai Shaked
Hello,
I'm having a problem, which I'm not sure is due to LyX, but I would
appreciate it if any one here could help me.

When writing a document in LyX and using XeTeX and polyglossia I have
noticed some of the page numbers were in different font than others. Upon
further investigation I have found out that whenever an environment (e.g.
Theorem, Lemma, etc.) spans a page break, the page number within would use
the font used in that environment (so - the specific number would be
italic, like a text of a Theorem environment).

This only happens when using non-English language.

Would this be a bug in LyX or polyglossia?
How would you go further investigating or repairing it?

Thanks,
Itai.


Re: tufte layout - does not work in lyx anymore using DVI

2013-09-12 Thread Richard Heck

On 09/12/2013 04:10 AM, sea...@gmx.net wrote:

When I try to use the tufte book layout I get the following error
message:

! Argument of \MakeTextUppercase has an extra }.

Detailed error message:
http://pastebin.com/kWbDSnJV

In order to see, if you get the same error message, please open the file 
http://wiki.lyx.org/uploads/Layouts/tufte-book/layoutProposal/tufte-book.lyx
of the wiki page http://wiki.lyx.org/Layouts/Tufte-book#toc1 and then
view it as DVI.

If I create a new file manually, change the document class to tufte and
create a title for a book, the same error message gets shown.

I have arch/manjaro installed und use LyX 2.0.6 with texlive 2013.30815-2.

Is there anything I can do to make tufte layout work again, as it did at
earlier times?


I don't have the prerequisites installed to use this class, so can't be 
much help. But I think the problem has to be in your TeX installation. I 
don't myself see anything in the generated LaTeX that could be causing 
the problem, and the fact that it works with pdflatex is pretty suspicious.


Richard



Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Richard Heck

On 09/12/2013 04:52 AM, Itai Shaked wrote:

Hello,
I'm having a problem, which I'm not sure is due to LyX, but I would 
appreciate it if any one here could help me.


When writing a document in LyX and using XeTeX and polyglossia I have 
noticed some of the page numbers were in different font than others. 
Upon further investigation I have found out that whenever an 
environment (e.g. Theorem, Lemma, etc.) spans a page break, the page 
number within would use the font used in that environment (so - the 
specific number would be italic, like a text of a Theorem environment).


This only happens when using non-English language.

Would this be a bug in LyX or polyglossia?
How would you go further investigating or repairing it?


That is very strange. It is definitely not a LyX bug.

I guess the thing to do is to redefine how the page number is being 
printed. What page style are you using? Did you do anything with the 
fancy headers business?


Richard



Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Itai Shaked
I haven't changed anything in fancy headers.

It happens with plain, fancy and headings page styles (though with
headings it is the page number on the top of the page that is changed,
i.e. - not within the environment itself).

How do I redefine the way page numbers are printed?


On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck rgh...@lyx.org wrote:

 On 09/12/2013 04:52 AM, Itai Shaked wrote:

 Hello,
 I'm having a problem, which I'm not sure is due to LyX, but I would
 appreciate it if any one here could help me.

 When writing a document in LyX and using XeTeX and polyglossia I have
 noticed some of the page numbers were in different font than others. Upon
 further investigation I have found out that whenever an environment (e.g.
 Theorem, Lemma, etc.) spans a page break, the page number within would use
 the font used in that environment (so - the specific number would be
 italic, like a text of a Theorem environment).

 This only happens when using non-English language.

 Would this be a bug in LyX or polyglossia?
 How would you go further investigating or repairing it?


 That is very strange. It is definitely not a LyX bug.

 I guess the thing to do is to redefine how the page number is being
 printed. What page style are you using? Did you do anything with the fancy
 headers business?

 Richard




Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Richard Heck

On 09/12/2013 09:16 AM, Itai Shaked wrote:

I haven't changed anything in fancy headers.

It happens with plain, fancy and headings page styles (though 
with headings it is the page number on the top of the page that is 
changed, i.e. - not within the environment itself).


How do I redefine the way page numbers are printed?


Use the fancy header package. There's info about how to do it in the LyX 
docs, or you can find the fancy header manual online. Something like:

\fancyfoot[C]{\normalfont{\thepage}}
should come close to what you want.

If you didn't want to use that, in principle, you could redefine the 
page style, or define your own page style. Which document class?


Richard




On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck rgh...@lyx.org 
mailto:rgh...@lyx.org wrote:


On 09/12/2013 04:52 AM, Itai Shaked wrote:

Hello,
I'm having a problem, which I'm not sure is due to LyX, but I
would appreciate it if any one here could help me.

When writing a document in LyX and using XeTeX and polyglossia
I have noticed some of the page numbers were in different font
than others. Upon further investigation I have found out that
whenever an environment (e.g. Theorem, Lemma, etc.) spans a
page break, the page number within would use the font used in
that environment (so - the specific number would be italic,
like a text of a Theorem environment).

This only happens when using non-English language.

Would this be a bug in LyX or polyglossia?
How would you go further investigating or repairing it?


That is very strange. It is definitely not a LyX bug.

I guess the thing to do is to redefine how the page number is
being printed. What page style are you using? Did you do anything
with the fancy headers business?

Richard






Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Itai Shaked
It happens in book and article document classes.

I've tried \normalfont, but it stayed the same. What did help was 
 \fancyfoot[C]{\textup{\thepage}}.
I guess polyglossia somehow disables some of the text style commands, or
replaces them with others?


On Thu, Sep 12, 2013 at 4:34 PM, Richard Heck rgh...@lyx.org wrote:

  On 09/12/2013 09:16 AM, Itai Shaked wrote:

 I haven't changed anything in fancy headers.

  It happens with plain, fancy and headings page styles (though with
 headings it is the page number on the top of the page that is changed,
 i.e. - not within the environment itself).

  How do I redefine the way page numbers are printed?


 Use the fancy header package. There's info about how to do it in the LyX
 docs, or you can find the fancy header manual online. Something like:
 \fancyfoot[C]{\normalfont{\thepage}}
 should come close to what you want.

 If you didn't want to use that, in principle, you could redefine the page
 style, or define your own page style. Which document class?

 Richard




 On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck rgh...@lyx.org wrote:

  On 09/12/2013 04:52 AM, Itai Shaked wrote:

 Hello,
 I'm having a problem, which I'm not sure is due to LyX, but I would
 appreciate it if any one here could help me.

 When writing a document in LyX and using XeTeX and polyglossia I have
 noticed some of the page numbers were in different font than others. Upon
 further investigation I have found out that whenever an environment (e.g.
 Theorem, Lemma, etc.) spans a page break, the page number within would use
 the font used in that environment (so - the specific number would be
 italic, like a text of a Theorem environment).

 This only happens when using non-English language.

 Would this be a bug in LyX or polyglossia?
 How would you go further investigating or repairing it?


  That is very strange. It is definitely not a LyX bug.

 I guess the thing to do is to redefine how the page number is being
 printed. What page style are you using? Did you do anything with the fancy
 headers business?

 Richard






Re: tufte layout - does not work in lyx anymore using DVI

2013-09-12 Thread Scott Kostyshak
On Thu, Sep 12, 2013 at 4:10 AM,  sea...@gmx.net wrote:
 When I try to use the tufte book layout I get the following error
 message:

 ! Argument of \MakeTextUppercase has an extra }.

 Detailed error message:
 http://pastebin.com/kWbDSnJV

 In order to see, if you get the same error message, please open the file 
 http://wiki.lyx.org/uploads/Layouts/tufte-book/layoutProposal/tufte-book.lyx
 of the wiki page http://wiki.lyx.org/Layouts/Tufte-book#toc1 and then
 view it as DVI.

 If I create a new file manually, change the document class to tufte and
 create a title for a book, the same error message gets shown.

 I have arch/manjaro installed und use LyX 2.0.6 with texlive 2013.30815-2.

 Is there anything I can do to make tufte layout work again, as it did at
 earlier times?

 seacyd

 P.S.: If I view it with pdflatex it works.

Does adding the class option 'nols' get rid of the errors?  Note that
this also removes letterspacing, an important part of the Tufte
design.

Scott


opt []

2013-09-12 Thread Patrick Dupre
Hello,

I cannot remember how to insert opt for [] in front of a date or a title
Sometime, in insert, the option short title is not active!

Thank

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: Can't export images to pdf?

2013-09-12 Thread fork
fork forkandwait at gmail.com writes:

 
 Hi there,
 

SNIP

I think the problem was that in the cut and paste, the images got changed to
*subparagraph level, and that hosed everything. 

Not finished trying to fix yet, cross fingers...




Re: Import Docbook into LyX?

2013-09-12 Thread José Matos
On Wednesday 11 September 2013 03:56:21 Jerry wrote:
 Is it possible to import Docbook files into LyX?
 
 Jerry

Nope. :-)

At least not directly. And all the other options imply to loose the semantic 
markup.

-- 
José Abílio


Re: opt []

2013-09-12 Thread José Matos
On Thursday 12 September 2013 17:55:40 Patrick Dupre wrote:
 Hello,
 
 I cannot remember how to insert opt for [] in front of a date or a title
 Sometime, in insert, the option short title is not active!
 
 Thank

A hack is to insert it at a place where it is allowed (like title) and then 
move it to where you want it. Not optimal, and IIRC it is improved/fixed at 
lyx-2.1 but it works. :-)

-- 
José Abílio


Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Steve Litt
On Thu, 12 Sep 2013 11:52:59 +0300
Itai Shaked itai.sha...@mail.huji.ac.il wrote:

 Hello,
 I'm having a problem, which I'm not sure is due to LyX, but I would
 appreciate it if any one here could help me.
 
 When writing a document in LyX and using XeTeX and polyglossia I have
 noticed some of the page numbers were in different font than others.
 Upon further investigation I have found out that whenever an
 environment (e.g. Theorem, Lemma, etc.) spans a page break, the page
 number within would use the font used in that environment (so - the
 specific number would be italic, like a text of a Theorem
 environment).
 
 This only happens when using non-English language.
 
 Would this be a bug in LyX or polyglossia?
 How would you go further investigating or repairing it?

If I were having this problem, my first step would be to back up the
LyX file for safe keeping, and troubleshoot on copies. My second step
would be to remove all but the first five pages, and see if the problem
persists.

Then I'd remove polyglossia and see if the problem persists. If not,
report it to Polyglossia at
http://github.com/reutenauer/polyglossia/issues

Just keep experimenting til you find the root cause, and then use
search engines to see if others have solved that problem. But right now
you don't know if the problem is in LyX, Polyglossia, your TeX/LaTeX
setup, your LyX to PDF conversion, or even your PDF reader. You can
quickly narrow it down.

And remember, when dealing with LyX, never underestimate the power of
the Minimal Example That Reproduces The Problem.

HTH,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


tufte layout - does not work in lyx anymore using DVI

2013-09-12 Thread seacyd
When I try to use the tufte book layout I get the following error
message:

! Argument of \MakeTextUppercase has an extra }.

Detailed error message:
http://pastebin.com/kWbDSnJV

In order to see, if you get the same error message, please open the file 
http://wiki.lyx.org/uploads/Layouts/tufte-book/layoutProposal/tufte-book.lyx 
of the wiki page http://wiki.lyx.org/Layouts/Tufte-book#toc1 and then
view it as DVI. 

If I create a new file manually, change the document class to tufte and
create a title for a book, the same error message gets shown.

I have arch/manjaro installed und use LyX 2.0.6 with texlive 2013.30815-2. 

Is there anything I can do to make tufte layout work again, as it did at
earlier times?

seacyd 

P.S.: If I view it with pdflatex it works. 




Page numbers use fonts of surrounding environments

2013-09-12 Thread Itai Shaked
Hello,
I'm having a problem, which I'm not sure is due to LyX, but I would
appreciate it if any one here could help me.

When writing a document in LyX and using XeTeX and polyglossia I have
noticed some of the page numbers were in different font than others. Upon
further investigation I have found out that whenever an environment (e.g.
Theorem, Lemma, etc.) spans a page break, the page number within would use
the font used in that environment (so - the specific number would be
italic, like a text of a Theorem environment).

This only happens when using non-English language.

Would this be a bug in LyX or polyglossia?
How would you go further investigating or repairing it?

Thanks,
Itai.


Re: tufte layout - does not work in lyx anymore using DVI

2013-09-12 Thread Richard Heck

On 09/12/2013 04:10 AM, sea...@gmx.net wrote:

When I try to use the tufte book layout I get the following error
message:

! Argument of \MakeTextUppercase has an extra }.

Detailed error message:
http://pastebin.com/kWbDSnJV

In order to see, if you get the same error message, please open the file 
http://wiki.lyx.org/uploads/Layouts/tufte-book/layoutProposal/tufte-book.lyx
of the wiki page http://wiki.lyx.org/Layouts/Tufte-book#toc1 and then
view it as DVI.

If I create a new file manually, change the document class to tufte and
create a title for a book, the same error message gets shown.

I have arch/manjaro installed und use LyX 2.0.6 with texlive 2013.30815-2.

Is there anything I can do to make tufte layout work again, as it did at
earlier times?


I don't have the prerequisites installed to use this class, so can't be 
much help. But I think the problem has to be in your TeX installation. I 
don't myself see anything in the generated LaTeX that could be causing 
the problem, and the fact that it works with pdflatex is pretty suspicious.


Richard



Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Richard Heck

On 09/12/2013 04:52 AM, Itai Shaked wrote:

Hello,
I'm having a problem, which I'm not sure is due to LyX, but I would 
appreciate it if any one here could help me.


When writing a document in LyX and using XeTeX and polyglossia I have 
noticed some of the page numbers were in different font than others. 
Upon further investigation I have found out that whenever an 
environment (e.g. Theorem, Lemma, etc.) spans a page break, the page 
number within would use the font used in that environment (so - the 
specific number would be italic, like a text of a Theorem environment).


This only happens when using non-English language.

Would this be a bug in LyX or polyglossia?
How would you go further investigating or repairing it?


That is very strange. It is definitely not a LyX bug.

I guess the thing to do is to redefine how the page number is being 
printed. What page style are you using? Did you do anything with the 
fancy headers business?


Richard



Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Itai Shaked
I haven't changed anything in fancy headers.

It happens with plain, fancy and headings page styles (though with
headings it is the page number on the top of the page that is changed,
i.e. - not within the environment itself).

How do I redefine the way page numbers are printed?


On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck rgh...@lyx.org wrote:

 On 09/12/2013 04:52 AM, Itai Shaked wrote:

 Hello,
 I'm having a problem, which I'm not sure is due to LyX, but I would
 appreciate it if any one here could help me.

 When writing a document in LyX and using XeTeX and polyglossia I have
 noticed some of the page numbers were in different font than others. Upon
 further investigation I have found out that whenever an environment (e.g.
 Theorem, Lemma, etc.) spans a page break, the page number within would use
 the font used in that environment (so - the specific number would be
 italic, like a text of a Theorem environment).

 This only happens when using non-English language.

 Would this be a bug in LyX or polyglossia?
 How would you go further investigating or repairing it?


 That is very strange. It is definitely not a LyX bug.

 I guess the thing to do is to redefine how the page number is being
 printed. What page style are you using? Did you do anything with the fancy
 headers business?

 Richard




Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Richard Heck

On 09/12/2013 09:16 AM, Itai Shaked wrote:

I haven't changed anything in fancy headers.

It happens with plain, fancy and headings page styles (though 
with headings it is the page number on the top of the page that is 
changed, i.e. - not within the environment itself).


How do I redefine the way page numbers are printed?


Use the fancy header package. There's info about how to do it in the LyX 
docs, or you can find the fancy header manual online. Something like:

\fancyfoot[C]{\normalfont{\thepage}}
should come close to what you want.

If you didn't want to use that, in principle, you could redefine the 
page style, or define your own page style. Which document class?


Richard




On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck rgh...@lyx.org 
mailto:rgh...@lyx.org wrote:


On 09/12/2013 04:52 AM, Itai Shaked wrote:

Hello,
I'm having a problem, which I'm not sure is due to LyX, but I
would appreciate it if any one here could help me.

When writing a document in LyX and using XeTeX and polyglossia
I have noticed some of the page numbers were in different font
than others. Upon further investigation I have found out that
whenever an environment (e.g. Theorem, Lemma, etc.) spans a
page break, the page number within would use the font used in
that environment (so - the specific number would be italic,
like a text of a Theorem environment).

This only happens when using non-English language.

Would this be a bug in LyX or polyglossia?
How would you go further investigating or repairing it?


That is very strange. It is definitely not a LyX bug.

I guess the thing to do is to redefine how the page number is
being printed. What page style are you using? Did you do anything
with the fancy headers business?

Richard






Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Itai Shaked
It happens in book and article document classes.

I've tried \normalfont, but it stayed the same. What did help was 
 \fancyfoot[C]{\textup{\thepage}}.
I guess polyglossia somehow disables some of the text style commands, or
replaces them with others?


On Thu, Sep 12, 2013 at 4:34 PM, Richard Heck rgh...@lyx.org wrote:

  On 09/12/2013 09:16 AM, Itai Shaked wrote:

 I haven't changed anything in fancy headers.

  It happens with plain, fancy and headings page styles (though with
 headings it is the page number on the top of the page that is changed,
 i.e. - not within the environment itself).

  How do I redefine the way page numbers are printed?


 Use the fancy header package. There's info about how to do it in the LyX
 docs, or you can find the fancy header manual online. Something like:
 \fancyfoot[C]{\normalfont{\thepage}}
 should come close to what you want.

 If you didn't want to use that, in principle, you could redefine the page
 style, or define your own page style. Which document class?

 Richard




 On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck rgh...@lyx.org wrote:

  On 09/12/2013 04:52 AM, Itai Shaked wrote:

 Hello,
 I'm having a problem, which I'm not sure is due to LyX, but I would
 appreciate it if any one here could help me.

 When writing a document in LyX and using XeTeX and polyglossia I have
 noticed some of the page numbers were in different font than others. Upon
 further investigation I have found out that whenever an environment (e.g.
 Theorem, Lemma, etc.) spans a page break, the page number within would use
 the font used in that environment (so - the specific number would be
 italic, like a text of a Theorem environment).

 This only happens when using non-English language.

 Would this be a bug in LyX or polyglossia?
 How would you go further investigating or repairing it?


  That is very strange. It is definitely not a LyX bug.

 I guess the thing to do is to redefine how the page number is being
 printed. What page style are you using? Did you do anything with the fancy
 headers business?

 Richard






Re: tufte layout - does not work in lyx anymore using DVI

2013-09-12 Thread Scott Kostyshak
On Thu, Sep 12, 2013 at 4:10 AM,  sea...@gmx.net wrote:
 When I try to use the tufte book layout I get the following error
 message:

 ! Argument of \MakeTextUppercase has an extra }.

 Detailed error message:
 http://pastebin.com/kWbDSnJV

 In order to see, if you get the same error message, please open the file 
 http://wiki.lyx.org/uploads/Layouts/tufte-book/layoutProposal/tufte-book.lyx
 of the wiki page http://wiki.lyx.org/Layouts/Tufte-book#toc1 and then
 view it as DVI.

 If I create a new file manually, change the document class to tufte and
 create a title for a book, the same error message gets shown.

 I have arch/manjaro installed und use LyX 2.0.6 with texlive 2013.30815-2.

 Is there anything I can do to make tufte layout work again, as it did at
 earlier times?

 seacyd

 P.S.: If I view it with pdflatex it works.

Does adding the class option 'nols' get rid of the errors?  Note that
this also removes letterspacing, an important part of the Tufte
design.

Scott


opt []

2013-09-12 Thread Patrick Dupre
Hello,

I cannot remember how to insert opt for [] in front of a date or a title
Sometime, in insert, the option short title is not active!

Thank

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: Can't export images to pdf?

2013-09-12 Thread fork
fork forkandwait at gmail.com writes:

 
 Hi there,
 

SNIP

I think the problem was that in the cut and paste, the images got changed to
*subparagraph level, and that hosed everything. 

Not finished trying to fix yet, cross fingers...




Re: Import Docbook into LyX?

2013-09-12 Thread José Matos
On Wednesday 11 September 2013 03:56:21 Jerry wrote:
 Is it possible to import Docbook files into LyX?
 
 Jerry

Nope. :-)

At least not directly. And all the other options imply to loose the semantic 
markup.

-- 
José Abílio


Re: opt []

2013-09-12 Thread José Matos
On Thursday 12 September 2013 17:55:40 Patrick Dupre wrote:
 Hello,
 
 I cannot remember how to insert opt for [] in front of a date or a title
 Sometime, in insert, the option short title is not active!
 
 Thank

A hack is to insert it at a place where it is allowed (like title) and then 
move it to where you want it. Not optimal, and IIRC it is improved/fixed at 
lyx-2.1 but it works. :-)

-- 
José Abílio


Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Steve Litt
On Thu, 12 Sep 2013 11:52:59 +0300
Itai Shaked itai.sha...@mail.huji.ac.il wrote:

 Hello,
 I'm having a problem, which I'm not sure is due to LyX, but I would
 appreciate it if any one here could help me.
 
 When writing a document in LyX and using XeTeX and polyglossia I have
 noticed some of the page numbers were in different font than others.
 Upon further investigation I have found out that whenever an
 environment (e.g. Theorem, Lemma, etc.) spans a page break, the page
 number within would use the font used in that environment (so - the
 specific number would be italic, like a text of a Theorem
 environment).
 
 This only happens when using non-English language.
 
 Would this be a bug in LyX or polyglossia?
 How would you go further investigating or repairing it?

If I were having this problem, my first step would be to back up the
LyX file for safe keeping, and troubleshoot on copies. My second step
would be to remove all but the first five pages, and see if the problem
persists.

Then I'd remove polyglossia and see if the problem persists. If not,
report it to Polyglossia at
http://github.com/reutenauer/polyglossia/issues

Just keep experimenting til you find the root cause, and then use
search engines to see if others have solved that problem. But right now
you don't know if the problem is in LyX, Polyglossia, your TeX/LaTeX
setup, your LyX to PDF conversion, or even your PDF reader. You can
quickly narrow it down.

And remember, when dealing with LyX, never underestimate the power of
the Minimal Example That Reproduces The Problem.

HTH,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


tufte layout - does not work in lyx anymore using DVI

2013-09-12 Thread seacyd
When I try to use the tufte book layout I get the following error
message:

! Argument of \MakeTextUppercase has an extra }.

Detailed error message:
http://pastebin.com/kWbDSnJV

In order to see, if you get the same error message, please open the file 
http://wiki.lyx.org/uploads/Layouts/tufte-book/layoutProposal/tufte-book.lyx 
of the wiki page http://wiki.lyx.org/Layouts/Tufte-book#toc1 and then
view it as DVI. 

If I create a new file manually, change the document class to tufte and
create a title for a book, the same error message gets shown.

I have arch/manjaro installed und use LyX 2.0.6 with texlive 2013.30815-2. 

Is there anything I can do to make tufte layout work again, as it did at
earlier times?

seacyd 

P.S.: If I view it with pdflatex it works. 




Page numbers use fonts of surrounding environments

2013-09-12 Thread Itai Shaked
Hello,
I'm having a problem, which I'm not sure is due to LyX, but I would
appreciate it if any one here could help me.

When writing a document in LyX and using XeTeX and polyglossia I have
noticed some of the page numbers were in different font than others. Upon
further investigation I have found out that whenever an environment (e.g.
Theorem, Lemma, etc.) spans a page break, the page number within would use
the font used in that environment (so - the specific number would be
italic, like a text of a Theorem environment).

This only happens when using non-English language.

Would this be a bug in LyX or polyglossia?
How would you go further investigating or repairing it?

Thanks,
Itai.


Re: tufte layout - does not work in lyx anymore using DVI

2013-09-12 Thread Richard Heck

On 09/12/2013 04:10 AM, sea...@gmx.net wrote:

When I try to use the tufte book layout I get the following error
message:

! Argument of \MakeTextUppercase has an extra }.

Detailed error message:
http://pastebin.com/kWbDSnJV

In order to see, if you get the same error message, please open the file 
http://wiki.lyx.org/uploads/Layouts/tufte-book/layoutProposal/tufte-book.lyx
of the wiki page http://wiki.lyx.org/Layouts/Tufte-book#toc1 and then
view it as DVI.

If I create a new file manually, change the document class to tufte and
create a title for a book, the same error message gets shown.

I have arch/manjaro installed und use LyX 2.0.6 with texlive 2013.30815-2.

Is there anything I can do to make tufte layout work again, as it did at
earlier times?


I don't have the prerequisites installed to use this class, so can't be 
much help. But I think the problem has to be in your TeX installation. I 
don't myself see anything in the generated LaTeX that could be causing 
the problem, and the fact that it works with pdflatex is pretty suspicious.


Richard



Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Richard Heck

On 09/12/2013 04:52 AM, Itai Shaked wrote:

Hello,
I'm having a problem, which I'm not sure is due to LyX, but I would 
appreciate it if any one here could help me.


When writing a document in LyX and using XeTeX and polyglossia I have 
noticed some of the page numbers were in different font than others. 
Upon further investigation I have found out that whenever an 
environment (e.g. Theorem, Lemma, etc.) spans a page break, the page 
number within would use the font used in that environment (so - the 
specific number would be italic, like a text of a Theorem environment).


This only happens when using non-English language.

Would this be a bug in LyX or polyglossia?
How would you go further investigating or repairing it?


That is very strange. It is definitely not a LyX bug.

I guess the thing to do is to redefine how the page number is being 
printed. What page style are you using? Did you do anything with the 
fancy headers business?


Richard



Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Itai Shaked
I haven't changed anything in fancy headers.

It happens with "plain", "fancy" and "headings" page styles (though with
"headings" it is the page number on the top of the page that is changed,
i.e. - not within the environment itself).

How do I redefine the way page numbers are printed?


On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck  wrote:

> On 09/12/2013 04:52 AM, Itai Shaked wrote:
>
>> Hello,
>> I'm having a problem, which I'm not sure is due to LyX, but I would
>> appreciate it if any one here could help me.
>>
>> When writing a document in LyX and using XeTeX and polyglossia I have
>> noticed some of the page numbers were in different font than others. Upon
>> further investigation I have found out that whenever an environment (e.g.
>> Theorem, Lemma, etc.) spans a page break, the page number within would use
>> the font used in that environment (so - the specific number would be
>> italic, like a text of a Theorem environment).
>>
>> This only happens when using non-English language.
>>
>> Would this be a bug in LyX or polyglossia?
>> How would you go further investigating or repairing it?
>>
>
> That is very strange. It is definitely not a LyX bug.
>
> I guess the thing to do is to redefine how the page number is being
> printed. What page style are you using? Did you do anything with the fancy
> headers business?
>
> Richard
>
>


Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Richard Heck

On 09/12/2013 09:16 AM, Itai Shaked wrote:

I haven't changed anything in fancy headers.

It happens with "plain", "fancy" and "headings" page styles (though 
with "headings" it is the page number on the top of the page that is 
changed, i.e. - not within the environment itself).


How do I redefine the way page numbers are printed?


Use the fancy header package. There's info about how to do it in the LyX 
docs, or you can find the fancy header manual online. Something like:

\fancyfoot[C]{\normalfont{\thepage}}
should come close to what you want.

If you didn't want to use that, in principle, you could redefine the 
page style, or define your own page style. Which document class?


Richard




On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck > wrote:


On 09/12/2013 04:52 AM, Itai Shaked wrote:

Hello,
I'm having a problem, which I'm not sure is due to LyX, but I
would appreciate it if any one here could help me.

When writing a document in LyX and using XeTeX and polyglossia
I have noticed some of the page numbers were in different font
than others. Upon further investigation I have found out that
whenever an environment (e.g. Theorem, Lemma, etc.) spans a
page break, the page number within would use the font used in
that environment (so - the specific number would be italic,
like a text of a Theorem environment).

This only happens when using non-English language.

Would this be a bug in LyX or polyglossia?
How would you go further investigating or repairing it?


That is very strange. It is definitely not a LyX bug.

I guess the thing to do is to redefine how the page number is
being printed. What page style are you using? Did you do anything
with the fancy headers business?

Richard






Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Itai Shaked
It happens in book and article document classes.

I've tried \normalfont, but it stayed the same. What did help was "
 \fancyfoot[C]{\textup{\thepage}}".
I guess polyglossia somehow disables some of the text style commands, or
replaces them with others?


On Thu, Sep 12, 2013 at 4:34 PM, Richard Heck  wrote:

>  On 09/12/2013 09:16 AM, Itai Shaked wrote:
>
> I haven't changed anything in fancy headers.
>
>  It happens with "plain", "fancy" and "headings" page styles (though with
> "headings" it is the page number on the top of the page that is changed,
> i.e. - not within the environment itself).
>
>  How do I redefine the way page numbers are printed?
>
>
> Use the fancy header package. There's info about how to do it in the LyX
> docs, or you can find the fancy header manual online. Something like:
> \fancyfoot[C]{\normalfont{\thepage}}
> should come close to what you want.
>
> If you didn't want to use that, in principle, you could redefine the page
> style, or define your own page style. Which document class?
>
> Richard
>
>
>
>
> On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck  wrote:
>
>>  On 09/12/2013 04:52 AM, Itai Shaked wrote:
>>
>>> Hello,
>>> I'm having a problem, which I'm not sure is due to LyX, but I would
>>> appreciate it if any one here could help me.
>>>
>>> When writing a document in LyX and using XeTeX and polyglossia I have
>>> noticed some of the page numbers were in different font than others. Upon
>>> further investigation I have found out that whenever an environment (e.g.
>>> Theorem, Lemma, etc.) spans a page break, the page number within would use
>>> the font used in that environment (so - the specific number would be
>>> italic, like a text of a Theorem environment).
>>>
>>> This only happens when using non-English language.
>>>
>>> Would this be a bug in LyX or polyglossia?
>>> How would you go further investigating or repairing it?
>>>
>>
>>  That is very strange. It is definitely not a LyX bug.
>>
>> I guess the thing to do is to redefine how the page number is being
>> printed. What page style are you using? Did you do anything with the fancy
>> headers business?
>>
>> Richard
>>
>>
>
>


Re: tufte layout - does not work in lyx anymore using DVI

2013-09-12 Thread Scott Kostyshak
On Thu, Sep 12, 2013 at 4:10 AM,   wrote:
> When I try to use the tufte book layout I get the following error
> message:
>
> ! Argument of \MakeTextUppercase has an extra }.
>
> Detailed error message:
> http://pastebin.com/kWbDSnJV
>
> In order to see, if you get the same error message, please open the file 
> http://wiki.lyx.org/uploads/Layouts/tufte-book/layoutProposal/tufte-book.lyx
> of the wiki page http://wiki.lyx.org/Layouts/Tufte-book#toc1 and then
> view it as DVI.
>
> If I create a new file manually, change the document class to tufte and
> create a title for a book, the same error message gets shown.
>
> I have arch/manjaro installed und use LyX 2.0.6 with texlive 2013.30815-2.
>
> Is there anything I can do to make tufte layout work again, as it did at
> earlier times?
>
> seacyd
>
> P.S.: If I view it with pdflatex it works.

Does adding the class option 'nols' get rid of the errors?  Note that
this also removes letterspacing, an important part of the Tufte
design.

Scott


opt []

2013-09-12 Thread Patrick Dupre
Hello,

I cannot remember how to insert opt for [] in front of a date or a title
Sometime, in insert, the option "short title" is not active!

Thank

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: Can't export images to pdf?

2013-09-12 Thread fork
fork  gmail.com> writes:

> 
> Hi there,
> 

SNIP

I think the problem was that in the cut and paste, the images got changed to
*subparagraph level, and that hosed everything. 

Not finished trying to fix yet, cross fingers...




Re: Import Docbook into LyX?

2013-09-12 Thread José Matos
On Wednesday 11 September 2013 03:56:21 Jerry wrote:
> Is it possible to import Docbook files into LyX?
> 
> Jerry

Nope. :-)

At least not directly. And all the other options imply to loose the semantic 
markup.

-- 
José Abílio


Re: opt []

2013-09-12 Thread José Matos
On Thursday 12 September 2013 17:55:40 Patrick Dupre wrote:
> Hello,
> 
> I cannot remember how to insert opt for [] in front of a date or a title
> Sometime, in insert, the option "short title" is not active!
> 
> Thank

A hack is to insert it at a place where it is allowed (like title) and then 
move it to where you want it. Not optimal, and IIRC it is improved/fixed at 
lyx-2.1 but it works. :-)

-- 
José Abílio


Re: Page numbers use fonts of surrounding environments

2013-09-12 Thread Steve Litt
On Thu, 12 Sep 2013 11:52:59 +0300
Itai Shaked  wrote:

> Hello,
> I'm having a problem, which I'm not sure is due to LyX, but I would
> appreciate it if any one here could help me.
> 
> When writing a document in LyX and using XeTeX and polyglossia I have
> noticed some of the page numbers were in different font than others.
> Upon further investigation I have found out that whenever an
> environment (e.g. Theorem, Lemma, etc.) spans a page break, the page
> number within would use the font used in that environment (so - the
> specific number would be italic, like a text of a Theorem
> environment).
> 
> This only happens when using non-English language.
> 
> Would this be a bug in LyX or polyglossia?
> How would you go further investigating or repairing it?

If I were having this problem, my first step would be to back up the
LyX file for safe keeping, and troubleshoot on copies. My second step
would be to remove all but the first five pages, and see if the problem
persists.

Then I'd remove polyglossia and see if the problem persists. If not,
report it to Polyglossia at
http://github.com/reutenauer/polyglossia/issues

Just keep experimenting til you find the root cause, and then use
search engines to see if others have solved that problem. But right now
you don't know if the problem is in LyX, Polyglossia, your TeX/LaTeX
setup, your LyX to PDF conversion, or even your PDF reader. You can
quickly narrow it down.

And remember, when dealing with LyX, never underestimate the power of
the "Minimal Example That Reproduces The Problem".

HTH,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance