Re: PNG to EPS conversion creating huge temporary files

2016-11-08 Thread gordon cooper

 Adding to my previous comment. Deleted that html, made another and
Lyx created a new list of image files, this time in the html sub folder, in
addition to repeating the grafix subfolder with all the image files in it.
Will contact my co-editor on this, see if it's happening to him too.

Gordon.


On 09/11/16 14:39, gordon cooper wrote:


On 08/11/16 14:44, Tyler Grummett wrote:

Dear Lynx users,

Im currently having the problem where all the .png files in my 
document are converted to .eps (and stored in the cache folder) every 
time I copy them or try to convert them to the latex or tex format. 
The main issue of this is that it creates massive temporary files and 
the eps files in the cache folder also fill up my harddrive space 
dramatically.


I read as much as I could find online. I have made my default output 
pdflatex, and I have given it the extra flag "latex = pdflatex". 
There was one guide who suggested deleting the converters section in 
preferences file.


I cant think of what else I can do.

Please help.
Tyler

I have not had this problem before today, but now I have. Working 
with a 100+
page technical manual, editing and replacing some hyperlinks. Went 
back to

my work folder to chose a file for comparison, only to find some 90 odd
.eps files, representing the images in the project, had appeared in 
the folder.

This appears to have happened when an export to html  was made.

Not completely certain, but believe this may be the first time I have 
made
an html copy with Lyx 2.2.2.Am certain that the generation of 
.eps never

happened with previous versions of Lyx.

Gordon
Tauranga N.Z.








Re: PNG to EPS conversion creating huge temporary files

2016-11-08 Thread gordon cooper


On 08/11/16 14:44, Tyler Grummett wrote:

Dear Lynx users,

Im currently having the problem where all the .png files in my document are 
converted to .eps (and stored in the cache folder) every time I copy them or 
try to convert them to the latex or tex format. The main issue of this is that 
it creates massive temporary files and the eps files in the cache folder also 
fill up my harddrive space dramatically.

I read as much as I could find online. I have made my default output pdflatex, and I have 
given it the extra flag "latex = pdflatex". There was one guide who suggested 
deleting the converters section in preferences file.

I cant think of what else I can do.

Please help.
Tyler

I have not had this problem before today, but now I have. Working with 
a 100+

page technical manual, editing and replacing some hyperlinks. Went back to
my work folder to chose a file for comparison, only to find some 90 odd
.eps files, representing the images in the project, had appeared in 
the folder.

This appears to have happened when an export to html  was made.

Not completely certain, but believe this may be the first time I have made
an html copy with Lyx 2.2.2.Am certain that the generation of .eps 
never

happened with previous versions of Lyx.

Gordon
Tauranga N.Z.





Re: "Random" error message

2016-11-08 Thread Scott Kostyshak
On Tue, Nov 08, 2016 at 10:42:16PM +0100, Tadeus Ras wrote:
> Hello fellow LyXonauts!
> 
> 
> First of two questions occupying me since a while:
> In at least one of the files input into my thesis — with an input math macro 
> file at the beginning — I incosistently get the following error message:
> 
> ! Text line contains an invalid character.
> l.19 ^^@^^@
> ^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^...
> A funny symbol that I can't read has just been input.
> Continue, and I'll forget that it ever happened.
> 
> „inconsistently“ in the sense that a second compilation try often succeeds 
> without any changes on the document. This document also takes much longer for 
> its 20 pages to compile than others of the same size. Might this be related? 
> And if not: Is there any way (besides „commenting out“) to figure out what 
> takes up all the time in that compilation process?

Hi Taedeus,

It would be great if you could make a minimal example and send it to the
list. For more information, see:
https://wiki.lyx.org/FAQ/MinimalExample

It'll probably take you more time to make a good minimal example than it
would for you to just keep doing a second compile, BUT it could help us
fix a bug somewhere in LyX.

Scott Kostyshak
Assistant Professor of Economics
University of Florida
PO Box 117140
Gainesville, Florida 32611-7140
https://www.chess.com/echess/game?id=140076610


signature.asc
Description: PGP signature


fleqn in thesis template vs flalign

2016-11-08 Thread Tadeus Ras
Hello again!


Second of two questions tonight occupying me since a while:

I am trying to better understand the „thesis.lyx“ template (from „examples“ 
folder) and noticed the document option „fleqn“. As I have may lengthy formulas 
in my thesis, the enforced indentation often makes no sense. Am I right in 
assuming that I can achieve the same with the flalign environment using the 
„empty TeX backet“ trick from the LyX math documentation where appropriate?

If someone has some kind of documentation of that template file or advice on 
its usage I would also be very grateful for that!


Thanks very much!
Tadeus


"Random" error message

2016-11-08 Thread Tadeus Ras
Hello fellow LyXonauts!


First of two questions occupying me since a while:
In at least one of the files input into my thesis — with an input math macro 
file at the beginning — I incosistently get the following error message:

