Skip to main content

Section 1 Introduction

This is a sample PreTeXt document to demonstrate and test different fonts used for different languages. For PDF output, and best results, process with xelatex (or lualatex, unsupported). If processed with pdflatex, be prepared for errors, and maybe try running with the command-line option -interaction batchmode or -interaction nonstopmode. Commentary here, and in the original source file, should help you track down what might be missing in your system if the xelatex results are not satisfactory. You can also compare PDF output with the HTML output, which should work well for many different characters tested here.
  1. Your source XML file should always have
    <?xml version="1.0" encoding="UTF-8" ?>
    as the first line of the file to specify that your file contains Unicode characters.
  2. You will need to determine how to make your operating system, keyboard and editor cooperate to create the Unicode characters you need. The Full Unicode Input utility
     1 
    www.cs.tut.fi/~jkorpela/fui.html8
    can be useful for generating short snippets or you can copy/paste from the source of this document.
  3. Generating variants of HTML for web browsers should work smoothly. You can test your system and browser for font support by viewing samples at Alan Wood’s Unicode Resources
     2 
    www.alanwood.net/unicode/unicode_samples.html
    .
Not finding what you are looking for? Send us a request. Even better, send us a snippet of text that I can use as a sample. If you know of any subleties in the use of for your desired font, please include those hints.