summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook4
-rw-r--r--Master/texmf-dist/doc/support/tex4ebook/changelog.tex34
-rw-r--r--Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdfbin72637 -> 72915 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/tex4ebook/tex4ebook4
-rw-r--r--Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty83
5 files changed, 95 insertions, 30 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook b/Build/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook
index 02906427453..b6ac969b50c 100755
--- a/Build/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook
+++ b/Build/source/texk/texlive/linked_scripts/tex4ebook/tex4ebook
@@ -54,7 +54,7 @@ else
end
if args.version then
- print "tex4ebook v0.2"
+ print "tex4ebook v0.2a"
return
end
@@ -158,7 +158,7 @@ for k,v in pairs(oldparams) do
params[k] = v
end
-params.tex4ht_sty_par=params.tex4ht_sty_par .. ",charset=utf-8,"..args.format
+params.tex4ht_sty_par=params.tex4ht_sty_par .. ",charset=utf-8,"..output_format
params.tex4ht_par= " -cmozhtf -utf8" .. params.tex4ht_par
diff --git a/Master/texmf-dist/doc/support/tex4ebook/changelog.tex b/Master/texmf-dist/doc/support/tex4ebook/changelog.tex
index a331c7b3db3..a7df4b691b6 100644
--- a/Master/texmf-dist/doc/support/tex4ebook/changelog.tex
+++ b/Master/texmf-dist/doc/support/tex4ebook/changelog.tex
@@ -3,6 +3,40 @@
\begin{itemize}
\item
+ 09/05/2018
+
+ \begin{itemize}
+ \tightlist
+ \item
+ added support for Polyglossia language codes
+ \item
+ released version \texttt{0.2a}
+ \end{itemize}
+\item
+ 03/05/2018
+
+ \begin{itemize}
+ \tightlist
+ \item
+ fixed output format handling
+ \end{itemize}
+\item
+ 16/04/2018
+
+ \begin{itemize}
+ \tightlist
+ \item
+ don't run Git if the Makefile is executed outside of Git repo
+ \end{itemize}
+\item
+ 09/04/2018
+
+ \begin{itemize}
+ \tightlist
+ \item
+ released version \texttt{0.2}
+ \end{itemize}
+\item
06/04/2018
\begin{itemize}
diff --git a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf
index bb0bcf3c14e..8942a088e64 100644
--- a/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf
+++ b/Master/texmf-dist/doc/support/tex4ebook/tex4ebook-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/scripts/tex4ebook/tex4ebook b/Master/texmf-dist/scripts/tex4ebook/tex4ebook
index 02906427453..b6ac969b50c 100755
--- a/Master/texmf-dist/scripts/tex4ebook/tex4ebook
+++ b/Master/texmf-dist/scripts/tex4ebook/tex4ebook
@@ -54,7 +54,7 @@ else
end
if args.version then
- print "tex4ebook v0.2"
+ print "tex4ebook v0.2a"
return
end
@@ -158,7 +158,7 @@ for k,v in pairs(oldparams) do
params[k] = v
end
-params.tex4ht_sty_par=params.tex4ht_sty_par .. ",charset=utf-8,"..args.format
+params.tex4ht_sty_par=params.tex4ht_sty_par .. ",charset=utf-8,"..output_format
params.tex4ht_par= " -cmozhtf -utf8" .. params.tex4ht_par
diff --git a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty
index 68740341cc3..c3726ee1671 100644
--- a/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty
+++ b/Master/texmf-dist/tex/latex/tex4ebook/tex4ebook.sty
@@ -21,64 +21,95 @@
\fi%
}
-\DeclareLanguage{english}{en-US}
-\DeclareLanguage{czech}{cs-CZ}
-\DeclareLanguage{french}{fr}
-\DeclareLanguage{polish}{pl-PL}
-\DeclareLanguage{german}{de}
+\DeclareLanguage{UKenglish}{en-GB}
+\DeclareLanguage{USenglish}{en-US}
+\DeclareLanguage{acadian}{fr}
+\DeclareLanguage{albanian}{sq}
+\DeclareLanguage{american}{en-US}
+\DeclareLanguage{amharic}{am}
+\DeclareLanguage{arabic}{ar}
+\DeclareLanguage{armenian}{hy}
+\DeclareLanguage{australian}{en-US}
+\DeclareLanguage{austrian}{de}
+\DeclareLanguage{basque}{eu}
+\DeclareLanguage{bengali}{bn}
+\DeclareLanguage{brazilian}{pt}
+\DeclareLanguage{brazil}{pt}
+\DeclareLanguage{breton}{br}
+\DeclareLanguage{british}{en-GB}
\DeclareLanguage{bulgarian}{bg}
+\DeclareLanguage{canadian}{en-US}
+\DeclareLanguage{canadien}{fr}
\DeclareLanguage{catalan}{ca}
\DeclareLanguage{croatian}{hr}
+\DeclareLanguage{czech}{cs-CZ}
\DeclareLanguage{danish}{da}
+\DeclareLanguage{divehi}{dv}
\DeclareLanguage{dutch}{nl}
-\DeclareLanguage{USenglish}{en-US}
-\DeclareLanguage{american}{en-US}
-\DeclareLanguage{UKenglish}{en-GB}
-\DeclareLanguage{british}{en-GB}
-\DeclareLanguage{canadian}{en-US}
-\DeclareLanguage{australian}{en-US}
-\DeclareLanguage{newzealand}{en-US}
+\DeclareLanguage{english}{en}
\DeclareLanguage{esperanto}{eo}
\DeclareLanguage{estonian}{et}
\DeclareLanguage{finnish}{f\/i}
\DeclareLanguage{francais}{fr}
-\DeclareLanguage{canadien}{fr}
-\DeclareLanguage{acadian}{fr}
+\DeclareLanguage{french}{fr}
\DeclareLanguage{galician}{gl}
-\DeclareLanguage{austrian}{de}
-\DeclareLanguage{german}{de}
\DeclareLanguage{germanb}{de}
-\DeclareLanguage{ngerman}{de}
-\DeclareLanguage{naustrian}{de}
+\DeclareLanguage{german}{de}
\DeclareLanguage{greek}{el}
-\DeclareLanguage{polutonikogreek}{el}
\DeclareLanguage{hebrew}{he}
-\DeclareLanguage{magyar}{hu}
+\DeclareLanguage{hindi}{hi}
\DeclareLanguage{hungarian}{hu}
\DeclareLanguage{icelandic}{is}
-\DeclareLanguage{interlingua}{ie}
+\DeclareLanguage{interlingua}{ia}
\DeclareLanguage{irish}{ga}
\DeclareLanguage{italian}{it}
+\DeclareLanguage{kannada}{kn}
+\DeclareLanguage{khmer}{km}
+\DeclareLanguage{korean}{ko}
+\DeclareLanguage{lao}{lo}
\DeclareLanguage{latin}{la}
+\DeclareLanguage{latvian}{lv}
+\DeclareLanguage{lithuanian}{lt}
\DeclareLanguage{lowersorbian}{dsb}
-\DeclareLanguage{samin}{se}
+\DeclareLanguage{magyar}{hu}
+\DeclareLanguage{malayalam}{ml}
+\DeclareLanguage{marathi}{mr}
+\DeclareLanguage{naustrian}{de}
+\DeclareLanguage{newzealand}{en}
+\DeclareLanguage{ngerman}{de}
\DeclareLanguage{norsk}{no}
+\DeclareLanguage{norwegiannynorsk}{nn}
\DeclareLanguage{nynorsk}{no}
+\DeclareLanguage{occitan}{oc}
+\DeclareLanguage{oldchurchslavonic}{cu}
+\DeclareLanguage{persian}{fa}
+\DeclareLanguage{polish}{pl-PL}
+\DeclareLanguage{polutonikogreek}{el}
\DeclareLanguage{portuges}{pt}
\DeclareLanguage{portuguese}{pt}
-\DeclareLanguage{brazilian}{pt}
-\DeclareLanguage{brazil}{pt}
\DeclareLanguage{romanian}{ro}
+\DeclareLanguage{romansh}{rm}
\DeclareLanguage{russian}{ru}
+\DeclareLanguage{samin}{se}
+\DeclareLanguage{sanskrit}{sa}
\DeclareLanguage{scottish}{gd}
-\DeclareLanguage{spanish}{es}
+\DeclareLanguage{serbian}{sr}
+\DeclareLanguage{serbo-croatian}{sh}
\DeclareLanguage{slovak}{sk}
\DeclareLanguage{slovene}{sl}
+\DeclareLanguage{slovenian}{sl}
+\DeclareLanguage{spanish}{es}
\DeclareLanguage{swedish}{sv}
-\DeclareLanguage{serbian}{sr}
+\DeclareLanguage{tamil}{ta}
+\DeclareLanguage{telugu}{te}
+\DeclareLanguage{thai}{th}
+\DeclareLanguage{tibetan}{bo}
\DeclareLanguage{turkish}{tr}
+\DeclareLanguage{turkmen}{tk}
\DeclareLanguage{ukrainian}{uk}
\DeclareLanguage{uppersorbian}{hsb}
+\DeclareLanguage{urdu}{ur}
+\DeclareLanguage{vietnamese}{vi}
\DeclareLanguage{welsh}{cy}
\AtEndDocument{%