diff options
Diffstat (limited to 'Master/texmf-dist/doc/support/tex4ebook/README')
-rw-r--r-- | Master/texmf-dist/doc/support/tex4ebook/README | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/support/tex4ebook/README b/Master/texmf-dist/doc/support/tex4ebook/README index d6ba3c51f23..228fe58df6f 100644 --- a/Master/texmf-dist/doc/support/tex4ebook/README +++ b/Master/texmf-dist/doc/support/tex4ebook/README @@ -35,16 +35,15 @@ Run on the command line: tex4ebook [options] filename You don't have to modify your source files unless you want to use commands -defined by `tex4ebook` in the document, or when your document uses some -unsupported package like `fontspec` (see details bellow how to solve this -issue). +defined by `tex4ebook` in the document, or when your document uses a +package which causes a compilation error. If you want to use `tex4ebook` commands, add this line to your document preamble: \usepackage{tex4ebook} -but it is optional. You shouldn't need to modify your \TeX\ files +But it is optional. You shouldn't need to modify your \TeX\ files ## Available commands @@ -79,11 +78,11 @@ but it is optional. You shouldn't need to modify your \TeX\ files `-f,--format (default epub)` -: Output format. epub, epub3 and mobi are supported. +: Output format. Epub, Epub3 and Mobi formats are supported. `-l,--lua` -: Runs htlualatex instead of htlatex. +: Use LuaLaTeX as TeX engine. `-m,--mode (default default)` @@ -105,9 +104,14 @@ but it is optional. You shouldn't need to modify your \TeX\ files : process output html files with `HTML tidy` command^[It needs to be installed separately]. +`-x,--xetex` + +: Use xelatex for document compilation + + `-v,--version` -: print version number +: Print the version number. # Configuration @@ -122,9 +126,9 @@ structure is ... \EndPreamble -Basic info about command configurations can be found in a work-in-progres - *tex4ht tutorial*^[https://github.com/michal-h21/helpers4ht/wiki/tex4ht-tutorial] -, *tex4ht documentation*^[http://www.tug.org/applications/tex4ht/mn11.html], +Basic info about command configurations can be found in a +work-in-progres *tex4ht tutorial*^[https://github.com/michal-h21/helpers4ht/wiki/tex4ht-tutorial], +*tex4ht documentation*^[http://www.tug.org/applications/tex4ht/mn11.html], and in series of blogposts on CV Radhakrishnan's blog: *Configure part 1*^[http://www.cvr.cc/?p=323], *Configure part 2*^[http://www.cvr.cc/?p=362], @@ -209,8 +213,8 @@ Add xml name space to `xhtml` files. Useful in `EPUB 3` `\OpfGuide[filename]{title}{type}` -: Add file to the `<guide>` section in the `OPF` file. See *Where do you start an ePUB and what is the `<guide>` section of the .OPF - file?*^[http://epubsecrets.com/where-do-you-start-an-epub-and-what-is-the-guide-section-of-the-opf-file.php] +: Add file to the `<guide>` section in the `OPF` file. See + *Where do you start an ePUB and what is the `<guide>` section of the `.OPF` file?*^[http://epubsecrets.com/where-do-you-start-an-epub-and-what-is-the-guide-section-of-the-opf-file.php] for some details. Note that `<guide>` is deprecated in `EPUB 3`. ## Build files @@ -244,8 +248,9 @@ if same error as in `tex4ebook` run arises, the problem is in some `tex4ht` configuration. Try to identify the source of problem and if you cannot find the solution, make minimal example showing the error and ask for help either on *tex4ht mailing list*^[http://tug.org/mailman/listinfo/tex4ht] or on -*TeX-sx*^[http://tex.stackexchange.com/]. +*TeX.sx*^[http://tex.stackexchange.com/]. +<!-- ## Fontspec `tex4ht` currently doesn't support `fontspec` and open type fonts. At this @@ -278,6 +283,7 @@ Other approach is to use `alternative4ht` package from [helpers4ht](https://gith bundle. It works only with Lua backend, but it supports full unicode and you don't have to use conditional package inclusion in your document. See an [example](http://michal-h21.github.io/samples/helpers4ht/fontspec.html). +--> ## Validation |