[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due t
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due to 8.3 filenames |
Date: |
Sun, 17 Jul 2022 23:37:08 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62779>
Summary: latex_renderer fails with Miktex due to 8.3
filenames
Project: GNU Octave
Submitter: None
Submitted: Mon 18 Jul 2022 03:37:07 AM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: Mark Harrison
Originator Email: mark.z.harrison@gmail.com
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 18 Jul 2022 03:37:07 AM UTC By: Anonymous
When using Miktex version 2.9.7440 (2020-05-17) or later, rendering latex
fails due to Octave using the shortened 8.3-style name of the temporary
directory to the latex file. Miktex no longer supports this style of file
name[1]. The following code produces incorrect output (see attached
buggy_figure.png) and the error message:
setenv("OCTAVE_LATEX_DEBUG_FLAG", "1")
figure;
title('$\sqrt\beta$', 'interpreter', 'latex')
The error message:
warning: latex_renderer: latex failed for string "?"
* Command:
"latex -interaction=nonstopmode
-output-directory="C:\Users\MHARRI~1\AppData\Local\Temp\latex1v8O1z"
"C:\Users\MHARRI~1\AppData\Local\Temp\latex
1v8O1z\default.tex""
* Error:
* Stdout:
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 22.3) (preloaded
format=latex.fmt)
restricted \write18 enabled.
entering extended mode
! I can't find file `C:/Users/MHARRI'.
<to be read again>
\protect
<*> C:/Users/MHARRI~
1/AppData/Local/Temp/latex1v8O1z/default.tex
(Press Enter to retry, or Control-C to exit)
Please type another input file name
! Emergency stop.
<to be read again>
\protect
<*> C:/Users/MHARRI~
1/AppData/Local/Temp/latex1v8O1z/default.tex
No pages of output.
Transcript written on
C:\Users\MHARRI~1\AppData\Local\Temp\latex1v8O1z\texput.l
og.
warning: called from
__axis_label__ at line 36 column 6
title at line 64 column 8
bug at line 4 column 1
warning: latex_renderer: a run-time test failed and the 'latex' interpreter
has been disabled.
warning: called from
__axis_label__ at line 36 column 6
title at line 64 column 8
bug at line 4 column 1
Creating the directory C:\TEMP and changing the script to
setenv ("TEMP", 'C:\Temp\')
setenv("OCTAVE_LATEX_DEBUG_FLAG", "1")
figure;
title('$\sqrt\beta$', 'interpreter', 'latex')
results in correct output and rendering (see attached good_figure.png).
* Caching ?:11.000000:0:0:0:0
* Caching $\sqrt\beta$:11.000000:1:0:0:0
[1]
https://github.com/MiKTeX/miktex/blob/next/CHANGELOG.md#297440---2020-05-17
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 18 Jul 2022 03:37:07 AM UTC Name: buggy_figure.png Size: 10KiB
By: None
Comparison of figure output with/without changing TEMP directory
<http://savannah.gnu.org/bugs/download.php?file_id=53449>
-------------------------------------------------------
Date: Mon 18 Jul 2022 03:37:07 AM UTC Name: good_figure.png Size: 8KiB By:
None
Comparison of figure output with/without changing TEMP directory
<http://savannah.gnu.org/bugs/download.php?file_id=53450>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62779>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due to 8.3 filenames,
anonymous <=
- [Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due to 8.3 filenames, Pantxo Diribarne, 2022/07/21
- [Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due to 8.3 filenames, Markus Mützel, 2022/07/21
- [Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due to 8.3 filenames, Pantxo Diribarne, 2022/07/21
- [Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due to 8.3 filenames, Markus Mützel, 2022/07/21
- [Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due to 8.3 filenames, Pantxo Diribarne, 2022/07/21
- [Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due to 8.3 filenames, Markus Mützel, 2022/07/21
- [Octave-bug-tracker] [bug #62779] latex_renderer fails with Miktex due to 8.3 filenames, Markus Mützel, 2022/07/21