3 ms·
1. Install TeX Live and TeXstudio 2. Start writing your master main.tex file 3. Search a bunch of StackExchange forums, edit main.tex appropriately 4. Now yo
by sehugg 10y ago
1. Install TeX Live and TeXstudio
2. Start writing your master main.tex file
3. Search a bunch of StackExchange forums, edit main.tex appropriately
4. Now you have to edit /usr/share/texmf/tex4ht so your epub converter renders images properly
5. Finish your book. You will never touch that main.tex again, you will use it for everything from now on and take it to the grave
- TheRealPomax 10y agoWhile making sure to tell TeXstudio to use XeLaTeX or LuaTeX, and never the LaTeX/pdftex (unless you live in such a small world you never need a single non-ascii English character of course. Then stick with pure LaTeX)
- projectorlochsa 10y ago\usepackage[utf8]{inputenc} \usepackage[LANG_OF_CHOICE]{babel} solves that problem. there's plenty of font packages available for pdflatex. I use newtxmath and newtxtext and libertine math and text all the time.
- TheRealPomax 10y agoNo it doesn't: you just told me to "choose a language". It's 2017, why would I choose a language when I can just use all the languages with XeLaTeX, using: \usepackage{fontspec} \setmainfont{Noto Sans} and that solves that problem. I can write whatever I want, and stick in lang-specific context switches using \usepackage{ucharclasses} (for making sure macros are inserted for transitions to/from specific unicode blocks) only once I absolutely need them, and no earlier.
- projectorlochsa 10y agoYou haven't really explained why it doesn't. Choosing a language allows you to automatically translate a bunch of strings used by various packages. For examples Chapter, Section, TOC and everything that is autogenerated will be translated to a language. It has nothing to do with utf8. You can remove babel and Chinese, German, Swedish can work in the same file regardless. \usepackage{noto} What's hard about that?