ConTeXt Command Differences between Tex Live and Minimals
In general, where do I look to resolve differences between ConTeXt commands which work using the Tex Live distribution, but which do not work using the Minimals distribution. I am thinking of switching to the Minimals distribution since I can keep it more current, and it appears to resolve a problem hyphenating URLs which contain multiple, adjacent hyphens. Specifically, the command "\inothermargin" is not recognized when using the Minimals distribution. While I would appreciate a solution to this issue, I would very much appreciate knowing where to look to resolve the issue myself. I have consulted the most recent documentation, and searched the ConTeXt wiki. Tex Live Distribution reports: MTXrun | current version: 2010.05.24 13:05 This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736) Minimals Distribution reports: mtx-context | current version: 2011.05.18 18:04 This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
On Thu, Jun 30, 2011 at 16:24, Raymond LeClair wrote:
In general, where do I look to resolve differences between ConTeXt commands which work using the Tex Live distribution, but which do not work using the Minimals distribution.
I'm afraid that the only option is to compare the sources (tex/gereric/context/base). (It is not very common that newer version doesn't support an older command though, while the reverse is often true.)
Tex Live Distribution reports:
MTXrun | current version: 2010.05.24 13:05 This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736)
You can install TeX Live 2011 if you want to use a more recent version of ConTeXt. http://www.tug.org/texlive/pretest.html Mojca
Perfect, I can compare sources...here's what I find: == Tex Live Distribution == MTXrun | current version: 2010.05.24 13:05 This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736) # cd /usr/share/texmf/tex/context/base # grep inothermargin * page-mar.mkii:\def\inothermargin{\inother} == Minimals Distribution == mtx-context | current version: 2011.05.18 18:04 This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) # cd /opt/context-current/tex/texmf-context/tex/context/base # grep inothermargin * page-mar.mkii:\def\inothermargin{\inother} So it appears that the command "\inothermargin" is defined in both distributions. However... \starttext \inothermargin{donald}\input knuth \stoptext works in Tex Live but not in Minimals. On Jun 30, 2011, at 10:46 AM, Mojca Miklavec wrote:
On Thu, Jun 30, 2011 at 16:24, Raymond LeClair wrote:
In general, where do I look to resolve differences between ConTeXt commands which work using the Tex Live distribution, but which do not work using the Minimals distribution.
I'm afraid that the only option is to compare the sources (tex/gereric/context/base).
(It is not very common that newer version doesn't support an older command though, while the reverse is often true.)
Tex Live Distribution reports:
MTXrun | current version: 2010.05.24 13:05 This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736)
You can install TeX Live 2011 if you want to use a more recent version of ConTeXt. http://www.tug.org/texlive/pretest.html
Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Thu, Jun 30, 2011 at 17:44, Raymond LeClair wrote:
Perfect, I can compare sources...here's what I find:
== Tex Live Distribution ==
MTXrun | current version: 2010.05.24 13:05 This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736)
# cd /usr/share/texmf/tex/context/base # grep inothermargin * page-mar.mkii:\def\inothermargin{\inother}
== Minimals Distribution ==
mtx-context | current version: 2011.05.18 18:04 This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
# cd /opt/context-current/tex/texmf-context/tex/context/base # grep inothermargin * page-mar.mkii:\def\inothermargin{\inother}
So it appears that the command "\inothermargin" is defined in both distributions. However...
\starttext \inothermargin{donald}\input knuth \stoptext
works in Tex Live but not in Minimals.
Since you seem to be using MKIV (LuaTeX), you have to ignore entries with *.mkii files. Only *.tex (if any left at all), *.lua and *.mkiv are relevant for MKIV. This gives you page-mar.mkiv:\def\inothermargin{\inother} page-mar.mkiv:%D \inothermargin{\TestLine{yellow} {x}} test test test \par page-mar.mkiv:% \input tufte \inothermargin{test} \input tufte However the file page-mar.mkiv starts with: \endinput % obsolete, also commented code in anch-pgr.mkiv You need to ask Hans about the reason. Mojca
On 30-6-2011 5:56, Mojca Miklavec wrote:
On Thu, Jun 30, 2011 at 17:44, Raymond LeClair wrote:
Perfect, I can compare sources...here's what I find:
== Tex Live Distribution ==
MTXrun | current version: 2010.05.24 13:05 This is LuaTeX, Version beta-0.60.2-2010071217 (TeX Live 2010) (rev 3736)
# cd /usr/share/texmf/tex/context/base # grep inothermargin * page-mar.mkii:\def\inothermargin{\inother}
== Minimals Distribution ==
mtx-context | current version: 2011.05.18 18:04 This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277)
# cd /opt/context-current/tex/texmf-context/tex/context/base # grep inothermargin * page-mar.mkii:\def\inothermargin{\inother}
So it appears that the command "\inothermargin" is defined in both distributions. However...
\starttext \inothermargin{donald}\input knuth \stoptext
works in Tex Live but not in Minimals.
Since you seem to be using MKIV (LuaTeX), you have to ignore entries with *.mkii files. Only *.tex (if any left at all), *.lua and *.mkiv are relevant for MKIV. This gives you
page-mar.mkiv:\def\inothermargin{\inother} page-mar.mkiv:%D \inothermargin{\TestLine{yellow} {x}} test test test \par page-mar.mkiv:% \input tufte \inothermargin{test} \input tufte
However the file page-mar.mkiv starts with: \endinput % obsolete, also commented code in anch-pgr.mkiv
You need to ask Hans about the reason.
because all that stuff is reimplemented in typo-mar.mkiv \inmargin{test}test \inother {test}test ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Mojca Miklavec
-
Raymond LeClair