GNU bug report logs -
#65628
Document preview fails with long filenames
Previous Next
Reported by: John Holman <john.g.holman <at> gmail.com>
Date: Wed, 30 Aug 2023 16:36:02 UTC
Severity: normal
Tags: notabug
Done: Ikumi Keita <ikumi <at> ikumi.que.jp>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi John,
>>>>> John Holman <john.g.holman <at> gmail.com> writes:
> Document preview works when the filename has no more than 22 characters,
> e.g. test.tex, but fails with message "Ghostscript filter: No bounding box"
> when the filename has more, e.g. 01234567890123456789012.tex. However
> buffer preview always works.
I think the origin of this issue is the same as bug#27088:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27088
The log you provided seems to have extra line break discussed in the
above bug record thread:
> The contents of the *.. output* buffer are then
> 012345678901234546789012.tex:4: Preview: Snippet 1
> ended.(282168+127431x1593186
> ).
> <-><->
> l.4 \(x=y\)
As I corrected in the above thread, MikTeX doesn't see the environment
variable max_print_line unfortunately and you can try one of the
following two options:
(1) Add command line option --max-print-line=1000 to latex.
I expect you can use the customize option `preview-LaTeX-command'
for that purpose.
(2) Edit the MikTeX config file and modify max_print_line parameter.
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
This bug report was last modified 1 year and 268 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.