Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Paul Rubin



On 3/16/24 15:38, Rich Shepard wrote:

On Sat, 16 Mar 2024, Paul Rubin wrote:


In order to try to compile the doc, LyX has to write a .tex file
someplace, and that someplace has to be the "tempbuf" directory. As long
as you don't close LyX (and barring a rift in the space-time continuum),
that buffer directory and its contents should stay put.


Paul,

The issue since the TeXLive2024 upgrade is lyx finding a pdflatex error.
While updating tlmgr and fmtutils from within /etc/cron.weekly earlier 
this
morning I ran it again manually just now and it exited with an error 
code 3:

No pages of output.
Transcript written on ptex.log.
fmtutil [INFO]: log file copied to: 
/usr/local/texlive/2024/texmf-var/web2c/euptex/ptex.log
fmtutil [INFO]: 
/usr/local/texlive/2024/texmf-var/web2c/euptex/ptex.fmt installed.
fmtutil [ERROR]: running `tex -ini   -jobname=lollipop 
-progname=lollipop lollipop.ini 
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini   -jobname=amstex 
-progname=amstex -translate-file=cp227.tcx *amstex.ini return status: 1

fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini   -jobname=eplain 
-progname=eplain -translate-file=cp227.tcx *eplain.ini return status: 1

fmtutil [ERROR]: returning error due to option --strict
fmtutil [INFO]: disabled formats: 3
fmtutil [INFO]: successfully rebuilt formats: 51
fmtutil [INFO]: failed to build: 3 (tex/lollipop pdftex/amstex 
pdftex/eplain)

fmtutil [INFO]: total formats: 57
fmtutil [INFO]: exiting with status 3

I find no 'error' in ptex.log (attached.)

I need to get this issue resolved as I depend on LyX to produce documents
for clients and regulators. With a new installation of TeXLive2024 there
should have been no issues and no failures updating fmtutil.

Sigh,

Rich


Rich,

I'd never heard of ptex before. Uncle Google says it's used to publish 
in Japanese. I take it that's what you are trying to do?


This is way deeper in the TeX weeds than I've ever burrowed. Maybe 
someone familiar with the intersection of LaTeX and Japanese can help.


Paul

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


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Eberhard W Lisse
Thank you so much for telling me what it SHOULD do.

It didn't in the Mac case (two different laptops).

el

On 2024-03-16 20:40, Rich Shepard wrote:
> On Sat, 16 Mar 2024, Eberhard W Lisse wrote:
[...]
> A fresh installation of TeXLive2024 yesterday should have installed all
> necessary files.
> 
>> But Lyx has an option of looking at the logfiles.
>>
>> And you did not mention what OS you use, on the Mac the latest version
>> is automatically symlinked.
> 
> Slackware linux, since 2003 (and Red Hat for the six prior years.)

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


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Rich Shepard

On Sat, 16 Mar 2024, Eberhard W Lisse wrote:


I needed to (re-)install footmisc with the tlmgr.


El,

A fresh installation of TeXLive2024 yesterday should have installed all
necessary files.


But Lyx has an option of looking at the logfiles.

And you did not mention what OS you use, on the Mac the latest version
is automatically symlinked.


Slackware linux, since 2003 (and Red Hat for the six prior years.)

Regards,

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


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Rich Shepard

On Sat, 16 Mar 2024, Paul Rubin wrote:


In order to try to compile the doc, LyX has to write a .tex file
someplace, and that someplace has to be the "tempbuf" directory. As long
as you don't close LyX (and barring a rift in the space-time continuum),
that buffer directory and its contents should stay put.


Paul,

The issue since the TeXLive2024 upgrade is lyx finding a pdflatex error.
While updating tlmgr and fmtutils from within /etc/cron.weekly earlier this
morning I ran it again manually just now and it exited with an error code 3:
No pages of output.
Transcript written on ptex.log.
fmtutil [INFO]: log file copied to: 
/usr/local/texlive/2024/texmf-var/web2c/euptex/ptex.log
fmtutil [INFO]: /usr/local/texlive/2024/texmf-var/web2c/euptex/ptex.fmt 
installed.
fmtutil [ERROR]: running `tex -ini   -jobname=lollipop -progname=lollipop 
lollipop.ini This is e-upTeX, Version 3.141592653-p4.1.1-u1.30-230214-2.6 (utf8.euc) (TeX 
Live 2024) (INITEX)  16 MAR 2024 12:27
 restricted \write18 enabled.
 %&-line parsing enabled.