! Text line contains an invalid character.
l.19 ^^@^^@
^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^...
A funny symbol that I can't read has just been input.
Continue, and I'll forget that it ever happened.

„inconsistently“ in the sense that a second compilation try often succeeds 
without any changes on the document. This document also takes much longer for 
its 20 pages to compile than others of the same size. Might this be related? 
And if not: Is there any way (besides „commenting out“) to figure out what 
takes up all the time in that compilation process?


Thanks…



Re: margins

2016-11-08 Thread racoon

On 08.11.2016 22:17, Patrick Dupre wrote:

Here a lyx file


Thanks. I am not sure why the fourier package has this effect. It is 
definitely not a problem with LyX itself.


There are actually two packages

1. fourier, which LyX uses when setting the font under Document > 
Settings > Fonts, and


2. utopia.

The fourier package has the effect that you see on your output. Maybe 
this is some (known?) problem with the package? You can also try to ask 
the question on http://tex.stackexchange.com


Maybe an alternative would is to use utopia instead? So rather than 
choosing the package via Document > Settings > Fonts you add


\usepackage{utopia}

to your Document > Settings > Preamble.

Daniel


Sent: Tuesday, November 08, 2016 at 10:13 PM
From: racoon 
To: "Patrick Dupre" 
Cc: lyx-users@lists.lyx.org
Subject: Re: margins

On 08.11.2016 22:01, Patrick Dupre wrote:

Hello,

Thank to respond me.
Actually, you are right, but if you move to
utopia (Fourier) font, this is what you get.


Hello,

It would be easier to assist you if you send your LyX document.


===
 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
===



Sent: Tuesday, November 08, 2016 at 7:00 PM
From: racoon 
To: lyx-users@lists.lyx.org
Subject: Re: margins

On 03.11.2016 15:53, Patrick Dupre wrote:

Hello,

How can I avoid the lack of alignment shown on this document ?
Article class

It seems to be due to the use of bold characters

Thank


Hard to tell from only a pdf file. It worked for me (attached). You seem
to be changing the itemize symbols maybe there is the problem?

Daniel











Re: margins

2016-11-08 Thread Patrick Dupre
Here a lyx file

===
 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
===


> Sent: Tuesday, November 08, 2016 at 10:13 PM
> From: racoon 
> To: "Patrick Dupre" 
> Cc: lyx-users@lists.lyx.org
> Subject: Re: margins
>
> On 08.11.2016 22:01, Patrick Dupre wrote:
> > Hello,
> >
> > Thank to respond me.
> > Actually, you are right, but if you move to
> > utopia (Fourier) font, this is what you get.
> 
> Hello,
> 
> It would be easier to assist you if you send your LyX document.
> 
> > ===
> >  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
> > ===
> >
> >
> >> Sent: Tuesday, November 08, 2016 at 7:00 PM
> >> From: racoon 
> >> To: lyx-users@lists.lyx.org
> >> Subject: Re: margins
> >>
> >> On 03.11.2016 15:53, Patrick Dupre wrote:
> >>> Hello,
> >>>
> >>> How can I avoid the lack of alignment shown on this document ?
> >>> Article class
> >>>
> >>> It seems to be due to the use of bold characters
> >>>
> >>> Thank
> >>
> >> Hard to tell from only a pdf file. It worked for me (attached). You seem
> >> to be changing the itemize symbols maybe there is the problem?
> >>
> >> Daniel
> >>
> >
>

tmp.lyx
Description: application/lyx


Re: margins

2016-11-08 Thread racoon

On 08.11.2016 22:01, Patrick Dupre wrote:

Hello,

Thank to respond me.
Actually, you are right, but if you move to
utopia (Fourier) font, this is what you get.


Hello,

It would be easier to assist you if you send your LyX document.


===
 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
===



Sent: Tuesday, November 08, 2016 at 7:00 PM
From: racoon 
To: lyx-users@lists.lyx.org
Subject: Re: margins

On 03.11.2016 15:53, Patrick Dupre wrote:

Hello,

How can I avoid the lack of alignment shown on this document ?
Article class

It seems to be due to the use of bold characters

Thank


Hard to tell from only a pdf file. It worked for me (attached). You seem
to be changing the itemize symbols maybe there is the problem?

Daniel





Re: margins

2016-11-08 Thread Patrick Dupre
Hello,

Thank to respond me.
Actually, you are right, but if you move to 
utopia (Fourier) font, this is what you get.


===
 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
===


> Sent: Tuesday, November 08, 2016 at 7:00 PM
> From: racoon 
> To: lyx-users@lists.lyx.org
> Subject: Re: margins
>
> On 03.11.2016 15:53, Patrick Dupre wrote:
> > Hello,
> >
> > How can I avoid the lack of alignment shown on this document ?
> > Article class
> >
> > It seems to be due to the use of bold characters
> >
> > Thank
> 
> Hard to tell from only a pdf file. It worked for me (attached). You seem 
> to be changing the itemize symbols maybe there is the problem?
> 
> Daniel
>

