[tex4ht-commits] [SCM] tex4ht updated: r234 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Tue Jan 24 11:40:06 CET 2017
Author: michal_h21
Date: 2017-01-24 12:40:06 +0200 (Tue, 24 Jan 2017)
New Revision: 234
Modified:
trunk/lit/ChangeLog
trunk/lit/Makefile
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
Added support for basic Latin diacritics in vanilla LuaLaTeX and XeLaTeX
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2017-01-23 20:51:07 UTC (rev 233)
+++ trunk/lit/ChangeLog 2017-01-24 10:40:06 UTC (rev 234)
@@ -1,3 +1,10 @@
+2017-01-24 Michal However <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (tuenc-luatex.4ht, tuenc-xetex.4ht, fontspec-luatex.4ht,
+ fontspec-xetex.4ht, latex.4ht): Introduced basic Unicode handling for
+ LuaLaTeX and XeLaTeX. It is based on code which was originally used
+ in Fontspec support.
+
2017-01-23 Michal However <michal.h21 at gmail.com>
* tex4ht-4ht.tex (latex.4ht): prevent the selection of TU font encoding,
Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile 2017-01-23 20:51:07 UTC (rev 233)
+++ trunk/lit/Makefile 2017-01-24 10:40:06 UTC (rev 234)
@@ -17,7 +17,7 @@
xtpipesdir = xtpipes.dir
deriveddir = derived.dir
-tex_opts = --interaction=nonstopmode -recorder #--file-line-error
+tex_opts = --interaction=batchmode -recorder #--file-line-error
tex_1opt = "$(tex_opts)" # must be quoted, passing to shell script
dev_null = </dev/null # when we don't call tex directly.
@@ -32,12 +32,12 @@
derived += $(tex4ht_4ht_derived)
tex4ht_4ht_derived = \
algorithmic.4ht biblatex.4ht book.4ht color.4ht colortbl.4ht frenchb.4ht \
- fontspec.4ht fontspec-xetex.4ht fontspec-4ht.lua fontspec-luatex.4ht \
+ fontspec.4ht fontspec-xetex.4ht fontspec-luatex.4ht fontspec-4ht.lua \
geometry.4ht graphicx.4ht hyperref.4ht latex.4ht lettrine.4ht listings.4ht \
memoir.4ht multicol.4ht multirow.4ht nameref.4ht quoting.4ht reading.4ht \
scrartcl.4ht scrbook.4ht scrreprt.4ht spanish.4ht subscript.4ht \
- titlesec.4ht tocloft.4ht wrapfig.4ht usepackage.4ht \
- xcolor.4ht xr.4ht xr-hyper.4ht
+ titlesec.4ht tocloft.4ht tuenc-luatex.4ht tuenc-xetex.4ht wrapfig.4ht \
+ usepackage.4ht xcolor.4ht xr.4ht xr-hyper.4ht
# xx and many, many more.
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2017-01-23 20:51:07 UTC (rev 233)
+++ trunk/lit/mktex4ht-cnf.tex 2017-01-24 10:40:06 UTC (rev 234)
@@ -323,4 +323,6 @@
\AddFile{9}{fontspec}
\AddFile{9}{fontspec-xetex}
\AddFile{9}{fontspec-luatex}
+\AddFile{9}{tuenc-xetex}
+\AddFile{9}{tuenc-luatex}
%\AddFile{9}{mktex4ht}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2017-01-23 20:51:07 UTC (rev 233)
+++ trunk/lit/tex4ht-4ht.tex 2017-01-24 10:40:06 UTC (rev 234)
@@ -3706,371 +3706,17 @@
% Copyright |CopyYear.2016. TeX Users Group
|<TeX4ht copyright|>
-\input binhex
-
-% the code is inspited with newunicodechar.sty
-% call with character's numeric value
-\newcommand\xeuniregisterchar[1]{%
- \catcode#1=\active% make the character active
- \begingroup\lccode`\~=#1 % trick to define the character as a command
- % the code inside \special will be converted back to utf8 by tex4ht
- \lowercase{\endgroup\protected\def~}{\special{t4ht at +&{35}x\hex{#1}{59}}x}
-}
-% \pokus{64}
-
-\newcount\xeuniblock
-
-% register unicode range #1 - #2
-\newcommand\xeuniregisterblock[2]{%
- \xeuniblock=#1%
- \loop\advance\xeuniblock by 1\relax%
- \expandafter\xeuniregisterchar\expandafter{\the\xeuniblock}%
- \ifnum\xeuniblock<#2%
- \repeat%
-}
-
-% register unicode range given in hex format
-\newcommand\xeuniregisterblockhex[2]{%
- \xeuniregisterblock{"#1}{"#2}%
-}
-
-% Define unicode blocks for script name
-\newcommand\xeuniblockdef[2]{%
- \@namedef{block:#1}{#2}
-}
-
-% delete block definition after use, we don't want to execute the unicode
-% declarations multiple times
-\newcommand\xeuniuseblock[1]{\@nameuse{block:#1}\@namedef{block:#1}{\relax}}
-
-
-% Unicode blocks definitions
-\xeuniblockdef{Latin}{%
- % \xeuniregisterblockhex{0000}{007F}%
- \xeuniregisterblockhex{0080}{00FF}%
- \xeuniregisterblockhex{0100}{017F}%
- \xeuniregisterblockhex{0180}{024F}%
- \xeuniregisterblockhex{0250}{02AF}%
- \xeuniregisterblockhex{02B0}{02FF}%
- \xeuniregisterblockhex{0300}{036F}%
- \xeuniregisterblockhex{1E00}{1EFF}%
- \xeuniregisterblockhex{2C60}{2C7F}%
- \xeuniregisterblockhex{A720}{A7FF}%
- \xeuniregisterblockhex{AB30}{AB6F}%
- \xeuniregisterblockhex{1D00}{1D7F}%
- \xeuniregisterblockhex{1D80}{1DBF}%
- \xeuniregisterblockhex{1DC0}{1DFF}%
- \xeuniregisterblockhex{2000}{206F}%
- \xeuniregisterblockhex{2070}{209F}%
- \xeuniregisterblockhex{20A0}{20CF}%
- \xeuniregisterblockhex{20D0}{20FF}%
- \xeuniregisterblockhex{2100}{214F}%
- \xeuniregisterblockhex{2150}{218F}%
- \xeuniregisterblockhex{2190}{21FF}%
- \xeuniregisterblockhex{2200}{22FF}%
- \xeuniregisterblockhex{2300}{23FF}%
- \xeuniregisterblockhex{2400}{243F}%
- \xeuniregisterblockhex{2440}{245F}%
- \xeuniregisterblockhex{2460}{24FF}%
- \xeuniregisterblockhex{2500}{257F}%
- \xeuniregisterblockhex{2580}{259F}%
- \xeuniregisterblockhex{25A0}{25FF}%
- \xeuniregisterblockhex{2600}{26FF}%
- \xeuniregisterblockhex{2700}{27BF}%
- \xeuniregisterblockhex{27C0}{27EF}%
- \xeuniregisterblockhex{27F0}{27FF}%
- \xeuniregisterblockhex{2800}{28FF}%
- \xeuniregisterblockhex{2900}{297F}%
- \xeuniregisterblockhex{2980}{29FF}%
- \xeuniregisterblockhex{2A00}{2AFF}%
- \xeuniregisterblockhex{2B00}{2BFF}%
-}
-\xeuniblockdef{Greek}{
- \xeuniregisterblockhex{0370}{03FF}
- \xeuniregisterblockhex{1F00}{1FFF}
- \xeuniregisterblockhex{10140}{1018F}
- \xeuniregisterblockhex{1D200}{1D24F}
-}
-\xeuniblockdef{Coptic}{
- \xeuniregisterblockhex{0370}{03FF}
- \xeuniregisterblockhex{2C80}{2CFF}
- \xeuniregisterblockhex{102E0}{102FF}
-}
-\xeuniblockdef{Cyrillic}{
- \xeuniregisterblockhex{0400}{04FF}
- \xeuniregisterblockhex{0500}{052F}
- \xeuniregisterblockhex{1C80}{1C8F}
- \xeuniregisterblockhex{2DE0}{2DFF}
- \xeuniregisterblockhex{A640}{A69F}
-}
-\xeuniblockdef{Armenian}{\xeuniregisterblockhex{0530}{058F}}
-\xeuniblockdef{Hebrew}{\xeuniregisterblockhex{0590}{05FF}}
-\xeuniblockdef{Arabic}{
- \xeuniregisterblockhex{0600}{06FF}
- \xeuniregisterblockhex{0750}{077F}
- \xeuniregisterblockhex{08A0}{08FF}
- \xeuniregisterblockhex{FB50}{FDFF}
- \xeuniregisterblockhex{FE70}{FEFF}
- \xeuniregisterblockhex{1EE00}{1EEFF}
-}
-\xeuniblockdef{Syriac}{\xeuniregisterblockhex{0700}{074F}}
-\xeuniblockdef{Thaana}{\xeuniregisterblockhex{0780}{07BF}}
-\xeuniblockdef{NKo}{\xeuniregisterblockhex{07C0}{07FF}}
-\xeuniblockdef{Samaritan}{\xeuniregisterblockhex{0800}{083F}}
-\xeuniblockdef{Mandaic}{\xeuniregisterblockhex{0840}{085F}}
-\xeuniblockdef{Devanagari}{
- \xeuniregisterblockhex{0900}{097F}
- \xeuniregisterblockhex{A8E0}{A8FF}
-
-}
-\xeuniblockdef{Bengali}{\xeuniregisterblockhex{0980}{09FF}}
-\xeuniblockdef{Gurmukhi}{\xeuniregisterblockhex{0A00}{0A7F}}
-\xeuniblockdef{Gujarati}{\xeuniregisterblockhex{0A80}{0AFF}}
-\xeuniblockdef{Oriya}{\xeuniregisterblockhex{0B00}{0B7F}}
-\xeuniblockdef{Tamil}{\xeuniregisterblockhex{0B80}{0BFF}}
-\xeuniblockdef{Telugu}{\xeuniregisterblockhex{0C00}{0C7F}}
-\xeuniblockdef{Kannada}{\xeuniregisterblockhex{0C80}{0CFF}}
-\xeuniblockdef{Malayalam}{\xeuniregisterblockhex{0D00}{0D7F}}
-\xeuniblockdef{Sinhala}{\xeuniregisterblockhex{0D80}{0DFF}}
-\xeuniblockdef{Thai}{\xeuniregisterblockhex{0E00}{0E7F}}
-\xeuniblockdef{Lao}{\xeuniregisterblockhex{0E80}{0EFF}}
-\xeuniblockdef{Tibetan}{\xeuniregisterblockhex{0F00}{0FFF}}
-\xeuniblockdef{Myanmar}{
- \xeuniregisterblockhex{1000}{109F}
- \xeuniregisterblockhex{A9E0}{A9FF}
- \xeuniregisterblockhex{AA60}{AA7F}
-}
-\xeuniblockdef{Georgian}{\xeuniregisterblockhex{10A0}{10FF}}
-\xeuniblockdef{Hangul}{
- \xeuniregisterblockhex{1100}{11FF}
- \xeuniregisterblockhex{3130}{318F}
- \xeuniregisterblockhex{A960}{A97F}
- \xeuniregisterblockhex{AC00}{D7AF}
- \xeuniregisterblockhex{D7B0}{D7FF}
- \xeuniuseblock{CJK}
-}
-\xeuniblockdef{Ethiopic}{
- \xeuniregisterblockhex{1200}{137F}
- \xeuniregisterblockhex{1380}{139F}
-}
-\xeuniblockdef{Cherokee}{\xeuniregisterblockhex{13A0}{13FF}}
-\xeuniblockdef{Unified Canadian Aboriginal Syllabics}{
- \xeuniregisterblockhex{1400}{167F}
- \xeuniregisterblockhex{18B0}{18FF}
-}
-\xeuniblockdef{Ogham}{\xeuniregisterblockhex{1680}{169F}}
-\xeuniblockdef{Runic}{\xeuniregisterblockhex{16A0}{16FF}}
-\xeuniblockdef{Tagalog}{\xeuniregisterblockhex{1700}{171F}}
-\xeuniblockdef{Hanunoo}{\xeuniregisterblockhex{1720}{173F}}
-\xeuniblockdef{Buhid}{\xeuniregisterblockhex{1740}{175F}}
-\xeuniblockdef{Tagbanwa}{\xeuniregisterblockhex{1760}{177F}}
-\xeuniblockdef{Khmer}{
- \xeuniregisterblockhex{1780}{17FF}
- \xeuniregisterblockhex{19E0}{19FF}
-}
-\xeuniblockdef{Mongolian}{\xeuniregisterblockhex{1800}{18AF}}
-\xeuniblockdef{Limbu}{\xeuniregisterblockhex{1900}{194F}}
-\xeuniblockdef{Tai Le}{
- \xeuniregisterblockhex{1950}{197F}
- \xeuniregisterblockhex{1980}{19DF}
-}
-\xeuniblockdef{Buginese}{\xeuniregisterblockhex{1A00}{1A1F}}
-\xeuniblockdef{Tai Tham}{\xeuniregisterblockhex{1A20}{1AAF}}
-\xeuniblockdef{Combining Diacritical Marks Extended}{\xeuniregisterblockhex{1AB0}{1AFF}}
-\xeuniblockdef{Balinese}{\xeuniregisterblockhex{1B00}{1B7F}}
-\xeuniblockdef{Sundanese}{\xeuniregisterblockhex{1B80}{1BBF}}
-\xeuniblockdef{Batak}{\xeuniregisterblockhex{1BC0}{1BFF}}
-\xeuniblockdef{Lepcha}{\xeuniregisterblockhex{1C00}{1C4F}}
-\xeuniblockdef{Ol Chiki}{\xeuniregisterblockhex{1C50}{1C7F}}
-\xeuniblockdef{Sundanese Supplement}{\xeuniregisterblockhex{1CC0}{1CCF}}
-\xeuniblockdef{Vedic Extensions}{\xeuniregisterblockhex{1CD0}{1CFF}}
-\xeuniblockdef{Glagolitic}{\xeuniregisterblockhex{2C00}{2C5F}}
-\xeuniblockdef{Georgian Supplement}{\xeuniregisterblockhex{2D00}{2D2F}}
-\xeuniblockdef{Tifinagh}{\xeuniregisterblockhex{2D30}{2D7F}}
-\xeuniblockdef{Ethiopic Extended}{\xeuniregisterblockhex{2D80}{2DDF}}
-\xeuniblockdef{Supplemental Punctuation}{\xeuniregisterblockhex{2E00}{2E7F}}
-\xeuniblockdef{CJK}{%
- \xeuniregisterblockhex{2E80}{2EFF}
- \xeuniregisterblockhex{2F00}{2FDF}
- \xeuniregisterblockhex{2FF0}{2FFF}
- \xeuniregisterblockhex{3000}{303F}
- \xeuniregisterblockhex{3040}{309F}
- \xeuniregisterblockhex{30A0}{30FF}
- \xeuniregisterblockhex{31C0}{31EF}
- \xeuniregisterblockhex{31F0}{31FF}
- \xeuniregisterblockhex{3200}{32FF}
- \xeuniregisterblockhex{3100}{312F}
- \xeuniregisterblockhex{3190}{319F}
- \xeuniregisterblockhex{31A0}{31BF}
- \xeuniregisterblockhex{3300}{33FF}
- \xeuniregisterblockhex{3400}{4DBF}
- \xeuniregisterblockhex{4DC0}{4DFF}
- \xeuniregisterblockhex{4E00}{9FFF}
- \xeuniuseblock{Modifier Tone Letters}
-}
-
-\xeuniblockdef{Hiragana}{\xeuniuseblock{CJK}}
-\xeuniblockdef{Katakana}{\xeuniuseblock{CJK}}
-\xeuniblockdef{Yi Syllables}{\xeuniregisterblockhex{A000}{A48F}}
-\xeuniblockdef{Yi Radicals}{\xeuniregisterblockhex{A490}{A4CF}}
-\xeuniblockdef{Lisu}{\xeuniregisterblockhex{A4D0}{A4FF}}
-\xeuniblockdef{Vai}{\xeuniregisterblockhex{A500}{A63F}}
-\xeuniblockdef{Bamum}{\xeuniregisterblockhex{A6A0}{A6FF}}
-\xeuniblockdef{Modifier Tone Letters}{\xeuniregisterblockhex{A700}{A71F}}
-\xeuniblockdef{Syloti Nagri}{\xeuniregisterblockhex{A800}{A82F}}
-\xeuniblockdef{Common Indic Number Forms}{\xeuniregisterblockhex{A830}{A83F}}
-\xeuniblockdef{Phags-pa}{\xeuniregisterblockhex{A840}{A87F}}
-\xeuniblockdef{Saurashtra}{\xeuniregisterblockhex{A880}{A8DF}}
-\xeuniblockdef{Kayah Li}{\xeuniregisterblockhex{A900}{A92F}}
-\xeuniblockdef{Rejang}{\xeuniregisterblockhex{A930}{A95F}}
-\xeuniblockdef{Javanese}{\xeuniregisterblockhex{A980}{A9DF}}
-\xeuniblockdef{Cham}{\xeuniregisterblockhex{AA00}{AA5F}}
-\xeuniblockdef{Tai Viet}{\xeuniregisterblockhex{AA80}{AADF}}
-\xeuniblockdef{Meetei Mayek Extensions}{\xeuniregisterblockhex{AAE0}{AAFF}}
-\xeuniblockdef{Ethiopic Extended-A}{\xeuniregisterblockhex{AB00}{AB2F}}
-\xeuniblockdef{Cherokee Supplement}{\xeuniregisterblockhex{AB70}{ABBF}}
-\xeuniblockdef{Meetei Mayek}{\xeuniregisterblockhex{ABC0}{ABFF}}
-\xeuniblockdef{High Surrogates}{\xeuniregisterblockhex{D800}{DB7F}}
-\xeuniblockdef{High Private Use Surrogates}{\xeuniregisterblockhex{DB80}{DBFF}}
-\xeuniblockdef{Low Surrogates}{\xeuniregisterblockhex{DC00}{DFFF}}
-\xeuniblockdef{Private Use Area}{\xeuniregisterblockhex{E000}{F8FF}}
-\xeuniblockdef{CJK Compatibility Ideographs}{\xeuniregisterblockhex{F900}{FAFF}}
-\xeuniblockdef{Alphabetic Presentation Forms}{\xeuniregisterblockhex{FB00}{FB4F}}
-\xeuniblockdef{Variation Selectors}{\xeuniregisterblockhex{FE00}{FE0F}}
-\xeuniblockdef{Vertical Forms}{\xeuniregisterblockhex{FE10}{FE1F}}
-\xeuniblockdef{Combining Half Marks}{\xeuniregisterblockhex{FE20}{FE2F}}
-\xeuniblockdef{CJK Compatibility Forms}{\xeuniregisterblockhex{FE30}{FE4F}}
-\xeuniblockdef{Small Form Variants}{\xeuniregisterblockhex{FE50}{FE6F}}
-\xeuniblockdef{Halfwidth and Fullwidth Forms}{\xeuniregisterblockhex{FF00}{FFEF}}
-\xeuniblockdef{Specials}{\xeuniregisterblockhex{FFF0}{FFFF}}
-\xeuniblockdef{Linear B Syllabary}{\xeuniregisterblockhex{10000}{1007F}}
-\xeuniblockdef{Linear B Ideograms}{\xeuniregisterblockhex{10080}{100FF}}
-\xeuniblockdef{Aegean Numbers}{\xeuniregisterblockhex{10100}{1013F}}
-\xeuniblockdef{Ancient Symbols}{\xeuniregisterblockhex{10190}{101CF}}
-\xeuniblockdef{Phaistos Disc}{\xeuniregisterblockhex{101D0}{101FF}}
-\xeuniblockdef{Lycian}{\xeuniregisterblockhex{10280}{1029F}}
-\xeuniblockdef{Carian}{\xeuniregisterblockhex{102A0}{102DF}}
-\xeuniblockdef{Old Italic}{\xeuniregisterblockhex{10300}{1032F}}
-\xeuniblockdef{Gothic}{\xeuniregisterblockhex{10330}{1034F}}
-\xeuniblockdef{Old Permic}{\xeuniregisterblockhex{10350}{1037F}}
-\xeuniblockdef{Ugaritic}{\xeuniregisterblockhex{10380}{1039F}}
-\xeuniblockdef{Old Persian}{\xeuniregisterblockhex{103A0}{103DF}}
-\xeuniblockdef{Deseret}{\xeuniregisterblockhex{10400}{1044F}}
-\xeuniblockdef{Shavian}{\xeuniregisterblockhex{10450}{1047F}}
-\xeuniblockdef{Osmanya}{\xeuniregisterblockhex{10480}{104AF}}
-\xeuniblockdef{Osage}{\xeuniregisterblockhex{104B0}{104FF}}
-\xeuniblockdef{Elbasan}{\xeuniregisterblockhex{10500}{1052F}}
-\xeuniblockdef{Caucasian Albanian}{\xeuniregisterblockhex{10530}{1056F}}
-\xeuniblockdef{Linear A}{\xeuniregisterblockhex{10600}{1077F}}
-\xeuniblockdef{Cypriot Syllabary}{\xeuniregisterblockhex{10800}{1083F}}
-\xeuniblockdef{Imperial Aramaic}{\xeuniregisterblockhex{10840}{1085F}}
-\xeuniblockdef{Palmyrene}{\xeuniregisterblockhex{10860}{1087F}}
-\xeuniblockdef{Nabataean}{\xeuniregisterblockhex{10880}{108AF}}
-\xeuniblockdef{Hatran}{\xeuniregisterblockhex{108E0}{108FF}}
-\xeuniblockdef{Phoenician}{\xeuniregisterblockhex{10900}{1091F}}
-\xeuniblockdef{Lydian}{\xeuniregisterblockhex{10920}{1093F}}
-\xeuniblockdef{Meroitic Hieroglyphs}{\xeuniregisterblockhex{10980}{1099F}}
-\xeuniblockdef{Meroitic Cursive}{\xeuniregisterblockhex{109A0}{109FF}}
-\xeuniblockdef{Kharoshthi}{\xeuniregisterblockhex{10A00}{10A5F}}
-\xeuniblockdef{Old South Arabian}{\xeuniregisterblockhex{10A60}{10A7F}}
-\xeuniblockdef{Old North Arabian}{\xeuniregisterblockhex{10A80}{10A9F}}
-\xeuniblockdef{Manichaean}{\xeuniregisterblockhex{10AC0}{10AFF}}
-\xeuniblockdef{Avestan}{\xeuniregisterblockhex{10B00}{10B3F}}
-\xeuniblockdef{Inscriptional Parthian}{\xeuniregisterblockhex{10B40}{10B5F}}
-\xeuniblockdef{Inscriptional Pahlavi}{\xeuniregisterblockhex{10B60}{10B7F}}
-\xeuniblockdef{Psalter Pahlavi}{\xeuniregisterblockhex{10B80}{10BAF}}
-\xeuniblockdef{Old Turkic}{\xeuniregisterblockhex{10C00}{10C4F}}
-\xeuniblockdef{Old Hungarian}{\xeuniregisterblockhex{10C80}{10CFF}}
-\xeuniblockdef{Rumi Numeral Symbols}{\xeuniregisterblockhex{10E60}{10E7F}}
-\xeuniblockdef{Brahmi}{\xeuniregisterblockhex{11000}{1107F}}
-\xeuniblockdef{Kaithi}{\xeuniregisterblockhex{11080}{110CF}}
-\xeuniblockdef{Sora Sompeng}{\xeuniregisterblockhex{110D0}{110FF}}
-\xeuniblockdef{Chakma}{\xeuniregisterblockhex{11100}{1114F}}
-\xeuniblockdef{Mahajani}{\xeuniregisterblockhex{11150}{1117F}}
-\xeuniblockdef{Sharada}{\xeuniregisterblockhex{11180}{111DF}}
-\xeuniblockdef{Sinhala Archaic Numbers}{\xeuniregisterblockhex{111E0}{111FF}}
-\xeuniblockdef{Khojki}{\xeuniregisterblockhex{11200}{1124F}}
-\xeuniblockdef{Multani}{\xeuniregisterblockhex{11280}{112AF}}
-\xeuniblockdef{Khudawadi}{\xeuniregisterblockhex{112B0}{112FF}}
-\xeuniblockdef{Grantha}{\xeuniregisterblockhex{11300}{1137F}}
-\xeuniblockdef{Newa}{\xeuniregisterblockhex{11400}{1147F}}
-\xeuniblockdef{Tirhuta}{\xeuniregisterblockhex{11480}{114DF}}
-\xeuniblockdef{Siddham}{\xeuniregisterblockhex{11580}{115FF}}
-\xeuniblockdef{Modi}{\xeuniregisterblockhex{11600}{1165F}}
-\xeuniblockdef{Mongolian Supplement}{\xeuniregisterblockhex{11660}{1167F}}
-\xeuniblockdef{Takri}{\xeuniregisterblockhex{11680}{116CF}}
-\xeuniblockdef{Ahom}{\xeuniregisterblockhex{11700}{1173F}}
-\xeuniblockdef{Warang Citi}{\xeuniregisterblockhex{118A0}{118FF}}
-\xeuniblockdef{Pau Cin Hau}{\xeuniregisterblockhex{11AC0}{11AFF}}
-\xeuniblockdef{Bhaiksuki}{\xeuniregisterblockhex{11C00}{11C6F}}
-\xeuniblockdef{Marchen}{\xeuniregisterblockhex{11C70}{11CBF}}
-\xeuniblockdef{Cuneiform}{\xeuniregisterblockhex{12000}{123FF}}
-\xeuniblockdef{Cuneiform Numbers and Punctuation}{\xeuniregisterblockhex{12400}{1247F}}
-\xeuniblockdef{Early Dynastic Cuneiform}{\xeuniregisterblockhex{12480}{1254F}}
-\xeuniblockdef{Egyptian Hieroglyphs}{\xeuniregisterblockhex{13000}{1342F}}
-\xeuniblockdef{Anatolian Hieroglyphs}{\xeuniregisterblockhex{14400}{1467F}}
-\xeuniblockdef{Bamum Supplement}{\xeuniregisterblockhex{16800}{16A3F}}
-\xeuniblockdef{Mro}{\xeuniregisterblockhex{16A40}{16A6F}}
-\xeuniblockdef{Bassa Vah}{\xeuniregisterblockhex{16AD0}{16AFF}}
-\xeuniblockdef{Pahawh Hmong}{\xeuniregisterblockhex{16B00}{16B8F}}
-\xeuniblockdef{Miao}{\xeuniregisterblockhex{16F00}{16F9F}}
-\xeuniblockdef{Ideographic Symbols and Punctuation}{\xeuniregisterblockhex{16FE0}{16FFF}}
-\xeuniblockdef{Tangut}{\xeuniregisterblockhex{17000}{187FF}}
-\xeuniblockdef{Tangut Components}{\xeuniregisterblockhex{18800}{18AFF}}
-\xeuniblockdef{Kana Supplement}{\xeuniregisterblockhex{1B000}{1B0FF}}
-\xeuniblockdef{Duployan}{\xeuniregisterblockhex{1BC00}{1BC9F}}
-\xeuniblockdef{Shorthand Format Controls}{\xeuniregisterblockhex{1BCA0}{1BCAF}}
-\xeuniblockdef{Byzantine Musical Symbols}{\xeuniregisterblockhex{1D000}{1D0FF}}
-\xeuniblockdef{Musical Symbols}{\xeuniregisterblockhex{1D100}{1D1FF}}
-\xeuniblockdef{Tai Xuan Jing Symbols}{\xeuniregisterblockhex{1D300}{1D35F}}
-\xeuniblockdef{Counting Rod Numerals}{\xeuniregisterblockhex{1D360}{1D37F}}
-\xeuniblockdef{Mathematical Alphanumeric Symbols}{\xeuniregisterblockhex{1D400}{1D7FF}}
-\xeuniblockdef{Sutton SignWriting}{\xeuniregisterblockhex{1D800}{1DAAF}}
-\xeuniblockdef{Glagolitic Supplement}{\xeuniregisterblockhex{1E000}{1E02F}}
-\xeuniblockdef{Mende Kikakui}{\xeuniregisterblockhex{1E800}{1E8DF}}
-\xeuniblockdef{Adlam}{\xeuniregisterblockhex{1E900}{1E95F}}
-\xeuniblockdef{Arabic Mathematical Alphabetic Symbols}{}
-\xeuniblockdef{Mahjong Tiles}{\xeuniregisterblockhex{1F000}{1F02F}}
-\xeuniblockdef{Domino Tiles}{\xeuniregisterblockhex{1F030}{1F09F}}
-\xeuniblockdef{Playing Cards}{\xeuniregisterblockhex{1F0A0}{1F0FF}}
-\xeuniblockdef{Enclosed Alphanumeric Supplement}{\xeuniregisterblockhex{1F100}{1F1FF}}
-\xeuniblockdef{Enclosed Ideographic Supplement}{\xeuniregisterblockhex{1F200}{1F2FF}}
-\xeuniblockdef{Miscellaneous Symbols and Pictographs}{\xeuniregisterblockhex{1F300}{1F5FF}}
-\xeuniblockdef{Emoticons}{\xeuniregisterblockhex{1F600}{1F64F}}
-\xeuniblockdef{Ornamental Dingbats}{\xeuniregisterblockhex{1F650}{1F67F}}
-\xeuniblockdef{Transport and Map Symbols}{\xeuniregisterblockhex{1F680}{1F6FF}}
-\xeuniblockdef{Alchemical Symbols}{\xeuniregisterblockhex{1F700}{1F77F}}
-\xeuniblockdef{Geometric Shapes Extended}{\xeuniregisterblockhex{1F780}{1F7FF}}
-\xeuniblockdef{Supplemental Arrows-C}{\xeuniregisterblockhex{1F800}{1F8FF}}
-\xeuniblockdef{Supplemental Symbols and Pictographs}{\xeuniregisterblockhex{1F900}{1F9FF}}
-\xeuniblockdef{CJK Unified Ideographs Extension B}{\xeuniregisterblockhex{20000}{2A6DF}}
-\xeuniblockdef{CJK Unified Ideographs Extension C}{\xeuniregisterblockhex{2A700}{2B73F}}
-\xeuniblockdef{CJK Unified Ideographs Extension D}{\xeuniregisterblockhex{2B740}{2B81F}}
-\xeuniblockdef{CJK Unified Ideographs Extension E}{\xeuniregisterblockhex{2B820}{2CEAF}}
-\xeuniblockdef{CJK Compatibility Ideographs Supplement}{\xeuniregisterblockhex{2F800}{2FA1F}}
-% load default latin block and blocks requested through Script option in fontspec's font
-% selection commands
\ExplSyntaxOn
-\xeuniuseblock{Latin}
\seq_map_inline:Nn \fontspec_ht_scripts {\typeout{use block #1}\xeuniuseblock{#1}}
\ExplSyntaxOff
\Hinput{fontspec-xetex}
\endinput
>>> \AddFile{9}{fontspec-xetex}
-
\<fontspec-luatex.4ht\><<<
% fontspec-luatex.4ht, generated from |jobname.tex
% Copyright |CopyYear.2016. TeX Users Group
|<TeX4ht copyright|>
-\RequirePackage{luatexbase}
-\RequirePackage{luacode}
-
-\begin{luacode*}
- local fontspec = require "fontspec-4ht"
- luatexbase.add_to_callback("pre_linebreak_filter", fontspec.char_to_entity, "Char to entity")
- luatexbase.add_to_callback("hpack_filter", fontspec.char_to_entity, "hpack-char-to-entity")
-\end{luacode*}
\Hinput{fontspec-luatex}
\endinput
>>> \AddFile{9}{fontspec-luatex}
@@ -5301,18 +4947,413 @@
\Configure{textcircled}{}
>>>
-January 2017: LaTeX core started to use new font encoding with
-Unicode engines, TU. This encoding loads OpenType fonts by default
+January 2017 (Michal): LaTeX core started to use new font encoding with
+Unicode engines, TU. This encoding loads OpenType fonts by default.
It breaks tex4ht compilation due to a bug in tex4ht command.
-We need to check for TU encoding and use the old default one, OT1
+We need to check for TU encoding and switch back to the old default one, OT1.
+
+LuaLaTeX and XeLaTeX also started to support basic Latin Unicode diacritics,
+so the following example should output all characters to the PDF:
+
+\Verbatim
+\documentclass{article}
+\begin{document}
+We can't use diacritics in the \Verbatim unfortunately,
+so just imagine that it is here.
+\end{document}
+\EndVerbatim
+
+We should support that as well. For LuaLaTeX, we can use a callback which is used
+for Fontspec support. For XeLaTeX, we need to make Unicode characters active and
+define them to output te4ht character code. Again, we can use the code which was
+used for Fontspec support.
+
\<latex ltoutenc\><<<
\edef\test:f:encoding{\f at encoding}
\edef\test:tu:encoding{TU}
\ifx\test:f:encoding\test:tu:encoding
-\RequirePackage[OT1]{fontenc}
+ \RequirePackage[OT1]{fontenc}
+ \ifdefined\directlua%
+ \input tuenc-luatex.4ht
+ \fi
+ \ifdefined\XeTeXcharclass
+ \input tuenc-xetex.4ht
+ \fi
\fi
>>>
+
+
+\<tuenc-xetex.4ht\><<<
+% tuenc-xetex.4ht, generated from |jobname.tex
+% Copyright |CopyYear.2017. TeX Users Group
+|<TeX4ht copyright|>
+\input binhex
+
+% the code is inspited with newunicodechar.sty
+% call with character's numeric value
+\newcommand\xeuniregisterchar[1]{%
+ \catcode#1=\active% make the character active
+ \begingroup\lccode`\~=#1 % trick to define the character as a command
+ % the code inside \special will be converted back to utf8 by tex4ht
+ \lowercase{\endgroup\protected\def~}{\special{t4ht at +&{35}x\hex{#1}{59}}x}
+}
+% \pokus{64}
+
+\newcount\xeuniblock
+
+% register unicode range #1 - #2
+\newcommand\xeuniregisterblock[2]{%
+ \xeuniblock=#1%
+ \loop\advance\xeuniblock by 1\relax%
+ \expandafter\xeuniregisterchar\expandafter{\the\xeuniblock}%
+ \ifnum\xeuniblock<#2%
+ \repeat%
+}
+
+% register unicode range given in hex format
+\newcommand\xeuniregisterblockhex[2]{%
+ \xeuniregisterblock{"#1}{"#2}%
+}
+
+% Define unicode blocks for script name
+\newcommand\xeuniblockdef[2]{%
+ \@namedef{block:#1}{#2}
+}
+
+% delete block definition after use, we don't want to execute the unicode
+% declarations multiple times
+\newcommand\xeuniuseblock[1]{\@nameuse{block:#1}\@namedef{block:#1}{\relax}}
+
+
+% Unicode blocks definitions
+\xeuniblockdef{Latin}{%
+ % \xeuniregisterblockhex{0000}{007F}%
+ \xeuniregisterblockhex{0080}{00FF}%
+ \xeuniregisterblockhex{0100}{017F}%
+ \xeuniregisterblockhex{0180}{024F}%
+ \xeuniregisterblockhex{0250}{02AF}%
+ \xeuniregisterblockhex{02B0}{02FF}%
+ \xeuniregisterblockhex{0300}{036F}%
+ \xeuniregisterblockhex{1E00}{1EFF}%
+ \xeuniregisterblockhex{2C60}{2C7F}%
+ \xeuniregisterblockhex{A720}{A7FF}%
+ \xeuniregisterblockhex{AB30}{AB6F}%
+ \xeuniregisterblockhex{1D00}{1D7F}%
+ \xeuniregisterblockhex{1D80}{1DBF}%
+ \xeuniregisterblockhex{1DC0}{1DFF}%
+ \xeuniregisterblockhex{2000}{206F}%
+ \xeuniregisterblockhex{2070}{209F}%
+ \xeuniregisterblockhex{20A0}{20CF}%
+ \xeuniregisterblockhex{20D0}{20FF}%
+ \xeuniregisterblockhex{2100}{214F}%
+ \xeuniregisterblockhex{2150}{218F}%
+ \xeuniregisterblockhex{2190}{21FF}%
+ \xeuniregisterblockhex{2200}{22FF}%
+ \xeuniregisterblockhex{2300}{23FF}%
+ \xeuniregisterblockhex{2400}{243F}%
+ \xeuniregisterblockhex{2440}{245F}%
+ \xeuniregisterblockhex{2460}{24FF}%
+ \xeuniregisterblockhex{2500}{257F}%
+ \xeuniregisterblockhex{2580}{259F}%
+ \xeuniregisterblockhex{25A0}{25FF}%
+ \xeuniregisterblockhex{2600}{26FF}%
+ \xeuniregisterblockhex{2700}{27BF}%
+ \xeuniregisterblockhex{27C0}{27EF}%
+ \xeuniregisterblockhex{27F0}{27FF}%
+ \xeuniregisterblockhex{2800}{28FF}%
+ \xeuniregisterblockhex{2900}{297F}%
+ \xeuniregisterblockhex{2980}{29FF}%
+ \xeuniregisterblockhex{2A00}{2AFF}%
+ \xeuniregisterblockhex{2B00}{2BFF}%
+}
+\xeuniblockdef{Greek}{
+ \xeuniregisterblockhex{0370}{03FF}
+ \xeuniregisterblockhex{1F00}{1FFF}
+ \xeuniregisterblockhex{10140}{1018F}
+ \xeuniregisterblockhex{1D200}{1D24F}
+}
+\xeuniblockdef{Coptic}{
+ \xeuniregisterblockhex{0370}{03FF}
+ \xeuniregisterblockhex{2C80}{2CFF}
+ \xeuniregisterblockhex{102E0}{102FF}
+}
+\xeuniblockdef{Cyrillic}{
+ \xeuniregisterblockhex{0400}{04FF}
+ \xeuniregisterblockhex{0500}{052F}
+ \xeuniregisterblockhex{1C80}{1C8F}
+ \xeuniregisterblockhex{2DE0}{2DFF}
+ \xeuniregisterblockhex{A640}{A69F}
+}
+\xeuniblockdef{Armenian}{\xeuniregisterblockhex{0530}{058F}}
+\xeuniblockdef{Hebrew}{\xeuniregisterblockhex{0590}{05FF}}
+\xeuniblockdef{Arabic}{
+ \xeuniregisterblockhex{0600}{06FF}
+ \xeuniregisterblockhex{0750}{077F}
+ \xeuniregisterblockhex{08A0}{08FF}
+ \xeuniregisterblockhex{FB50}{FDFF}
+ \xeuniregisterblockhex{FE70}{FEFF}
+ \xeuniregisterblockhex{1EE00}{1EEFF}
+}
+\xeuniblockdef{Syriac}{\xeuniregisterblockhex{0700}{074F}}
+\xeuniblockdef{Thaana}{\xeuniregisterblockhex{0780}{07BF}}
+\xeuniblockdef{NKo}{\xeuniregisterblockhex{07C0}{07FF}}
+\xeuniblockdef{Samaritan}{\xeuniregisterblockhex{0800}{083F}}
+\xeuniblockdef{Mandaic}{\xeuniregisterblockhex{0840}{085F}}
+\xeuniblockdef{Devanagari}{
+ \xeuniregisterblockhex{0900}{097F}
+ \xeuniregisterblockhex{A8E0}{A8FF}
+
+}
+\xeuniblockdef{Bengali}{\xeuniregisterblockhex{0980}{09FF}}
+\xeuniblockdef{Gurmukhi}{\xeuniregisterblockhex{0A00}{0A7F}}
+\xeuniblockdef{Gujarati}{\xeuniregisterblockhex{0A80}{0AFF}}
+\xeuniblockdef{Oriya}{\xeuniregisterblockhex{0B00}{0B7F}}
+\xeuniblockdef{Tamil}{\xeuniregisterblockhex{0B80}{0BFF}}
+\xeuniblockdef{Telugu}{\xeuniregisterblockhex{0C00}{0C7F}}
+\xeuniblockdef{Kannada}{\xeuniregisterblockhex{0C80}{0CFF}}
+\xeuniblockdef{Malayalam}{\xeuniregisterblockhex{0D00}{0D7F}}
+\xeuniblockdef{Sinhala}{\xeuniregisterblockhex{0D80}{0DFF}}
+\xeuniblockdef{Thai}{\xeuniregisterblockhex{0E00}{0E7F}}
+\xeuniblockdef{Lao}{\xeuniregisterblockhex{0E80}{0EFF}}
+\xeuniblockdef{Tibetan}{\xeuniregisterblockhex{0F00}{0FFF}}
+\xeuniblockdef{Myanmar}{
+ \xeuniregisterblockhex{1000}{109F}
+ \xeuniregisterblockhex{A9E0}{A9FF}
+ \xeuniregisterblockhex{AA60}{AA7F}
+}
+\xeuniblockdef{Georgian}{\xeuniregisterblockhex{10A0}{10FF}}
+\xeuniblockdef{Hangul}{
+ \xeuniregisterblockhex{1100}{11FF}
+ \xeuniregisterblockhex{3130}{318F}
+ \xeuniregisterblockhex{A960}{A97F}
+ \xeuniregisterblockhex{AC00}{D7AF}
+ \xeuniregisterblockhex{D7B0}{D7FF}
+ \xeuniuseblock{CJK}
+}
+\xeuniblockdef{Ethiopic}{
+ \xeuniregisterblockhex{1200}{137F}
+ \xeuniregisterblockhex{1380}{139F}
+}
+\xeuniblockdef{Cherokee}{\xeuniregisterblockhex{13A0}{13FF}}
+\xeuniblockdef{Unified Canadian Aboriginal Syllabics}{
+ \xeuniregisterblockhex{1400}{167F}
+ \xeuniregisterblockhex{18B0}{18FF}
+}
+\xeuniblockdef{Ogham}{\xeuniregisterblockhex{1680}{169F}}
+\xeuniblockdef{Runic}{\xeuniregisterblockhex{16A0}{16FF}}
+\xeuniblockdef{Tagalog}{\xeuniregisterblockhex{1700}{171F}}
+\xeuniblockdef{Hanunoo}{\xeuniregisterblockhex{1720}{173F}}
+\xeuniblockdef{Buhid}{\xeuniregisterblockhex{1740}{175F}}
+\xeuniblockdef{Tagbanwa}{\xeuniregisterblockhex{1760}{177F}}
+\xeuniblockdef{Khmer}{
+ \xeuniregisterblockhex{1780}{17FF}
+ \xeuniregisterblockhex{19E0}{19FF}
+}
+\xeuniblockdef{Mongolian}{\xeuniregisterblockhex{1800}{18AF}}
+\xeuniblockdef{Limbu}{\xeuniregisterblockhex{1900}{194F}}
+\xeuniblockdef{Tai Le}{
+ \xeuniregisterblockhex{1950}{197F}
+ \xeuniregisterblockhex{1980}{19DF}
+}
+\xeuniblockdef{Buginese}{\xeuniregisterblockhex{1A00}{1A1F}}
+\xeuniblockdef{Tai Tham}{\xeuniregisterblockhex{1A20}{1AAF}}
+\xeuniblockdef{Combining Diacritical Marks Extended}{\xeuniregisterblockhex{1AB0}{1AFF}}
+\xeuniblockdef{Balinese}{\xeuniregisterblockhex{1B00}{1B7F}}
+\xeuniblockdef{Sundanese}{\xeuniregisterblockhex{1B80}{1BBF}}
+\xeuniblockdef{Batak}{\xeuniregisterblockhex{1BC0}{1BFF}}
+\xeuniblockdef{Lepcha}{\xeuniregisterblockhex{1C00}{1C4F}}
+\xeuniblockdef{Ol Chiki}{\xeuniregisterblockhex{1C50}{1C7F}}
+\xeuniblockdef{Sundanese Supplement}{\xeuniregisterblockhex{1CC0}{1CCF}}
+\xeuniblockdef{Vedic Extensions}{\xeuniregisterblockhex{1CD0}{1CFF}}
+\xeuniblockdef{Glagolitic}{\xeuniregisterblockhex{2C00}{2C5F}}
+\xeuniblockdef{Georgian Supplement}{\xeuniregisterblockhex{2D00}{2D2F}}
+\xeuniblockdef{Tifinagh}{\xeuniregisterblockhex{2D30}{2D7F}}
+\xeuniblockdef{Ethiopic Extended}{\xeuniregisterblockhex{2D80}{2DDF}}
+\xeuniblockdef{Supplemental Punctuation}{\xeuniregisterblockhex{2E00}{2E7F}}
+\xeuniblockdef{CJK}{%
+ \xeuniregisterblockhex{2E80}{2EFF}
+ \xeuniregisterblockhex{2F00}{2FDF}
+ \xeuniregisterblockhex{2FF0}{2FFF}
+ \xeuniregisterblockhex{3000}{303F}
+ \xeuniregisterblockhex{3040}{309F}
+ \xeuniregisterblockhex{30A0}{30FF}
+ \xeuniregisterblockhex{31C0}{31EF}
+ \xeuniregisterblockhex{31F0}{31FF}
+ \xeuniregisterblockhex{3200}{32FF}
+ \xeuniregisterblockhex{3100}{312F}
+ \xeuniregisterblockhex{3190}{319F}
+ \xeuniregisterblockhex{31A0}{31BF}
+ \xeuniregisterblockhex{3300}{33FF}
+ \xeuniregisterblockhex{3400}{4DBF}
+ \xeuniregisterblockhex{4DC0}{4DFF}
+ \xeuniregisterblockhex{4E00}{9FFF}
+ \xeuniuseblock{Modifier Tone Letters}
+}
+
+\xeuniblockdef{Hiragana}{\xeuniuseblock{CJK}}
+\xeuniblockdef{Katakana}{\xeuniuseblock{CJK}}
+\xeuniblockdef{Yi Syllables}{\xeuniregisterblockhex{A000}{A48F}}
+\xeuniblockdef{Yi Radicals}{\xeuniregisterblockhex{A490}{A4CF}}
+\xeuniblockdef{Lisu}{\xeuniregisterblockhex{A4D0}{A4FF}}
+\xeuniblockdef{Vai}{\xeuniregisterblockhex{A500}{A63F}}
+\xeuniblockdef{Bamum}{\xeuniregisterblockhex{A6A0}{A6FF}}
+\xeuniblockdef{Modifier Tone Letters}{\xeuniregisterblockhex{A700}{A71F}}
+\xeuniblockdef{Syloti Nagri}{\xeuniregisterblockhex{A800}{A82F}}
+\xeuniblockdef{Common Indic Number Forms}{\xeuniregisterblockhex{A830}{A83F}}
+\xeuniblockdef{Phags-pa}{\xeuniregisterblockhex{A840}{A87F}}
+\xeuniblockdef{Saurashtra}{\xeuniregisterblockhex{A880}{A8DF}}
+\xeuniblockdef{Kayah Li}{\xeuniregisterblockhex{A900}{A92F}}
+\xeuniblockdef{Rejang}{\xeuniregisterblockhex{A930}{A95F}}
+\xeuniblockdef{Javanese}{\xeuniregisterblockhex{A980}{A9DF}}
+\xeuniblockdef{Cham}{\xeuniregisterblockhex{AA00}{AA5F}}
+\xeuniblockdef{Tai Viet}{\xeuniregisterblockhex{AA80}{AADF}}
+\xeuniblockdef{Meetei Mayek Extensions}{\xeuniregisterblockhex{AAE0}{AAFF}}
+\xeuniblockdef{Ethiopic Extended-A}{\xeuniregisterblockhex{AB00}{AB2F}}
+\xeuniblockdef{Cherokee Supplement}{\xeuniregisterblockhex{AB70}{ABBF}}
+\xeuniblockdef{Meetei Mayek}{\xeuniregisterblockhex{ABC0}{ABFF}}
+\xeuniblockdef{High Surrogates}{\xeuniregisterblockhex{D800}{DB7F}}
+\xeuniblockdef{High Private Use Surrogates}{\xeuniregisterblockhex{DB80}{DBFF}}
+\xeuniblockdef{Low Surrogates}{\xeuniregisterblockhex{DC00}{DFFF}}
+\xeuniblockdef{Private Use Area}{\xeuniregisterblockhex{E000}{F8FF}}
+\xeuniblockdef{CJK Compatibility Ideographs}{\xeuniregisterblockhex{F900}{FAFF}}
+\xeuniblockdef{Alphabetic Presentation Forms}{\xeuniregisterblockhex{FB00}{FB4F}}
+\xeuniblockdef{Variation Selectors}{\xeuniregisterblockhex{FE00}{FE0F}}
+\xeuniblockdef{Vertical Forms}{\xeuniregisterblockhex{FE10}{FE1F}}
+\xeuniblockdef{Combining Half Marks}{\xeuniregisterblockhex{FE20}{FE2F}}
+\xeuniblockdef{CJK Compatibility Forms}{\xeuniregisterblockhex{FE30}{FE4F}}
+\xeuniblockdef{Small Form Variants}{\xeuniregisterblockhex{FE50}{FE6F}}
+\xeuniblockdef{Halfwidth and Fullwidth Forms}{\xeuniregisterblockhex{FF00}{FFEF}}
+\xeuniblockdef{Specials}{\xeuniregisterblockhex{FFF0}{FFFF}}
+\xeuniblockdef{Linear B Syllabary}{\xeuniregisterblockhex{10000}{1007F}}
+\xeuniblockdef{Linear B Ideograms}{\xeuniregisterblockhex{10080}{100FF}}
+\xeuniblockdef{Aegean Numbers}{\xeuniregisterblockhex{10100}{1013F}}
+\xeuniblockdef{Ancient Symbols}{\xeuniregisterblockhex{10190}{101CF}}
+\xeuniblockdef{Phaistos Disc}{\xeuniregisterblockhex{101D0}{101FF}}
+\xeuniblockdef{Lycian}{\xeuniregisterblockhex{10280}{1029F}}
+\xeuniblockdef{Carian}{\xeuniregisterblockhex{102A0}{102DF}}
+\xeuniblockdef{Old Italic}{\xeuniregisterblockhex{10300}{1032F}}
+\xeuniblockdef{Gothic}{\xeuniregisterblockhex{10330}{1034F}}
+\xeuniblockdef{Old Permic}{\xeuniregisterblockhex{10350}{1037F}}
+\xeuniblockdef{Ugaritic}{\xeuniregisterblockhex{10380}{1039F}}
+\xeuniblockdef{Old Persian}{\xeuniregisterblockhex{103A0}{103DF}}
+\xeuniblockdef{Deseret}{\xeuniregisterblockhex{10400}{1044F}}
+\xeuniblockdef{Shavian}{\xeuniregisterblockhex{10450}{1047F}}
+\xeuniblockdef{Osmanya}{\xeuniregisterblockhex{10480}{104AF}}
+\xeuniblockdef{Osage}{\xeuniregisterblockhex{104B0}{104FF}}
+\xeuniblockdef{Elbasan}{\xeuniregisterblockhex{10500}{1052F}}
+\xeuniblockdef{Caucasian Albanian}{\xeuniregisterblockhex{10530}{1056F}}
+\xeuniblockdef{Linear A}{\xeuniregisterblockhex{10600}{1077F}}
+\xeuniblockdef{Cypriot Syllabary}{\xeuniregisterblockhex{10800}{1083F}}
+\xeuniblockdef{Imperial Aramaic}{\xeuniregisterblockhex{10840}{1085F}}
+\xeuniblockdef{Palmyrene}{\xeuniregisterblockhex{10860}{1087F}}
+\xeuniblockdef{Nabataean}{\xeuniregisterblockhex{10880}{108AF}}
+\xeuniblockdef{Hatran}{\xeuniregisterblockhex{108E0}{108FF}}
+\xeuniblockdef{Phoenician}{\xeuniregisterblockhex{10900}{1091F}}
+\xeuniblockdef{Lydian}{\xeuniregisterblockhex{10920}{1093F}}
+\xeuniblockdef{Meroitic Hieroglyphs}{\xeuniregisterblockhex{10980}{1099F}}
+\xeuniblockdef{Meroitic Cursive}{\xeuniregisterblockhex{109A0}{109FF}}
+\xeuniblockdef{Kharoshthi}{\xeuniregisterblockhex{10A00}{10A5F}}
+\xeuniblockdef{Old South Arabian}{\xeuniregisterblockhex{10A60}{10A7F}}
+\xeuniblockdef{Old North Arabian}{\xeuniregisterblockhex{10A80}{10A9F}}
+\xeuniblockdef{Manichaean}{\xeuniregisterblockhex{10AC0}{10AFF}}
+\xeuniblockdef{Avestan}{\xeuniregisterblockhex{10B00}{10B3F}}
+\xeuniblockdef{Inscriptional Parthian}{\xeuniregisterblockhex{10B40}{10B5F}}
+\xeuniblockdef{Inscriptional Pahlavi}{\xeuniregisterblockhex{10B60}{10B7F}}
+\xeuniblockdef{Psalter Pahlavi}{\xeuniregisterblockhex{10B80}{10BAF}}
+\xeuniblockdef{Old Turkic}{\xeuniregisterblockhex{10C00}{10C4F}}
+\xeuniblockdef{Old Hungarian}{\xeuniregisterblockhex{10C80}{10CFF}}
+\xeuniblockdef{Rumi Numeral Symbols}{\xeuniregisterblockhex{10E60}{10E7F}}
+\xeuniblockdef{Brahmi}{\xeuniregisterblockhex{11000}{1107F}}
+\xeuniblockdef{Kaithi}{\xeuniregisterblockhex{11080}{110CF}}
+\xeuniblockdef{Sora Sompeng}{\xeuniregisterblockhex{110D0}{110FF}}
+\xeuniblockdef{Chakma}{\xeuniregisterblockhex{11100}{1114F}}
+\xeuniblockdef{Mahajani}{\xeuniregisterblockhex{11150}{1117F}}
+\xeuniblockdef{Sharada}{\xeuniregisterblockhex{11180}{111DF}}
+\xeuniblockdef{Sinhala Archaic Numbers}{\xeuniregisterblockhex{111E0}{111FF}}
+\xeuniblockdef{Khojki}{\xeuniregisterblockhex{11200}{1124F}}
+\xeuniblockdef{Multani}{\xeuniregisterblockhex{11280}{112AF}}
+\xeuniblockdef{Khudawadi}{\xeuniregisterblockhex{112B0}{112FF}}
+\xeuniblockdef{Grantha}{\xeuniregisterblockhex{11300}{1137F}}
+\xeuniblockdef{Newa}{\xeuniregisterblockhex{11400}{1147F}}
+\xeuniblockdef{Tirhuta}{\xeuniregisterblockhex{11480}{114DF}}
+\xeuniblockdef{Siddham}{\xeuniregisterblockhex{11580}{115FF}}
+\xeuniblockdef{Modi}{\xeuniregisterblockhex{11600}{1165F}}
+\xeuniblockdef{Mongolian Supplement}{\xeuniregisterblockhex{11660}{1167F}}
+\xeuniblockdef{Takri}{\xeuniregisterblockhex{11680}{116CF}}
+\xeuniblockdef{Ahom}{\xeuniregisterblockhex{11700}{1173F}}
+\xeuniblockdef{Warang Citi}{\xeuniregisterblockhex{118A0}{118FF}}
+\xeuniblockdef{Pau Cin Hau}{\xeuniregisterblockhex{11AC0}{11AFF}}
+\xeuniblockdef{Bhaiksuki}{\xeuniregisterblockhex{11C00}{11C6F}}
+\xeuniblockdef{Marchen}{\xeuniregisterblockhex{11C70}{11CBF}}
+\xeuniblockdef{Cuneiform}{\xeuniregisterblockhex{12000}{123FF}}
+\xeuniblockdef{Cuneiform Numbers and Punctuation}{\xeuniregisterblockhex{12400}{1247F}}
+\xeuniblockdef{Early Dynastic Cuneiform}{\xeuniregisterblockhex{12480}{1254F}}
+\xeuniblockdef{Egyptian Hieroglyphs}{\xeuniregisterblockhex{13000}{1342F}}
+\xeuniblockdef{Anatolian Hieroglyphs}{\xeuniregisterblockhex{14400}{1467F}}
+\xeuniblockdef{Bamum Supplement}{\xeuniregisterblockhex{16800}{16A3F}}
+\xeuniblockdef{Mro}{\xeuniregisterblockhex{16A40}{16A6F}}
+\xeuniblockdef{Bassa Vah}{\xeuniregisterblockhex{16AD0}{16AFF}}
+\xeuniblockdef{Pahawh Hmong}{\xeuniregisterblockhex{16B00}{16B8F}}
+\xeuniblockdef{Miao}{\xeuniregisterblockhex{16F00}{16F9F}}
+\xeuniblockdef{Ideographic Symbols and Punctuation}{\xeuniregisterblockhex{16FE0}{16FFF}}
+\xeuniblockdef{Tangut}{\xeuniregisterblockhex{17000}{187FF}}
+\xeuniblockdef{Tangut Components}{\xeuniregisterblockhex{18800}{18AFF}}
+\xeuniblockdef{Kana Supplement}{\xeuniregisterblockhex{1B000}{1B0FF}}
+\xeuniblockdef{Duployan}{\xeuniregisterblockhex{1BC00}{1BC9F}}
+\xeuniblockdef{Shorthand Format Controls}{\xeuniregisterblockhex{1BCA0}{1BCAF}}
+\xeuniblockdef{Byzantine Musical Symbols}{\xeuniregisterblockhex{1D000}{1D0FF}}
+\xeuniblockdef{Musical Symbols}{\xeuniregisterblockhex{1D100}{1D1FF}}
+\xeuniblockdef{Tai Xuan Jing Symbols}{\xeuniregisterblockhex{1D300}{1D35F}}
+\xeuniblockdef{Counting Rod Numerals}{\xeuniregisterblockhex{1D360}{1D37F}}
+\xeuniblockdef{Mathematical Alphanumeric Symbols}{\xeuniregisterblockhex{1D400}{1D7FF}}
+\xeuniblockdef{Sutton SignWriting}{\xeuniregisterblockhex{1D800}{1DAAF}}
+\xeuniblockdef{Glagolitic Supplement}{\xeuniregisterblockhex{1E000}{1E02F}}
+\xeuniblockdef{Mende Kikakui}{\xeuniregisterblockhex{1E800}{1E8DF}}
+\xeuniblockdef{Adlam}{\xeuniregisterblockhex{1E900}{1E95F}}
+\xeuniblockdef{Arabic Mathematical Alphabetic Symbols}{}
+\xeuniblockdef{Mahjong Tiles}{\xeuniregisterblockhex{1F000}{1F02F}}
+\xeuniblockdef{Domino Tiles}{\xeuniregisterblockhex{1F030}{1F09F}}
+\xeuniblockdef{Playing Cards}{\xeuniregisterblockhex{1F0A0}{1F0FF}}
+\xeuniblockdef{Enclosed Alphanumeric Supplement}{\xeuniregisterblockhex{1F100}{1F1FF}}
+\xeuniblockdef{Enclosed Ideographic Supplement}{\xeuniregisterblockhex{1F200}{1F2FF}}
+\xeuniblockdef{Miscellaneous Symbols and Pictographs}{\xeuniregisterblockhex{1F300}{1F5FF}}
+\xeuniblockdef{Emoticons}{\xeuniregisterblockhex{1F600}{1F64F}}
+\xeuniblockdef{Ornamental Dingbats}{\xeuniregisterblockhex{1F650}{1F67F}}
+\xeuniblockdef{Transport and Map Symbols}{\xeuniregisterblockhex{1F680}{1F6FF}}
+\xeuniblockdef{Alchemical Symbols}{\xeuniregisterblockhex{1F700}{1F77F}}
+\xeuniblockdef{Geometric Shapes Extended}{\xeuniregisterblockhex{1F780}{1F7FF}}
+\xeuniblockdef{Supplemental Arrows-C}{\xeuniregisterblockhex{1F800}{1F8FF}}
+\xeuniblockdef{Supplemental Symbols and Pictographs}{\xeuniregisterblockhex{1F900}{1F9FF}}
+\xeuniblockdef{CJK Unified Ideographs Extension B}{\xeuniregisterblockhex{20000}{2A6DF}}
+\xeuniblockdef{CJK Unified Ideographs Extension C}{\xeuniregisterblockhex{2A700}{2B73F}}
+\xeuniblockdef{CJK Unified Ideographs Extension D}{\xeuniregisterblockhex{2B740}{2B81F}}
+\xeuniblockdef{CJK Unified Ideographs Extension E}{\xeuniregisterblockhex{2B820}{2CEAF}}
+\xeuniblockdef{CJK Compatibility Ideographs Supplement}{\xeuniregisterblockhex{2F800}{2FA1F}}
+% load default latin block and blocks requested through Script option in fontspec's font
+% selection commands
+\xeuniuseblock{Latin}
+\Hinput{tuenc-xetex}
+\endinput
+>>> \AddFile{9}{tuenc-xetex}
+
+
+\<tuenc-luatex.4ht\><<<
+% tuenc-luatex.4ht, generated from |jobname.tex
+% Copyright |CopyYear.2016. TeX Users Group
+|<TeX4ht copyright|>
+\RequirePackage{luatexbase}
+\RequirePackage{luacode}
+
+\begin{luacode*}
+ local fontspec = require "fontspec-4ht"
+ luatexbase.add_to_callback("pre_linebreak_filter", fontspec.char_to_entity, "Char to entity")
+ luatexbase.add_to_callback("hpack_filter", fontspec.char_to_entity, "hpack-char-to-entity")
+\end{luacode*}
+\Hinput{tuenc-luatex}
+\endinput
+>>> \AddFile{9}{tuenc-luatex}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Blocks: The /begin.../end Delimiters}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -10366,7 +10407,7 @@
>>>
\<caption shared config\><<<
-\let\lof:ConfigureToc\ConfigureToc
+\let\lof:onfigureToc\ConfigureToc
\long\def\ConfigureToc#1#2#3#4#5{%
\lof:ConfigureToc{#1}{#2}{#3}{#4}{#5}%
\def\:temp{#1}\def\:tempa{lof}\ifx \:temp\:tempa
More information about the tex4ht-commits
mailing list