[tex4ht-commits] [SCM] tex4ht updated: r1470 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Thu Feb 22 17:19:42 CET 2024


Author: michal_h21
Date: 2024-02-22 16:19:42 +0000 (Thu, 22 Feb 2024)
New Revision: 1470

Modified:
   trunk/lit/tex4ht-jats.tex
Log:
more fixes for biblatex in jats

Modified: trunk/lit/tex4ht-jats.tex
===================================================================
--- trunk/lit/tex4ht-jats.tex	2024-02-22 15:53:15 UTC (rev 1469)
+++ trunk/lit/tex4ht-jats.tex	2024-02-22 16:19:42 UTC (rev 1470)
@@ -861,7 +861,7 @@
  \def\bibConfigure{%
   \ConfigureList{thebibliography}
   {\ifvmode \IgnorePar \fi \EndP \EndP
-    \HCode{<ref-list>}%
+    \HCode{<ref-list>}\HtmlParOff%
    \immediate\write\@auxout{%
      \string\providecommand\string\BibFileName[2][]{}
    }%
@@ -870,12 +870,13 @@
     \PushMacro \end:itm \global \let \end:itm =\empty}%
   {\ifvmode \IgnorePar \fi \EndP
     \PopMacro \end:itm \global \let \end:itm \end:itm \EndP
-    \HCode {</mixed-citation></ref></ref-list>}\ShowPar}%
+    \HCode {</mixed-citation></ref></ref-list>}\HtmlParOn\ShowPar}%
   {\ifvmode \IgnorePar \fi \EndP \gHAdvance \bibN by 1
     \end:itm \global \def \end:itm {\EndP \HCode{</mixed-citation></ref>}}%
-    \HCode {<ref id="X\therefsection-\abx at field@entrykey"><label>}}%
+    \Tag{X\therefsection-\abx at field@entrykey}{bibitem-\bibN}
+    \HCode {<ref id="bibitem-\bibN"><label>}}%
   {\ifvmode \IgnorePar \fi \EndP
-    \HCode {</label><mixed-citation id="bib-\bibN">}}%
+    \HCode {</label><mixed-citation publication-type="\thefield{entrytype}"  id="bib-\bibN">}}%
 }
 >>>
 
@@ -891,7 +892,7 @@
 \DeclareFieldFormat[incollection]{title}{\HCode{<part-title>}#1\HCode{</part-title>}}
 \DeclareFieldFormat[inbook]{title}{\HCode{<part-title>}#1\HCode{</part-title>}}
 \DeclareFieldFormat{year}{\HCode{<year>}#1\HCode{</year>}}
-\DeclareFieldFormat{date}{\HCode{<year>}#1\HCode{</year>}}
+\DeclareFieldFormat{date}{\HCode{<date-in-citation content-type="published">}#1\HCode{</date-in-citation>}} 
 \DeclareFieldFormat{pages}{\HCode{<page-range>}#1\HCode{</page-range>}}
 \DeclareListFormat{publisher}{\usebibmacro{list:delim}{#1}\HCode{<publisher-name>}#1\HCode{</publisher-name>}\isdot\usebibmacro{list:andothers}}
 \DeclareListFormat{location}{\usebibmacro{list:delim}{#1}\HCode{<publisher-loc>}#1\HCode{</publisher-loc>}\isdot\usebibmacro{list:andothers}}



More information about the tex4ht-commits mailing list.