Hallo Ulrike,
Ich habe jetzt den Perl Interpreter installiert. Da ich nicht
programmieren kann, hatte ich ihn bisher nicht gebraucht und konnte
deshalb mit der Fehlermeldung nicht viel anfangen...
>> Ich benutze die KOMA-Klasse scrreprt. Wo bekomme ich diese Patches her
>> bzw. wie binde ich diese dann ein?
>
> Da musst du mal auf der tex4ht mailing liste suchen. Ich habe nur
> nebenbei mitbekommen, dass es Probleme mit KOMA gibt/gab.
>
>
http://puszcza.gnu.org.ua/projects/tex4ht/
Nachdem ich jetzt alles kompilieren lasse, kommt erwartungsgem�� die
Fehlermeldung, die sich auf KOMA-Script bezieht:
"! Missing \endcsname inserted" usw.
Ich habe nun im Internet gegoogelt und auch zwei Patches f�r tex4ht
gefunden, einmal f�r KOMA-Script, einmal f�r die Anwendung von biblatex
(das ich ja auch f�r mein Dokument benutze). Allerdings verstehe ich
nicht genug vom Programmieren und Programmcodes, um zu verstehen, was
genau ich wie ver�ndern mu�.
Mu� ich diese Dateien in die Programmordner von tex4ht kopieren?
Oder mu� ich Textpassagen aus diesen Dateien kopieren und in die
originalen Dateien der tex4ht-Installation einf�gen/�berschreiben?
Im Anschlu� poste ich einmal den Text der beiden Patches in der
Hoffnung, da� mir jemand sagen kann, was genau ich damit machen soll.
Gru�,
Ray
+++++++++++++++++++++++++++++
Datei "komascr.patch"
+++++++++++++++++++++++++++++
Index: ChangeLog
===================================================================
--- ChangeLog (revision 128)
+++ ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2014-07-15 Karl Berry <
ka...@gnu.org>
+
+ * tex4ht-4ht.tex (scrbook.4ht, scrreprt.4ht, scrartcl.4ht): Update
+ KOMA-Script configurations to handle recent changes in the classes
+
https://puszcza.gnu.org.ua/bugs/?205
+
2014-07-14 Karl Berry <
ka...@gnu.org>
* Makefile (tex4ht_4ht_derived): add titlesec.4ht.
Index: Makefile
===================================================================
--- Makefile (revision 128)
+++ Makefile (working copy)
@@ -14,7 +14,9 @@
derived =
derived += $(tex4ht_4ht_derived)
-tex4ht_4ht_derived = book.4ht listings.4ht titlesec.4ht tocloft.4ht
+tex4ht_4ht_derived = \
+ book.4ht listings.4ht titlesec.4ht tocloft.4ht scrbook.4ht scrreprt.4ht \
+ scrartcl.4ht
# and many, many more.
derived += $(tex4ht_bibtex2_derived)
Index: tex4ht-4ht.tex
===================================================================
--- tex4ht-4ht.tex (revision 128)
+++ tex4ht-4ht.tex (working copy)
@@ -17235,10 +17235,11 @@
\expandafter\:temp\usepackage!*?:
\def\:tempa{\@latex@e@error}
\ifx \:temp\:tempa \else
+ \def\popthree#1#2#3#4{#4}
\def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}%
\long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks
{\expandafter\noexpand
- \csname o:\expandafter\:gobble\string #3:\endcsname}}}
+ \csname o:\expandafter\expandafter\:gobble\expandafter\string
\popthree#3:\endcsname}}}
\def\:temp#1{%
\expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}}
\:temp{rm}
@@ -17450,10 +17451,11 @@
\expandafter\:temp\usepackage!*?:
\def\:tempa{\@latex@e@error}
\ifx \:temp\:tempa \else
+ \def\popthree#1#2#3#4{#4}
\def\:tempa#1#2#3#4{\tmp:toks{#1{#2}}%
\long\expandafter\edef\csname #4 \endcsname{\the\tmp:toks
{\expandafter\noexpand
- \csname o:\expandafter\:gobble\string #3:\endcsname}}}
+ \csname o:\expandafter\expandafter\:gobble\expandafter\string
\popthree#3:\endcsname}}}
\def\:temp#1{%
\expandafter\expandafter\expandafter\:tempa\csname #1 \endcsname{#1}}
\:temp{rm}
+++++++++++++++++++++++++++++++++++++
Datei "biblatex.4ht"
+++++++++++++++++++++++++++++++++++++
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% biblatex.4ht 2009-08-15-23:22 %
% Copyright (C) 2007--2009 Eitan M. Gurari %
% %
% This work may be distributed and/or modified under the %
% conditions of the LaTeX Project Public License, either %
% version 1.3c of this license or (at your option) any %
% later version. The latest version of this license is %
% in %
%
http://www.latex-project.org/lppl.txt %
% and version 1.3c or later is part of all distributions %
% of LaTeX version 2005/12/01 or later. %
% %
% This work has the LPPL maintenance status "maintained".%
% %
% The Current Maintainer of this work %
% is the TeX4ht Project <
tex...@tug.org>. %
% %
% If you modify this program your changing its signature %
% with a directive of the following form will be %
% appreciated. %
% \message{signature} %
% %
%
tex...@tug.org %
%
http://www.tug.org/tex4ht %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\immediate\write-1{version 2009-08-15-23:22}
\ifx \blx@startbib\:UnDef
\pend:def\blx@shorthands{%
\pend:def\blx@bibinit{%
\HAssign\shorthands:cnt=0
\NewConfigure{printfield-shorthand}{2}%
\Configure{printfield-shorthand}
{\gHAdvance\shorthands:cnt by 1\relax
\ifnum \shorthands:cnt=1 \a:printshorthands
\else \c:printshorthands \fi
}
{\d:printshorthands}%
\append:def\endtheshorthands{\b:printshorthands}%
\csname a:@shorthands\endcsname
}}
\NewConfigure{printshorthands}{4}
\NewConfigure{@shorthands}[1]{\concat:config\a:@shorthands{#1}}
\let\a:@shorthands\empty
\def\nolinkurl{\o:url:}
\def\blx@checksum{\ifx \blx@checksum@old \blx@checksum@new \else
\blx@warning@noline {Page references have changed.\MessageBreak
Rerun to get references right}\@tempswatrue \blx@reruntrue \fi
\@nameuse {blx@rerun}}
\pend:def\blx@bibliography{%
\pend:def\blx@bibinit{%
\ConfigureList{thebibliography}
{\a:thebibliography}
{\b:thebibliography}
{\c:thebibliography}
{\d:thebibliography}%
\csname onthebibliography:list\endcsname
}%
% \pend:def\endthebibliography{%
% \if@newlist \global\@newlistfalse \fi
% }%
}
\protected\def\blx@finentry{%
\unspace
\a:finentry
\finentrypunct
\blx@postpunct
\b:finentry
\blx@initunit
}
\NewConfigure{finentry}{2}
\def\:tempc[#1]#2{%
\expandafter\ifx \csname a:printfield-#2\endcsname\relax
\NewConfigure{printfield-#2}{2}%
\a:printfield{printfield-#2}%
\fi
\Configure{blx@unit}
{\csname a:printfield-#2\endcsname}
{\csname b:printfield-#2\endcsname}%
\csname o:\string\blx@printfield:\endcsname[#1]{#2}%
}
\expandafter\HLet\csname\string\blx@printfield\endcsname\:tempc
\NewConfigure{printfield}[1]{\def\a:printfield##1{#1}}
\Configure{printfield}{%
\Configure{#1}%
{\HCode{<!--#1-->}}%
{\HCode{<!--/#1-->}}%
}
\def\:tempc[#1]#2{%
\expandafter\ifx \csname a:bibstring-#2\endcsname\relax
\NewConfigure{bibstring-#2}{2}%
\a:printfield{bibstring-#2}%
\fi
\Configure{blx@unit}
{\csname a:bibstring-#2\endcsname}
{\csname b:bibstring-#2\endcsname}%
\csname o:\string\blx@bibstring:\endcsname[#1]{#2}%
}
\expandafter\HLet\csname\string\blx@bibstring\endcsname\:tempc
\def\:tempc[#1]#2{%
\expandafter\ifx \csname a:bibcpstring-#2\endcsname\relax
\NewConfigure{bibcpstring-#2}{2}%
\a:printfield{bibcpstring-#2}%
\fi
\Configure{blx@unit}
{\csname a:bibcpstring-#2\endcsname}
{\csname b:bibcpstring-#2\endcsname}%
\csname o:\string\blx@bibcpstring:\endcsname[#1]{#2}%
}
\expandafter\HLet\csname\string\blx@bibcpstring\endcsname\:tempc
\def\:tempc[#1]#2{%
\expandafter\ifx \csname a:biblcstring-#2\endcsname\relax
\NewConfigure{biblcstring-#2}{2}%
\a:printfield{biblcstring-#2}%
\fi
\Configure{blx@unit}
{\csname a:biblcstring-#2\endcsname}
{\csname b:biblcstring-#2\endcsname}%
\csname o:\string\blx@biblcstring:\endcsname[#1]{#2}%
}
\expandafter\HLet\csname\string\blx@biblcstring\endcsname\:tempc
\def\:tempc[#1]#2{%
\expandafter\ifx \csname a:bibucstring-#2\endcsname\relax
\NewConfigure{bibucstring-#2}{2}%
\a:printfield{bibucstring-#2}%
\fi
\Configure{blx@unit}
{\csname a:bibucstring-#2\endcsname}
{\csname b:bibucstring-#2\endcsname}%
\csname o:\string\blx@bibucstring:\endcsname[#1]{#2}%
}
\expandafter\HLet\csname\string\blx@bibucstring\endcsname\:tempc
\NewConfigure{biblatex-style}[2]{
\def\:temp{#1}%
\ifx \:temp\blx@cbxfile
#2%
\global\let\biblatex:style\def
\fi
}
\pend:def\at:docend{%
\ifx \UnDef\biblatex:style
\:warning{\string\Configure{biblatex-style}{\blx@cbxfile}{...}
not available}%
\fi
}
\let\blx:item\@item
\def\@item[#1]{%
\blx:item[#1]%
\ifhmode \spacefactor\blx@sf@par\fi
}
\let\blx@resetpuncthook\@empty
\let\blx@csq@ifkernmark\@empty
\let\bib@field@entrykey\@empty
\def\blx@begunit{%
\toggletrue{blx@tempa}%
\iftoggle{blx@insert}%
{\iftoggle{blx@unit}%
{\begingroup
\let\blx@begunit\@empty
\let\blx@endunit\@empty
\blx@unitpunct\blx@postpunct
\endgroup
\global\togglefalse{blx@unit}%
\togglefalse{blx@tempa}}%
{\blx@postpunct}%
\iftoggle{blx@block}%
{\begingroup
\let\blx@begunit\@empty
\let\blx@endunit\@empty
\newblockpunct
\endgroup
\global\togglefalse{blx@block}%
\togglefalse{blx@tempa}}%
{}}
{}%
\blx@postpunct
\blx@resetpuncthook
\iftoggle{blx@tempa}%
{}%
{\global\togglefalse{blx@insert}}%
\csname a:blx@unit\endcsname
\blx@leavevmode
\blx@csq@ifkernmark
{}%
{\penalty\@M
\hskip-\blx@unitmark\relax
\hskip\blx@unitmark\relax}%
\begingroup
\Configure{blx@unit}{}{}%
}
\def\blx@endunit{%
\endgroup
\csname b:blx@unit\endcsname
\Configure{blx@unit}{}{}%
\ifdim\lastskip=\blx@unitmark
\unskip\unskip\unpenalty
\global\togglefalse{blx@lastins}%
\else
\global\toggletrue{blx@insert}%
\global\toggletrue{blx@lastins}%
\fi
}
\NewConfigure{blx@unit}{2}
\else
\fi
\NewConfigure{thebibliography}{4}
\append:def\blx@bibinit{\a:bibinit}
\NewConfigure{bibinit}{1}
\let\blx@anchors\@empty
\protected\def\blx@anchor{%
\xifinlist{X\the\c@refsection -%@
\bib@field@entrykey}{\blx@anchors}
{}
{\listxadd\blx@anchors{X\the\c@refsection -%@
\bib@field@entrykey}%
\hyper:natanchorstart{X\the\c@refsection -%@
\bib@field@entrykey}%
\hyper:natanchorend}}
\protected\def\blx@bibhyperref{%
\@ifnextchar[%]
{\blx@bibhyperref@i}%
{\blx@bibhyperref@i[\bib@field@entrykey]}}%
\long\def\blx@bibhyperref@i[#1]#2{%
\hyper:natlinkstart{X\the\c@refsection -%@
#1}%
#2\hyper:natlinkend}
\protected\long\def\blx@bibhyperlink#1#2{%
\hyper:natlinkstart{X\the\c@refsection --%:
#1}%
#2\hyper:natlinkend}
\protected\long\def\blx@bibhypertarget#1#2{%
\@bsphack
\hyper:natanchorstart{X\the\c@refsection --%:
#1}%
\@esphack
#2\hyper:natanchorend}
\let\blx@ifhyperref\@firstoftwo
\def\hyper:natanchorstart#1{\Link{}{#1}\EndLink}
\def\hyper:natanchorend{}
\def\hyper:natlinkstart#1{\Link{#1}{}}
\def\hyper:natlinkend{\EndLink}
\let\:temp\do
\def\do#1{%
\patchcmd#1%
{\color@begingroup}%
{\color@begingroup\toggletrue{blx@footnote}}%
{\togglefalse{blx@tempa}\listbreak}%
{}}%
\docsvlist{%
\@footnotetext,% latex
\H@@footnotetext,% hyperref
\scr@saved@footnotetext,% koma-script 3.x
\l@dold@footnotetext,% ledmac
\l@doldold@footnotetext,% ledmac
\@fntORI}% frenchle
\let\do\:temp
\Hinput{biblatex}
\endinput
++++++++++++++++++++++++++++++++