![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Hi all, ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system? Wolfgang
![](https://secure.gravatar.com/avatar/808695cc24f6eb382f8bdc0e7e753dfe.jpg?s=120&d=mm&r=g)
Le 08 févr. 2010 à 12:25, Wolfgang Schuster a écrit:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
I once tried to list the different points missing regarding the french language support and think of a way to integrate them as a module for ConTeXt, as frenchb [1] does for LaTeX. This is finally not trivial at all (at least for me). I don't know if this goes in the category « something missing » you are talking about... but for me, it is a reason why I stick to LaTeX. [1] http://daniel.flipo.free.fr/frenchb/index.html Cheers, -- Sébastien Mengin Édition et logiciels libres < Mise en page avec LaTeX > http://edilibre.net
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Mon, Feb 08 2010, Sebastien Mengin wrote:
I once tried to list the different points missing regarding the french language support and think of a way to integrate them as a module for ConTeXt, as frenchb [1] does for LaTeX.
This is finally not trivial at all (at least for me).
I don't know if this goes in the category « something missing » you are talking about... but for me, it is a reason why I stick to LaTeX.
This could be a starting point: http://modules.contextgarden.net/t-french What do you need? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 8-2-2010 12:55, Peter Münster wrote:
On Mon, Feb 08 2010, Sebastien Mengin wrote:
I once tried to list the different points missing regarding the french language support and think of a way to integrate them as a module for ConTeXt, as frenchb [1] does for LaTeX.
This is finally not trivial at all (at least for me).
I don't know if this goes in the category « something missing » you are talking about... but for me, it is a reason why I stick to LaTeX.
This could be a starting point: http://modules.contextgarden.net/t-french
What do you need?
once we have a clear picture (non conflicting demands) it's easy to implement .. the idea behind that page was to get a consistent model Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/26aef9b82ef5d6b1f4691b9f23930836.jpg?s=120&d=mm&r=g)
Am 08.02.2010 um 12:43 schrieb Sebastien Mengin:
Le 08 févr. 2010 à 12:25, Wolfgang Schuster a écrit:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
I once tried to list the different points missing regarding the french language support and think of a way to integrate them as a module for ConTeXt, as frenchb [1] does for LaTeX.
This is finally not trivial at all (at least for me).
I don't know if this goes in the category « something missing » you are talking about... but for me, it is a reason why I stick to LaTeX.
[1] http://daniel.flipo.free.fr/frenchb/index.html
Cheers,
-- Sébastien Mengin
Hi, there is a nice LaTeX package called floatrow. Most of the things what it does you can do with ConTeXt much more easily expect (i think) one thing: placing more than one picture in a given width with automatic rescaling of the images so all images in one row have the same height. This feature is really handy for me. Maybe there is something in ConTeXt which does the same and i´m missing something? best regards Bernhard
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 08.02.10 12:43, schrieb Sebastien Mengin:
I once tried to list the different points missing regarding the french language support and think of a way to integrate them as a module for ConTeXt, as frenchb [1] does for LaTeX.
This is finally not trivial at all (at least for me).
Do you have a english version of the manual or can you make a summary what the package provides (it's hard to guess from the commands)? Wolfgang
![](https://secure.gravatar.com/avatar/808695cc24f6eb382f8bdc0e7e753dfe.jpg?s=120&d=mm&r=g)
Le 08 févr. 2010 à 01:14, Wolfgang Schuster a écrit:
Am 08.02.10 12:43, schrieb Sebastien Mengin:
I once tried to list the different points missing regarding the french language support and think of a way to integrate them as a module for ConTeXt, as frenchb [1] does for LaTeX.
This is finally not trivial at all (at least for me).
Do you have a english version of the manual or can you make a summary what the package provides (it's hard to guess from the commands)?
Yes, here's the manual (PDF) produced from the DTX file from CTAN. http://edilibre.net/depot/frenchb.pdf Thanks for your interest, -- Sébastien Mengin Édition et logiciels libres < Mise en page avec LaTeX > http://edilibre.net
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Mon, Feb 08 2010, Wolfgang Schuster wrote:
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
The lst-listing package from LaTeX is very good. I would be nice, to get at least support for pretty printing the language C. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/ac3fbaf0a287c4cffbc9f18fa931586c.jpg?s=120&d=mm&r=g)
On Monday 08 February 2010 12:25:58 Wolfgang Schuster wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
Hello, I have been using the (old) chart module to draw not only flow charts but also to draw functional diagrams for gas handling and hydrolics systems. This module could be significantly developped, in particular though abstraction of node placement, color, etc. One could go further, drawing tree diagrams. Here, I am thinking about some of the possibilities of pgf/TiKz. Something probably already exists in Metapost, but it would be nice to have such tools native in ConTeXt. pgf/TiKz is a nice package, and I like its support for ConTeXt. However, a simpler, cleaner interface and syntax can be achieved natively in ConTeXt and Metapost... Going a bit further, I suppose that the same logic could be applied to drawing schematic diagrams for electronics. And why not abstract this further? One could then flexibly logically place (and connect) containers of any sort. I use collectors and columnsetspan to put together posters (A0). This could be made easier. Alan
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 08.02.10 14:41, schrieb Alan BRASLAU:
And why not abstract this further? One could then flexibly logically place (and connect) containers of any sort. I use collectors and columnsetspan to put together posters (A0). This could be made easier.
The flowfram [1] package for LaTeX looks like a good example how this can be done and with the current stream and layer mechanism it should be doable to provide something similar in ConTeXt. [1] http://ctan.org/tex-archive/help/Catalogue/entries/flowfram.html Wolfgang
![](https://secure.gravatar.com/avatar/8870709061256c1b455dca8f169e855e.jpg?s=120&d=mm&r=g)
I'd just like to chime in that a new bibliography system would be first suggestion for ConTeXt. I've only used BibTeX a few times, and never BibLaTeX (because I'd already switched to ConTeXT), but it's inflexibility makes it unworkable. Ideally ConTeXt could provide its general sensible-ness (and Lua power) to do for bibliographies what it has already done for TeX. CSL support and something similar to string.format('%s. (%s). %s.', author, year, title) or something just as easy for defining a new output style would be the two features most desired. If MLA were finally implemented (or implementable) for \cite{} in TeX, I would be a very happy masters student indeed ;) (BibLaTeX's MLA did not work for me in LyX, which is about as far as I'm going to go into LaTeX). Until then I'll just use the MLA setup environment from the ConTeXt wiki and input my refs by hand. On Mon, Feb 8, 2010 at 5:54 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 08.02.10 14:41, schrieb Alan BRASLAU:
And why not abstract this further? One could then flexibly
logically place (and connect) containers of any sort. I use collectors and columnsetspan to put together posters (A0). This could be made easier.
The flowfram [1] package for LaTeX looks like a good example how this can be done and with the current stream and layer mechanism it should be doable to provide something similar in ConTeXt.
[1] http://ctan.org/tex-archive/help/Catalogue/entries/flowfram.html
Wolfgang
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/a5c08a43051c146e1e17a5e4e7d052f4.jpg?s=120&d=mm&r=g)
Hello Wolfgang! On 2010-02-08 <12:25:58>, Wolfgang Schuster wrote:
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system? Most definately: all the details of Philipp Lehman's BibLaTeX package which is one of the greatest things LaTeX has to offer: multi-part bibliographies, lots of different citation rules, manifold idem/ibidem/ op. cit. &c handling, authoring new styles -- all solved in one single stroke and neatly documented.
That'd be "nice to have" … Philipp
![](https://secure.gravatar.com/avatar/26aef9b82ef5d6b1f4691b9f23930836.jpg?s=120&d=mm&r=g)
Am 08.02.2010 um 14:49 schrieb Philipp Gesang:
Hello Wolfgang!
On 2010-02-08 <12:25:58>, Wolfgang Schuster wrote:
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system? Most definately: all the details of Philipp Lehman's BibLaTeX package which is one of the greatest things LaTeX has to offer: multi-part bibliographies, lots of different citation rules, manifold idem/ibidem/ op. cit. &c handling, authoring new styles -- all solved in one single stroke and neatly documented.
yes, apart from floatrow i mentioned earlier biblatex features are superior. AFAIKS the bibliography module will be rewritten and maybe will have similar features? nevertheless for me ConTeXt is way ahead of LaTeX! best regards Bernhard
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Philipp Gesang wrote:
Hello Wolfgang!
On 2010-02-08 <12:25:58>, Wolfgang Schuster wrote:
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system? Most definately: all the details of Philipp Lehman's BibLaTeX package which is one of the greatest things LaTeX has to offer: multi-part bibliographies, lots of different citation rules, manifold idem/ibidem/ op. cit. &c handling, authoring new styles -- all solved in one single stroke and neatly documented.
That'd be "nice to have" …
Well, the context bib module predates biblatex by a few years, and I never got around doing a rewrite after biblatex had added new stuff the bib module didn't have ...
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 8-2-2010 14:49, Philipp Gesang wrote:
Hello Wolfgang!
On 2010-02-08<12:25:58>, Wolfgang Schuster wrote:
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system? Most definately: all the details of Philipp Lehman's BibLaTeX package which is one of the greatest things LaTeX has to offer: multi-part bibliographies, lots of different citation rules, manifold idem/ibidem/ op. cit.&c handling, authoring new styles -- all solved in one single stroke and neatly documented.
That'd be "nice to have" …
fyi: the whole bin stuff will be redone in mkiv. some of it is already done. 1 - mkii compatible support (built in, no module) 2 - loading of bib databases in memory and converte them in an xml tree 3 - access to entries in arbitrary ways using path expressions 4 - rewrite of rendering variants using the built in xml handler 1 is more or less done, 2 also, 3 is possible but we might want more and for 4 taco and i will cook up an interface Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/a5c08a43051c146e1e17a5e4e7d052f4.jpg?s=120&d=mm&r=g)
On 2010-02-08 <16:12:09>, Hans Hagen wrote:
fyi: the whole bin stuff will be redone in mkiv. some of it is already done.
1 - mkii compatible support (built in, no module) 2 - loading of bib databases in memory and converte them in an xml tree 3 - access to entries in arbitrary ways using path expressions 4 - rewrite of rendering variants using the built in xml handler
1 is more or less done, 2 also, 3 is possible but we might want more and for 4 taco and i will cook up an interface
Great news, indeed! Is some of this already usable / accessable by way of functions in minimals? I can't wait to have a glance at those features, especially no. 3. Regards, Philipp
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 08.02.10 22:14, schrieb Philipp Gesang:
On 2010-02-08<16:12:09>, Hans Hagen wrote:
fyi: the whole bin stuff will be redone in mkiv. some of it is already done.
1 - mkii compatible support (built in, no module) 2 - loading of bib databases in memory and converte them in an xml tree 3 - access to entries in arbitrary ways using path expressions 4 - rewrite of rendering variants using the built in xml handler
1 is more or less done, 2 also, 3 is possible but we might want more and for 4 taco and i will cook up an interface
Great news, indeed! Is some of this already usable / accessable by way of functions in minimals? I can't wait to have a glance at those features, especially no. 3.
http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html Wolfgang
![](https://secure.gravatar.com/avatar/a5c08a43051c146e1e17a5e4e7d052f4.jpg?s=120&d=mm&r=g)
On 2010-02-08 <22:26:06>, Wolfgang Schuster wrote:
Great news, indeed! Is some of this already usable / accessable by way of functions in minimals? I can't wait to have a glance at those features, especially no. 3. http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html Ahh, thanks for the example. But when running context on it I get the following:
---------- ! Undefined control sequence. \@@su:xml:bibtex:sorter #1->\xmlresetsorter {bibtex}\xmlfilter {#1}{e/comman... l.71 ...etup{bibtex:somebibtex}{xml:bibtex:sorter} ---------- which is odd because \xmlresetsorter _is_ defined in lxml-sor.mkiv. Furthermore when I add ---------- \unprotect \def\xmlresetsorter #1{\ctxlua{lxml.sorters.reset("#1")}} \protect ---------- to the preamble, I get a lua error ("attempt to index field 'sorters' (a nil value)"). But thank you anyways, I now have an impression about how things may look like in the future and I promise to read http://wiki.contextgarden.net/XML#XML.2FConTeXt_in_general next weekend. Regards, Philipp
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 08.02.10 23:08, schrieb Philipp Gesang:
But thank you anyways, I now have an impression about how things may look like in the future and I promise to read http://wiki.contextgarden.net/XML#XML.2FConTeXt_in_general next weekend.
For MkIV read this: http://pragma-ade.com/show-man-43.htm Wolfgang
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 8-2-2010 23:08, Philipp Gesang wrote:
On 2010-02-08<22:26:06>, Wolfgang Schuster wrote:
Great news, indeed! Is some of this already usable / accessable by way of functions in minimals? I can't wait to have a glance at those features, especially no. 3. http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html Ahh, thanks for the example. But when running context on it I get the following:
---------- ! Undefined control sequence. \@@su:xml:bibtex:sorter #1->\xmlresetsorter
maye your version is too old ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/a5c08a43051c146e1e17a5e4e7d052f4.jpg?s=120&d=mm&r=g)
On 2010-02-08 <23:20:17>, Hans Hagen wrote:
On 8-2-2010 23:08, Philipp Gesang wrote:
On 2010-02-08<22:26:06>, Wolfgang Schuster wrote:
Great news, indeed! Is some of this already usable / accessable by way of functions in minimals? I can't wait to have a glance at those features, especially no. 3. http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html Ahh, thanks for the example. But when running context on it I get the following:
---------- ! Undefined control sequence. \@@su:xml:bibtex:sorter #1->\xmlresetsorter
maye your version is too old That was it, sorry, I reinstalled minimals and LuaTeX recently and forgot to update ConTeXt. Now the file is processed and I get a pdf file containing the words
sortkeys: n id entry -------- and an hrule beneath that. As I'm not (yet) familiar with the control sequences used in the file as well as parts of its syntax, I can only guess that there's a table missing from "\startxmlsetups bibtex:one \starttabulate etc.". Good night, Philipp
![](https://secure.gravatar.com/avatar/50e7e6ec58e101311283a40e60c33572.jpg?s=120&d=mm&r=g)
Nice thread. Thanks for starting this Wolfgang.
First of all, Context is great and I love it. I think I miss the
geometry package of the latex. It makes setting margins very easy. I
think setting margins (left, right, top and bottom) could be easier in
Context.
I am glad that tikz has started working well with context. That is a
big relief.
I hope (and this perhaps has nothing to do with the brilliant Context
development team) is that journals start accepting Context files.
While I use context for my personal and class notes, for articles I am
still forced to go to latex because journals do not accept context
files.
On Mon, Feb 8, 2010 at 6:40 PM, Philipp Gesang
On 2010-02-08 <23:20:17>, Hans Hagen wrote:
On 8-2-2010 23:08, Philipp Gesang wrote:
On 2010-02-08<22:26:06>, Wolfgang Schuster wrote:
Great news, indeed! Is some of this already usable / accessable by way of functions in minimals? I can't wait to have a glance at those features, especially no. 3. http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html Ahh, thanks for the example. But when running context on it I get the following:
---------- ! Undefined control sequence. \@@su:xml:bibtex:sorter #1->\xmlresetsorter
maye your version is too old That was it, sorry, I reinstalled minimals and LuaTeX recently and forgot to update ConTeXt. Now the file is processed and I get a pdf file containing the words -------- sortkeys: n id entry -------- and an hrule beneath that. As I'm not (yet) familiar with the control sequences used in the file as well as parts of its syntax, I can only guess that there's a table missing from "\startxmlsetups bibtex:one \starttabulate etc.". Good night,
Philipp
___________________________________________________________________________________ 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/ac3fbaf0a287c4cffbc9f18fa931586c.jpg?s=120&d=mm&r=g)
On Tuesday 09 February 2010 03:50:27 Curiouslearn wrote:
I hope (and this perhaps has nothing to do with the brilliant Context development team) is that journals start accepting Context files. While I use context for my personal and class notes, for articles I am still forced to go to latex because journals do not accept context files.
In fact, not many journals even accept LaTeX: I sometimes have to submit so-called ".txt" files! As Otared Kavian pointed out, the mathematics journals are a bit more advanced (as are the purely physics journals), and LaTeX is even a standard. Unfortunately, arXiv.org (still) has problems with ConTeXt, as the submitted source is detected as TeX but the compilation fails. One is thus obligated to translate to LaTeX: "Your (La)TeX, AMS(La)TeX, or PDFLaTeX submission will be processed automatically by our AutoTeX software." Now, if only my administration and funding agencies would stop sending MS-Word files... Alan
![](https://secure.gravatar.com/avatar/8870709061256c1b455dca8f169e855e.jpg?s=120&d=mm&r=g)
On Tue, Feb 9, 2010 at 9:32 AM, Alan BRASLAU
On Tuesday 09 February 2010 03:50:27 Curiouslearn wrote:
I hope (and this perhaps has nothing to do with the brilliant Context development team) is that journals start accepting Context files. While I use context for my personal and class notes, for articles I am still forced to go to latex because journals do not accept context files.
In fact, not many journals even accept LaTeX: I sometimes have to submit so-called ".txt" files!
As Otared Kavian pointed out, the mathematics journals are a bit more advanced (as are the purely physics journals), and LaTeX is even a standard. Unfortunately, arXiv.org (still) has problems with ConTeXt, as the submitted source is detected as TeX but the compilation fails. One is thus obligated to translate to LaTeX: "Your (La)TeX, AMS(La)TeX, or PDFLaTeX submission will be processed automatically by our AutoTeX software."
Now, if only my administration and funding agencies would stop sending MS-Word files...
Alan
___________________________________________________________________________________ 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
___________________________________________________________________________________
Perhaps not an appropriate solution in all cases, but the application Pandoc is able to generate standalone LaTeX files. One has to use something other than ConTeXt as an input language (it can translate LaTeX input but so far no ConTeXt; I use Markdown but reStructuredText and HTML are also available. The standalone LaTeX files generated (meaning they include the header setup) compile fine, at least the ones I've tested (ConTeXt standalone seems to require Mk.II). I must say I'm very impressed with this software. It turned all of my ""s into \quotation{}, for instance, and it knows to do {\it italics} rather than \it{italics}. One could also generate a Word document (via OpenOffice.org ODT format output). Not to mention HTML.
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 09.02.10 03:50, schrieb Curiouslearn:
Nice thread. Thanks for starting this Wolfgang.
First of all, Context is great and I love it. I think I miss the geometry package of the latex. It makes setting margins very easy. I think setting margins (left, right, top and bottom) could be easier in Context.
ConTeXt use a more sofisticated page model than LaTeX, you have not only left and right margin but also left/right edges and each page consists of three separate layer, one for the paper, on for the page and on top the layer for the text, headers, footers and margin texts. Wolfgang
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 9-2-2010 0:40, Philipp Gesang wrote:
On 2010-02-08<23:20:17>, Hans Hagen wrote:
On 8-2-2010 23:08, Philipp Gesang wrote:
On 2010-02-08<22:26:06>, Wolfgang Schuster wrote:
Great news, indeed! Is some of this already usable / accessable by way of functions in minimals? I can't wait to have a glance at those features, especially no. 3. http://archive.contextgarden.net/message/20100126.184359.e6567256.en.html Ahh, thanks for the example. But when running context on it I get the following:
---------- ! Undefined control sequence. \@@su:xml:bibtex:sorter #1->\xmlresetsorter
maye your version is too old That was it, sorry, I reinstalled minimals and LuaTeX recently and forgot to update ConTeXt. Now the file is processed and I get a pdf file containing the words
sortkeys: n id entry -------- and an hrule beneath that. As I'm not (yet) familiar with the control sequences used in the file as well as parts of its syntax, I can only guess that there's a table missing from "\startxmlsetups bibtex:one \starttabulate etc.".
are those two files present and can they be found? \registerbibtexfile [somebibtex][tugboat.bib] \registerbibtexfile [somebibtex][komoedie.bib] Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/a5c08a43051c146e1e17a5e4e7d052f4.jpg?s=120&d=mm&r=g)
On 2010-02-09 <15:04:16>, Hans Hagen wrote:
are those two files present and can they be found?
\registerbibtexfile [somebibtex][tugboat.bib] \registerbibtexfile [somebibtex][komoedie.bib] They were present but somehow minimals don't use the TeXlive tree, so had to symlink them and it's working now. (Why don't I at least get a *warning* or something like that in the log?)
Quite impressive! I'll have closer look at it next weekend. Thanks for your patience, Philipp
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 9-2-2010 15:27, Philipp Gesang wrote:
On 2010-02-09<15:04:16>, Hans Hagen wrote:
are those two files present and can they be found?
\registerbibtexfile [somebibtex][tugboat.bib] \registerbibtexfile [somebibtex][komoedie.bib] They were present but somehow minimals don't use the TeXlive tree, so had to symlink them and it's working now. (Why don't I at least get a *warning* or something like that in the log?)
because it is new code that need to mature Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
On Feb 9, 2010, at 12:40 AM, Philipp Gesang wrote:
That was it, sorry, I reinstalled minimals and LuaTeX recently and forgot to update ConTeXt. Now the file is processed and I get a pdf file containing the words -------- sortkeys: n id entry -------- and an hrule beneath that. As I'm not (yet) familiar with the control sequences used in the file as well as parts of its syntax, I can only guess that there's a table missing from "\startxmlsetups bibtex:one \starttabulate etc.". Good night,
Philipp
In order to see what this example does, you will have to use your own bib file and examples from it. I attach a modified test file with a small bib so you can test. However, I don't yet understand how to use this either. Let's hope this goes trough to the list. All best Thomas
![](https://secure.gravatar.com/avatar/8870709061256c1b455dca8f169e855e.jpg?s=120&d=mm&r=g)
On Mon, Feb 8, 2010 at 9:14 PM, Philipp Gesang < pgesang@ix.urz.uni-heidelberg.de> wrote:
On 2010-02-08 <16:12:09>, Hans Hagen wrote:
fyi: the whole bin stuff will be redone in mkiv. some of it is already done.
1 - mkii compatible support (built in, no module) 2 - loading of bib databases in memory and converte them in an xml tree 3 - access to entries in arbitrary ways using path expressions 4 - rewrite of rendering variants using the built in xml handler
1 is more or less done, 2 also, 3 is possible but we might want more and for 4 taco and i will cook up an interface
Whoops, somehow missed this bombshell while writing my last email. Excellent news!
![](https://secure.gravatar.com/avatar/012fd266d02187820a1c08322c498933.jpg?s=120&d=mm&r=g)
Philipp Gesang
Hello Wolfgang!
On 2010-02-08 <12:25:58>, Wolfgang Schuster wrote:
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system? Most definately: all the details of Philipp Lehman's BibLaTeX package which is one of the greatest things LaTeX has to offer: multi-part bibliographies, lots of different citation rules, manifold idem/ibidem/ op. cit. &c handling, authoring new styles -- all solved in one single stroke and neatly documented.
That'd be "nice to have" …
I second this. Right now, biblatex is the killer feature that I'm at least partially stuck with LaTeX. However, I wonder if it would be hard to do a port of biblatex to context. I've not looked into the code yet, but I doubt that there is much LaTeX specific code... Best regards, olli
![](https://secure.gravatar.com/avatar/96a2b835dde0041c68f1803473d0b013.jpg?s=120&d=mm&r=g)
* Wolfgang Schuster
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Five hundred pages of organized, detailed, up-to-date (well, somewhat up-to-date) documentation, written by the small group of experts who are so helpful on this list. If just one of you was unable to continue your excellent work, FAR too much of the world knowledge of ConTeXt would simply be gone, and that's not a good situation. Compared to this, new features can wait - but here's my feature: ConTeXt itself has beautiful support for side-by-side translations. It makes me happy every time I look at the results. But... it works only on separate pages. Making it work on columns as well would make my life easier. (May be impossible, but you asked...) |Original Language|First Translation|Second Translation| |Bla bla bla ... |Blu blu blu ... |Ble ble ble ... | -- Thanks David
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 8-2-2010 18:29, David Rogers wrote:
|Original Language|First Translation|Second Translation| |Bla bla bla ... |Blu blu blu ... |Ble ble ble ... |
it's one of the things on the agenda for mkiv but it has to wait for a while till we have opened up the page builder a bit more in luatex ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
On 8 févr. 2010, at 12:25, Wolfgang Schuster wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
Hi Wolfgang and all ConTeXters, Thanks for asking us the question. I haven't really missed any particular feature, since each time I wanted to do something less elementary, I found out that the feature is actually waiting there, and I have just to be a little bit patient and look in the manuals or on th wiki. And if I am not patient (that is most of the time…) some wizards on the list are so patient and so wise that they know how to do things. Now, that said, I do all my presentations with ConTeXt, and there is one thing which should be added for more ease of use: a stepwise procedure which can do better than the RawSteps module I use (see http://wiki.contextgarden.net/RawSteps), and which would also work with the simpleslides modules set up by Thomas A. Schmitz and Aditya Mahajan. Another problem one may encounter is that, as far as I know, the Mathematics journals do not accept yet a paper written in ConTeXt. So at some point, when submitting the source file of the paper, one has to « translate » ConTeXt commands into plain-TeX or LaTeX. I wish I had a script, for instance go-back-2-latex.lua (or any other language) which would take as input the file my-beautiful-article.tex written in ConTeXt and turn it to my-ugly-article.in-latex.tex. Actually I do this manually and, despite being time consuming, I prefer to write in ConTeXt and to translate my paper into LaTeX at the very last step. Best wishes: OK
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 9-2-2010 6:53, Otared Kavian wrote:
Now, that said, I do all my presentations with ConTeXt, and there is one thing which should be added for more ease of use: a stepwise procedure which can do better than the RawSteps module I use (see http://wiki.contextgarden..net/RawSteps), and which would also work with the simpleslides modules set up by Thomas A. Schmitz and Aditya Mahajan.
There is a generic stepper: \usemodule[pre-60] % use the stepper \starttext \title {Whatever} \dorecurse{10} { \title{Just a few dummy pages} \StartSteps \startitemize[packed] \startitemize \startitem bla \FlushStep \stopitem \startitem bla bla \FlushStep \stopitem \startitem bla bla bla \FlushStep \stopitem \startitem bla bla bla bla \FlushStep \stopitem \stopitemize \StopSteps }
Actually I do this manually and, despite being time consuming, I prefer to write in ConTeXt and to translate my paper into LaTeX at the very last step.
i would not be surprised if the journal editors then translate it into their local variant; it's probably the text (plus time consuming formulas) they keep Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/6490659fba1f4bd9d623b7c937bb571f.jpg?s=120&d=mm&r=g)
2010/2/8 Wolfgang Schuster
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
Ability to change math font to modern sans serif. I don't know how to do it in LaTeX, but I know it's possible because beamer does it. Regards, -- Vedran Miletić
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 09.02.10 13:09, schrieb Vedran Miletić:
Ability to change math font to modern sans serif. I don't know how to do it in LaTeX, but I know it's possible because beamer does it.
In MkIV something like \unprotect \appendtoks \dosetfontattribute\??mo\c!style \to \everymathematics \appendtoks \setmathfunctionstyle{\mathematicsparameter\c!style}% \to \everymathematics \protect \setupmathematics[style=sans] does the job, the correct implementation is up to Hans and Aditya. Wolfgang
![](https://secure.gravatar.com/avatar/da275274bab3cdbc839a9d0e8f2c2299.jpg?s=120&d=mm&r=g)
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
1. While TeX has been very strong at typesetting math traditionally its rivals are closing up and even surpassing TeX in this area partly. However, none of today's tools (including TeX) seem to be capable of laying out (2D) formulas fully automatically with the finest typographic results from their mathematical meaning alone. For example, in TeX I always find myself tweaking the spacing of glyphs or adjusting the size of brackets (among other things) once a formula becomes a little more involved. If TeX could make these decisions on its own it would help tremendously. Of course, there's a limit to what extent visual aesthetics can be cast into algorithms ultimately but I do think that TeX can be improved significantly in this direction. I think what will help most is teaching TeX to not only think in terms of boxes but work with the actual glyph shapes. For example, one could tackle the problem of delimiter sizes in the following way. First TeX needs to keep track of how deeply a given pair of delimiters is nested. This directly sets a certain minimal size if one wants nested brackets to increase in size towards the outside. Next TeX typesets all the material enclosed by the delimiters in question and inspects how the ink is actually spread out on paper. Based on knowledge about various features of the subformula's actual shape TeX can now make an informed decision about the surrounding delimiters. It is clear that for a visually pleasing result this decision will have to be different depending on whether the ink is, say, concentrated in one spot predominantly or smeared out over a long narrow band. So far TeX has only examined the total height of this ink distribution which usually leads to excessively large delimiters. If one wants to quote a metaphor from optics TeX could analyze how much the ink distribution resembles an hourglass shaped light beam travelling back and forth between two facing round mirrors (i.e., the delimiters). One could then demand that the brackets' size is chosen such that a certain fraction of the enclosed ink is contained in the beam profile. An approach based on glyph shapes could also help TeX to decide on how it places exponents. At the moment one has to decide manually whether an exponential is typeset as e^{\dots} or exp(\dots). Many more cases come to mind. However, as far as I recall from conversations with Taco and others there are already some efforts underway to extend TeX's math skills :-) 2. I'd love to see better support for figures within formulas (in ConTeXt). I often use diagrammatic notation and find it difficult to align diagrams with the rest of the formula. For example, I'm missing a way to specify the math axis from within MetaPost code. That is, I'd like to mark an invisible point in the drawing which will later be aligned with the formula's math axis automatically. 3. I'd very much like to second Alan's suggestion to provide containers for text to flow in and out! Perhaps one could even go further and root ConTeXt entire page model in such an approach. After all, it's just text flowing in and out of pages together with fixed containers for headers and footers. This might also provide a consistent yet flexible foundation for all things columns. While I'm at it (and because this is a wish list) having configurable page templates as in XSL-FO or Docscape would also be very nice :-) Oliver
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 09.02.10 17:31, schrieb Oliver Buerschaper:
3. I'd very much like to second Alan's suggestion to provide containers for text to flow in and out! Perhaps one could even go further and root ConTeXt entire page model in such an approach. After all, it's just text flowing in and out of pages together with fixed containers for headers and footers. This might also provide a consistent yet flexible foundation for all things columns. If things where so easy in TeX we won’t have the problems with text in
columns etc. as we currently have. Changing the line distance in the normal text can influence also header and footer texts and frames are not so easy too because once a text is typeset by TeX the linebreaks are fixed and you can't change them.
You're not the only one who wants such a flexible mechanism are you descibe but let’s see what features LuaTeX provide once the access to the pagebuilder is available. Wolfgang
![](https://secure.gravatar.com/avatar/7325514c8a7b377b86d86ad29d35e8ef.jpg?s=120&d=mm&r=g)
On Mon, Feb 08, 2010 at 12:25:58PM +0100, Wolfgang Schuster wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
An implementation of Unicode Bidirectional Algorithm[1] and automatic, script based font switching, Unicode Script Property[2]. Editing mixed RTL and LTR text is mess already, adding to the mix LTR TeX commands for every directionally switch makes it a nightmare. I ended up doing my first pass without any directional commands at all then using some regular expressions to post process the text, but this is no fun and needs manual review not to mention that post editing that text still a nightmare. I've attempted to write the BiDi implementation several times myself, by never managed to actually allocate enough time for it. ConTeXt already has a BiDi implantation (typo-mir.{lua,mkiv}), but I gave up using it because it is buggy and can be hardly used for any thing. [1] http://www.unicode.org/reports/tr9/ [2] http://www.unicode.org/reports/tr24/ Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 9-2-2010 18:50, Khaled Hosny wrote:
On Mon, Feb 08, 2010 at 12:25:58PM +0100, Wolfgang Schuster wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
An implementation of Unicode Bidirectional Algorithm[1] and automatic, script based font switching, Unicode Script Property[2]. Editing mixed RTL and LTR text is mess already, adding to the mix LTR TeX commands for every directionally switch makes it a nightmare. I ended up doing my first pass without any directional commands at all then using some regular expressions to post process the text, but this is no fun and needs manual review not to mention that post editing that text still a nightmare.
I've attempted to write the BiDi implementation several times myself, by never managed to actually allocate enough time for it. ConTeXt already has a BiDi implantation (typo-mir.{lua,mkiv}), but I gave up using it because it is buggy and can be hardly used for any thing.
[1] http://www.unicode.org/reports/tr9/ [2] http://www.unicode.org/reports/tr24/
i cannot fix things unless i know what is broken -) also, i need to cater for mixed bidi input and txt/pardir usage which is non trivial anyway, luatex > 0.60 will have an improved tagging of nodes so that might help Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/7325514c8a7b377b86d86ad29d35e8ef.jpg?s=120&d=mm&r=g)
On Tue, Feb 09, 2010 at 06:56:05PM +0100, Hans Hagen wrote:
On 9-2-2010 18:50, Khaled Hosny wrote:
On Mon, Feb 08, 2010 at 12:25:58PM +0100, Wolfgang Schuster wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
An implementation of Unicode Bidirectional Algorithm[1] and automatic, script based font switching, Unicode Script Property[2]. Editing mixed RTL and LTR text is mess already, adding to the mix LTR TeX commands for every directionally switch makes it a nightmare. I ended up doing my first pass without any directional commands at all then using some regular expressions to post process the text, but this is no fun and needs manual review not to mention that post editing that text still a nightmare.
I've attempted to write the BiDi implementation several times myself, by never managed to actually allocate enough time for it. ConTeXt already has a BiDi implantation (typo-mir.{lua,mkiv}), but I gave up using it because it is buggy and can be hardly used for any thing.
[1] http://www.unicode.org/reports/tr9/ [2] http://www.unicode.org/reports/tr24/
i cannot fix things unless i know what is broken -) also, i need to cater for mixed bidi input and txt/pardir usage which is non trivial
IIRC, I reported all of that months ago but I usually get no answer.
anyway, luatex > 0.60 will have an improved tagging of nodes so that might help
Right, having a direction property for each node (assuming this what the tagging feature you mean) would help even in OpenType layout, like supporting 'rtla' and 'rtlm' (RTL alternates and mirrors) which need to be enabled conditionally based on glyph direction. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
![](https://secure.gravatar.com/avatar/a4358949522f2efc1bab8ed68385b00c.jpg?s=120&d=mm&r=g)
Salaam, Khaled,
On Tue, 09 Feb 2010 11:44:55 -0700, Khaled Hosny
IIRC, I reported all of that months ago but I usually get no answer.
Are you sure about that? A quick check shows answers...eg http://archive.contextgarden.net/message/20080816.075921.0f92a2d3.en.html In any case: Can you provide minimal samples of problems with the current mechanism? I have a bidi test-suite that I will revisit but some sample files from you will help too. One sample-per-problem would be a help. :-) :-) سلام Idris PS Some of these problems have been on the backburner but there is already a TON of other things on the plate so ... I use formatting characters + mirroring in the meantime ... I -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523
![](https://secure.gravatar.com/avatar/7325514c8a7b377b86d86ad29d35e8ef.jpg?s=120&d=mm&r=g)
On Tue, Feb 09, 2010 at 12:12:00PM -0700, Idris Samawi Hamid ادريس سماوي حامد wrote:
Salaam, Khaled,
On Tue, 09 Feb 2010 11:44:55 -0700, Khaled Hosny
wrote: IIRC, I reported all of that months ago but I usually get no answer.
Are you sure about that? A quick check shows answers...eg
http://archive.contextgarden.net/message/20080816.075921.0f92a2d3.en.html
In any case: Can you provide minimal samples of problems with the current mechanism? I have a bidi test-suite that I will revisit but some sample files from you will help too.
One sample-per-problem would be a help.
I've to find my old test files then. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
![](https://secure.gravatar.com/avatar/d8110a8a8a97be0803549ea5ee2e638b.jpg?s=120&d=mm&r=g)
2010/2/8 Wolfgang Schuster
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
- Stable underlining across line- and pagebreaks with the finest typographic quality. This might be possible with luaTeX & mplib. - Document-global optimization of page breaks. Of course with floats, multicol and parshapes. :-) Best Martin
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 9-2-2010 19:07, Martin Schröder wrote:
2010/2/8 Wolfgang Schuster
: ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
- Stable underlining across line- and pagebreaks with the finest typographic quality. This might be possible with luaTeX& mplib.
already in mkiv ... \starttext \underbar { \dorecurse {10} { \input tufte \starttabulate \NC \underbar {test} \NC \input tufte \shiftup{\input tufte } \input tufte \NC \NR \stoptabulate } } \stoptext plus some more on the agenda however, underlining is not really part of fine typography
- Document-global optimization of page breaks. Of course with floats, multicol and parshapes. :-)
yeah, maybe some day ... not that trivial but you know that -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/d8110a8a8a97be0803549ea5ee2e638b.jpg?s=120&d=mm&r=g)
2010/2/9 Hans Hagen
however, underlining is not really part of fine typography
I know. But it's hard to do right in TeX (see the troubles soul.sty brings) and people are used to it.
- Document-global optimization of page breaks. Of course with floats, multicol and parshapes. :-)
yeah, maybe some day ... not that trivial but you know that -)
I know. LuaTeX 2.0? :-) Best Martin
![](https://secure.gravatar.com/avatar/f629667d4a327f4b94e848610382ea15.jpg?s=120&d=mm&r=g)
I dream of a flexible changebar module (similar to the LaTeX changebar package) with Lua drivers so I can run something like: context --mark-changes foo1 foo2 to produce a (possibly mangled) output TeX file that when built produces a PDF with changebars in the margin, additions/deletions/modifications in colored text, etc. I would want the Lua drivers to work with the project/product/component structure, so that I could quickly markup the changes in all the products in a project, just one product, or even just one component. Kevin On Mon, Feb 8, 2010 at 4:25 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 9-2-2010 19:21, Kevin D. Robbins wrote:
I dream of a flexible changebar module (similar to the LaTeX changebar package) with Lua drivers so I can run something like:
context --mark-changes foo1 foo2
to produce a (possibly mangled) output TeX file that when built produces a PDF with changebars in the margin, additions/deletions/modifications in colored text, etc. I would want the Lua drivers to work with the project/product/component structure, so that I could quickly markup the changes in all the products in a project, just one product, or even just one component.
it's not that hard to build something like that Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/daaebad6e3ea6978afc9a5f145f6e86f.jpg?s=120&d=mm&r=g)
Hans Hagen
On 9-2-2010 19:21, Kevin D. Robbins wrote:
I dream of a flexible changebar module (similar to the LaTeX changebar package) with Lua drivers so I can run something like:
context --mark-changes foo1 foo2
to produce a (possibly mangled) output TeX file that when built produces a PDF with changebars in the margin, additions/deletions/modifications in colored text, etc. I would want the Lua drivers to work with the project/product/component structure, so that I could quickly markup the changes in all the products in a project, just one product, or even just one component.
it's not that hard to build something like that
I would think that would be an extremely useful feature in technical environment, where all document changes need to be reviewed and precisely recorded. It certainly would be for me. -- John Devereux
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Sat, Feb 13 2010, John Devereux wrote:
I would think that would be an extremely useful feature in technical environment, where all document changes need to be reviewed
Hello John, Perhaps this can help: http://archive.contextgarden.net/message/20060806.143457.47021821.en.html
and precisely recorded.
Then I suggest a version control system. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/f629667d4a327f4b94e848610382ea15.jpg?s=120&d=mm&r=g)
Hi Peter,
Thanks for the reference to your thread from 2006. In my post the other day,
I was just wishing for a changebar capability to be fully integrated to
ConTeXt now that we have LuaTeX. Leveraging Lua, we could have a
cross-platform way to visually markup the changes between two versions.
I don't mean to speak for John, but your suggestion to use version control
to 'precisely record' the changes between two versions of the same document
addresses the need only of the author(s) or others with understanding and
access to the version control system.
For me, changebars provide a useful way to definitively show users the
changes between two releases of large document without resorting to the
common practice (one I dislike) of including a table of significant changes
at the start of the document.
Cheers,
Kevin
On Sat, Feb 13, 2010 at 5:50 AM, Peter Münster
On Sat, Feb 13 2010, John Devereux wrote:
I would think that would be an extremely useful feature in technical environment, where all document changes need to be reviewed
Hello John,
Perhaps this can help: http://archive.contextgarden.net/message/20060806.143457.47021821.en.html
and precisely recorded.
Then I suggest a version control system.
Cheers, Peter
-- Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/daaebad6e3ea6978afc9a5f145f6e86f.jpg?s=120&d=mm&r=g)
Peter Münster
On Sat, Feb 13 2010, John Devereux wrote:
I would think that would be an extremely useful feature in technical environment, where all document changes need to be reviewed
Hello John,
Perhaps this can help: http://archive.contextgarden.net/message/20060806.143457.47021821.en.html
and precisely recorded.
Then I suggest a version control system.
Hello Peter, Thanks, I do already use a version control system (gi). The built-in diff system is ideal for my own use, but my "audience" would not be resist this approach. The text-worddiff utility looks interesting. Does it work well in practice? Did you develop the "little script" you posted any further, or is it sufficient? Thanks, -- John Devereux
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Sat, Feb 13 2010, John Devereux wrote:
The text-worddiff utility looks interesting. Does it work well in practice?
Hello John, I don't know, I've never used it in real life ... ;) It was just a "prove of concept": I'm working in an environment where everybody uses M$-Office, I'm the only exception. And I want to be prepared for the moment, when one of my co-workers wants to see such visualisation of changes. That's the only reason, why I need it. But up to now, nobody has ever asked me for such visualisation :)
Did you develop the "little script" you posted any further, or is it sufficient?
I've put the latest version on the web: http://pmrb.free.fr/work/OS/ConTeXt/typeset-diff.sh In fact, there are only 3 commands: - wdiff - editor to tune the tex-file (grouping issues and such) - context Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/ac3fbaf0a287c4cffbc9f18fa931586c.jpg?s=120&d=mm&r=g)
On Monday 08 February 2010 12:25:58 Wolfgang Schuster wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
What I would really like is an automatic composer, one that would write my papers, books and documentation for me. minimal example: \startext \composebook [title="My best selling novel"] \stoptext (notice that the title is optional) However, it would have to produce output that is up to my standards - not at all an easy task! Alan (Sorry for hijacking this interesting thread.)
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 09.02.10 19:45, schrieb Alan BRASLAU:
What I would really like is an automatic composer, one that would write my papers, books and documentation for me.
minimal example: \startext \composebook [title="My best selling novel"] \stoptext (notice that the title is optional)
However, it would have to produce output that is up to my standards - not at all an easy task!
m-visual.tex ;) %D For Mojca: %D %D \starttyping %D \def\simplethesis %D {\setupsystem[random=1234] %D \title{\fakewords{3}{4}} %D \placelist[chapter,section] %D \dorecurse{6} %D {\chapter{\fakewords{5}{10}} %D \dorecurse{5} %D {\section{\fakewords{2}{5}} %D \dorecurse{2} %D {\dorecurse{3}{\fakewords{100}{200}\endgraf} %D \placefigure{\fakewords{8}{15}}{\fakefigure{5cm}{3cm}{10cm}{5cm}} %D \dorecurse{2}{\fakewords{100}{200}\endgraf}}}}} %D %D \starttext %D \simplethesis %D \stoptext %D \stoptyping Wolfgang
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 9-2-2010 19:50, Wolfgang Schuster wrote:
%D For Mojca: %D %D \starttyping %D \def\simplethesis %D {\setupsystem[random=1234] %D \title{\fakewords{3}{4}} %D \placelist[chapter,section] %D \dorecurse{6} %D {\chapter{\fakewords{5}{10}} %D \dorecurse{5} %D {\section{\fakewords{2}{5}} %D \dorecurse{2} %D {\dorecurse{3}{\fakewords{100}{200}\endgraf} %D \placefigure{\fakewords{8}{15}}{\fakefigure{5cm}{3cm}{10cm}{5cm}} %D \dorecurse{2}{\fakewords{100}{200}\endgraf}}}}} %D %D \starttext %D \simplethesis %D \stoptext %D \stoptyping
Wolfgang
as we've never seen her thesis it could well be that she maneged to pass the examns with this Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Tue, Feb 9, 2010 at 8:54 PM, Hans Hagen
On 9-2-2010 19:50, Wolfgang Schuster wrote:
%D For Mojca: %D %D \starttyping %D \def\simplethesis %D {\setupsystem[random=1234] %D \title{\fakewords{3}{4}} %D \placelist[chapter,section] %D \dorecurse{6} %D {\chapter{\fakewords{5}{10}} %D \dorecurse{5} %D {\section{\fakewords{2}{5}} %D \dorecurse{2} %D {\dorecurse{3}{\fakewords{100}{200}\endgraf} %D \placefigure{\fakewords{8}{15}}{\fakefigure{5cm}{3cm}{10cm}{5cm}} %D \dorecurse{2}{\fakewords{100}{200}\endgraf}}}}} %D %D \starttext %D \simplethesis %D \stoptext %D \stoptyping
Wolfgang
as we've never seen her thesis False. I have seen her thesis .
-- luigi
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Tue, Feb 9, 2010 at 7:50 PM, Wolfgang Schuster
Am 09.02.10 19:45, schrieb Alan BRASLAU:
What I would really like is an automatic composer, one that would write my papers, books and documentation for me.
minimal example: \startext \composebook [title="My best selling novel"] \stoptext (notice that the title is optional)
However, it would have to produce output that is up to my standards - not at all an easy task!
m-visual.tex ;)
http://pdos.csail.mit.edu/scigen/ -- luigi
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 9-2-2010 19:45, Alan BRASLAU wrote:
On Monday 08 February 2010 12:25:58 Wolfgang Schuster wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
What I would really like is an automatic composer, one that would write my papers, books and documentation for me.
minimal example: \startext \composebook [title="My best selling novel"] \stoptext (notice that the title is optional)
and then \composemanual [title="The real context manual",writingstyle=knuth] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/3d131c6a351a6b0092c19b389bd99cf0.jpg?s=120&d=mm&r=g)
On Mon, Feb 8, 2010 at 12:25 PM, Wolfgang Schuster
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
Thanks for asking, Wolfgang. I would like support for more fonts out of the box (in the minimals). For example it would be really nice to be able to use utopia+fourier ( http://tug.ctan.org/tex-archive/fonts/fourier-GUT/ ) charter+mathdesign ( http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=mathdesign ) Mikael
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 10.02.10 09:00, schrieb Mikael Persson:
I would like support for more fonts out of the box (in the minimals). For example it would be really nice to be able to use utopia+fourier ( http://tug.ctan.org/tex-archive/fonts/fourier-GUT/ ) charter+mathdesign ( http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=mathdesign )
MkIV has support for the Charter and the Mathdesign fonts. \definetypafec[charter][rm][serif][charter] [default] %\definetypafec[charter][mm][math] [mathdesignch][default] \definetypafec[charter][mm][math] [charter] [default] What's missing are the fonts but they are already on the server [1], Mojca should be able to tell you how you can install them. [1] http://minimals.contextgarden.net/current/fonts/extra/ Wolfgang
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
I miss a command to force a manual line break at any point in a \hyphenatedurl string. Like, e.g. "*" in "\hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence} Steffen
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Steffen Wolfrum wrote:
Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
I miss a command to force a manual line break at any point in a \hyphenatedurl string.
Like, e.g. "*" in "\hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}
+1 for this idea.
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 11-2-2010 9:43, Steffen Wolfrum wrote:
Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
I miss a command to force a manual line break at any point in a \hyphenatedurl string.
Like, e.g. "*" in "\hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}
is * never part of a url then? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/6490659fba1f4bd9d623b7c937bb571f.jpg?s=120&d=mm&r=g)
is * never part of a url then?
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to denote all newsgroups from specific category. It is never used for specifiying a single URL. Regards, -- Vedran Miletić
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Thu, Feb 11 2010, Vedran Miletić wrote:
According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to denote all newsgroups from specific category. It is never used for specifiying a single URL.
So, "http://pmrb.free.fr/tmp/file*with*stars" is not allowed??? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Peter Münster wrote:
On Thu, Feb 11 2010, Vedran Miletić wrote:
According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to denote all newsgroups from specific category. It is never used for specifiying a single URL.
So, "http://pmrb.free.fr/tmp/file*with*stars" is not allowed???
No, the RFC only says that "news:*" has a defined meaning. You can have "*" in lots of locations in an URL, just not in scheme or domain names. Best wishes, Taco
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Vedran Miletić wrote:
is * never part of a url then?
According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to denote all newsgroups from specific category. It is never used for specifiying a single URL.
Still, * can appear unencoded in any url, in either pathinfo or in GET arguments, so * is not always the best thing to use. It is better have it configurable (but default to *) Best wishes, Taco
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Am 11.02.2010 um 11:08 schrieb Taco Hoekwater:
Vedran Miletić wrote:
is * never part of a url then? According to RFC 1738 from IETF, * is used only as a wildcard, e.g. to denote all newsgroups from specific category. It is never used for specifiying a single URL.
Still, * can appear unencoded in any url, in either pathinfo or in GET arguments, so * is not always the best thing to use. It is better have it configurable (but default to *)
Yes. To "have it configurable" sounds great ;o) Steffen
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Am 11.02.2010 um 10:37 schrieb Hans Hagen:
On 11-2-2010 9:43, Steffen Wolfrum wrote:
Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
I miss a command to force a manual line break at any point in a \hyphenatedurl string.
Like, e.g. "*" in "\hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}
is * never part of a url then?
This was just an example. Maybe "|" is a better glyph. Is this the only problem to find a character that is not used as part of a valid URL? Steffen
![](https://secure.gravatar.com/avatar/808695cc24f6eb382f8bdc0e7e753dfe.jpg?s=120&d=mm&r=g)
Le 11 févr. 2010 à 11:12, Steffen Wolfrum a écrit:
I miss a command to force a manual line break at any point in a \hyphenatedurl string.
Like, e.g. "*" in "\hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}
+1 also.
is * never part of a url then?
This was just an example. Maybe "|" is a better glyph.
What about ¶ ? -- Sébastien Mengin Édition et logiciels libres < Mise en page avec LaTeX > http://edilibre.net
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 11-2-2010 9:43, Steffen Wolfrum wrote:
Am 08.02.2010 um 12:25 schrieb Wolfgang Schuster:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
I miss a command to force a manual line break at any point in a \hyphenatedurl string.
Like, e.g. "*" in "\hyphenatedurl{http://www.a_ridiculous_very_long_alpanum*eric_sequence}
i've added \def\hyphenatedurldiscretionary{*} \hsize1cm \hyphenatedurl{xxxxxxxxxxxxxxxxxxxxxxxxxxxx*xxxxxxxxxxxxxxxxxx} but it defaults to \def\hyphenatedurldiscretionary{} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Mon, Feb 08 2010, Wolfgang Schuster wrote:
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Hello Wolfgang, It would be nice, to specify a background-color for some text, but without that the background of one line touches the background of the line below. Illustration of what I'm looking for: \setupinterlinespace[line=1cm] % just to make the example more obvious \definetextbackground[myBG][background=color, backgroundcolor=green, % backgroundheight=1ex, % does not work % height=1ex, % does not work frame=off] \starttext bla bla \startmyBG \dorecurse{30}{bla }\stopmyBG bla bla \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 11-2-2010 10:55, Peter Münster wrote:
\setupinterlinespace[line=1cm] % just to make the example more obvious \definetextbackground[myBG][background=color, backgroundcolor=green, % backgroundheight=1ex, % does not work % height=1ex, % does not work frame=off] \starttext bla bla \startmyBG \dorecurse{30}{bla }\stopmyBG bla bla \stoptext
\starttext \startbuffer \definebar [backbar] [offset=1.5,rulethickness=2.4,color=blue, continue=yes,order=background] \definebar [forebar] [offset=1.5,rulethickness=2.4,color=blue, continue=yes,order=foreground] \stopbuffer \typebuffer \getbuffer The following example code looks messy but this has to do with the fact that we want properly spaced sample injection. \startbuffer from here \startcolor[white]% \startbar[backbar]% \input zapf \removeunwantedspaces \stopbar \stopcolor \space till here \blank from here \startbar[forebar]% \input zapf \removeunwantedspaces \stopbar \space till here \stopbuffer \typebuffer \getbuffer \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Thu, Feb 11 2010, Hans Hagen wrote:
\definebar [backbar] [offset=1.5,rulethickness=2.4,color=blue, continue=yes,order=background]
Great, many thanks for this "hidden" feature! What is the logic behind offset and rulethickness (the units and the reference point)? (I played a bit with offset=0 and different rulethicknesses...) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 11-2-2010 14:48, Peter Münster wrote:
On Thu, Feb 11 2010, Hans Hagen wrote:
\definebar [backbar] [offset=1.5,rulethickness=2.4,color=blue, continue=yes,order=background]
Great, many thanks for this "hidden" feature!
What is the logic behind offset and rulethickness (the units and the reference point)? (I played a bit with offset=0 and different rulethicknesses...)
will be in an upcoming maps article and i'm hesitant to put the text online before it's published see end of node-rul.mkiv ... you can do underline etc by manipulating these values Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Mon, Feb 08 2010, Wolfgang Schuster wrote:
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Hello, What about collecting these feature requests somewhere at a central point, for example at http://tracker.luatex.org/ and keeping their status updated. It would also be nice, to have milestones attached to each request, so that users know how long to wait. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/daaebad6e3ea6978afc9a5f145f6e86f.jpg?s=120&d=mm&r=g)
Wolfgang Schuster
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
I asked before why ConTeXt does not flag incorrect parameters, I seem to recall the answer was that it would slow things down too much. But a command line switch to do this would be very useful. And as always, better (more complete) documentation on the commands available and what they and their parameters actually *do*. -- John Devereux
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 13.02.10 13:24, schrieb John Devereux:
I asked before why ConTeXt does not flag incorrect parameters, I seem to recall the answer was that it would slow things down too much. But a command line switch to do this would be very useful. Already available for MkIV (mult-chk.mkiv):
\starttext \testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]} % 0.20 seconds \enablecheckparameters \testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]} % 0.35 seconds \getcheckedparameters[test][xx][a=a] \getcheckedparameters[test][xx][b= b] \getcheckedparameters[test][xx][c = c] \getcheckedparameters[test][xx][d = d d , e = e ,f = f ] \getcheckedparameters[test][xx][g={oeps {oeps}}] \getcheckedparameters[test][xx][crap=whatever] \startlines [a:\getvalue{xxa}][a] [b:\getvalue{xxb}][b] [c:\getvalue{xxc}][c] [d:\getvalue{xxd}][d d ] [e:\getvalue{xxe}][e ] [f:\getvalue{xxf}][f ] [g:\getvalue{xxg}][\detokenize\expandafter{\xxg}] \stoplines \setvalidparameterkeys[test][crap] \getcheckedparameters[test][xx][crap=whatever] \stoptext Wolfgang
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Sat, Feb 13 2010, Wolfgang Schuster wrote:
\getcheckedparameters[test][xx][a=a] \getcheckedparameters[test][xx][b= b] \getcheckedparameters[test][xx][c = c] \getcheckedparameters[test][xx][d = d d , e = e ,f = f ] \getcheckedparameters[test][xx][g={oeps {oeps}}] \getcheckedparameters[test][xx][crap=whatever]
Hello Wolfgang, I get: syntax : invalid key 'crap' for 'test' in line 16 But no messages for the other keys. Consider also this: \enablecheckparameters \starttext \getcheckedparameters[test][xx][g=g] \getcheckedparameters[test][xx][h=h] \stoptext $ context test | grep invalid syntax : invalid key 'h' for 'test' in line 4 So, the keys a-g are always valid!? ;) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Sat, Feb 13 2010, Wolfgang Schuster wrote:
Hans made them valid for the test namespace, replace the test with a different name and they should be invalid too.
Result: \enablecheckparameters \starttext \getcheckedparameters[bla][xx][h=h] \getcheckedparameters[bla][xx][g=g] \stoptext -> ! LuaTeX error ...text/tex/texmf-context/tex/context/base/mult-chk.lua:61: attempt to index field '?' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/mult-chk.lua:61: in function '_gcp_' <main ctx instance>:1: in main chunk. \dogetcheckedparametersyes ...okenize {#3}\!!es )} l.3 \getcheckedparameters[bla][xx][h=h] Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/daaebad6e3ea6978afc9a5f145f6e86f.jpg?s=120&d=mm&r=g)
Wolfgang Schuster
Am 13.02.10 13:24, schrieb John Devereux:
I asked before why ConTeXt does not flag incorrect parameters, I seem to recall the answer was that it would slow things down too much. But a command line switch to do this would be very useful. Already available for MkIV (mult-chk.mkiv):
\starttext
\testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]} % 0.20 seconds
\enablecheckparameters
\testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]} % 0.35 seconds
\getcheckedparameters[test][xx][a=a] \getcheckedparameters[test][xx][b= b] \getcheckedparameters[test][xx][c = c] \getcheckedparameters[test][xx][d = d d , e = e ,f = f ] \getcheckedparameters[test][xx][g={oeps {oeps}}] \getcheckedparameters[test][xx][crap=whatever]
\startlines [a:\getvalue{xxa}][a] [b:\getvalue{xxb}][b] [c:\getvalue{xxc}][c] [d:\getvalue{xxd}][d d ] [e:\getvalue{xxe}][e ] [f:\getvalue{xxf}][f ] [g:\getvalue{xxg}][\detokenize\expandafter{\xxg}] \stoplines
\setvalidparameterkeys[test][crap]
\getcheckedparameters[test][xx][crap=whatever]
\stoptext
Wolfgang
Hi Wolfgang. That is a bit beyond me... I am guessing this means that there is now a facility whereby certain commands could be instrumented? In the future? What I was asking for was a general "switch" that could turn on parameter error checking for all commands. (Perhaps the work involved is too much). -- John Devereux
![](https://secure.gravatar.com/avatar/2e3f139c60d5b3ae17078bca4b87e6f6.jpg?s=120&d=mm&r=g)
Wolfgang Schuster
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Indeed I miss a huge documentation. A very good one is the documentation for Tikz : starts with case- studies then encyclopaedic définitions. Maybe a less supra-human task : a site with example as texample (always for tikz) : http://www.texample.net/ . We learn a lot seeing the way others do. Eric DÉTREZ Maths PC* & Info MP* Lycée Faidherbe Lille
![](https://secure.gravatar.com/avatar/f629667d4a327f4b94e848610382ea15.jpg?s=120&d=mm&r=g)
Hi everyone, I remembered another capability that I'd love to see integrated with ConTeXt somehow – automated graph layout. It would be great if there were a ConTeXt module that supported GraphXML or another XML graph format, so that users could draw graphs using GUI tools and then let the module typeset the graphs in MetaPost. I imagine the setups for the module would allow users to pass layout hints and styles to the layout engine. Kevin On Mon, Feb 8, 2010 at 4:25 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
___________________________________________________________________________________ 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
___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/6490659fba1f4bd9d623b7c937bb571f.jpg?s=120&d=mm&r=g)
2010/2/8 Wolfgang Schuster
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
One very small thing that works fine in MKIV but not in MKII: when I put PDF title that has characters with caron, in MKII they turn into ASCII counterparts when compiling. E.g. "Računalne mreže" becomes "Racunalne mreze". pdfLaTeX has no problems with that (with proper packages, at least). Vedran Miletić
![](https://secure.gravatar.com/avatar/a975c3bd6563c759ef212cd258d238d6.jpg?s=120&d=mm&r=g)
Hi Guys, The verbatim or listings of MKIV sucks. Here's a little sample: \definetyping[code][numbering=line] \starttext \startcode ... ... \stopcode \startcode[continue] ... ... \stopcode \startcode[start=10] ... ... \stopcode \typefile[numbering=file]{test.tex} \stoptext It can not work with MKIV that shows. 1 ... 2 ... 10 ... 11 ... 1 ... 2 ... \definetyping[code][numbering=line] \starttext \startcode ... ... \stopcode \startcode[continue] ... ... \stopcode \startcode[start=10] ... ... \stopcode \typefile[numbering=file]{test.tex} \stoptext Best regards, Joshua On Mon, 08 Feb 2010, Wolfgang Schuster wrote:
Hi all,
ConTeXt has many features but sometimes there is something missing, what feature or package do you miss which is already available in another TeX system or unavailable in any TeX system?
Wolfgang
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (26)
-
Alan BRASLAU
-
Bernhard Rosensteiner
-
Curiouslearn
-
David Rogers
-
Eric DÉTREZ
-
Hans Hagen
-
Idris Samawi Hamid ادريس سماوي ح امد
-
John Devereux
-
John Haltiwanger
-
Joshua Lee
-
Kevin D. Robbins
-
Khaled Hosny
-
luigi scarso
-
Martin Schröder
-
Mikael Persson
-
Oliver Buerschaper
-
Oliver Heins
-
Otared Kavian
-
Peter Münster
-
Philipp Gesang
-
Sebastien Mengin
-
Steffen Wolfrum
-
Taco Hoekwater
-
Thomas A. Schmitz
-
Vedran Miletić
-
Wolfgang Schuster