**ptex.ini
(/usr/local/texlive/2024/texmf-dist/tex/ptex/ptex-base/ptex.ini
(/usr/local/texlive/2024/texmf-dist/tex/ptex/ptex-base/ptex.tex
(/usr/local/texlive/2024/texmf-dist/tex/plain/base/plain.tex
Preloading the plain format: codes, registers,
\maxdimen=\dimen10
\hideskip=\skip10
\centering=\skip11
\p@=\dimen11
\z@=\dimen12
\z@skip=\skip12
\voidb@x=\box10
 parameters,
\smallskipamount=\skip13
\medskipamount=\skip14
\bigskipamount=\skip15
\normalbaselineskip=\skip16
\normallineskip=\skip17
\normallineskiplimit=\dimen13
\jot=\dimen14
\interdisplaylinepenalty=\count23
\interfootnotelinepenalty=\count24
 fonts, more fonts,
\itfam=\fam4
\slfam=\fam5
\bffam=\fam6
\ttfam=\fam7

macros,
\strutbox=\box11
\mscount=\count25
\tabs=\box12
\tabsyet=\box13
\tabsdone=\box14
 math definitions,
\rootbox=\box15
\p@renwd=\dimen15
 output routines,
\headline=\toks10
\footline=\toks11
\footins=\insert254
\topins=\insert253
 hyphenation
(/usr/local/texlive/2024/texmf-dist/tex/generic/hyphen/hyphen.tex))
\minfam=\fam8
\gtfam=\fam9
\tminfam=\fam10
\tgtfam=\fam11

(/usr/local/texlive/2024/texmf-dist/tex/ptex/ptex-base/kinsoku.tex)) )
Beginning to dump on file ptex.fmt
 (preloaded format=ptex 2024.3.16)
2428 strings of total length 35532
5060 memory locations dumped; current usage is 132&4907
1020 multiletter control sequences
\font\nullfont=nullfont
\font\tenrm=cmr10
\font\preloaded=cmr9
\font\preloaded=cmr8
\font\sevenrm=cmr7
\font\preloaded=cmr6
\font\fiverm=cmr5
\font\teni=cmmi10
\font\preloaded=cmmi9
\font\preloaded=cmmi8
\font\seveni=cmmi7
\font\preloaded=cmmi6
\font\fivei=cmmi5
\font\tensy=cmsy10
\font\preloaded=cmsy9
\font\preloaded=cmsy8
\font\sevensy=cmsy7
\font\preloaded=cmsy6
\font\fivesy=cmsy5
\font\tenex=cmex10
\font\preloaded=cmss10
\font\preloaded=cmssq8
\font\preloaded=cmssi10
\font\preloaded=cmssqi8
\font\tenbf=cmbx10
\font\preloaded=cmbx9
\font\preloaded=cmbx8
\font\sevenbf=cmbx7
\font\preloaded=cmbx6
\font\fivebf=cmbx5
\font\tentt=cmtt10
\font\preloaded=cmtt9
\font\preloaded=cmtt8
\font\preloaded=cmsltt10
\font\tensl=cmsl10
\font\preloaded=cmsl9
\font\preloaded=cmsl8
\font\tenit=cmti10
\font\preloaded=cmti9
\font\preloaded=cmti8
\font\preloaded=cmti7
\font\preloaded=cmu10
\font\preloaded=cmmib10
\font\preloaded=cmbsy10
\font\preloaded=cmcsc10
\font\preloaded=cmssbx10
\font\preloaded=cmdunh10
\font\preloaded=cmr7 at 14.51799pt
\font\preloaded=cmtt10 at 14.4pt
\font\preloaded=cmssbx10 at 14.4pt
\font\preloaded=manfnt
\font\tenmin=min10
\font\preloaded=min9
\font\preloaded=min8
\font\sevenmin=min7
\font\preloaded=min6
\font\fivemin=min5
\font\tengt=goth10
\font\preloaded=goth9
\font\preloaded=goth8
\font\sevengt=goth7
\font\preloaded=goth6
\font\fivegt=goth5
\font\tentmin=tmin10
\font\preloaded=tmin9
\font\preloaded=tmin8
\font\seventmin=tmin7
\font\preloaded=tmin6
\font\fivetmin=tmin5
\font\tentgt=tgoth10
\font\preloaded=tgoth9
\font\preloaded=tgoth8
\font\seventgt=tgoth7
\font\preloaded=tgoth6
\font\fivetgt=tgoth5
20343 words of font info for 74 preloaded fonts
14 hyphenation exceptions
Hyphenation trie of length 6075 has 181 ops out of 35111
  181 for language 0
No pages of output.
# actual command line used during this run
# euptex -ini   -jobname=ptex -progname=ptex -kanji-internal=euc ptex.ini 
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Paul Rubin



On 3/16/24 13:33, Rich Shepard wrote:

On Sat, 16 Mar 2024, Paul Rubin wrote:

I trust you are leaving LyX open while you look for the temp 
directory. If

you go to Tools > Preferences... > Paths, what do you have filled in for
"Temporary directory:"?


Paul,

