<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Some TeX Developments &#187; XeTeX</title>
	<atom:link href="http://www.texdev.net/tag/xetex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.texdev.net</link>
	<description>Coding in the TeX world</description>
	<lastBuildDate>Mon, 08 Mar 2010 08:04:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>siunitx: Getting the micro symbol right</title>
		<link>http://www.texdev.net/2009/12/22/siunitx-getting-the-micro-symbol-right/</link>
		<comments>http://www.texdev.net/2009/12/22/siunitx-getting-the-micro-symbol-right/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 21:12:47 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[siunitx]]></category>
		<category><![CDATA[micro]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=589</guid>
		<description><![CDATA[I get a few e-mails about siunitx and the micro symbol. People tend to be surprised that the symbol ‘sticks’ to a look very much like Computer Modern. The reason is that picking a proper upright (not italic) μ is not so easy in TeX.You don&#8217;t get one in Computer Modern, so siunitx takes one from [...]]]></description>
			<content:encoded><![CDATA[<p>I get a few e-mails about <a title="A comprehensive (SI) units package" href="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=siunitx">siunitx</a> and the micro symbol. People tend to be surprised that the symbol ‘sticks’ to a look very much like Computer Modern. The reason is that picking a proper upright (not italic) μ is not so easy in TeX.You don&#8217;t get one in Computer Modern, so siunitx takes one from the TS1 (text support) set in the absence of a better plan. I&#8217;ve set up some auto-detection for a few obvious alternatives (such as the <a title="Upright Greek letters" href="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=upgreek">upgreek</a> package), but that doesn&#8217;t really work for <a title="The XeTeX Typesetting System" href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=XeTeX">XeTeX</a> users.</p>
<p>XeTeX users are likely to load system fonts, and I&#8217;d hope be using UTF-8 input. That makes it hard to auto-detect what they are doing, but should make life easier for them to get things right. A lot of more comprehensive fonts include Greek letters in the main font, so getting the μ right is simple:</p>
<pre>\sisetup{
  mathsmu = \text{μ},
  textmu  = μ
}
</pre>
<p>or for people testing <a href="http://developer.berlios.de/projects/siunitx/">version 2 of siunitx</a>:</p>
<pre>\sisetup{
  maths-micro = \text{μ},
  text-micro  = μ
}
</pre>
<p>There may be a bit of testing required: this will not work if, for example, you are using the Latin Modern font.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/12/22/siunitx-getting-the-micro-symbol-right/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Testing MiKTeX 2.8 and TeX Live 2009</title>
		<link>http://www.texdev.net/2009/08/02/testing-miktex-2-8-and-tex-live-2009/</link>
		<comments>http://www.texdev.net/2009/08/02/testing-miktex-2-8-and-tex-live-2009/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 10:52:05 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[TeXworks]]></category>
		<category><![CDATA[MiKTeX]]></category>
		<category><![CDATA[TeX Live]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=371</guid>
		<description><![CDATA[Both MiKTeX and TeX Live have new versions in the offing.  I&#8217;ve been testing out both MiKTeX 2.8 and TeX Live 2009, to keep up to date with what is happening. In the past, I&#8217;ve tended to stick with MiKTeX as it is designed for Windows, and so can make some platform-specific decisions and be [...]]]></description>
			<content:encoded><![CDATA[<p>Both <a title="MiKTeX Project Page" href="http://www.miktex.org/">MiKTeX</a> and <a title="TeX Live" href="http://www.tug.org/texlive/">TeX Live</a> have new versions in the offing.  I&#8217;ve been testing out both MiKTeX 2.8 and TeX Live 2009, to keep up to date with what is happening. In the past, I&#8217;ve tended to stick with MiKTeX as it is designed for Windows, and so can make some platform-specific decisions and be more focussed. However, the TeX Live team have done a lot of work to make TeX Live usable across platforms, and there are advantages to that approach.</p>
<p>Looking through the feature lists, a lot of the new features are common to the two systems, for example:</p>
<ul>
<li><a title="TeXworks - lowering the entry barrier to the TeX world" href="http://www.texworks.org">TeXworks</a> installed as a distribution-maintained editor.</li>
<li><a title="XeTeX on the Web" href="http://www.tug.org/xetex/">XeTeX</a> version 0.9995 (which includes the new primitives that the <a title="LaTeX3 Homepage" href="http://www.latex-project.org/latex3.html">LaTeX3</a> team asked for).</li>
<li>Some <code>\write18</code> functions enabled without turning on full <code>\write18</code> support: this is used to allow “safe” functions.</li>
</ul>
<p>There are, of course, also differences. For example, only TeX Live includes <a title="Luatex home page" href="http://www.luatex.org">LuaTeX</a> at present. I also notice that MiKTeX 2.8 is adding the full path of files to the log, whereas in the past you got the relative path. I&#8217;m not so sure this is a good idea: it makes things rather wordy, and also the log will vary between systems: not so great. On the other hand, MiKTeX 2.8 does provide user-specific texmf directories. For multi-user systems, this is a real bonus: you can use the auto-install system without needing to be the Administrator.</p>
<p>As I said, I&#8217;ve tended to use MiKTeX to date as it&#8217;s been the best “fit” on Windows. The latest version of TeX Live makes this a pretty tight call, I think. If you are happy installing a full TeX system (which I do), then there is very little in it. MiKTeX still has the edge for small installations, as the auto-install system really pays off there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/08/02/testing-miktex-2-8-and-tex-live-2009/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>XeTeX links</title>
		<link>http://www.texdev.net/2009/05/30/xetex-links/</link>
		<comments>http://www.texdev.net/2009/05/30/xetex-links/#comments</comments>
		<pubDate>Sat, 30 May 2009 16:34:53 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=304</guid>
		<description><![CDATA[The XeTeX page on the TUG website has been overhauled. It now has a set of useful links about XeTeX and using it. Well worth a visit. Unsurprisingly, there are a lot of XeLaTeX links, but there should be something for everyone. I particularly like the showcase: some of these would be very hard with [...]]]></description>
			<content:encoded><![CDATA[<p>The <a title="XeTeX" href="http://www.tug.org/xetex/">XeTeX</a> page on the <a title="The TeX Users Group" href="http://www.tug.org">TUG</a> website has been overhauled. It now has a set of useful links about XeTeX and using it. Well worth a visit. Unsurprisingly, there are a lot of XeLaTeX links, but there should be something for everyone. I particularly like the <a title="XeTeX showcase" href="http://www.tug.org/mactex/src/Demos/XeTeX-showcase/">showcase</a>: some of these would be very hard with traditional TeX!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/05/30/xetex-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regular expressions</title>
		<link>http://www.texdev.net/2009/05/30/regular-expressions/</link>
		<comments>http://www.texdev.net/2009/05/30/regular-expressions/#comments</comments>
		<pubDate>Sat, 30 May 2009 16:27:38 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[LuaTeX]]></category>
		<category><![CDATA[pdfTeX]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[TeXworks]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=302</guid>
		<description><![CDATA[Regular expressions are very popular as a quick and powerful way to carry out searches and replacements in text of all sorts. Traditionally, TeX handles tokens and not strings or characters. This means that doing regex searches using TeX82 is pretty much impossible. To solve this, recent versions of pdfTeX adds the \pdfmatch primitive to [...]]]></description>
			<content:encoded><![CDATA[<p>Regular expressions are very popular as a quick and powerful way to carry out searches and replacements in text of all sorts. Traditionally, TeX handles tokens and not strings or characters. This means that doing regex searches using TeX82 is pretty much impossible. To solve this, recent versions of <a title="pdfTeX" href="http://www.pdftex.org">pdfTeX</a> adds the <code>\pdfmatch</code> primitive to allow real <em>string </em>matching inside TeX. The <a title="LuaTeX homepage" href="http://www.luatex.org">LuaTeX</a> team have decided not to take all of the existing “new” primitives forward from pdfTeX, and as I understand it  <code>\pdfmatch</code> will not be implemented in LuaTeX. However, Lua itself has regular expression matching, and so the functionality will still be around.</p>
<p>I&#8217;ve recently talked about <a href="http://www.texdev.net/2009/05/17/more-on-xetex-primitives/">adding new primitives to XeTeX</a>, and you&#8217;ll see that <code>\pdfmatch</code> was not on the list for adding to <a title="XeTeX" href="http://www.tug.org/xetex/">XeTeX</a>. The reason is that a XeTeX implementation would have to be slightly different from pdfTeX, as it is natively UTF-8, but also would be different to LuaTeX, as it would still be a TeX primitive and not a Lua function. So here “the prize wasn&#8217;t worth the winning”, in my opinion. As it is,  using <code>\pdfmatch</code> is not widespread, and the idea of having three different regex methods inside TeX didn&#8217;t seem like a great idea!</p>
<p>Talking of regex implementations, I&#8217;ve been reading <a title="Programming in Lua" href="http://www.amazon.com/exec/obidos/ASIN/8590379825/lua-home-20"><em>Programming in Lua</em></a>, and also working with <a title="TeXworks: lowering the entry barrier to the TeX world" href="http://www.tug.org/texworks">TeXworks</a> to try to get syntax highlighting the way I like it. Both systems are slightly different, and it seems both are different from the <a title="Perl" href="http://www.perl.org">Perl</a> implementation. It seems that every time you want to use a regex system you have to read the manual to see which things are different from every other implementation!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/05/30/regular-expressions/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>More on XeTeX primitives</title>
		<link>http://www.texdev.net/2009/05/17/more-on-xetex-primitives/</link>
		<comments>http://www.texdev.net/2009/05/17/more-on-xetex-primitives/#comments</comments>
		<pubDate>Sun, 17 May 2009 14:40:07 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[pdfTeX]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=296</guid>
		<description><![CDATA[There has been a bit more work on the idea of adding primitives to XeTeX to match those available in pdfTeX.The list of pdfTeX primitives which look interesting has grown slightly, and now reads:

\ifincsname
\ifpdfprimitive
\pdfprimitive
\pdfshellescape
\pdfstrcmp

At the same time, it would be useful to include the “extended” version of \vadjust which pdfTeX makes available. This is something [...]]]></description>
			<content:encoded><![CDATA[<p>There has been a bit more work on the idea of adding primitives to <a title="The XeTeX typesetting system" href="http://www.tug.org/xetex/">XeTeX</a> to match those available in <a title="pdfTeX" href="http://www.pdftex.org">pdfTeX</a>.The list of pdfTeX primitives which look interesting has grown slightly, and now reads:</p>
<ul>
<li><code>\ifincsname</code></li>
<li><code>\ifpdfprimitive</code></li>
<li><code>\pdfprimitive</code></li>
<li><code>\pdfshellescape</code></li>
<li><code>\pdfstrcmp</code></li>
</ul>
<p>At the same time, it would be useful to include the “extended” version of <code>\vadjust</code> which pdfTeX makes available. This is something that has been <a title="[XeTeX] wanted: \vajdust pre" href="http://www.tug.org/pipermail/xetex/2008-August/010720.html">asked about before</a>, and as with the rest of the changes the main issue is not the idea of doing it but the time for actual implementation.</p>
<p>The real need to have <code>\pdfstrcmp</code> available for <a title="LaTeX3 Homepage" href="http://www.latex-project.org/latex3.html">LaTeX3</a> work means that some effort has actually gone into this. I&#8217;ve got no experience with either Pascal or the <a title="The CWEB System of Structured Documentation " href="http://sunburn.stanford.edu/~knuth/cweb.html">WEB format</a>, but I&#8217;ve managed but dint of determination to get something passable to Jonathan Kew. There will need to be some adjustments, as XeTeX works with UTF-8 internally, which pdfTeX does not do. However, I&#8217;m hopeful that we will see new primitives in XeTeX soon.</p>
<p>Quite how the primitives will be named is still to be decided. The existing <code>\pdf...</code> naming does not really make sense with these non-PDF related functions. So they could end up as  <code>\XeTeX...</code> or may just be given generic names. I&#8217;m leaving that to Jonathan!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/05/17/more-on-xetex-primitives/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Additional primitives for XeTeX</title>
		<link>http://www.texdev.net/2009/05/14/additional-primitives-for-xetex/</link>
		<comments>http://www.texdev.net/2009/05/14/additional-primitives-for-xetex/#comments</comments>
		<pubDate>Thu, 14 May 2009 19:34:04 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[pdfTeX]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=290</guid>
		<description><![CDATA[XeTeX has, over the past few years, made using TeX with multiple fonts and UTF-8 input easy.  The work-flow using XeTeX is very much more accessible than the routes needed using pdfTeX or TeX82. So I&#8217;m sure that many people, like me, use XeTeX whenever they want to use arbitrary fonts or to write anything [...]]]></description>
			<content:encoded><![CDATA[<p><a title="The XeTeX typesetting system" href="http://www.tug.org/xetex/">XeTeX</a> has, over the past few years, made using TeX with multiple fonts and UTF-8 input easy.  The work-flow using XeTeX is very much more accessible than the routes needed using <a title="pdfTeX" href="http://www.pdftex.org">pdfTeX</a> or TeX82. So I&#8217;m sure that many people, like me, use XeTeX whenever they want to use arbitrary fonts or to write anything which doesn&#8217;t use western European characters.</p>
<p>XeTeX is based on <a title="The e-TeX Short Reference Manual" href="http://www.tug.org/texmf-dist/doc/etex/base/etex_ref.html">ε-TeX</a>, which means it has a number of primitives which were not present in TeX82, but are present in ε-TeX itself or in pdfTeX (which also includes the ε-TeX primitives). However, ε-TeX was finalised over ten years ago, and since then the pdfTeX team have added a number of new primitives, many related directly to PDF output. At the same time, XeTeX includes its own new or extended primitive functions, in this case focussed on UTF input. For the most part this does not concern people as things work fine.</p>
<p>Recently, there has been some testing of the current <a title="LaTeX3 Homepage" href="http://www.latex-project.org/latex3.html">LaTeX3</a> code with XeTeX (and older versions of pdfTeX, which don&#8217;t have all of the newer primitives). LaTeX3 requires the  ε-TeX extensions, which are as I said available with any modern TeX engine. However, when it&#8217;s available LaTeX3 also uses the <code>\pdstrcmp</code> primitive: this is only present in <em>newer</em> versions of pdfTeX. For those people not familiar with <code>\pdstrcmp</code>, it allows you to do <em>string </em>comparisons of text (not token comparisons), and in an expandable manner.  This is very useful, and much better than doing things without it; with no <code>\pdfstrcmp</code>, comparisons are not expandable. It became clear that there is a danger of some things working when using newer versions of pdfTeX, but failing with older ones or with XeTeX. Older versions of pdfTeX is one thing (the advice can simply be “sorry, you&#8217;ll have to update your pdfTeX”), but failing with XeTeX is simply no acceptable. After a bit of discussion, the best solution seemed to be to talk to Jonathan Kew about getting a very small number of “new” pdfTeX primitives into XeTeX.</p>
<p>At the moment, things are still under discussion, but the list of additional primitives is going to be small (somewhere between 2 and 5 seems likely). I think it&#8217;s giving nothing away to say that <code>\pdfstrcmp</code> is one that really is needed (although the name might be an issue!). Another likely candidate is <code>\ifincsname</code>, which looks handy and also not too complex to implement. There are a few other suggestions, but I&#8217;m not sure just yet what will be really <em>needed</em>, as opposed to nice to have. What is clear is that this is a one-off request. Once these small gaps are filled, LaTeX3 will not be using other primitives for general functions. I&#8217;m not sure how long it will take to finalise things, both for the team to agree on what is needed and for Jonathan Kew to do the hard work, but I&#8217;d imagine weeks not longer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/05/14/additional-primitives-for-xetex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A XeTeX snag</title>
		<link>http://www.texdev.net/2009/05/11/a-xetex-snag/</link>
		<comments>http://www.texdev.net/2009/05/11/a-xetex-snag/#comments</comments>
		<pubDate>Mon, 11 May 2009 16:55:29 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[LaTeX3]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=287</guid>
		<description><![CDATA[Testing the current LaTeX3 code means worrying about what primitives are available. Recent releases of pdfTeX have included a number of new primitives, and the expl3 system currently uses \pdfstrcmp if it finds it. This has already caused one issue, as things were broken if it was not available. So I&#8217;ve been modifying the test [...]]]></description>
			<content:encoded><![CDATA[<p>Testing the current <a title="LaTeX3 development code" href="http://www.latex-project.org/code.html">LaTeX3 code</a> means worrying about what primitives are available. Recent releases of <a title="pdfTeX" href="http://www.pdftex.org">pdfTeX</a> have included a number of new primitives, and the expl3 system currently uses <code>\pdfstrcmp</code> if it finds it. This has already caused one issue, as things were broken if it was not available. So I&#8217;ve been modifying the test system a little, to run the tests with pdfLaTeX and XeLaTeX. The “new” primitives are not available with <a title="The XeTeX typesetting system" href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=XeTeX">XeTeX</a>, so this is a good test of our code: it&#8217;s supposed to work with both. I&#8217;ve found one odd thing going on with the LateX3 code, but also one thing that seems to be a XeTeX snag.</p>
<p>The snag can be tracked down (thanks to Morten Høgholm) to a minimal case:</p>
<pre>\message{\ifcat\par\relax T\else F\fi}</pre>
<p>If you try this in TeX or pdfTeX, you get <code>T</code> in the log (as <em>The TeXbook</em> says you should). With XeTeX, you get <code>F</code>. Whether this is a bug or a feature, I don&#8217;t know. I&#8217;m sure Jonathan Kew will elaborate, but it reminds me of the need to test using different set ups. You can imagine some very odd errors appearing with this type of thing!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/05/11/a-xetex-snag/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LuaTeX: new primitives, new names</title>
		<link>http://www.texdev.net/2009/03/05/luatex-new-primitives-new-names/</link>
		<comments>http://www.texdev.net/2009/03/05/luatex-new-primitives-new-names/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 19:13:03 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[LuaTeX]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=213</guid>
		<description><![CDATA[There has been quite a bit of dicussion recently on the LuaTeX mailing list about primitive names.  The basic set of primitive names provided by TeX has already been extended by e-TeX, pdfTeX and XeTeX. While e-TeX primitives have names which express only the function (such as \detokenize), both pdfTeX and XeTeX have tended to [...]]]></description>
			<content:encoded><![CDATA[<p>There has been quite a bit of dicussion recently on the <a title="LuaTeX Mailing List" href="http://tug.org/pipermail/luatex/">LuaTeX mailing list</a> about primitive names.  The basic set of primitive names provided by TeX has already been extended by e-TeX, <a title="pdfTeX Homepage" href="http://www.tug.org/applications/pdftex/">pdfTeX</a> and <a title="XeTeX Homepage" href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=xetex">XeTeX</a>. While e-TeX primitives have names which express only the function (such as <code>\detokenize</code>), both pdfTeX and XeTeX have tended to add the engine name to all new primitives. So for example pdfTeX provides the <code>\pdfprimitive</code> function, which always carries out the orginial function of a name, even if it has later been redefined:</p>
<pre>\let\everypar\undefined
% \everypar{Some stuff} % Gives an error
\pdfprimitive\everypar{Some stuff}</pre>
<p>will, for example, add material to <code>\everypar</code> despite the redefinition.</p>
<p>In <a title="LuaTeX Homepage" href="http://www.luatex.org/">LuaTeX</a>, the idea of adding an engine-specific prefix has been abandoned. The example above shows one reason why: <code>\pdfprimitive</code> makes more sense with the name <code>\primitive</code> (which is what LuaTeX calls it). The problem with this is that name clashes are marginally more likely without a prefix (for example, <code>\expanded</code> is used in <a title="ConTeXt Homepage" href="http://wiki.contextgarden.net/Main_Page">ConTeXt</a> as a macro, but this is planned as a primitive for pdfTeX 1.50).</p>
<p>On the other hand, LuaTeX is a fundamental break with previous engines, as the internal changes mean that it may give different line breaks and so on to earlier systems. Thus the argument for new, logical, primitive names is that moving to LuaTeX is not the same as moving from TeX to pdfTeX or pdfTeX to XeTeX. There will be changes, and the user (or package developer) will need to think about them before diving in.</p>
<p>Overall, I think the LuaTeX idea is the best in the long term. Primitives which have well specified names help everyone, and some times change is necessary. I&#8217;ll be interest to see if the <code>\directlua</code> primitive for actually using Lua ends up with a shorter name (just <code>\lua</code>, anyone?).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/03/05/luatex-new-primitives-new-names/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Improving LaTeX for the user</title>
		<link>http://www.texdev.net/2009/01/27/improving-latex-for-the-user/</link>
		<comments>http://www.texdev.net/2009/01/27/improving-latex-for-the-user/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 13:37:28 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[LaTeX3]]></category>
		<category><![CDATA[siunitx]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[LuaTeX]]></category>
		<category><![CDATA[UTF-8]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=128</guid>
		<description><![CDATA[I&#8217;ve been discussing some points about the future of (La)TeX with various people, and some key issues come to mind.  Most LaTeX users do not want to meddle with the internal parts of LaTeX or TeX.  In an ideal world, I suspect most users would like to need little beyond the correct document class to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been discussing some points about the future of (La)TeX with various people, and some key issues come to mind.  Most LaTeX users do not want to meddle with the internal parts of LaTeX or TeX.  In an ideal world, I suspect most users would like to need little beyond the correct document class to get things “just right” in their layout.  Perhaps a few simple settings, but really little more than that.</p>
<p>With the correct packages and class loaded, you can do many things in LaTeX.  However, you really shouldn&#8217;t need to load specific support for hyperlinks, T1 encoding, basic font changing, creating new float types and so on in 2009 (let alone 2010, 2011, <em>etc</em>.).  The efforts of the <a title="LaTeX3 Homepage" href="http://www.latex-project.org/latex3.html">LaTeX3</a> team have to date focussed on programming and to a lesser extent document design.  How things will work at the user level is much less clear.</p>
<p>I&#8217;d suggest that a real focus on getting something for users would be the best way forward.  This might mean less improvement internally, but I&#8217;d think that a LaTeX kernel which could do everything in <em>The LaTeX Companion</em> would be pretty successful, even with few changes “under the hood”. This would mainly be a re-coding excercise from existing packages, which in a way is similar to what I&#8217;ve tried to do with <a title="siunitx - A comprehensive (SI) units package" href="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=siunitx">siunitx</a>.  Much of the basics in siunitx are taken from other packages (at least in terms of user interface), but it brings several ideas together in one place.  The same idea could easily be applied to the kernel.  Of course, this might leave some of the clever ideas for LaTeX3 out of the code at this stage, but I&#8217;d hope would get momentum behind a more regularly updated system.</p>
<p>One particular area to think about is fonts.  With both XeTeX and LuaTeX able to handle system fonts directly, the basic LaTeX system seems very antiquated.  At present, LaTeX3 only requires e-TeX, not LuaTeX (in contrast to <a title="ConTeXt Wiki" href="http://wiki.contextgarden.net">ConTeXt</a> Mark IV).  Should the LaTeX team say something like:</p>
<blockquote><p>For current testing purposes, only the e-TeX extensions are needed, but this is likely to change.  XeTeX or LuaTeX will be required to run the release version of LaTeX3 with full functionality.</p></blockquote>
<p>I&#8217;d say yes, as I think that it&#8217;s time to move on from complex font installation and usage restrictions.  I&#8217;d also be very tempted to say that LaTeX3 will assume UTF-8 input unless otherwise specified (as both XeTeX and LuaTeX are native UTF-8 systems).</p>
<p>This type of approach will make LaTeX easier to use, and I&#8217;d hope to see it arrive!  After all, users are the TeX community.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/01/27/improving-latex-for-the-user/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>XeTeX and LuaTeX: Directions</title>
		<link>http://www.texdev.net/2009/01/11/xetex-and-luatex-directions/</link>
		<comments>http://www.texdev.net/2009/01/11/xetex-and-luatex-directions/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 11:45:18 +0000</pubDate>
		<dc:creator>Joseph Wright</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[LuaTeX]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://www.texdev.net/?p=94</guid>
		<description><![CDATA[The XeTeX and LuaTeX engines both offer exciting ideas to the TeX user and the (La)TeX programmer. Using XeTeX, UTF-8 input is easy: no more awkward escape sequences. Font handling in XeTeX also makes it trivial to use any font installed on your system. On the other side of the equation, LuaTeX is going to [...]]]></description>
			<content:encoded><![CDATA[<p>The XeTeX and LuaTeX engines both offer exciting ideas to the TeX user and the (La)TeX programmer. Using XeTeX, UTF-8 input is easy: no more awkward escape sequences. Font handling in XeTeX also makes it trivial to use any font installed on your system. On the other side of the equation, LuaTeX is going to bring a lot of useful programming tools to the TeX world. This should make some things a lot easier (handling floating point manipulation seems an obvious one), and make other things possible that are not currently.</p>
<p>The issue for me is the gaps between the two. XeTeX doesn&#8217;t have things like microtypography (try loading the microtype package and doing a XeLaTeX run), and it&#8217;s not clear to me how LuaTeX will work out with font handling. There&#8217;s also the DVI <em>versus </em>PDF issue: will we see a system where EPS, PNG, JPEG and PDF graphics can all be included without worrying about the engine in use? In many ways, I suppose these questions are more for the LuaTeX team to address: XeTeX has essentially delivered what it set out to do (a Unicode TeX which can use system fonts natively).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.texdev.net/2009/01/11/xetex-and-luatex-directions/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
