]> git.lyx.org Git - lyx.git/blob - lib/chkconfig.ltx
Sync with master
[lyx.git] / lib / chkconfig.ltx
1 % This is chkconfig.ltx, a script which tries to autodetect and
2 %    document your LaTeX configuration.
3 % Author: Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
4 % with minimal changes by Asger Alstrup (alstrup@diku.dk).
5 %
6 % This script should only be run from the configure script to update
7 % the files textclass.lst and doc/LaTeXConfig.lyx
8 %
9 % This script is in fact a complete rewrite of the original chkconfig
10 % script. Expect bugs.
11
12 %%% If you want to add new packages/document classes to be recognized,
13 %%% read the explanation that follow and jump to the section 'Actual
14 %%% inspection code' below. You do not need to understand the ugly
15 %%% LaTeX code below to help improving chkconfig.ltx :-)
16 %%%
17 %%% If you want to add the new package <name>, all you need most of
18 %%% the times is a two-steps work:
19 %%% 1- Add the command \TestPackage{<name>}. The syntax is:
20 %%%    \TestPackage[<file>]{<name>}, which  tests whether <name>.sty
21 %%%    (or <file>, if this optional parameter is provided) exists.
22 %%% 2- Add a description for <name> in doc/LaTeXConfig.lyx,
23 %%%    containing in particular a line like
24 %%%         Found: [InsetInfo]
25 %%%    where [InsetInfo] is obtained by entering in the minibuffer (Alt+X)
26 %%%    info-insert package <name>
27 %%%    This inset will automatically display a boxed "yes" or "no"
28 %%%    depending on the availability of the package.
29 %%%
30 %%% Since \TestPackage does not find font metric (tfm) files, there's an
31 %%% additional test \TestFont[<file>]{<name>} for this purpose.
32 %%%
33 %%% For document classes, things are even simpler, since you do not
34 %%% need to edit this file. Just put your layout file in some place
35 %%% where LyX can find it and add if you wish a description in
36 %%% LaTeXConfig.lyx, as described above but using
37 %%% "info-insert textclass <name>" instead of "info-insert package <name>".
38
39 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
40 %%%%%%%%%%%%%%%%%%%%%%% Initialization part (skip) %%%%%%%%%%%%%%%%%%%%%
41 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
42
43 % we do not want to stop on errors
44 \nonstopmode\makeatletter
45
46 %%% Some useful macros.
47 %   Several commands are defined to test for packages:
48 %    \AddLayout{<layout>} adds an entry for <layout> in textclass.lst
49 %    \AddVariable{<name>}{<value>} creates a new variable chk_<name>,
50 %      and gives it the value <value>.
51 %    \TestDocClass{<name>}{<command>} if layout <name> has not already
52 %      been tested for, execute <command>. Note that you will
53 %      probably not need to use this directly, since the configure
54 %      script generates the needed macro calls automatically.
55 %    \TestPackage[<file>]{<name>} tests whether <name>.sty (or <file>,
56 %      if it is provided) exists.
57 %    \TestFont[<file>]{<name>} test whether <name>.tfm (or <file>.tfm,
58 %      if provided) exists.
59 %   These three commands call \AddVariable to give value 'yes' or 'no' to
60 %   the variable chk_<name>.
61 %%%
62
63 \newcommand{\prefix}{+} % the character used by grep to filter 'good' output
64
65 \newcommand{\AddLayout}[5][\default]{
66   \def\default{#2}
67   \@ifundefined{category@#2}{%
68        \immediate\write\layouts{"#2"   "#1"   "#3"   "#4"   "#5"   ""}%
69    }{%
70        \immediate\write\layouts{"#2"   "#1"   "#3"   "#4"   "#5"   "\@nameuse{category@#2}"}%
71    }
72 }
73        
74
75 \newcommand{\AddVariable}[2]{
76   \immediate\write\vars{chk_#1='#2'}}
77
78 \newcommand{\AddPackage}[1]{
79   \immediate\write\packages{#1}}
80
81 % Tests whether an item is present
82 % Syntax: \TestItem[<file>]{<name>}{<type>}{<ext>}{<iftrue>}{<iffalse>}
83 \newif\ifexists
84
85 \newcommand{\TestItem}[6][\default]{
86   \def\default{#2}
87   \def\files{#1}
88   \message{^^J\prefix checking for #3 #2 [#1]...}
89   \let\firstelement\relax
90   \let\missingelements\empty
91   \existstrue
92   \@for\file:=\files\do{
93     \ifx\firstelement\relax
94        \edef\firstelement{\file}
95     \fi
96     \@expandtwoargs\in@{.}{\file}
97     \ifin@
98       \def\myfile{\file}
99     \else
100       \def\myfile{\file.#4}
101     \fi
102     \IfFileExists{\myfile}
103       {}
104       {
105         \existsfalse
106         \ifx\missingelements\empty
107           \edef\missingelements{\myfile}
108         \else
109           \edef\missingelements{\missingelements,\myfile}
110         \fi
111       }
112   }
113   \ifexists
114     \message{yes^^J}
115     \AddVariable{#2}{yes}
116     #5
117   \else
118     \message{no^^J}
119     \AddVariable{#2}{no}
120     #6
121   \fi}
122
123 % Tests whether an package is present in a specific version (or newer)
124 % Syntax: \TestPackageVersion{<name>}{<yyyy/mm/dd>}
125
126 \newcommand{\TestPackageVersion}[2]{
127    % The actual test only works if the package has been loaded before
128    \IfFileExists{#1.sty}{\RequirePackage{#1}}{}
129    \@TestPackageVersion{#1}{#2}
130 }
131
132 \newcommand{\@TestPackageVersion}[2]{
133   \message{^^J\prefix checking for package #1 at least as of #2...}
134   \IfFileExists{#1.sty}
135   {
136     \@ifpackagelater{#1}{#2}{\existstrue}{\existsfalse}
137   }
138   {
139     \existsfalse
140   }
141   \ifexists
142     \message{yes^^J}
143     \AddVariable{#1}{yes}
144     \AddPackage{#1-#2}
145   \else
146     \message{no^^J}
147     \AddVariable{#1}{no}
148   \fi}
149
150
151 % Test for the LaTeX version
152 \newcommand{\TestLaTeXVersion}[1]{
153   \message{^^J\prefix checking for LaTeX version at least as of #1...}
154   \@ifl@t@r\fmtversion{#1}{\existstrue}{\existsfalse}
155   \ifexists
156     \message{yes^^J}
157     \AddVariable{#1}{yes}
158     \AddPackage{LaTeX-#1}
159   \else
160     \message{no^^J}
161     \AddVariable{#1}{no}
162   \fi}
163
164
165 % Adapted from ltxcheck.tex
166 \newcommand{\TestFont}[2][\default]{
167   \def\default{#2}
168   \batchmode
169   \font\test=#1\relax
170   \nonstopmode
171   \message{^^J\prefix checking for font #2 [#1]...}
172   \ifx\test\nullfont
173     \message{no^^J}
174     \AddVariable{#2}{no}
175     \@tempswatrue
176   \else
177     \message{yes^^J}
178     \AddVariable{#2}{yes}
179     \AddPackage{#2}
180   \fi}
181
182 \newcommand{\TestPackage}[2][\default]{
183   \TestItem[#1]{#2}{package}{sty}{\AddPackage{#2}}{}}
184
185 \newcommand{\TestDocClass}[2]{
186    \def\layoutname{#1}  % remember the name of the layout file
187    \@ifundefined{layout@#1}
188      {#2  % execute the command
189       \global\@namedef{layout@#1}{}}
190      {} % we have already tried this one.
191 }
192
193 \newcommand{\DeclareLaTeXClass}[2][\default]{
194   \TestItem[#1]{\layoutname}{document class}{cls}
195            {\AddLayout[\firstelement]{\layoutname}{#2}{true}{\missingelements}}
196            {\AddLayout[\firstelement]{\layoutname}{#2}{false}{\missingelements}}
197 }
198
199 \newcommand{\DeclareCategory}[2]{
200    \@ifundefined{category@#1}
201      {\global\@namedef{category@#1}{#2}}%
202      {}% we have already defined this one.
203 }
204
205 % Stolen from article.cls
206 \newcommand{\today}{\ifcase\month\or
207   January\or February\or March\or April\or May\or June\or
208   July\or August\or September\or October\or November\or December\fi
209   \space\number\day, \number\year}
210
211 % Initializes the files
212 \typeout{\prefix Inspecting your LaTeX configuration.}
213 \newwrite{\layouts} \immediate\openout \layouts = textclass.lst.tmp
214 \newwrite{\vars} \immediate\openout \vars = chkconfig.vars
215 \newwrite{\packages} \immediate\openout \packages = packages.lst.tmp
216
217 \immediate\write\layouts{%
218 # This file declares layouts and their associated definition files.^^J%
219 # It has been automatically generated by configure^^J%
220 # Use "Tools/Reconfigure" if you need to update it after a^^J%
221 # configuration change. Run ./configure manually to update the^^J%
222 # system wide version of this file.}
223
224 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
225 %%%%% ACTUAL CONFIGURATION INSPECTION CODE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
226 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
227
228 %%% Add any new package or document class here.
229
230 %%% First, we want the day on which the test has been run.
231 \AddVariable{date}{\today}
232
233 %%% Then, the version of LaTeX we are using
234 \message{^^J\prefix checking for LaTeX version... \fmtversion}
235 \AddVariable{fmtversion}{\fmtversion}
236
237 %%% Crucial versions
238 % This one introduces \textsubscript
239 \TestLaTeXVersion{2005/12/01}
240 % This one introduces path encoding changes
241 \TestLaTeXVersion{2019/10/01}
242 % This introduces all math and text spaces
243 % previously only available via amsmath
244 \TestLaTeXVersion{2020/10/01}
245 % This robustifies LaTeX commands
246 \TestLaTeXVersion{2021/06/01}
247 % Introduction of \\DocumentMetadata
248 \TestLaTeXVersion{2022/06/01}
249
250 %%% And now, the list of available languages
251 % The trick is to know that \the\everyjob contains something like
252 %  \typeout{LaTeX2e <2001/06/01>}
253 %  \typeout{Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, nohyphenation, loaded.}
254 % All we have to do is to extract the list from there:
255 % (1) concatenate all the messages that are displayed everytime the
256 % format is loaded. The is done by redefining locally \typeout to
257 % append its argument to the macro \mesg.
258 \def\mesg{}
259 {\def\typeout#1{\xdef\mesg{\mesg #1}}
260  \the\everyjob}
261
262 % (2) strip the useless parts from \mesg. This uses the fact that TeX
263 % allows to define macros with parameters delimited by arbitrary text.
264 \def\platexname{pLaTeX2e}
265 \ifx\pfmtname\platexname
266   \def\langs{japanese}
267 \else
268   \def\strip#1patterns for #2, loaded.#3\endmark{\def\langs{#2}}
269   \expandafter\strip\mesg\endmark
270 \fi
271
272 % (3) handle the result
273 % FIXME: As of 2016, babel does not print out the loaded hyphenation patterns to
274 %        the log anymore, so this discontinues to work. For possible workarounds
275 %        (with babel), see https://tex.stackexchange.com/questions/330085/
276 %        Leaving this activated for the time being, since it probably still
277 %        works with older distributions.
278 \message{^^J\prefix checking for available hyphenation patterns... \langs}
279 \AddVariable{languages}{\langs}
280
281 %%% Check for ec fonts. Most of this code has been shamelessely stolen
282 %%% from the file ltxcheck.tex in the LaTeX distribution. In particular,
283 %%% don't ask me how the macro \ecrm works...
284 \def\ecrm{%
285   \begingroup
286     \escapechar-1
287     \xdef\reserved@a{%
288       \noexpand\in@
289         {\expandafter\string\csname ecrm\endcsname}%
290         {\expandafter\expandafter\expandafter
291            \string\csname T1/cmr/m/n\endcsname}}%
292   \endgroup
293   \reserved@a}
294
295 \message{^^J\prefix checking for default encoding (this may take a long time)^^J}
296 \font\test=ecrm1000\relax
297
298 \ifx\test\nullfont
299   \message{^^J\prefix\prefix checking for ec fonts... no^^J}
300   \AddVariable{ec}{no}
301   \AddVariable{fontenc}{default}
302 \else
303   \message{^^J\prefix\space\space checking for ec fonts... yes^^J}
304   \message{^^J\prefix\space\space checking for ec support in LaTeX format...}
305   \ecrm
306   \ifin@
307     \message{yes^^J}
308     \AddPackage{ec}
309     \AddVariable{fontenc}{T1}
310     \message{^^J\prefix\space\space default encoding will be set to T1^^J}
311   \else
312     \message{no^^J}
313     \AddVariable{fontenc}{default}
314   \fi
315 \fi
316
317
318 %%% Packages
319 \TestPackage{a0poster}
320 \TestPackage{accents}
321 \TestPackage{achicago}
322 \TestPackage{afterpage}
323 \TestPackage{algorithm}
324 \TestPackage{algorithm2e}
325 \TestPackage{amsmath}
326 \TestPackage{amstext}
327 \TestPackage{apacite}
328 \TestPackage{apalike}
329 \TestPackage[arabic.ldf]{arabi}
330 \TestPackage{array}
331 \TestPackage{astron}
332 \TestPackage{authordate1-4}
333 \TestPackage{babel}
334 \TestPackage{beamerposter}
335 \TestPackage{biblatex}
336 \TestPackage{biblatex-chicago}
337 \TestPackage{bibtopic}
338 \TestPackage{bicaption}
339 \TestPackage{bidi}
340 \TestPackage{bm}
341 \TestPackage{booktabs}
342 \TestPackage{braille}
343 \TestPackage{breakurl}
344 \TestPackage{CJK}
345 \TestPackage{calc}
346 \TestPackage{cancel}
347 \TestPackage{changebar}
348 \TestPackage{chapterbib}
349 \TestPackage{chemgreek}
350 \TestPackage{chessboard}
351 \TestPackage{chessfss}
352 \TestPackage{chicago}
353 \TestPackage{color} % this one should be there if graphics.sty is there.
354 \TestPackage{covington}
355 \TestPackage{cprotect}
356 \TestPackage{csquotes}
357 \TestPackage{drs}
358 \TestPackage[koi8-r.def]{cyrillic}
359 \TestPackage{endnotes}
360 \TestPackage{enotez}
361 \TestPackage{enumitem}
362 \TestPackage{environ} % required by tcolorbox
363 \TestPackage{esint}
364 \TestPackage{eso-pic}
365 \TestPackage{fancybox}
366 \TestPackage{fancyhdr}
367 \TestPackage{filehook}
368 \TestPackage{fixltx2e}
369 \TestPackage{fix-cm}
370 \TestPackage{float}
371 \TestPackage{fontspec}
372 \TestPackage{footmisc}
373 \TestPackage{footnote}
374 \TestPackage{footnotehyper}
375 \TestPackage{forest}
376 \TestPackage{framed}
377 \TestPackage{geometry}
378 \TestPackage{graphicx}
379 \TestPackage[iso-8859-7.def]{greek-inputenc}
380 \TestPackage{harvard}
381 \TestPackage{hhline}
382 \TestPackage{hyperref}
383 \TestPackage{hyphenat}
384 \TestPackage{iftex}
385 \TestPackage{ifthen}
386 \TestPackage[japanese.ldf]{japanese}
387 \TestPackage{jurabib}
388 \TestPackage{l3experimental} % required by various packages
389 \TestPackage{l3kernel} % required by various packages
390 \TestPackage{l3packages} % required by various packages
391 \TestPackage{latex8}
392 \TestPackage{lettrine}
393 \TestPackage{listings}
394 \TestPackage[lithuanian.ldf]{lithuanian}
395 \TestPackage{longtable}
396 \TestPackage{lscape}
397 \TestPackage{luainputenc}
398 \TestPackage{mathdots}
399 \TestPackage{mathrsfs}
400 \TestPackage{mathtools}
401 \TestPackage{mhchem}
402 \TestPackage[mongolian.ldf]{mongolian}
403 \TestPackage{mslapa}
404 \TestPackage{multirow}
405 \TestPackage{named}
406 \TestPackage{natbib}
407 \TestPackage{nicefrac}
408 \TestPackage{nomencl}
409 \TestPackage{paralist}
410 \TestPackage{parskip}
411 \TestPackage{pdfcolmk}
412 \TestPackage{pdflscape}
413 \TestPackage{polyglossia}
414 \TestPackage{pdfcomment}
415 \TestPackage{pdfpages}
416 \TestPackage{pgf} % required by tcolorbox
417 \TestPackage{pict2e}
418 \TestPackage{prettyref}
419 \TestPackage{preview}
420 \TestPackage{refstyle}
421 \TestPackage{rotating}
422 \TestPackage{rotfloat}
423 \TestPackage{sciposter}
424 \TestPackage{sectionbox}
425 \TestPackage[serbianc.ldf]{serbianc}
426 \TestPackage{setspace}
427 \TestPackage{slashed}
428 \TestPackage{soul}
429 \TestPackage{splitidx}
430 \TestPackage{stackrel}
431 \TestPackage{stmaryrd}
432 \TestPackage{subfig}
433 \TestPackage{subscript}
434 \TestPackage{Sweave}
435 \TestPackage{tablefootnote}
436 \TestPackage{tabularx}
437 \TestPackage{tcolorbox}
438 \TestPackage{textcomp}
439 \TestPackage{thswitch}
440 \TestPackage{tikz}
441 \TestPackage[turkmen.ldf]{turkmen}
442 \TestPackage{ulem}
443 \TestPackage{undertilde}
444 \TestPackage{unicode-math}
445 \TestPackage{units}
446 \TestPackage{url}
447 \TestPackage{varioref}
448 \TestPackage{varwidth}
449 \TestPackage{wallpaper}
450 \TestPackage{wrapfig}
451 \TestPackage{xargs}
452 \TestPackage{xcolor}
453 \TestPackage[xetex.def]{xetex-def}
454 \TestPackage{xkeyval}
455 \TestPackage{xltabular}
456 \TestPackage{xskak} % required by chessboard
457
458 % Packages used by LyX's documentation files
459 \TestPackage{arydshln}
460 \TestPackage{braket}
461 \TestPackage{cancel}
462 \TestPackage{caption}
463 \TestPackage{colortbl}
464 \TestPackage{diagbox}
465 \TestPackage{etoolbox} % required by polyglossia and tcolorbox
466 \TestPackage{eurosym}
467 \TestPackage{fp}
468 \TestPackage{makecmds} % required by polyglossia
469 \TestPackage{marginnote}
470 \TestPackage{picinpar}
471 \TestPackage{pict2e}
472 \TestPackage{sidecap}
473 \TestPackage{upgreek}
474
475 % psnfss is in fact the name of a set of style files, among which
476 % times.sty. If times.sty is here, we will assume that everything is fine.
477 \TestPackage[times.sty]{psnfss}
478 % test the following fonts in case they are not in all versions of psnfss
479 \TestPackage{avant}
480 \TestPackage{bookman}
481 \TestPackage{chancery}
482 \TestPackage{charter}
483 \TestPackage{cochineal}
484 \TestPackage{courier}
485 \TestPackage{crimson}
486 \TestPackage{CrimsonPro}
487 \TestPackage{helvet}
488 \TestPackage{mathpazo}
489 \TestPackage{mathpple}
490 \TestPackage{mathptm}
491 \TestPackage{mathptmx}
492 \TestPackage{newcent}
493 \TestPackage{pifont}
494 \TestPackage{utopia}
495 % Other font packages
496 \TestPackage{ae}
497 \TestPackage{bera}
498 \TestPackage{biolinum}
499 \TestPackage{biolinum-type1}
500 %\TestFont[glic1000]{cbgreek}% for Greek % suported by LyX but too large to force downloading
501 \TestPackage{cantarell}
502 \TestPackage{ccfonts}
503 \TestPackage{Chivo}
504 \TestFont[ccr10]{concrete} % required by ccfonts
505 \TestFont[eorm10]{ecc} % required by ccfonts
506 \TestPackage[ot1ccr.fd]{concmath} % required by ccfonts
507 \TestPackage{cmbright}
508 \TestPackage{DejaVuSans}
509 \TestPackage{DejaVuSansCondensed}
510 \TestPackage{DejaVuSansMono}
511 \TestPackage{DejaVuSerif}
512 \TestPackage{DejaVuSerifCondensed}
513 \TestPackage{eco}
514 \TestPackage{eulervm}
515 \TestPackage{feyn}
516 \TestPackage{fourier}
517 \TestPackage{FiraMono}
518 \TestPackage{FiraSans}
519 \TestPackage{garamondx}
520 \TestPackage{plex-serif}
521 \TestPackage{plex-sans}
522 \TestPackage{plex-mono}
523 \TestPackage{sourceserifpro}
524 \TestPackage{sourcesanspro}
525 \TestPackage{sourcecodepro}
526 \TestFont[zgmr8r]{garamondx-fonts}
527 \TestPackage{iwona}
528 \TestPackage{kurier}
529 \TestPackage{lh-lcy}
530 \TestPackage{fontaxes} % required by libertine
531 \TestPackage{libertine}
532 \TestPackage{libertine-type1}
533 \TestPackage{libertineMono-type1}
534 \TestPackage{libertineMono}
535 \TestPackage{libertineRoman}
536 \TestPackage{libertinus}
537 \TestPackage{libertinust1math}
538 \TestPackage{lmodern}
539 \TestPackage{luximono}
540 \TestPackage{mathdesign}% for Roman fonts
541 \TestPackage{mdbch}
542 \TestPackage{mdput}
543 \TestPackage{mdugm}
544 \TestPackage{menukeys}
545 \TestPackage{MinionPro}
546 \TestFont[rzmnr]{minion2newtx}
547 \TestPackage{newtxmath}
548 \TestPackage[binhex.tex]{binhex} % required by newtxmath
549 \TestPackage{noto}
550 \TestPackage{noto-serif}
551 \TestPackage{noto-sans}
552 \TestPackage{noto-mono}
553 \TestPackage{paratype}
554 \TestFont[psyr]{symbol}
555 \TestPackage{tgadventor}
556 \TestPackage{tgbonum}
557 \TestPackage{tgchorus}
558 \TestPackage{tgcursor}
559 \TestPackage{tgheros}
560 \TestPackage{tgpagella}
561 \TestPackage{tgschola}
562 \TestPackage{tgtermes}
563 \TestFont[ugmr8r]{ugm}
564 \TestFont[uopr8r]{urwclassico}
565 \TestPackage{tipa}
566 \TestPackage{tipx}
567 \TestPackage{tone}
568 \TestPackage{txfonts}% For the txtt monospaced font
569 \TestPackage{XCharter}
570 % symbol packages supported by LyX for items and the special character dialog
571 % see the unicodesymbols file
572 \TestPackage{ascii}
573 \TestPackage{bbding}
574 \TestPackage{ifsym}
575 \TestPackage{marvosym}
576 \TestPackage{pmboxdraw}
577 \TestPackage{textgreek}
578 \TestPackage{tfrupee}
579 \TestFont[wasy10]{wasy}
580 \TestPackage{wasysym}
581 % These packages are disabled in the unicodesymbols file
582 % see comment there
583 %\TestPackage{txfonts}% But see above!
584 %\TestPackage{pxfonts}
585 %\TestPackage{mathabx}
586 %\TestPackage{mathdesign}% But see above!
587
588 %%% Specific package versions
589 % This introduces \babelfonts
590 \TestPackageVersion{babel}{2017/11/03}
591 % This introduces multiple paragraphs in multirows
592 \TestPackageVersion{multirow}{2021/01/29}
593 % With this version, hyperref option unicode is true
594 % by default
595 \TestPackageVersion{hyperref}{2021/02/04}
596 % As of this version, the ucs package must be explicitly
597 % loaded to get utf8x (rather than utf8) encoding tables
598 \TestPackageVersion{ucs}{2022/08/07}
599
600 %%% Document classes
601 % The list of layout files has been put in this file here by the
602 % configure script.
603 \input{chklayouts}
604 \input{chkmodules}
605 \input{chkciteengines}
606
607 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
608 %%%%% END ACTUAL CONFIGURATION INSPECTION CODE %%%%%%%%%%%%%%%%%%%%%%%%%%%%
609 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
610
611 % End of the LaTeX job
612 \immediate\closeout\layouts
613 \immediate\closeout\vars
614 \immediate\closeout\packages
615 \typeout{\prefix Inspection done.}
616 \typeout{\prefix Read the file doc/LaTeXConfig.lyx for more information.}
617
618 % Get the real \end command, that has been hidden by LaTeX
619 \@@end