Re: PDF export fails with pdflatex and LuaTeX

2020-02-12 Thread Martin Weise
On 12.02.20 09:16, Jürgen Spitzmüller wrote:
> Am Mittwoch, den 12.02.2020, 08:41 +0100 schrieb Martin Weise:
>> That did the trick!
> Excellent.
>
>> No clue though as to why I had to take the extra step of adding
>> something to a config file. Never happened to me with a fresh texlive
>> install before. And obviously, it had nothing to do with LyX.
> I suspect something went wrong at installation. Or maybe there is
> something wrong in the packages. Is this from ubuntu binaries or
> vanilla TeXLive?
>
>> Thanks bunches!
> Glad I could help. Such config problems are annoying and hard to track.
>
> Jürgen
>
It's from the Ubuntu 18.04 repositories. Works like a charm on other
computers.

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-11 Thread Martin Weise
On 12.02.20 08:24, Jürgen Spitzmüller wrote:
> Am Mittwoch, den 12.02.2020, 07:51 +0100 schrieb Martin Weise:
>> The file was there; however, it was empty.
> So this is definitely the culprit.
>
>> I added the line as per your suggestion. 
> I suggest to not only add this one line, but use the whole file I sent.
>
>> Unfortunately, pdflatex still
>> produces a dvi file.
>>
>> Anything I need to do additionally, i.e. to activate the new config
>> file?
> Yes, you need to run (as root presumably)
>
> fmtutil --all
>
> or
>
> fmtutil --byengine pdftex
> fmtutil --byengine luatex
>
> to regenerate the formats.
>
> Jürgen
>
That did the trick!

No clue though as to why I had to take the extra step of adding
something to a config file. Never happened to me with a fresh texlive
install before. And obviously, it had nothing to do with LyX.

Thanks bunches!

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-11 Thread Martin Weise
On 12.02.20 07:32, Jürgen Spitzmüller wrote:
> Am Mittwoch, den 12.02.2020, 07:28 +0100 schrieb Jürgen Spitzmüller:
>> Am Dienstag, den 11.02.2020, 21:44 +0100 schrieb Martin Weise:
>>> Ok, here's something I (just) noticed: pdflatex, when run without
>>> arguments, produces a .dvi file from HelloWorld.tex. It is only if
>>> I
>>> specify "-output-format=pdf" that it creates a .pdf file.
>>>
>>> From what I understand, this is not what pdflatex should normally
>>> do.
>> Try the following:
>>
>> Find the configuration file pdftexconfig.tex in the terminal via
>>
>> kpsewhich pdftexconfig.tex
> ... and if no such file is there, you need to create it, as indeed (and
> maybe surprisingly) pdf(la)tex _does_ produce DVI by default; it only
> produces PDF if advised so via \pdfoutput.
>
> I attach my (default TeXLive) configuration file for convenience.
>
> Jürgen
>
The file was there; however, it was empty.

I added the line as per your suggestion. Unfortunately, pdflatex still
produces a dvi file.

Anything I need to do additionally, i.e. to activate the new config file?

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-11 Thread Martin Weise
On 11.02.20 20:44, Kornel Benko wrote:
> Am Tue, 11 Feb 2020 14:33:23 -0500
> schrieb "Paul A. Rubin" :
>
 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
>>>
>>>  
>> Okay, what follows is definitely grasping at straws. From a clean start 
>> of LyX, load the HelloWord.lyx file and try to either view or export a 
>> PDF. Presumably this will fail. Copy the LaTeX .log file in the LyX temp 
>> directory to someplace safe. Leave LyX open (so that the temp directory 
>> remains).
> I would
>   create a new (empty) directory
>   copy HelloWord.lyx there
>   and use this copied file
>
>> Now, in a terminal, run pdflatex on the .tex file in the LyX temp 
>> directory. Presumably this succeeds in generating a PDF file. Copy the 
>> new LaTeX .log file someplace safe. Then compare the two (using either 
>> 'diff' if you are command-line oriented or 'meld' if you like graphical 
>> output) and see if you can find a clue in the differences between the 
>> log files. Alternatively, you can post both log files here.
>>
>> Paul
>>
>   Kornel
>
Ok, here's something I (just) noticed: pdflatex, when run without
arguments, produces a .dvi file from HelloWorld.tex. It is only if I
specify "-output-format=pdf" that it creates a .pdf file.

