Re: PDF export fails with pdflatex and LuaTeX

2020-02-09 Thread Martin Weise
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,

Martin



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


Re: Extremely slow to save file (2.3.4, Windows)

2020-02-09 Thread Richard Kimberly Heck
On 2/9/20 8:44 PM, Scott Kostyshak wrote:
> On Sun, Feb 09, 2020 at 08:30:35PM -0500, Jim Rockford wrote:
>> Since v.2.3.4 (Windows 10) Lyx is extremely slow to save Lyx files.  I'll
>> click the save button and have to wait 3-5 seconds for the file saving
>> process to complete, during which time the cursor is basically frozen (i.e.
>> I cannot click back into the document and edit).
>>
>> At first I thought my computer may have needed a reboot, but that didn't
>> help.  In v.2.3.3 file saving was practically instantaneous.  As far as I
>> can tell this hangup is specifically a v.2.3.4 issue.
> I Jim, I think you ran into this issue:
> https://www.lyx.org/trac/ticket/11728. There will be a new LyX release
> soon that fixes it.

Soon as in probably Tuesday for the official release, though the
binaries will probably be on the ftp site tomorrow evening.

Riki


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


Re: Extremely slow to save file (2.3.4, Windows)

2020-02-09 Thread Scott Kostyshak
On Sun, Feb 09, 2020 at 08:30:35PM -0500, Jim Rockford wrote:
> Since v.2.3.4 (Windows 10) Lyx is extremely slow to save Lyx files.  I'll
> click the save button and have to wait 3-5 seconds for the file saving
> process to complete, during which time the cursor is basically frozen (i.e.
> I cannot click back into the document and edit).
> 
> At first I thought my computer may have needed a reboot, but that didn't
> help.  In v.2.3.3 file saving was practically instantaneous.  As far as I
> can tell this hangup is specifically a v.2.3.4 issue.

I Jim, I think you ran into this issue:
https://www.lyx.org/trac/ticket/11728. There will be a new LyX release
soon that fixes it.

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-09 Thread Scott Kostyshak
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


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


Extremely slow to save file (2.3.4, Windows)

2020-02-09 Thread Jim Rockford
Since v.2.3.4 (Windows 10) Lyx is extremely slow to save Lyx files.  I'll
click the save button and have to wait 3-5 seconds for the file saving
process to complete, during which time the cursor is basically frozen (i.e.
I cannot click back into the document and edit).

At first I thought my computer may have needed a reboot, but that didn't
help.  In v.2.3.3 file saving was practically instantaneous.  As far as I
can tell this hangup is specifically a v.2.3.4 issue.

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


PDF export fails with pdflatex and LuaTeX

2020-02-09 Thread Martin Weise
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.

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


What do I need to do to make LyX preview LilyPond scores inserted by means of the lyLuaTeX package?

2020-02-09 Thread Georger Araujo
Hi,
I would like to have LyX preview LilyPond scores inserted by means of the 
lyLuaTeX package [1], much the same way we can already do with the LilyPond 
Book module [2], i.e. I would like LyX to display scores like the one present 
in p.6 of the lyLuaTeX documentation [3].

I wrote a module (attached) that allows me to insert a LilyPond environment as 
provided by lyLuaTeX (see the attached example -- one needs to enable Document, 
Settings..., Formats, Allow running external programs for it to work) that 
generates a correct PDF, but I don't know how to make LyX preview the score.

Thanks for any help. Best regards,

Georger

[1] https://ctan.org/pkg/lyluatex
[2] https://wiki.lyx.org/LyX/NewInLyX20#lb
[3] http://linorg.usp.br/CTAN/support/lyluatex/lyluatex.pdf


lyluatex.module
Description: Binary data


lyLuaTeX.lyx
Description: Binary data
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


"Use Class Defaults" not working properly

2020-02-09 Thread V K
I found message in this list where Jürgen wrote, that "use class defaults" 
button "should apply to the following settings: 
* oneside/twoside 
* columns 
* page style 
* toc level 
And resets to what is defined as default (if any) in the layout file."

New Beamer class document (with "use class defaults" applied) compiles a pdf 
with margins from the article class and even A4 paper format. And there is no 
opportunity to change margins or paper format, because they are greyed out. 
User must revert to the article class, apply it (with warnings), change to 
defaults, apply them (with warnings) and revert back to Beamer. Nonetheless pdf 
after compiling has margins from the article class despite "Default margins" 
box were ticked – user must delete numbers from margin boxes – only then 
margins from article class disappear. So "Default margins" box isn't working in 
this case.
I couldn't find what is wrong with the margins quite a long time until checked 
code preview pane and saw preamble with margins defined. 
I think it is a bug and "use class defaults" should reset at least margins and 
paper format (and maybe some other parameters, as text layout) to defaults.

Best regards,

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