diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-23 01:29:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-23 01:29:43 +0000 |
commit | 87f3396e4eb3efe45c2a0b03c68e74782052334a (patch) | |
tree | f213943c452d02a81aae89c1bd53cd955e26abef /Master/texmf-dist/doc/texlive/texlive-cz/texlive-cz.tex | |
parent | ab01fce02511e46bf396c8c3b518dca1246b5862 (diff) |
Make somewhat more modern HTML output for the TL Guide (Czech).
* live4ht.cfg (\Preamble): options now specified in htlatex invocation
instead of here.
(\ifhackliterals): remove everything related, apparently no longer needed.
* texlive-cz.tex (\classname, \classoptions): set according to \HCode
(so \Status from tex-live.sty will take effect), not worrying about
bulletin production.
(\hypersetup): remove bookmarks option, already given by tex4ht.
(\TeX, \LaTeX): for tex4ht, redefine as simple text to avoid ugly output.
(sec:tlmgr, sec:defaultexpansion): correct xref names.
(\cstlversion, \cstldate): update.
git-svn-id: svn://tug.org/texlive/trunk@54496 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/texlive/texlive-cz/texlive-cz.tex')
-rw-r--r-- | Master/texmf-dist/doc/texlive/texlive-cz/texlive-cz.tex | 64 |
1 files changed, 39 insertions, 25 deletions
diff --git a/Master/texmf-dist/doc/texlive/texlive-cz/texlive-cz.tex b/Master/texmf-dist/doc/texlive/texlive-cz/texlive-cz.tex index 6f0790c8417..c83f579b2d2 100644 --- a/Master/texmf-dist/doc/texlive/texlive-cz/texlive-cz.tex +++ b/Master/texmf-dist/doc/texlive/texlive-cz/texlive-cz.tex @@ -89,34 +89,44 @@ % \newcommand\thisyear{2020} \newcommand\lastyear{2019} -\newcommand\cstlversion{1.66} -\newcommand\cstldate{22.\ b\v rezna 2020} %\thisyear} +\newcommand\cstlversion{1.67} +\newcommand\cstldate{23.\ b\v rezna 2020} %\thisyear} % % macros for different version of document: % - in Zpravodaj CSTUG (with different layout) % - for generation of html version +% With the advent of using htlatex in 2020 (so we can get better HTML +% output), the \Status setting from tex-live.sty should be used. If ever +% reprinted again in Zpravodaj, have to redo ... +\ifx \HCode\UnDef + \def\classname{artikel1} % running (pdf)TeX + \def\classoptions{11pt} +\else + \def\classname{article} % running TeX4ht + \def\classoptions{11pt} +\fi % \newif\ifforbulletin \forbulletinfalse % relict from publishing tldoc as Zpravodaj issue -%\forbulletintrue -\ifforbulletin - \providecommand\Status{3} % version for CSTUG bulletin Zpravodaj - \else - \providecommand\Status{1} % 2 html alebo 1 pdf -\fi -\ifnum\Status=2 % e.g. html generation via tex4ht - \def\classname{article} % need different doc class for html - \def\classoptions{11pt} -\else - \ifnum\Status=3 % Zpravodaj - \def\classname{article} - \def\classoptions{twoside,a5paper} -% \pdfpaperwidth=147.5mm -% \pdfpaperheight=210mm - \else \def\classname{artikel1} - \def\classoptions{11pt} - \fi -\fi +%%\forbulletintrue +%\ifforbulletin +% \providecommand\Status{3} % version for CSTUG bulletin Zpravodaj +% \else +% \providecommand\Status{1} % 2 html alebo 1 pdf +%\fi +%\ifnum\Status=2 % e.g. html generation via tex4ht +% \def\classname{article} % need different doc class for html +% \def\classoptions{11pt} +%\else +% \ifnum\Status=3 % Zpravodaj +% \def\classname{article} +% \def\classoptions{twoside,a5paper} +%% \pdfpaperwidth=147.5mm +%% \pdfpaperheight=210mm +% \else \def\classname{artikel1} +% \def\classoptions{11pt} +% \fi +%\fi %\listfiles \documentclass[\classoptions,slovak,english,czech]{\classname} @@ -178,7 +188,6 @@ % pdfstartview={XYZ null null 1}, % pdfpagelayout=OneColumn, pdfdisplaydoctitle=true, - bookmarks=true, bookmarksopen=true, bookmarksopenlevel=5, bookmarksnumbered=true @@ -189,8 +198,13 @@ \begin{document} \ifnum\Status=2 % this ugliness is because the normal definition of ' for tex4ht - % tries to go into math mode. + % tries to go into math mode for Czech. Don't know why. \def'{\char`\'} + % And these are because the default html output for (La)TeX is a mess. + % In English they somehow become the desired simple "TeX" and "LaTeX", + % but not in Czech. Don't know why. Redefining here seems to suffice. + \def\TeX{TeX} + \def\LaTeX{LaTeX} \fi \selectlanguage{czech} @@ -364,7 +378,7 @@ je nejbezpečnější tip. %need be. Dalším aspektem zabezpečení je zajištění toho, že stažený materiál nebyl změněn z toho, jak byl vytvořen. Program \prog{tlmgr} -(sekce~\ref{sec: tlmgr}) automaticky provede kryptografické +(sekce~\ref{sec:tlmgr}) automaticky provede kryptografické ověření stahování, pokud je program \prog{gpg} (GNU Privacy Guard) k~dispozici. Není distribuován jako součást \TL, ale viz \url{https://texlive.info/tlgpg/} pro informace o \prog{gpg}, pokud @@ -2375,7 +2389,7 @@ TEXINPUTS =.:/my/macro/dir: Ak chcete zachovať udržiavateľnosť a prenosnosť nastavenia v priebehu rokov, použite koncové \samp{:} (\samp{;} v systéme Windows) na vloženie systémových ciest, namiesto toho, aby sa ich všetky snažili napísať explicitne (viď -oddiel~\ref{sec:default-expansion}). Ďalšou možnosťou je použitie +oddiel~\ref{sec:defaultexpansion}). Ďalšou možnosťou je použitie stromu \envname{TEXMFHOME} (viď oddiel~\ref{sec:directories}). \emph{Všetky} súbory |