>From what I understand, this is not what pdflatex should normally do.

-- 
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-11 Thread Martin Weise
On 11.02.20 19:57, Paul A. Rubin wrote:
> On 2/11/20 11:34 AM, Martin Weise wrote:
>>
>> LaTeX.cpp (658): Log line: )) (/home/martin/Desktop/HelloWord.aux)
>> LaTeX.cpp (658): Log line: \openout1 = `HelloWord.aux'.
>>
> It seems to have grabbed an existing .aux file from your desktop (as
> opposed to generating a clean one in the LyX temp directory). Is there
> anything odd in the desktop .aux file?
>
> Paul
>
Just deleted the dektop aux file. LyX then - indeed - creates one in the
temp dir. It's contents are identical though.

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-11 Thread Martin Weise


On 11.02.20 19:57, Paul A. Rubin wrote:
> On 2/11/20 11:34 AM, Martin Weise wrote:
>>
>> LaTeX.cpp (658): Log line: )) (/home/martin/Desktop/HelloWord.aux)
>> LaTeX.cpp (658): Log line: \openout1 = `HelloWord.aux'.
>>
> It seems to have grabbed an existing .aux file from your desktop (as
> opposed to generating a clean one in the LyX temp directory). Is there
> anything odd in the desktop .aux file?
>
> Paul
>
\relax
\babel@aux{english}{}

That's all there is. And even if I delete the aux file, LyX can't create
a pdf.

-- 
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-11 Thread Martin Weise
On 11.02.20 17:07, Kornel Benko wrote:
> Am Tue, 11 Feb 2020 10:38:58 -0500
> schrieb "Paul A. Rubin" :
>
 The lock file is a bit odd. I would expect that to be deleted after
 configuration completed.
> I too, but here it is also not deleted.
>
 It might help to see the contents of configure.log. Possibly something
 went splat during the configuration process.

 Paul
  
