Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Scott Kostyshak
On Mon, Feb 10, 2020 at 05:38:08PM -0500, Paul A. Rubin wrote:
> On 2/10/20 4:03 PM, Martin Weise wrote:
> > On 10.02.20 21:52, Scott Kostyshak wrote:
> > > On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote:
> > > > On 10.02.20 17:34, Kornel Benko wrote:
> > > > > Am Mon, 10 Feb 2020 16:54:27 +0100
> > > > > schrieb Martin Weise :
> > > > > 
> > > > > > > I'm wondering whether LyX successfully compiles the PDF file in 
> > > > > > > the
> > > > > > > temp directory but then fails to copy or move it to the target 
> > > > > > > directory.
> > > > > > > 
> > > > > > > Paul
> > > > > > No, Document -> View (pdflatex) produces nothing either. Nor does 
> > > > > > the
> > > > > > LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves 
> > > > > > .aux,
> > > > > > .dvi,. log, .tex and .dep-pdf files.
> > > > > > 
> > > > > > Martin
> > > > > That (.dvi) is the clue probably. Select different output in
> > > > > Document->Settings...->Formats->Default output format: -> PDF 
> > > > > (pdflatex)
> > > > > 
> > > > >   Kornel
> > > > > 
> > > > No, I'm afraid that's not it. pdflatex keeps throwing the assertion
> > > > error message, when run through LyX, regardless of what I choose as the
> > > > default output format.
> > > Still I think Kornel picked up on an important clue: we need to figure
> > > out why there's a .dvi file in the temporary directory. If you exit LyX
> > > and start LyX again (which should use a fresh temp dir), and compile a
> > > simple .lyx file, can you confirm that there's a .dvi in the temporary
> > > directory?
> > > 
> > > Scott
> > > 
> > Positive. There's a .dvi file in the (new) temporary directory after I
> > choose File->Export->PDF (pdflatex).
> > 
> Do you have an entry for "LaTeX (pdflatex) -> PDF (pdflatex)" in Tools >
> Preferences... > File Handling > Converters and, if so, what do the
> "Converter:" and "Extra flag:" boxes say?

In addition to Paul's question, can you send us your preferences file?
It is a text file and you can find its location by going to Help > About
and looking in the "User directory" path that is listed there.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Paul A. Rubin

On 2/10/20 4:03 PM, Martin Weise wrote:

On 10.02.20 21:52, Scott Kostyshak wrote:

On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote:

On 10.02.20 17:34, Kornel Benko wrote:

Am Mon, 10 Feb 2020 16:54:27 +0100
schrieb Martin Weise :


I'm wondering whether LyX successfully compiles the PDF file in the
temp directory but then fails to copy or move it to the target directory.

Paul
  

No, Document -> View (pdflatex) produces nothing either. Nor does the
LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
.dvi,. log, .tex and .dep-pdf files.

Martin

That (.dvi) is the clue probably. Select different output in
Document->Settings...->Formats->Default output format: -> PDF (pdflatex)

Kornel


No, I'm afraid that's not it. pdflatex keeps throwing the assertion
error message, when run through LyX, regardless of what I choose as the
default output format.

Still I think Kornel picked up on an important clue: we need to figure
out why there's a .dvi file in the temporary directory. If you exit LyX
and start LyX again (which should use a fresh temp dir), and compile a
simple .lyx file, can you confirm that there's a .dvi in the temporary
directory?

Scott


Positive. There's a .dvi file in the (new) temporary directory after I
choose File->Export->PDF (pdflatex).

