Changes

Jump to navigation Jump to search
no edit summary
\XeTeXpdffile "stuff/pdfTest.pdf" height .5\paperheight width \paperwidth
</texcode>
 
==Encoding==
This is not exact, at least at the moment (16/09/07), so it could be confusing:
 
XeTeX is able to handle UTF-8 or UTF-16 documents natively, without any interference or configuration from ConTeXt. If you do want ConTeXt to process UTF-8 characters specially, then you can activate it with <cmd>enableregime</cmd><tt>[utf]</tt>. Be aware that you are then limited by the named glyphs that exist in the unicode vector files (<tt>unic-0xx</tt>). However, it is generally desirable to enter UTF documents without any regime notated, and let XeTeX work its magic.
 
You don't have to encode documents in UTF, though. ConTeXt allows you to use the regime of your choice because of its use of named glyphs, so documents in latin-1 or even MacRoman encoding can be supported, given the proper <cmd>enableregime</cmd> command. For characters out of reach of the given regime, you can use accents (like <tt>\'e</tt>) and/or named glyphs (<tt>\eacute</tt>).
89

edits

Navigation menu