tmp.pdf
Description: Adobe PDF document


Re: margins

2016-11-08 Thread racoon

On 03.11.2016 15:53, Patrick Dupre wrote:

Hello,

How can I avoid the lack of alignment shown on this document ?
Article class

It seems to be due to the use of bold characters

Thank


Hard to tell from only a pdf file. It worked for me (attached). You seem 
to be changing the itemize symbols maybe there is the problem?


Daniel


tmp.lyx
Description: application/lyx


tmp.pdf
Description: application/forcedownload


Re: everymath not work with numbered formula

2016-11-08 Thread racoon

On 06.11.2016 13:13, edu Gpl wrote:

Dear lyx users
i used (\everymath{scriptstyle}) in lyx preambe, to let math formula
small size, it's worked good with initial formula.
but it's not work with "numbered formula"?!
i hope you can help me to let the numbered formula in small size (with
lyx primble).


Hi,

Did you mean \everymath{\scriptstyle}? I am not sure what you are trying 
to achieve, but maybe \everydisplay={\scriptstyle} does the trick?


Daniel



Re: Sideways longtable

2016-11-08 Thread racoon

On 08.11.2016 15:50, Julio Rojas wrote:

Dear Daniel,

As you can see by the results shown in the attached PDF, "pdflandscape"
rotates the page, not the longtable (look at the page numbers and the
test in the table). What I need is to rotate the longtable, so it better
fits with my data. Nevertheless, I thank you for your help.

Should this be reported as a desired feature? Or would it be a very
complex task to include in this developing cycle?


Dear Julio,

I think the result is as it should be. The page numbers never get turned 
with the content. This is because you normally don't want them turned 
since the landscape page is part of series of other pages in portrait. I 
have added some context so you see what I mean.


If for some reason you want the page numbers turned as well maybe this 
helps?


http://tex.stackexchange.com/questions/9071/how-to-translate-and-rotate-the-heading-of-landscaped-pages

(Note: you are not actually using a longtable but a tabular.)

Daniel



On Tue, Nov 8, 2016 at 3:07 AM, racoon > wrote:

On 07.11.2016 23 :12, Julio Rojas wrote:

Dear all,

I would like to have a long and wide table in such a way that
allows me
to optimize the space on my document. I tried rotating a
longtable, but
an error was produced. Then I defined my longtable and used the
"pdflscape", which produced a rotated page with a non-rotated
table. Is
there an easy way to produce a rotated longtable in Lyx? Or should I
produce table in LaTeX code?

Thanks in advance.


Hi Julio,

So you want to rotate the content only on one of your pages, right?
Otherwise you could just use Document->Settings->Page Layout->Landscape.

For only one page with a rotated table I had no problems with using

\usepackage{pdflscape}

in the Preamble and an ERT with

\begin{landscape}

before and

\end{landscape}

after the table. Notice that for it to work you have to disable
Landscape in the document Settings. (Otherwise you get a
double-rotation.)

If it does not work maybe you can send an example file.

Daniel






SidewaysLongtableAndMore.pdf
Description: application/forcedownload


SidewaysLongtableAndMore.lyx
Description: application/lyx


Re: Sideways longtable

2016-11-08 Thread Julio Rojas
Dear Daniel,

As you can see by the results shown in the attached PDF, "pdflandscape"
rotates the page, not the longtable (look at the page numbers and the test
in the table). What I need is to rotate the longtable, so it better fits
with my data. Nevertheless, I thank you for your help.

Should this be reported as a desired feature? Or would it be a very complex
task to include in this developing cycle?

Regards,

-
Julio Rojas
jcredbe...@gmail.com

On Tue, Nov 8, 2016 at 3:07 AM, racoon  wrote:

> On 07.11.2016 23:12, Julio Rojas wrote:
>
>> Dear all,
>>
>> I would like to have a long and wide table in such a way that allows me
>> to optimize the space on my document. I tried rotating a longtable, but
>> an error was produced. Then I defined my longtable and used the
>> "pdflscape", which produced a rotated page with a non-rotated table. Is
>> there an easy way to produce a rotated longtable in Lyx? Or should I
>> produce table in LaTeX code?
>>
>> Thanks in advance.
>>
>
> Hi Julio,
>
> So you want to rotate the content only on one of your pages, right?
> Otherwise you could just use Document->Settings->Page Layout->Landscape.
>
> For only one page with a rotated table I had no problems with using
>
> \usepackage{pdflscape}
>
> in the Preamble and an ERT with
>
> \begin{landscape}
>
> before and
>
> \end{landscape}
>
> after the table. Notice that for it to work you have to disable Landscape
> in the document Settings. (Otherwise you get a double-rotation.)
>
> If it does not work maybe you can send an example file.
>
> Daniel
>


SidewaysLongtable.lyx
Description: application/lyx


SidewaysLongtable.pdf
Description: Adobe PDF document