]> git.lyx.org Git - lyx.git/log
lyx.git
20 months agoAlways qualify calls to std::move()
Jean-Marc Lasgouttes [Fri, 21 Oct 2022 12:11:36 +0000 (14:11 +0200)]
Always qualify calls to std::move()

This quashes a new warning in clang++ 15, when std::move() (the
one-parameter version) is used as simply move(). There is a strong
recommendation from WG21 to avoid that.

Details here: https://reviews.llvm.org/D119670

It might be that we should not use that many move()s. I am not
competent to decide on that.

I also used this occasion to get rid of a spacial casing for C++11
that does not seem necessary after all.

20 months agoGuiLog: don't miss package warnings for packages with dashes
Juergen Spitzmueller [Sun, 16 Oct 2022 10:08:21 +0000 (12:08 +0200)]
GuiLog: don't miss package warnings for packages with dashes

(e.g. scrlayer-scrpage)

20 months ago Update fr.po
jpc [Fri, 14 Oct 2022 14:54:52 +0000 (16:54 +0200)]
       Update fr.po

20 months agoOnly load subscript package with LaTeX < 2005/12/01 (#12387)
Juergen Spitzmueller [Thu, 13 Oct 2022 14:05:03 +0000 (16:05 +0200)]
Only load subscript package with LaTeX < 2005/12/01 (#12387)

20 months agoNeed cellvarwidth also in left-aligned cells if they use newlines (#12587)
Juergen Spitzmueller [Tue, 11 Oct 2022 14:01:29 +0000 (16:01 +0200)]
Need cellvarwidth also in left-aligned cells if they use newlines (#12587)

20 months agoGuiLyXFiles: differentiate user and system folders
Juergen Spitzmueller [Sun, 9 Oct 2022 14:13:48 +0000 (16:13 +0200)]
GuiLyXFiles: differentiate user and system folders

20 months agoGuiLyXFiles: Hide empty categories on filtering (#12584)
Juergen Spitzmueller [Sun, 9 Oct 2022 14:01:49 +0000 (16:01 +0200)]
GuiLyXFiles: Hide empty categories on filtering (#12584)

20 months agoGuiLyXFiles: Visually distinguish folders from files (#12584)
Juergen Spitzmueller [Sat, 8 Oct 2022 14:44:38 +0000 (16:44 +0200)]
GuiLyXFiles: Visually distinguish folders from files (#12584)

20 months agoPreview: do not overwrite fg/bg color names that beamer uses
Jean-Marc Lasgouttes [Sat, 8 Oct 2022 14:42:55 +0000 (16:42 +0200)]
Preview: do not overwrite fg/bg color names that beamer uses

Rename them to lyxfg/lyxbg

Fixes bug #12563.

20 months agoFix inline completion prefix for macro insets
Jean-Marc Lasgouttes [Sat, 8 Oct 2022 12:21:06 +0000 (14:21 +0200)]
Fix inline completion prefix for macro insets

As it was, the prefix was empty when completion popups were disabled.

Related to bug #12581.

20 months agoDisable completion when document is read-only.
Jean-Marc Lasgouttes [Sat, 8 Oct 2022 10:12:19 +0000 (12:12 +0200)]
Disable completion when document is read-only.

Being able to insert completion in a read-only document is definitely
a bad idea.

This patch acts both on indication of completion and on insertion
itself.

Fixes bug #12582.

20 months agoShow branches from master document in branch inset dialog
Yuriy Skalko [Fri, 7 Oct 2022 15:56:33 +0000 (18:56 +0300)]
Show branches from master document in branch inset dialog

20 months agoCompletion: handle undo in insets' insertCompletion methods
Jean-Marc Lasgouttes [Tue, 4 Oct 2022 13:11:36 +0000 (15:11 +0200)]
Completion: handle undo in insets' insertCompletion methods

I mathed, undo should record the underlying inset on completion,
whereas in test recording the paragraph is enough.

Therefore the recordUndo() in GuiCompleter::tab is removed, and the
relevant recordUndo/recordUndoInset are used at the right places.

As a further cleanup, the parameter `finished' of
Text::insertCompletion is removed as it is useless.

Fixes bug #12581.

20 months agoWhitespace
Scott Kostyshak [Tue, 4 Oct 2022 00:43:31 +0000 (20:43 -0400)]
Whitespace

21 months agoFix bug #12580
Enrico Forestieri [Sun, 2 Oct 2022 12:59:03 +0000 (14:59 +0200)]
Fix bug #12580

This amends [4a7a1935/lyxgit]. Before 4a7a1935 it was assumed
that a labeled row was also numbered. Hence, when unnumbering
a row a label was also deleted. We now have to do this explicitly.

21 months agoctests: ignore zh_CN/Tutorial that time out
Scott Kostyshak [Thu, 29 Sep 2022 15:49:26 +0000 (11:49 -0400)]
ctests: ignore zh_CN/Tutorial that time out

Jürgen pointed out that it might be due to this issue:
  https://tex.stackexchange.com/questions/548139/

and that we might want to report it here:
  https://www.nongnu.org/cjk/

ML discussion was here:
  https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217924.html

21 months agoFix gcc-12 warning
Scott Kostyshak [Sat, 24 Sep 2022 18:24:26 +0000 (14:24 -0400)]
Fix gcc-12 warning

From Kornel:

>  /usr2/src/lyx/lyx-git/src/Paragraph.cpp:1931:1: warning: control reaches end of non-void
>  function [-Wreturn-type]
>
> This is with gcc-12, compiled in debug mode.

21 months agoFix line breaking at trailing space
Jean-Marc Lasgouttes [Fri, 23 Sep 2022 16:31:10 +0000 (18:31 +0200)]
Fix line breaking at trailing space

With a string like "abc def [inset]", it should be possible to break
between the "def" and the inset. A case of interest is when "abc def "
is too long, but "abc def" is not.

To this end, tweak the test that look whether breaking was successful:
the right width to look at is nscp_width, the width without the final
space.

21 months agovocabulary
Jean-Marc Lasgouttes [Wed, 21 Sep 2022 17:29:52 +0000 (19:29 +0200)]
vocabulary

21 months agoFixup 572b06d6: reduce cache size for breakString
Jean-Marc Lasgouttes [Wed, 21 Sep 2022 12:42:33 +0000 (14:42 +0200)]
Fixup 572b06d6: reduce cache size for breakString

This was necessary only due to bug #12534.

Reduce the size from 10Mb to 1Mb. Profiling shows that the cache hit rate
is the same.

21 months agoDisable use of QPA_XCB if using QT6
Kornel Benko [Sat, 17 Sep 2022 12:14:41 +0000 (14:14 +0200)]
Disable use of QPA_XCB if using QT6

21 months agoUpdate sk.po
Kornel Benko [Sat, 17 Sep 2022 12:13:41 +0000 (14:13 +0200)]
Update sk.po

21 months agoUpdate it.po
Enrico Forestieri [Thu, 15 Sep 2022 18:53:05 +0000 (20:53 +0200)]
Update it.po

21 months agoAmend f426470a
Enrico Forestieri [Wed, 14 Sep 2022 18:10:01 +0000 (20:10 +0200)]
Amend f426470a

The synctex option can also be specified by a single dash and
any value different from zero will do.

21 months agoUnify wording for statistics
Jean-Marc Lasgouttes [Tue, 13 Sep 2022 10:42:28 +0000 (12:42 +0200)]
Unify wording for statistics

Use 'no blanks' uniformly.

Also remove separator in zoom menu.

21 months agoDisentangle status bar and zoom menu
Daniel Ramoeller [Thu, 8 Sep 2022 05:44:15 +0000 (07:44 +0200)]
Disentangle status bar and zoom menu

- Moves the zoom menu to the zoom value

21 months agoUpdate sk.po
Kornel Benko [Wed, 7 Sep 2022 19:13:06 +0000 (21:13 +0200)]
Update sk.po

21 months ago* doxy
Pavel Sanda [Tue, 6 Sep 2022 20:12:25 +0000 (22:12 +0200)]
* doxy

21 months agode.po
Juergen Spitzmueller [Sat, 3 Sep 2022 11:45:18 +0000 (13:45 +0200)]
de.po

22 months agoSimplify status bar context menu
Jean-Marc Lasgouttes [Fri, 2 Sep 2022 17:52:57 +0000 (19:52 +0200)]
Simplify status bar context menu

Remove "Show" prefix.

Remove "(With Blanks)".

22 months ago Update fr.po
jpc [Fri, 2 Sep 2022 09:41:03 +0000 (11:41 +0200)]
        Update fr.po

22 months agoMathML: amend 26300c565f as discussed in bug 12513
Thibaut Cuvelier [Fri, 2 Sep 2022 00:00:12 +0000 (02:00 +0200)]
MathML: amend 26300c565f as discussed in bug 12513

Contributed by lynx

22 months agoMathML: should display "Text" MathFont using proper <mtext> tag
Thibaut Cuvelier [Thu, 1 Sep 2022 23:57:06 +0000 (01:57 +0200)]
MathML: should display "Text" MathFont using proper <mtext> tag

Fixes bug 12397

Contributed by lynx

22 months agoInsetTabular: fix a typo
Thibaut Cuvelier [Thu, 1 Sep 2022 23:30:25 +0000 (01:30 +0200)]
InsetTabular: fix a typo

22 months agoInsetTabular: move more helper methods to private
Thibaut Cuvelier [Thu, 1 Sep 2022 23:29:19 +0000 (01:29 +0200)]
InsetTabular: move more helper methods to private

22 months agoInsetTabular: replace a Boolean parameter to choose between XHTML and DocBook by...
Thibaut Cuvelier [Thu, 1 Sep 2022 23:26:20 +0000 (01:26 +0200)]
InsetTabular: replace a Boolean parameter to choose between XHTML and DocBook by an enum class

The only goal is to improve code readability: this enum class is strictly equivalent to a Boolean, with the same meaning as the previous is_xhtml arguments (arbitrary choice).

22 months agoInsetTabular: move XML helper methods to private
Thibaut Cuvelier [Thu, 1 Sep 2022 21:35:52 +0000 (23:35 +0200)]
InsetTabular: move XML helper methods to private

They are not needed outside InsetTabular.

22 months agoDocBook: amend 50374e38e1
Thibaut Cuvelier [Thu, 1 Sep 2022 21:33:56 +0000 (23:33 +0200)]
DocBook: amend 50374e38e1

All table rows were generated in the same XML dialect, irrespectively of the caller context (XHTML or DocBook).

22 months agoSmall fixes to fr.po related to status bar menu
Jean-Marc Lasgouttes [Thu, 1 Sep 2022 15:35:55 +0000 (17:35 +0200)]
Small fixes to fr.po related to status bar menu

22 months agoFix a warning related to comparing different signedness
Thibaut Cuvelier [Thu, 1 Sep 2022 08:57:04 +0000 (10:57 +0200)]
Fix a warning related to comparing different signedness

22 months agoLyXHTML: implement index ranges
Thibaut Cuvelier [Thu, 1 Sep 2022 00:22:50 +0000 (02:22 +0200)]
LyXHTML: implement index ranges

22 months agoLyXHTML: implement multiple indices
Thibaut Cuvelier [Thu, 1 Sep 2022 00:04:05 +0000 (02:04 +0200)]
LyXHTML: implement multiple indices

22 months agoDocBook: amend 34ea4080
Thibaut Cuvelier [Wed, 31 Aug 2022 23:13:47 +0000 (01:13 +0200)]
DocBook: amend 34ea4080

@ for sorting is implemented at 34ea4080, but the user was still shown a warning (now removed).

22 months agoDocBook: add test case for multiple indices
Thibaut Cuvelier [Wed, 31 Aug 2022 23:11:40 +0000 (01:11 +0200)]
DocBook: add test case for multiple indices

22 months agoDocBook: add missing test case for index
Thibaut Cuvelier [Wed, 31 Aug 2022 22:14:41 +0000 (00:14 +0200)]
DocBook: add missing test case for index

22 months agoUse auto const & when possible to avoid copies
Jean-Marc Lasgouttes [Tue, 30 Aug 2022 15:31:37 +0000 (17:31 +0200)]
Use auto const & when possible to avoid copies

In several range-based for loops, implicit copies are made. Remove
that when possible, and try to shut converity up otherwise.

Fixes issues found by coverity.

22 months ago Update fr.po
jpc [Sun, 28 Aug 2022 16:46:31 +0000 (18:46 +0200)]
       Update fr.po

22 months agoUpdate sk.po
Kornel Benko [Fri, 19 Aug 2022 11:33:14 +0000 (13:33 +0200)]
Update sk.po

22 months agoUpdate stats display if a stat is (un)selected
Juergen Spitzmueller [Thu, 18 Aug 2022 17:08:03 +0000 (19:08 +0200)]
Update stats display if a stat is (un)selected

22 months agoctests: uninvert a utf8x test
Scott Kostyshak [Thu, 18 Aug 2022 14:17:30 +0000 (10:17 -0400)]
ctests: uninvert a utf8x test

The compilation succeeds now, although the behavior might be
different: unless we load ucs explicitly it will proceed with
utf8 instead of utf8x if I understand correctly.

See here for more details:
https://github.com/latex3/latex2e/issues/833#issuecomment-1219535732

22 months agoctests: invert EuropeCV tests
Scott Kostyshak [Thu, 18 Aug 2022 13:09:30 +0000 (09:09 -0400)]
ctests: invert EuropeCV tests

These might not be fixed for a while:

  https://github.com/gsilano/EuropeCV/pull/33

22 months agode.po
Juergen Spitzmueller [Wed, 17 Aug 2022 16:15:29 +0000 (18:15 +0200)]
de.po

22 months agoAnother inset font switch fix
Juergen Spitzmueller [Wed, 17 Aug 2022 16:04:51 +0000 (18:04 +0200)]
Another inset font switch fix

22 months agoPolish status bar statistics
Juergen Spitzmueller [Wed, 17 Aug 2022 12:59:50 +0000 (14:59 +0200)]
Polish status bar statistics

22 months agoLoad ucs before utf8x inputenc with recent ucs versions
Juergen Spitzmueller [Tue, 16 Aug 2022 15:56:07 +0000 (17:56 +0200)]
Load ucs before utf8x inputenc with recent ucs versions

Otherwise inputenc falls back to utf8 option, which breaks documents

22 months agofix compiler warning
Juergen Spitzmueller [Tue, 16 Aug 2022 15:41:40 +0000 (17:41 +0200)]
fix compiler warning

22 months agode/UserGuide: another minor correction
Juergen Spitzmueller [Tue, 16 Aug 2022 10:28:13 +0000 (12:28 +0200)]
de/UserGuide: another minor correction

22 months agode/UserGuide: some minor corrections
Juergen Spitzmueller [Tue, 16 Aug 2022 10:25:55 +0000 (12:25 +0200)]
de/UserGuide: some minor corrections

22 months agode.po
Juergen Spitzmueller [Tue, 16 Aug 2022 09:55:04 +0000 (11:55 +0200)]
de.po

22 months agoImproved synctex support
Stephan Witt [Sat, 13 Aug 2022 12:20:03 +0000 (14:20 +0200)]
Improved synctex support

- Add check for converter with active synctex support to check for synchronized output for activate forward search.

22 months agoconfigure.py: sanitize restrictive policies of IM on some distributions.
Pavel Sanda [Thu, 11 Aug 2022 23:03:09 +0000 (01:03 +0200)]
configure.py: sanitize restrictive policies of IM on some distributions.

Some distros banned GS for Imagemigick conversions.
In effect eps->png conversion is broken and this can't
be fixed locally by the user.

Our workaround is to allow eps->pdf->png conversion from
different tools when IM bans the conversion.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217834.html

22 months agoImproved synctex support
Stephan Witt [Thu, 11 Aug 2022 20:45:51 +0000 (22:45 +0200)]
Improved synctex support

- Check the state of the synchronize TeX output option of the document to enable or disable the LFUN for forward-search.
- write synctex macro to TeX source not only for PdfLaTeX

22 months agoAdditional cursor position validation required to avoid an assertion in Text::selectWord
Stephan Witt [Thu, 11 Aug 2022 20:35:58 +0000 (22:35 +0200)]
Additional cursor position validation required to avoid an assertion in Text::selectWord

22 months agoFix shortcut
Pavel Sanda [Tue, 9 Aug 2022 22:03:20 +0000 (00:03 +0200)]
Fix shortcut

22 months ago* RELEASE-NOTES
Pavel Sanda [Tue, 9 Aug 2022 21:58:13 +0000 (23:58 +0200)]
* RELEASE-NOTES

22 months agoAdd document statistics to statusbar.
Pavel Sanda [Tue, 9 Aug 2022 21:48:55 +0000 (23:48 +0200)]
Add document statistics to statusbar.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217810.html

22 months agoUse localized length strings also in space label/tooltip
Juergen Spitzmueller [Tue, 9 Aug 2022 15:28:41 +0000 (17:28 +0200)]
Use localized length strings also in space label/tooltip

22 months agoMode [un]locLengthString() methods to support/qstring_helpers
Juergen Spitzmueller [Tue, 9 Aug 2022 15:27:53 +0000 (17:27 +0200)]
Mode [un]locLengthString() methods to support/qstring_helpers

22 months agoLocalize display of glue lengths in dialogs
Juergen Spitzmueller [Tue, 9 Aug 2022 07:44:12 +0000 (09:44 +0200)]
Localize display of glue lengths in dialogs

22 months agoRename function
Juergen Spitzmueller [Tue, 9 Aug 2022 07:31:46 +0000 (09:31 +0200)]
Rename function

22 months ago Update fr.po
jpc [Tue, 9 Aug 2022 06:46:54 +0000 (08:46 +0200)]
        Update fr.po

22 months agoAllow entering localized lengths with unit (#11852)
Juergen Spitzmueller [Mon, 8 Aug 2022 16:34:34 +0000 (18:34 +0200)]
Allow entering localized lengths with unit (#11852)

22 months agoAdd detection for available macOS applications and add check for Skim.app as alternat...
Stephan Witt [Mon, 8 Aug 2022 13:46:57 +0000 (15:46 +0200)]
Add detection for available macOS applications and add check for Skim.app as alternate PDF viewer.

22 months agoMake "open -a" implicit on macOS
Stephan Witt [Mon, 8 Aug 2022 08:36:46 +0000 (10:36 +0200)]
Make "open -a" implicit on macOS

Fix for bug #12570 - add simple check for app bundle name and prefix it with macOS open command if name matches

22 months agoUpdate sk.po
Kornel Benko [Mon, 8 Aug 2022 08:20:48 +0000 (10:20 +0200)]
Update sk.po

22 months agoInstall icon.aliases in images/ where it is searched
Juergen Spitzmueller [Mon, 8 Aug 2022 08:13:23 +0000 (10:13 +0200)]
Install icon.aliases in images/ where it is searched

22 months agode.po
Juergen Spitzmueller [Mon, 8 Aug 2022 07:55:07 +0000 (09:55 +0200)]
de.po

22 months agoAmend 9e645a5cfc9d6c3e66d
Juergen Spitzmueller [Mon, 8 Aug 2022 07:49:51 +0000 (09:49 +0200)]
Amend 9e645a5cfc9d6c3e66d

Only show "System Default" if auto-open is available for the current
format.

22 months ago"System Default" viewer/editor option
Daniel Ramoeller [Sun, 7 Aug 2022 15:57:39 +0000 (17:57 +0200)]
"System Default" viewer/editor option

Fix for bug #12571. More user friendly way to set the system default application aka "auto" option.

22 months agoUpdate sk.po
Kornel Benko [Sun, 7 Aug 2022 17:27:06 +0000 (19:27 +0200)]
Update sk.po

22 months ago Update fr.po
jpc [Sun, 7 Aug 2022 16:06:44 +0000 (18:06 +0200)]
    Update fr.po

22 months agode.po
Juergen Spitzmueller [Sun, 7 Aug 2022 14:47:18 +0000 (16:47 +0200)]
de.po

22 months agoGuiGraphic: delimit "Scale in LyX" (1--1000%)
Juergen Spitzmueller [Sun, 7 Aug 2022 14:40:12 +0000 (16:40 +0200)]
GuiGraphic: delimit "Scale in LyX" (1--1000%)

Larger values will eventually crash LyX (see #12353), 0 or negative
values make the image disappear in the workarea and impossible to edit.

22 months agoHandle LFUN_FONT_DEFAULT is InsetTabular::Dispatch (fixes #12566)
Juergen Spitzmueller [Sun, 7 Aug 2022 12:34:42 +0000 (14:34 +0200)]
Handle LFUN_FONT_DEFAULT is InsetTabular::Dispatch (fixes #12566)

22 months agoAmend 4ba989000c4
Juergen Spitzmueller [Sun, 7 Aug 2022 08:41:02 +0000 (10:41 +0200)]
Amend 4ba989000c4

If the lfun argument already has a Flex: prefix (which is equivalent),
do not append one

22 months agoFixup cd8338636395d (#12569)
Juergen Spitzmueller [Sat, 6 Aug 2022 17:00:36 +0000 (19:00 +0200)]
Fixup cd8338636395d (#12569)

22 months agoFix font tracking at fontswitch_insets
Juergen Spitzmueller [Sat, 6 Aug 2022 15:29:40 +0000 (17:29 +0200)]
Fix font tracking at fontswitch_insets

(hopefully)

23 months agoFix a typo in copied comment.
Stephan Witt [Sun, 31 Jul 2022 21:35:14 +0000 (23:35 +0200)]
Fix a typo in copied comment.

23 months agopyupgrade related fixes to python scripts #2.
Pavel Sanda [Sun, 31 Jul 2022 18:08:44 +0000 (20:08 +0200)]
pyupgrade related fixes to python scripts #2.

Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217790.html

23 months ago Info in French UserGuide
jpc [Sun, 31 Jul 2022 16:28:23 +0000 (18:28 +0200)]
    Info in French UserGuide

23 months agopyupgrade related fixes to python scripts #2.
Pavel Sanda [Sun, 31 Jul 2022 09:13:53 +0000 (11:13 +0200)]
pyupgrade related fixes to python scripts #2.

Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217777.html

23 months agoEnhanced build script to use c++17 with EnableCXXMode for Qt6
Stephan Witt [Sat, 30 Jul 2022 13:04:37 +0000 (15:04 +0200)]
Enhanced build script to use c++17 with EnableCXXMode for Qt6

23 months agoVarious python fixes suggested by pyupgrade.
Pavel Sanda [Sat, 30 Jul 2022 22:36:51 +0000 (00:36 +0200)]
Various python fixes suggested by pyupgrade.

Patch from Jose.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217770.html

23 months agoanother typo
Pavel Sanda [Sat, 30 Jul 2022 22:26:04 +0000 (00:26 +0200)]
another typo

23 months agowhitespace
Pavel Sanda [Sat, 30 Jul 2022 22:24:33 +0000 (00:24 +0200)]
whitespace

23 months agoDoxy for zoom args in ui-toggle lfun.
Pavel Sanda [Sat, 30 Jul 2022 22:23:09 +0000 (00:23 +0200)]
Doxy for zoom args in ui-toggle lfun.

23 months agoAmend 1dedd398: Adapt some tests to use unspecified unbind.
Kornel Benko [Wed, 27 Jul 2022 18:27:59 +0000 (20:27 +0200)]
Amend 1dedd398: Adapt some tests to use unspecified unbind.

23 months agoAllow to unbind without specifying the lfun
Jean-Marc Lasgouttes [Wed, 27 Jul 2022 09:52:50 +0000 (11:52 +0200)]
Allow to unbind without specifying the lfun

When unbinding a shortcut, it may happen that the exact definition of
the request is not known. A typical example it Tab, which is bound to
a complex command sequence.

In this case it is convenient to use the syntax
\unbind "Tab" "*"

To make this word, the special "*" value is translated to the
FuncRequest::unknown lfun and this value is considered specially in
several places.

23 months agoRemove unneeded code
Scott Kostyshak [Wed, 27 Jul 2022 11:26:19 +0000 (07:26 -0400)]
Remove unneeded code

This code was triggering the following warnings:

  src/mathed/InsetMathHull.cpp:234:15: error: variable 'counters_to_save' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
          const char * counters_to_save[] = {"section", "chapter"};
                       ^
  src/mathed/InsetMathHull.cpp:235:21: error: unused variable 'numcnts' [-Werror,-Wunused-const-variable]
          unsigned int const numcnts = sizeof(counters_to_save)/sizeof(char *);

The original code was put in at 645f9fdf (and the comment at 8a226ec4).

This commit amends a65e12d6.

23 months agoDo not redefine \jobname for previews
Jean-Marc Lasgouttes [Wed, 27 Jul 2022 10:37:13 +0000 (12:37 +0200)]
Do not redefine \jobname for previews

This reverts the fix for #9627, with the agreement of original reporter.

Fixes preview of citation insets.