/tmp, and that's where I've found LyX_tempbuf* before.

Thanks,

Rich

Rich,

In order to try to compile the doc, LyX has to write a .tex file 
someplace, and that someplace has to be the "tempbuf" directory. As long 
as you don't close LyX (and barring a rift in the space-time continuum), 
that buffer directory and its contents should stay put.


To see a bit more about what's going on, try running "lyx -dbg files" in 
a terminal. It will tell you where it's parking things and what names 
it's giving them. I tried this with one of your mwe.lyx files and 
encountered something surprising.  The file loaded into LyX without any 
major complaints. (There was a message "Bibinfo cache was invalid", 
which probably does not amount to anything.) When I tried to compile it, 
I got an export error message related to the infamous 0xfffc character. 
The TeX file (mwe.tex) was written to the buffer directory, but there 
was no LaTeX log file because LyX never reached the point of running 
pdflatex (or whatever), since the export was flagged as incorrect. 
Clicking "View Complete Log..." in the error message pane caused LyX to 
calculate a name and location for the log file but not to create one 
(because, again, it didn't compile the file, hence no log). Changing the 
document encoding to "Unicode (utf8)" and compiling produced a log file 
and a bunch of auxiliary files in the buffer directory.


So not finding a log file is probably due to the export error blocking 
compilation. Not find the buffer directory is likely due to interference 
by extraterrestrials.


Paul



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


MacTeX/BasicTeX (off of TexLive 2024) on Mac Sonoma 14.4 Silicon

2024-03-16 Thread Eberhard W Lisse
I upgraded through Homebrew using the basictex cask and had not
problems.

For some or other reason I have never really figured out how to pass the
$SELFAUTOPARENT variable to the environment, but a perl script
modifying

TEXMFLOCAL = $SELFAUTOPARENT/texlive/texmf-local

to

TEXMFLOCAL = /usr/local/texlive/texmf-local


works as well.

Compiles my handbook as torture test with 2.4 RC3 no drama :-)-O

I am in transit overseas so will try on Intel and Monterey next week.

el

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


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Rich Shepard

On Sat, 16 Mar 2024, Paul Rubin wrote:


I trust you are leaving LyX open while you look for the temp directory. If
you go to Tools > Preferences... > Paths, what do you have filled in for
"Temporary directory:"?


Paul,

/tmp, and that's where I've found LyX_tempbuf* before.

Thanks,

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


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Eberhard W Lisse
I needed to (re-)install footmisc with the tlmgr.

But Lyx has an option of looking at the logfiles.

And you did not mention what OS you use, on the Mac the latest version
is automatically symlinked.

el

On 2024-03-15 22:54, Rich Shepard wrote:
> I upgraded TeXLive from 2023 to 2024 and tried compiling the MWE for
> the math issues still unresolve. A message box displayed: The
> external program pdflatex finished with an error. It is recommended
> you fix the cause of the external program's error (check the logs).
> 
> 1. Where do I find the appropriate log file? It's not in /tmp/ or
> /var/log/.
> 
> 2. If LyX is looking for TeXLive2023 where do I tell it to look for 
> TeXLive224?
> 
> TIA,
> 
> Rich
> 


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


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Paul Rubin




On 3/16/24 11:39, Rich Shepard wrote:

On Sat, 16 Mar 2024, Rich Shepard wrote:


The first place I looked was /tmp/lyx_* but both subdirectories were
empty.


Just invoked Lyx-2.3.6.1 and tried compiling mwe.lyx using pdflatex. Same
message box displayed; image attached.

There is no lyx directory in /tmp.

All new issues for me. Suggestions needed.

TIA,

Rich

I trust you are leaving LyX open while you look for the temp directory. 
If you go to Tools > Preferences... > Paths, what do you have filled in 
for "Temporary directory:"?


Paul

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


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Rich Shepard

On Sat, 16 Mar 2024, Rich Shepard wrote:


The first place I looked was /tmp/lyx_* but both subdirectories were
empty.


Just invoked Lyx-2.3.6.1 and tried compiling mwe.lyx using pdflatex. Same
message box displayed; image attached.

There is no lyx directory in /tmp.

All new issues for me. Suggestions needed.

TIA,

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


Re: Upgraded TeXLive; pdflatex throws an error

2024-03-16 Thread Rich Shepard

On Fri, 15 Mar 2024, Paul Rubin wrote:

The log file will be in the temp directory created by LyX for the document. 
Most likely you'll start spelunking in /tmp, but if you set up the temp 
directory to be somewhere else you can find out where in Tools > Preferences 
Paths > Temporary directory. The full path to the log file will be 
something like /tmp/lyx_tmpdir./lyx_tmpbuf/mwe.log.


Paul,

The first place I looked was /tmp/lyx_* but both subdirectories were empty.

Thanks,

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