Do you have an entry for "LaTeX (pdflatex) -> PDF (pdflatex)" in Tools > 
Preferences... > File Handling > Converters and, if so, what do the 
"Converter:" and "Extra flag:" boxes say?


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Martin Weise
On 10.02.20 21:52, Scott Kostyshak wrote:
> On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote:
>> On 10.02.20 17:34, Kornel Benko wrote:
>>> Am Mon, 10 Feb 2020 16:54:27 +0100
>>> schrieb Martin Weise :
>>>
> I'm wondering whether LyX successfully compiles the PDF file in the
> temp directory but then fails to copy or move it to the target directory.
>
> Paul
>  
 No, Document -> View (pdflatex) produces nothing either. Nor does the
 LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
 .dvi,. log, .tex and .dep-pdf files.

 Martin
>>> That (.dvi) is the clue probably. Select different output in
>>> Document->Settings...->Formats->Default output format: -> PDF (pdflatex)
>>>
>>> Kornel
>>>
>> No, I'm afraid that's not it. pdflatex keeps throwing the assertion
>> error message, when run through LyX, regardless of what I choose as the
>> default output format.
> Still I think Kornel picked up on an important clue: we need to figure
> out why there's a .dvi file in the temporary directory. If you exit LyX
> and start LyX again (which should use a fresh temp dir), and compile a
> simple .lyx file, can you confirm that there's a .dvi in the temporary
> directory?
>
> Scott
>
Positive. There's a .dvi file in the (new) temporary directory after I
choose File->Export->PDF (pdflatex).

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Scott Kostyshak
On Mon, Feb 10, 2020 at 09:10:51PM +0100, Martin Weise wrote:
> On 10.02.20 17:34, Kornel Benko wrote:
> > Am Mon, 10 Feb 2020 16:54:27 +0100
> > schrieb Martin Weise :
> >
> >>> I'm wondering whether LyX successfully compiles the PDF file in the
> >>> temp directory but then fails to copy or move it to the target directory.
> >>>
> >>> Paul
> >>>  
> >> No, Document -> View (pdflatex) produces nothing either. Nor does the
> >> LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
> >> .dvi,. log, .tex and .dep-pdf files.
> >>
> >> Martin
> >
> > That (.dvi) is the clue probably. Select different output in
> > Document->Settings...->Formats->Default output format: -> PDF (pdflatex)
> >
> > Kornel
> >
> No, I'm afraid that's not it. pdflatex keeps throwing the assertion
> error message, when run through LyX, regardless of what I choose as the
> default output format.

Still I think Kornel picked up on an important clue: we need to figure
out why there's a .dvi file in the temporary directory. If you exit LyX
and start LyX again (which should use a fresh temp dir), and compile a
simple .lyx file, can you confirm that there's a .dvi in the temporary
directory?

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Issue with dv2dt.exe and msvcr100.dll

2020-02-10 Thread Baris Erkus
I have been encountering the attached error when LyX starts for some of 
the fresh installs of 64 bit of Windows 10, Enterprise Ed..

This error occurs if instant preview is on, where, I believe, dv2dt.exe 
is rendering the math equations and such.

I found the problem happens to be related to the msvcr100.dll file. For 
some installs of the Windows, this file is an older version that goes 
back to 2002. Some fresh installs of Windows 10 have the useful version 
though. Maybe some of the programs overwrites an older version of this 
file, I wouldn't know.

There are various versions of 64 bit msvcr100.dll on the net. I do not 
know which versions work, but the one that I found working is version 
10.9.40219.325 dated 11-Jun-11 2:58AM.  I overwrite the file under the 
C:\Windows\SysWOW64 folder with the working version.

(FI: I have almost all versions of MS VC++ Redistributable installed, 
which apparently does not install a recent version of this dll.)

One can also try to use the msvcr100.dll file that comes with the 
dvitools at http://w32tex.org/

I think I got mine from an older version of dvitools; I did not try the 
newer versions.

I do not think this is a bug, but maybe something to look at by 
developers...

-- 
↓↓
Please bottom-post. Start your reply here:

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Martin Weise
On 10.02.20 17:34, Kornel Benko wrote:
> Am Mon, 10 Feb 2020 16:54:27 +0100
> schrieb Martin Weise :
>
>>> I'm wondering whether LyX successfully compiles the PDF file in the
>>> temp directory but then fails to copy or move it to the target directory.
>>>
>>> Paul
>>>  
>> No, Document -> View (pdflatex) produces nothing either. Nor does the
>> LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
>> .dvi,. log, .tex and .dep-pdf files.
>>
>> Martin
>
> That (.dvi) is the clue probably. Select different output in
> Document->Settings...->Formats->Default output format: -> PDF (pdflatex)
>
>   Kornel
>
No, I'm afraid that's not it. pdflatex keeps throwing the assertion
error message, when run through LyX, regardless of what I choose as the
default output format.

Martin


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Martin Weise
On 10.02.20 19:50, Paul A. Rubin wrote:
> On 2/10/20 10:54 AM, Martin Weise wrote:
>> On 10.02.20 16:14, Paul A. Rubin wrote:
>>> On 2/9/20 1:56 PM, Martin Weise wrote:
 Dear all,

 I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
 (successfully) for almost two years). However, I recently switched
 laptops and therefore needed to reinstall ubuntu.

 On the new machine, LyX fails to export pdf files via pdflatex and
 LuaTeX. There is no pdf file after running export. The only thing that
 does work is using ps2pdf.

 Here's the message output from Lyx:

 ***
 05:44:25.151: Previewing ...
 05:44:25.154: (buffer-view: Ctrl+R)
 05:44:25.158: pdflatex  "Document.tex"
 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
 2017/Debian) (preloaded format=pdflatex)
 05:44:25.233:  restricted \write18 enabled.
 05:44:25.243: entering extended mode
 05:44:25.244: (./Document.tex
 05:44:25.253: LaTeX2e <2017-04-15>
 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
 loaded.
 05:44:25.254:
 05:44:25.380: pdflatex  "Bauordnungsamt.tex"
 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
 2017/Debian) (preloaded format=pdflatex)
 05:44:25.453:  restricted \write18 enabled.
 05:44:25.462: entering extended mode
 05:44:25.463: (./Document.tex
 05:44:25.464: LaTeX2e <2017-04-15>
 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
 loaded.
 05:44:25.466:
 05:44:25.593: Successful export to format: PDF
 (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
 VIOLATED IN ../../src/Buffer.cpp:4382
 ***

 Any idea what might be wrong?

 Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX
 does work.

>>> Does Document > View work (produce a viewable PDF document) with the
>>> pdflatex or LuaTeX formats? If so, when export fails, does it leave a
>>> PDF file in the LyX temp directory?
>>>
>>> I'm wondering whether LyX successfully compiles the PDF file in the
>>> temp directory but then fails to copy or move it to the target
>>> directory.
>>>
>>> Paul
>>>
>> No, Document -> View (pdflatex) produces nothing either. Nor does the
>> LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
>> .dvi,. log, .tex and .dep-pdf files.
>>
>> Martin
>>
> If you open a terminal in the temp directory and run pdflatex against
> the .tex file, does it compile? If not, is there a meaningful error
> message in the terminal?
>
> Paul
>
Yes, it does. There is no error.

Martin


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Paul A. Rubin

On 2/10/20 10:54 AM, Martin Weise wrote:

On 10.02.20 16:14, Paul A. Rubin wrote:

On 2/9/20 1:56 PM, Martin Weise wrote:

Dear all,

I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
(successfully) for almost two years). However, I recently switched
laptops and therefore needed to reinstall ubuntu.

On the new machine, LyX fails to export pdf files via pdflatex and
LuaTeX. There is no pdf file after running export. The only thing that
does work is using ps2pdf.

Here's the message output from Lyx:

***
05:44:25.151: Previewing ...
05:44:25.154: (buffer-view: Ctrl+R)
05:44:25.158: pdflatex  "Document.tex"
05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
2017/Debian) (preloaded format=pdflatex)
05:44:25.233:  restricted \write18 enabled.
05:44:25.243: entering extended mode
05:44:25.244: (./Document.tex
05:44:25.253: LaTeX2e <2017-04-15>
05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
loaded.
05:44:25.254:
05:44:25.380: pdflatex  "Bauordnungsamt.tex"
05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
2017/Debian) (preloaded format=pdflatex)
05:44:25.453:  restricted \write18 enabled.
05:44:25.462: entering extended mode
05:44:25.463: (./Document.tex
05:44:25.464: LaTeX2e <2017-04-15>
05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
loaded.
05:44:25.466:
05:44:25.593: Successful export to format: PDF
(pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
VIOLATED IN ../../src/Buffer.cpp:4382
***

Any idea what might be wrong?

Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX
does work.


Does Document > View work (produce a viewable PDF document) with the
pdflatex or LuaTeX formats? If so, when export fails, does it leave a
PDF file in the LyX temp directory?

I'm wondering whether LyX successfully compiles the PDF file in the
temp directory but then fails to copy or move it to the target directory.

Paul


No, Document -> View (pdflatex) produces nothing either. Nor does the
LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
.dvi,. log, .tex and .dep-pdf files.

Martin

If you open a terminal in the temp directory and run pdflatex against 
the .tex file, does it compile? If not, is there a meaningful error 
message in the terminal?


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Kornel Benko
Am Mon, 10 Feb 2020 16:54:27 +0100
schrieb Martin Weise :

> > I'm wondering whether LyX successfully compiles the PDF file in the
> > temp directory but then fails to copy or move it to the target directory.
> >
> > Paul
> >  
> No, Document -> View (pdflatex) produces nothing either. Nor does the
> LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
> .dvi,. log, .tex and .dep-pdf files.
> 
> Martin


That (.dvi) is the clue probably. Select different output in
Document->Settings...->Formats->Default output format: -> PDF (pdflatex)

Kornel


pgpXONzAE9zNk.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Martin Weise
On 10.02.20 16:06, Scott Kostyshak wrote:
> On Mon, Feb 10, 2020 at 08:18:40AM +0100, Martin Weise wrote:
>> On 10.02.20 02:43, Scott Kostyshak wrote:
>>> On Sun, Feb 09, 2020 at 07:56:56PM +0100, Martin Weise wrote:
 Dear all,

 I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
 (successfully) for almost two years). However, I recently switched
 laptops and therefore needed to reinstall ubuntu.

 On the new machine, LyX fails to export pdf files via pdflatex and
 LuaTeX. There is no pdf file after running export. The only thing that
 does work is using ps2pdf.

 Here's the message output from Lyx:

 ***
 05:44:25.151: Previewing ...
 05:44:25.154: (buffer-view: Ctrl+R)
 05:44:25.158: pdflatex  "Document.tex"
 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
 2017/Debian) (preloaded format=pdflatex)
 05:44:25.233:  restricted \write18 enabled.
 05:44:25.243: entering extended mode
 05:44:25.244: (./Document.tex
 05:44:25.253: LaTeX2e <2017-04-15>
 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
 loaded.
 05:44:25.254:
 05:44:25.380: pdflatex  "Bauordnungsamt.tex"
 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
 2017/Debian) (preloaded format=pdflatex)
 05:44:25.453:  restricted \write18 enabled.
 05:44:25.462: entering extended mode
 05:44:25.463: (./Document.tex
 05:44:25.464: LaTeX2e <2017-04-15>
 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
 loaded.
 05:44:25.466:
 05:44:25.593: Successful export to format: PDF
 (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
 VIOLATED IN ../../src/Buffer.cpp:4382
 ***

 Any idea what might be wrong?

 Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX 
 does work.
>>> Hi Martin,
>>>
>>> When you run pdflatex manually on LaTeX code produced by LyX,
>>> does it have a non-zero exit code?
>>>
>>> Can you send a .lyx minimal example file that reproduces the error?
>>>
>>> Best,
>>>
>>> Scott
>> Sure thing... here you go. But it's really just any .lyx file.
>>
>> Running pdflatex manually yields a zero exit code (and thus, a .pdf file).
>>
>> Thanks for your help,
> Thanks for the example file. As you probably expected, it compiles fine
> on my computer (although it was good to check). 
>
> How did you install LyX? Did you install it from the Ubuntu repository,
> or a PPA, or did you manually compile?
>
> When you do the export, do you get an error dialog? What does the
> message pane say right after doing the export?
>
> The line about the assertion in your output means that LyX did not
> detect an error when exporting but at the same time there is no export
> file. So LyX is just as confused as we are it seems.
>
> Best,
>
> Scott

I have tried both the Ubuntu repo version (which is 2.2) and the version
from ppa:lyx-devel/release. Neither version works.

I get no error dialog. The message pane either contains said assertion
error or no error at all (though there is no pdf file afterwards).

Martin

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Martin Weise
On 10.02.20 16:14, Paul A. Rubin wrote:
> On 2/9/20 1:56 PM, Martin Weise wrote:
>> Dear all,
>>
>> I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
>> (successfully) for almost two years). However, I recently switched
>> laptops and therefore needed to reinstall ubuntu.
>>
>> On the new machine, LyX fails to export pdf files via pdflatex and
>> LuaTeX. There is no pdf file after running export. The only thing that
>> does work is using ps2pdf.
>>
>> Here's the message output from Lyx:
>>
>> ***
>> 05:44:25.151: Previewing ...
>> 05:44:25.154: (buffer-view: Ctrl+R)
>> 05:44:25.158: pdflatex  "Document.tex"
>> 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
>> 2017/Debian) (preloaded format=pdflatex)
>> 05:44:25.233:  restricted \write18 enabled.
>> 05:44:25.243: entering extended mode
>> 05:44:25.244: (./Document.tex
>> 05:44:25.253: LaTeX2e <2017-04-15>
>> 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
>> loaded.
>> 05:44:25.254:
>> 05:44:25.380: pdflatex  "Bauordnungsamt.tex"
>> 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
>> 2017/Debian) (preloaded format=pdflatex)
>> 05:44:25.453:  restricted \write18 enabled.
>> 05:44:25.462: entering extended mode
>> 05:44:25.463: (./Document.tex
>> 05:44:25.464: LaTeX2e <2017-04-15>
>> 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
>> loaded.
>> 05:44:25.466:
>> 05:44:25.593: Successful export to format: PDF
>> (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
>> VIOLATED IN ../../src/Buffer.cpp:4382
>> ***
>>
>> Any idea what might be wrong?
>>
>> Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX
>> does work.
>>
> Does Document > View work (produce a viewable PDF document) with the
> pdflatex or LuaTeX formats? If so, when export fails, does it leave a
> PDF file in the LyX temp directory?
>
> I'm wondering whether LyX successfully compiles the PDF file in the
> temp directory but then fails to copy or move it to the target directory.
>
> Paul
>
No, Document -> View (pdflatex) produces nothing either. Nor does the
LuaTeX way. LyX leaves no pdf file in the temp dir. It just leaves .aux,
.dvi,. log, .tex and .dep-pdf files.

Martin

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Paul A. Rubin

On 2/9/20 1:56 PM, Martin Weise wrote:

Dear all,

I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
(successfully) for almost two years). However, I recently switched
laptops and therefore needed to reinstall ubuntu.

On the new machine, LyX fails to export pdf files via pdflatex and
LuaTeX. There is no pdf file after running export. The only thing that
does work is using ps2pdf.

Here's the message output from Lyx:

***
05:44:25.151: Previewing ...
05:44:25.154: (buffer-view: Ctrl+R)
05:44:25.158: pdflatex  "Document.tex"
05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
2017/Debian) (preloaded format=pdflatex)
05:44:25.233:  restricted \write18 enabled.
05:44:25.243: entering extended mode
05:44:25.244: (./Document.tex
05:44:25.253: LaTeX2e <2017-04-15>
05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
loaded.
05:44:25.254:
05:44:25.380: pdflatex  "Bauordnungsamt.tex"
05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
2017/Debian) (preloaded format=pdflatex)
05:44:25.453:  restricted \write18 enabled.
05:44:25.462: entering extended mode
05:44:25.463: (./Document.tex
05:44:25.464: LaTeX2e <2017-04-15>
05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
loaded.
05:44:25.466:
05:44:25.593: Successful export to format: PDF
(pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
VIOLATED IN ../../src/Buffer.cpp:4382
***

Any idea what might be wrong?

Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX
does work.

Does Document > View work (produce a viewable PDF document) with the 
pdflatex or LuaTeX formats? If so, when export fails, does it leave a 
PDF file in the LyX temp directory?


I'm wondering whether LyX successfully compiles the PDF file in the temp 
directory but then fails to copy or move it to the target directory.


Paul

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: PDF export fails with pdflatex and LuaTeX

2020-02-10 Thread Scott Kostyshak
On Mon, Feb 10, 2020 at 08:18:40AM +0100, Martin Weise wrote:
> On 10.02.20 02:43, Scott Kostyshak wrote:
> > On Sun, Feb 09, 2020 at 07:56:56PM +0100, Martin Weise wrote:
> >> Dear all,
> >>
> >> I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so
> >> (successfully) for almost two years). However, I recently switched
> >> laptops and therefore needed to reinstall ubuntu.
> >>
> >> On the new machine, LyX fails to export pdf files via pdflatex and
> >> LuaTeX. There is no pdf file after running export. The only thing that
> >> does work is using ps2pdf.
> >>
> >> Here's the message output from Lyx:
> >>
> >> ***
> >> 05:44:25.151: Previewing ...
> >> 05:44:25.154: (buffer-view: Ctrl+R)
> >> 05:44:25.158: pdflatex  "Document.tex"
> >> 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> >> 2017/Debian) (preloaded format=pdflatex)
> >> 05:44:25.233:  restricted \write18 enabled.
> >> 05:44:25.243: entering extended mode
> >> 05:44:25.244: (./Document.tex
> >> 05:44:25.253: LaTeX2e <2017-04-15>
> >> 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s)
> >> loaded.
> >> 05:44:25.254:
> >> 05:44:25.380: pdflatex  "Bauordnungsamt.tex"
> >> 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live
> >> 2017/Debian) (preloaded format=pdflatex)
> >> 05:44:25.453:  restricted \write18 enabled.
> >> 05:44:25.462: entering extended mode
> >> 05:44:25.463: (./Document.tex
> >> 05:44:25.464: LaTeX2e <2017-04-15>
> >> 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s)
> >> loaded.
> >> 05:44:25.466:
> >> 05:44:25.593: Successful export to format: PDF
> >> (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess
> >> VIOLATED IN ../../src/Buffer.cpp:4382
> >> ***
> >>
> >> Any idea what might be wrong?
> >>
> >> Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX 
> >> does work.
> > Hi Martin,
> >
> > When you run pdflatex manually on LaTeX code produced by LyX,
> > does it have a non-zero exit code?
> >
> > Can you send a .lyx minimal example file that reproduces the error?
> >
> > Best,
> >
> > Scott
> 
> Sure thing... here you go. But it's really just any .lyx file.
> 
> Running pdflatex manually yields a zero exit code (and thus, a .pdf file).
> 
> Thanks for your help,

Thanks for the example file. As you probably expected, it compiles fine
on my computer (although it was good to check). 

How did you install LyX? Did you install it from the Ubuntu repository,
or a PPA, or did you manually compile?

When you do the export, do you get an error dialog? What does the
message pane say right after doing the export?

The line about the assertion in your output means that LyX did not
detect an error when exporting but at the same time there is no export
file. So LyX is just as confused as we are it seems.

Best,

Scott


signature.asc
Description: PGP signature
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: red rectangle under one superscript

2020-02-10 Thread Jean-Marc Lasgouttes

Le 10/02/2020 à 15:30, Wolfgang Engelmann a écrit :

ok
I set the lyx view size from 200 to 210, and the red mark disappeared.
However, setting the size back to 200, no red mark is now shown
I bit strange


I am not sure that the previews are correctly redone when changing zoom.

JMarc

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: red rectangle under one superscript

2020-02-10 Thread Wolfgang Engelmann



Am 10.02.20 um 15:17 schrieb Jean-Marc Lasgouttes:

Le 10/02/2020 à 15:16, Wolfgang Engelmann a écrit :
The red mark is what we put when a preview is supposedly too small, 
so that people notice the math inset. The limit value is 10 pixels at 
100dpi, therefore the equivalent of 0.1 inch. It may be that we 
should make the limit lower.


JMarc
ok, now I understand. Does this limit concern the lyx view or the pdf 
view?


Only the LyX view. Note also that we have a text-base super/subscript 
inset for cases like your example.


JMarc


ok
I set the lyx view size from 200 to 210, and the red mark disappeared.
However, setting the size back to 200, no red mark is now shown
I bit strange
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: red rectangle under one superscript

2020-02-10 Thread Jean-Marc Lasgouttes

Le 10/02/2020 à 15:16, Wolfgang Engelmann a écrit :
The red mark is what we put when a preview is supposedly too small, so 
that people notice the math inset. The limit value is 10 pixels at 
100dpi, therefore the equivalent of 0.1 inch. It may be that we should 
make the limit lower.


JMarc

ok, now I understand. Does this limit concern the lyx view or the pdf view?


Only the LyX view. Note also that we have a text-base super/subscript 
inset for cases like your example.


JMarc

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: red rectangle under one superscript

2020-02-10 Thread Wolfgang Engelmann



Am 10.02.20 um 11:39 schrieb Jean-Marc Lasgouttes:

Le 10/02/2020 à 09:53, Wolfgang Engelmann a écrit :

I get a red rectangle under one superscript (see the attached lyx file)
I use debian bullseye and LyX Version 2.3.4 (Sonntag, 12. Januar 2020)

Perhaps a bit academic, since the pdf output seems to be ok. But 
still: Why the red mark?


The red mark is what we put when a preview is supposedly too small, so 
that people notice the math inset. The limit value is 10 pixels at 
100dpi, therefore the equivalent of 0.1 inch. It may be that we should 
make the limit lower.


JMarc

ok, now I understand. Does this limit concern the lyx view or the pdf view?
Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: red rectangle under one superscript

2020-02-10 Thread Jean-Marc Lasgouttes

Le 10/02/2020 à 09:53, Wolfgang Engelmann a écrit :

I get a red rectangle under one superscript (see the attached lyx file)
I use debian bullseye and LyX Version 2.3.4 (Sonntag, 12. Januar 2020)

Perhaps a bit academic, since the pdf output seems to be ok. But still: 
Why the red mark?


The red mark is what we put when a preview is supposedly too small, so 
that people notice the math inset. The limit value is 10 pixels at 
100dpi, therefore the equivalent of 0.1 inch. It may be that we should 
make the limit lower.


JMarc
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


red rectangle under one superscript

2020-02-10 Thread Wolfgang Engelmann

I get a red rectangle under one superscript (see the attached lyx file)
I use debian bullseye and LyX Version 2.3.4 (Sonntag, 12. Januar 2020)

Perhaps a bit academic, since the pdf output seems to be ok. But still: 
Why the red mark?


Wolfgang


test:red-s.lyx
Description: application/lyx
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users