>>> Please find the configuration file attached.
>>>
>>> Martin
>>>
>>>  
>> Well, I cannot find anything suspicious in the log. In particular, the 
>> configuration script seems to have exited without problems. You have an 
>> older LaTeX version than I do (I'm also using TeXLive), but I don't 
>> think that should be a problem.
>>
>> Paul
> Neither could I. As the last try I recommend to use the debug feature.
>   $ lyx -dbg files,latex
> to see, what and how lyx calls the latex commands.
>
>   Kornel
>
Here you go:

Setting debug level to files,latex
Debugging `latex' (LaTeX generation/execution)
Debugging `files' (Files used by LyX)
support/filetools.cpp (484): createTmpDir: tempdir=`/tmp'
createTmpDir:    mask=`lyx_tmpdir'
support/filetools.cpp (472): Temporary file
`/tmp/lyx_tmpdir.BckvDBuJ2039' created.
ConverterCache.cpp (70): Add file cache item
/usr/share/lyx/images/buffer-view.svgz pdf6
/home/martin/.lyx/cache/1917147396-pdf6 1536928582 3036340146.
ConverterCache.cpp (70): Add file cache item
/usr/share/lyx/images/buffer-view.svgz png
/home/martin/.lyx/cache/1917147396-png 1536928582 3036340146.
support/FileName.cpp (599): Checksumming
"/home/martin/Desktop/HelloWord.lyx" 984027373 lasted 0 ms.
support/FileName.cpp (417): Directory /home/martin/Desktop is writable
Buffer.cpp (4114): target=pdf2
Buffer.cpp (4183):
filename=/tmp/lyx_tmpdir.BckvDBuJ2039/lyx_tmpbuf0/HelloWord.tex
Buffer.cpp (1671): makeLaTeXFile encoding: ISO-8859-15,
fname=/tmp/lyx_tmpdir.BckvDBuJ2039/lyx_tmpbuf0/HelloWord.tex
Buffer.cpp (1773):   Validating buffer...
LyX needs the following commands when LaTeXing:
* Packages:
* Macros:
* Textclass stuff:
* done.
Buffer.cpp (1779):   Buffer validation done.
output_latex.cpp (686): TeXOnePar for paragraph 0 ptr 0x5565b5aebf00 ''
Paragraph.cpp (2313): Paragraph::latex... 0x5565b5aebf00
Paragraph.cpp (2737): Paragraph::latex... done 0x5565b5aebf00
output_latex.cpp (1255): TeXOnePar for paragraph 0 done; ptr
0x5565b5aebf00 next 0
Buffer.cpp (1965): makeLaTeXFile...done
Converter.cpp (377): Converting from  pdflatex to pdf2
Converter.cpp (409): Running pdflatex
LaTeX.cpp (517): Scanning aux file:
/tmp/lyx_tmpdir.BckvDBuJ2039/lyx_tmpbuf0/HelloWord.aux
LaTeX.cpp (236): Run #1
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./HelloWord.tex
LaTeX2e <2017-04-15>
Babel <3.18> and hyphenation patterns for 84 language(s) loaded.

LaTeX.cpp (635): Log file: HelloWord.log
LaTeX.cpp (658): Log line: This is pdfTeX, Version
3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex
2020.2.3)  11 FEB 2020 17:30
LaTeX.cpp (658): Log line: entering extended mode
LaTeX.cpp (658): Log line:  restricted \write18 enabled.
LaTeX.cpp (658): Log line:  %&-line parsing enabled.
LaTeX.cpp (658): Log line: **HelloWord.tex
LaTeX.cpp (658): Log line: (./HelloWord.tex
LaTeX.cpp (658): Log line: LaTeX2e <2017-04-15>
LaTeX.cpp (658): Log line: Babel <3.18> and hyphenation patterns for 84
language(s) loaded.
LaTeX.cpp (658): Log line:
LaTeX.cpp (658): Log line:
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
LaTeX.cpp (658): Log line: Document Class: article 2014/09/29 v1.4h
Standard LaTeX document class
LaTeX.cpp (658): Log line:
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
LaTeX.cpp (658): Log line: File: size10.clo 2014/09/29 v1.4h Standard
LaTeX file (size option)
LaTeX.cpp (658): Log line: )
LaTeX.cpp (658): Log line: \c@part=\count79
LaTeX.cpp (658): Log line: \c@section=\count80
LaTeX.cpp (658): Log line: \c@subsection=\count81
LaTeX.cpp (658): Log line: \c@subsubsection=\count82
LaTeX.cpp (658): Log line: \c@paragraph=\count83
LaTeX.cpp (658): Log line: \c@subparagraph=\count84
LaTeX.cpp (658): Log line: \c@figure=\count85
LaTeX.cpp (658): Log line: \c@table=\count86
LaTeX.cpp (658): Log line: \abovecaptionskip=\skip41
LaTeX.cpp (658): Log line: \belowcaptionskip=\skip42
LaTeX.cpp (658): Log line: \bibindent=\dimen102
LaTeX.cpp (658): Log line: )
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
LaTeX.cpp (658): Log line: Package: fontenc 2017/04/05 v2.0i Standard
LaTeX package
LaTeX.cpp (658): Log line:
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def
LaTeX.cpp (658): Log line: File: t1enc.def 2017/04/05 v2.0i Standard
LaTeX file
LaTeX.cpp (658): Log line: LaTeX Font Info:    Redeclaring font encoding
T1 on input line 48.
LaTeX.cpp (658): Log line: ))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
LaTeX.cpp (658): Log 

Re: PDF export fails with pdflatex and LuaTeX

2020-02-11 Thread Martin Weise
On 11.02.20 16:13, Paul A. Rubin wrote:
> On 2/11/20 6:04 AM, Martin Weise wrote:
>> On 11.02.20 11:55, Kornel Benko wrote:
>>> Am Tue, 11 Feb 2020 11:21:11 +0100
>>> schrieb Martin Weise :
>>>
>>> [snip]
>>>>> Yes, it looks related. Apparently the 'pdflatex' called from lyx
>>>>> does not create
>>>>> the required pdf file to be used to display the image.
>>>>> Maybe the environment used by lyx is different from the one if you
>>>>> compile
>>>>> manually.
>>>>>
>>>>> 1.) Could you start lyx from the terminal?
>>>> 1. Yes.
>>> I meant, is it working if restarted from terminal?
>> No. Same result.
>>
>>
>>>>> 2.) does the '.lyx' directory contain *.lst files (11 files) and
>>>>> configure.log
>>>> 2. Here's a list of the files in the .lyx dir:
>>>>
>>>> -rw-rw-r-- 1 martin martin   4061 Feb 11 10:33 bibFiles.lst
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 bind
>>>> -rw-rw-r-- 1 martin martin  23214 Feb 11 10:33 bstFiles.lst
>>>> drwx-- 2 martin martin   4096 Feb 11 10:39 cache
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 clipart
>>>> -rw-rw-r-- 1 martin martin  31483 Feb 11 10:33 clsFiles.lst
>>>> -rw-rw-r-- 1 martin martin  66314 Feb 11 10:33 configure.log
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 doc
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 examples
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 images
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 kbd
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 layouts
>>>> -rw-rw-r-- 1 martin martin  0 Feb 11 10:44 .lyx_configure_lock
>>>> -rw-rw-r-- 1 martin martin  16117 Feb 11 10:33 lyxmodules.lst
>>>> -rw-rw-r-- 1 martin martin  25959 Feb 11 10:33 lyxrc.defaults
>>>> -rw-rw-r-- 1 martin martin   1784 Feb 11 10:33 packages.lst
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 scripts
>>>> -rw-rw-r-- 1 martin martin    387 Feb 11 11:14 session
>>>> -rw-rw-r-- 1 martin martin 310031 Feb 11 10:33 styFiles.lst
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 templates
>>>> -rw-rw-r-- 1 martin martin   9013 Feb 11 10:33 textclass.lst
>>>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 ui
>>>>
>>>> (Note that I reinstalled lyx at 10:30 today and deleted the .lyx
>>>> directory before I did so)
>>> Missing files: bbxFiles.lst, cbxFiles.lst, lyxciteengines.lst,
>>> xtemplates.lst
>>>
>>> clsFiles.lst looks too small compared to full installed texlive
>> That's weird. I definitely did a full texlive install (apt-get install
>> texlive-full). I also purged that due to the problems with LyX, cleared
>> the apt-get cache and reinstalled it - but to no avail.
>>
>> Martin
>>
>>
>>
> The lock file is a bit odd. I would expect that to be deleted after
> configuration completed.
>
> It might help to see the contents of configure.log. Possibly something
> went splat during the configuration process.
>
> Paul
>
Please find the configuration file attached.

Martin

INFO: checking for a Latex2e program...
INFO: +checking for "latex"...  yes
INFO: checking for a DVI postprocessing program...
INFO: +checking for "pplatex"...  no
INFO: checking for pLaTeX, the Japanese LaTeX...
INFO: +checking for "platex"...  yes
DEBUG: Add to RC:
\converter platex   dvi   "platex"   "latex=platex"


DEBUG: Add to RC:
\converter latex  dvi"latex"	"latex"


INFO: checking for a java interpreter...
INFO: +checking for "java"...  yes
INFO: checking for a perl interpreter...
INFO: +checking for "perl"...  yes
INFO: checking for a Tgif viewer and editor...
INFO: +checking for "tgif"...  no
DEBUG: Add to RC:
\Format tgif  "obj, tgo" Tgif "" "auto"	"auto"	"vector"	"application/x-tgif"


INFO: checking for a FIG viewer and editor...
INFO: +checking for "xfig"...  no
INFO: +checking for "jfig3-itext.jar"...  no
INFO: +checking for "jfig3.jar"...  no
DEBUG: Add to RC:
\Format figfig FIG"" "auto"	"auto"	"vector"	"application/x-xfig"


INFO: checking for a Dia viewer and editor...
INFO: +checking for "dia"...  no
DEBUG: Add to RC:
\Format diadia DIA   

Re: PDF export fails with pdflatex and LuaTeX

2020-02-11 Thread Martin Weise
On 11.02.20 11:55, Kornel Benko wrote:
> Am Tue, 11 Feb 2020 11:21:11 +0100
> schrieb Martin Weise :
>
> [snip]
>>> Yes, it looks related. Apparently the 'pdflatex' called from lyx does not 
>>> create
>>> the required pdf file to be used to display the image.
>>> Maybe the environment used by lyx is different from the one if you compile
>>> manually.
>>>
>>> 1.) Could you start lyx from the terminal? 
>> 1. Yes.
> I meant, is it working if restarted from terminal?

No. Same result.


>>> 2.) does the '.lyx' directory contain *.lst files (11 files) and 
>>> configure.log
>> 2. Here's a list of the files in the .lyx dir:
>>
>> -rw-rw-r-- 1 martin martin   4061 Feb 11 10:33 bibFiles.lst
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 bind
>> -rw-rw-r-- 1 martin martin  23214 Feb 11 10:33 bstFiles.lst
>> drwx-- 2 martin martin   4096 Feb 11 10:39 cache
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 clipart
>> -rw-rw-r-- 1 martin martin  31483 Feb 11 10:33 clsFiles.lst
>> -rw-rw-r-- 1 martin martin  66314 Feb 11 10:33 configure.log
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 doc
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 examples
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 images
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 kbd
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 layouts
>> -rw-rw-r-- 1 martin martin  0 Feb 11 10:44 .lyx_configure_lock
>> -rw-rw-r-- 1 martin martin  16117 Feb 11 10:33 lyxmodules.lst
>> -rw-rw-r-- 1 martin martin  25959 Feb 11 10:33 lyxrc.defaults
>> -rw-rw-r-- 1 martin martin   1784 Feb 11 10:33 packages.lst
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 scripts
>> -rw-rw-r-- 1 martin martin    387 Feb 11 11:14 session
>> -rw-rw-r-- 1 martin martin 310031 Feb 11 10:33 styFiles.lst
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 templates
>> -rw-rw-r-- 1 martin martin   9013 Feb 11 10:33 textclass.lst
>> drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 ui
>>
>> (Note that I reinstalled lyx at 10:30 today and deleted the .lyx
>> directory before I did so)
> Missing files: bbxFiles.lst, cbxFiles.lst, lyxciteengines.lst, xtemplates.lst
>
> clsFiles.lst looks too small compared to full installed texlive
That's weird. I definitely did a full texlive install (apt-get install
texlive-full). I also purged that due to the problems with LyX, cleared
the apt-get cache and reinstalled it - but to no avail.

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-11 Thread Martin Weise
On 11.02.20 11:04, Kornel Benko wrote:
> Am Tue, 11 Feb 2020 10:47:45 +0100
> schrieb Martin Weise :
>
>> On 11.02.20 01:49, Scott Kostyshak wrote:
>>> 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
>>>  
>> My lyx user dir is ".lyx". But there is no preferences file.
>>
>> I just noticed another strange phenomenon. When I try to include an
>> image in my .lyx document, I just get a LaTeX error ("Cannot determine
>> size of graphic in..." when exporting to pdflatex.  This is new as well.
>> The issues might be related.
>>
>> Martin
>>
> Yes, it looks related. Apparently the 'pdflatex' called from lyx does not 
> create
> the required pdf file to be used to display the image.
> Maybe the environment used by lyx is different from the one if you compile
> manually.
>
> 1.) Could you start lyx from the terminal?
> 2.) does the '.lyx' directory contain *.lst files (11 files) and configure.log
> 3.) Are the dates of these files newer compared to the install date of lyx?
> 4.) Does removing .lyx dir and restarting lyx create this dir again?
>
>   Kornel
>
>
1. Yes.

2. Here's a list of the files in the .lyx dir:

-rw-rw-r-- 1 martin martin   4061 Feb 11 10:33 bibFiles.lst
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 bind
-rw-rw-r-- 1 martin martin  23214 Feb 11 10:33 bstFiles.lst
drwx-- 2 martin martin   4096 Feb 11 10:39 cache
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 clipart
-rw-rw-r-- 1 martin martin  31483 Feb 11 10:33 clsFiles.lst
-rw-rw-r-- 1 martin martin  66314 Feb 11 10:33 configure.log
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 doc
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 examples
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 images
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 kbd
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 layouts
-rw-rw-r-- 1 martin martin  0 Feb 11 10:44 .lyx_configure_lock
-rw-rw-r-- 1 martin martin  16117 Feb 11 10:33 lyxmodules.lst
-rw-rw-r-- 1 martin martin  25959 Feb 11 10:33 lyxrc.defaults
-rw-rw-r-- 1 martin martin   1784 Feb 11 10:33 packages.lst
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 scripts
-rw-rw-r-- 1 martin martin    387 Feb 11 11:14 session
-rw-rw-r-- 1 martin martin 310031 Feb 11 10:33 styFiles.lst
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 templates
-rw-rw-r-- 1 martin martin   9013 Feb 11 10:33 textclass.lst
drwxrwxr-x 2 martin martin   4096 Feb 11 10:33 ui

(Note that I reinstalled lyx at 10:30 today and deleted the .lyx
directory before I did so)

3. As you can see, some of them are more recent, like the session file.

4. Yes.


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-11 Thread Martin Weise
On 11.02.20 01:49, Scott Kostyshak wrote:
> 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
>
My lyx user dir is ".lyx". But there is no preferences file.

I just noticed another strange phenomenon. When I try to include an
image in my .lyx document, I just get a LaTeX error ("Cannot determine
size of graphic in..." when exporting to pdflatex.  This is new as well.
The issues might be related.

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-11 Thread Martin Weise
On 10.02.20 23:38, 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?
>
> Paul
>
I do. The entries are as follows.

Converter: pdflatex $$i

Extra flag: latex=pdflatex

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


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


Bug#756844:

2014-08-13 Thread Martin Weise



[no subject]

2014-08-13 Thread Martin Weise

___
D-community-offtopic mailing list
D-community-offtopic@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/d-community-offtopic

Bug#756844: [libhtml-embperl-perl] Insert Bug Report Subject here

2014-08-02 Thread Martin Weise
Package: libhtml-embperl-perl
Version:
Severity: Optional: Choose between important, normal, minor, wishlist
Tags: Optional: tags
X-Debbugs-CC: Optional: add mails to send copies of this bug report to
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (orineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these lines ***


Bug#756844:

2014-08-02 Thread Martin Weise



Bug#756844: [libhtml-embperl-perl] Insert Bug Report Subject here

2014-08-02 Thread Martin Weise
Date: Sun, 3 Aug 2014 04:33:25 +0200
From: Martin Weise weise8...@gmail.com
-
Body:


Bug#756844: [libhtml-embperl-perl] Insert Bug Report Subject here

2014-08-02 Thread Martin Weise
Date: Sat, 2 Aug 2014 16:06:52 +0200
From: Martin Weise weise8...@gmail.com
-
Body: Package: libhtml-embperl-perl
Version:
Severity: Optional: Choose between important, normal, minor, wishlist
Tags: Optional: tags
X-Debbugs-CC: Optional: add mails to send copies of this bug report to
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (orineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these lines ***


[Ubuntu-x-swat] [Bug 993187] Re: ubuntu 12.04 completely freezes frequently.

2013-01-10 Thread Martin Weise
I have tested all kernels from 3.2_amd64-3.5_amd64 that were shipped via updates
and none worked for me.

After that i installed the 3.8.0-999_amd64 and tested with the options from #650
and as far as I can tell, the options 'powersave=0 i915.i915_enable_rc6=0' 
did not fix the problem for me.

When using the 'i915.i915_enable_rc6=0'  option, the X-Server behaves totally 
weird (cancels session; displays TTY cursor on X-Screen...).

If I enable the option 'i915.i915_enable_rc6=1' (I know there are some other 
levels),
the X-Server behaves fine, but the complete computer freezes after some time 
without any warning.

With the 'powersave=0' option everything is fine, even CPU frequencies are
adjusted dynamically.

After all that testing and other bug reports from NVIDIA/ATI users, I guess the 
problem
is located in a kernel driver for intel chipset (if the NVIDIA/ATI problem are 
not related to
old blob drivers).

What else speaks for a kernel bug is that I have still a 3.0.0-26 kernel 
running and everything 
is fine with that version.

As I think this is a chipset problem this is my conf:
MB: Intel DH67CF
CPU: Core i5-2500K
GRAPHIC: Intel HD3000
RAM: 8GB
LINUX: Ubuntu 12.10 64Bit (kernel 3.0.0-26_amd64)

Maybe this helps to sort out the problem somewhat.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/993187

Title:
  ubuntu 12.04 completely freezes frequently.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/993187/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 993187] Re: ubuntu 12.04 completely freezes frequently.

2013-01-10 Thread Martin Weise
I have tested all kernels from 3.2_amd64-3.5_amd64 that were shipped via updates
and none worked for me.

After that i installed the 3.8.0-999_amd64 and tested with the options from #650
and as far as I can tell, the options 'powersave=0 i915.i915_enable_rc6=0' 
did not fix the problem for me.

When using the 'i915.i915_enable_rc6=0'  option, the X-Server behaves totally 
weird (cancels session; displays TTY cursor on X-Screen...).

If I enable the option 'i915.i915_enable_rc6=1' (I know there are some other 
levels),
the X-Server behaves fine, but the complete computer freezes after some time 
without any warning.

With the 'powersave=0' option everything is fine, even CPU frequencies are
adjusted dynamically.

After all that testing and other bug reports from NVIDIA/ATI users, I guess the 
problem
is located in a kernel driver for intel chipset (if the NVIDIA/ATI problem are 
not related to
old blob drivers).

What else speaks for a kernel bug is that I have still a 3.0.0-26 kernel 
running and everything 
is fine with that version.

As I think this is a chipset problem this is my conf:
MB: Intel DH67CF
CPU: Core i5-2500K
GRAPHIC: Intel HD3000
RAM: 8GB
LINUX: Ubuntu 12.10 64Bit (kernel 3.0.0-26_amd64)

Maybe this helps to sort out the problem somewhat.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/993187

Title:
  ubuntu 12.04 completely freezes frequently.

Status in “linux” package in Ubuntu:
  Won't Fix
Status in “plymouth-theme-int2mil-ubuntu-11.04” package in Ubuntu:
  Fix Released
Status in “xserver-xorg-video-intel” package in Ubuntu:
  Won't Fix
Status in “linux” source package in Precise:
  Won't Fix
Status in “plymouth-theme-int2mil-ubuntu-11.04” source package in Precise:
  Fix Released
Status in “xserver-xorg-video-intel” source package in Precise:
  Won't Fix

Bug description:
  Update: 6/12/2012
  This bug is about a complete system lock-up. No other TTYs can be started. 
Mouse doesn't move. Keyboard doesn't react. The only solution is hard reset.

  Seems to happen on a variety of configurations, including nVidia, ATI
  and Intel graphics.

  If you are still able to TTY or SSH into other sessions, move the
  mouse or use the keyboard, file another bug.

  Thx. Joris V. (brains).

  Update: 5/21/2012
  Updating the kernel to 3.3.6 as suggested by Michael in #91, the system seems 
stable, no freezes yet in 5-6 hrs of using and watching videos for couple of 
hrs.

  Original description:
  I recently installed newly released ubuntu 12.04 LTS 64 bit version on my 
desktop. And it is frequently freezing, for the first few hours it ran smoothly 
and when I started watching videos it started freezing randomly.
  I have to use hard restart every time.
  Initially it was only during videos but now even during normal browsing it is 
freezing.

  I am using on board graphics and do not have any graphics card
  installed.

  Can someone please help me here, I really love the new looks of 12.04
  and it bugs me not being able to use :(

  Below is my hardware configuration:
  Processor: Intel CORE i3 processor (2nd generation)
  Board: Intel® Desktop Board DH67BL
  Ram: 4GB
  Graphics: On board
  HDD: 500 GB

  Please let me know if you need more information, or any specific logs
  I can capture (and how).

  Thanks,
  Ketan Patil

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/993187/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Bug 993187] Re: ubuntu 12.04 completely freezes frequently.

2013-01-10 Thread Martin Weise
I have tested all kernels from 3.2_amd64-3.5_amd64 that were shipped via updates
and none worked for me.

After that i installed the 3.8.0-999_amd64 and tested with the options from #650
and as far as I can tell, the options 'powersave=0 i915.i915_enable_rc6=0' 
did not fix the problem for me.

When using the 'i915.i915_enable_rc6=0'  option, the X-Server behaves totally 
weird (cancels session; displays TTY cursor on X-Screen...).

If I enable the option 'i915.i915_enable_rc6=1' (I know there are some other 
levels),
the X-Server behaves fine, but the complete computer freezes after some time 
without any warning.

With the 'powersave=0' option everything is fine, even CPU frequencies are
adjusted dynamically.

After all that testing and other bug reports from NVIDIA/ATI users, I guess the 
problem
is located in a kernel driver for intel chipset (if the NVIDIA/ATI problem are 
not related to
old blob drivers).

What else speaks for a kernel bug is that I have still a 3.0.0-26 kernel 
running and everything 
is fine with that version.

As I think this is a chipset problem this is my conf:
MB: Intel DH67CF
CPU: Core i5-2500K
GRAPHIC: Intel HD3000
RAM: 8GB
LINUX: Ubuntu 12.10 64Bit (kernel 3.0.0-26_amd64)

Maybe this helps to sort out the problem somewhat.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/993187

Title:
  ubuntu 12.04 completely freezes frequently.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/993187/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs