Re: [NTG-context] Mini-survey: What do you do with ConTeXt?
What do you do with ConTeXT? As the editor of the 70+ page annual report of an ornithological society, I learned to hate word. When I was approached by a publisher with the offer of writing a textbook of biochemistry, I decided to try something more suitable and chose -- just why is hard to say, I didn't know anything about any of the possibilities -- ConTEXt. It was very hard simply to find out what it was and then how to install it and after that how to get some presentable result. But it's great -- thanks to everybody. It is always claimed that writing in a text editor and leaving the layout/typesetting part for later is better because you concentrate on writing. This is not true, at least not when working with ConTEXt. It is much more fun to tex what you have, to try out this and that, than to think about the next sentence. I now write with a Parker Duofold (bought years ago while on a bicycle tour in the Netherlands!) in a notebook before I go to the computer. One last thing: TEX-users seem to be very modest. They always claim to be just beginners. An example: The title of a recent TUGboat article (2003) was Writing a book -- A first experience with LaTEX. The introduction defined the contribution as a paper by non-experts for non-experts. Just what I need, I thought. It wasn't, and the explanation could be found at the end: The author had a thirty-plus year career in high tech computer RD ... Cheers, Jörg. Prof. Dr.med. Jörg Hagmann-Zanolari Institute of Biochemistry and Genetics DKBW, University of Basel Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 6953049___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] cont 2005.10.27 t5-lmtt10 font problem
Taco Hoekwater wrote: A lot of the problems you have come down to this: teTeX 3.0 is not exactly the same as teTeX 2.02 was (mostly because of changes in the TeX Directory Standard); but the linux rpm/deb packages try hard to make it appear to be. Hence the attemps to make it fit in the old directory structure (Most probably this is because maintainers tend to dislike change). also, tetex and tex live differ; one complication is that, because of the many possible installation variants on linux, some of the paths are set differently (and become pretty complex when you see them in their expanded form); it makes tracing errors painful Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xml, context and hyphenation
I have created an other hyph.xml file with the following content: hyphenations language=de regime=utf hyphenationVoll-stän-dig-keit/hyphenation/hyphenations this file is included by: \processXMLfilegrouped {hyph.xml} In my file which I use for processing I use now: \useXMLfilter [utf,hyp] The compillation stops with the following message: xml : loading module hyp (C:\texmf\tex\context\base\xtag-hyp.tex loading : Context XML Macros (hyphenation) ) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) systems : begin file env at line 127 (./hyph.xml ! Not a letter. [EMAIL PROTECTED]@adiaeresis -\char 228 \utfunihashglyph ...r \utfdiv {#1}}{#1}\endcsname \fi inserted text Voll-stä n-dig-keit \hyphenation ...malhyphenation {\the \scratchtoks }\endgroup l.2 hyphenationVoll-stän-dig-keit/hyphenation /hyphenations ? What do I do wrong? Many thanks Wolfgang Hans Hagen schrieb: Taco Hoekwater wrote: Wolfgang Zillig wrote: Hello Taco, when I try to compile your example file: Then I get no output! The logfile is at the end of the message! That was intentional. \showhyphens only writes a message to the terminal, no typesetting was doen. It complains about that the coding utf is unknown! That was a mistake. I used \useencoding, where I should have used \enableregime. Revised version: \language[de] \enableregime[utf] \hyphenation{Voll-stän-dig-keit} \starttext \showhyphens{Vollständigkeit} \stoptext Either way, your output from my test file looks fine. if you want to define hyphenation exceptions in XML code: \useXMLfilter[hyp] (see xtag-hyp for more info) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] compiling pdftex docs
Taco Hoekwater wrote: Tobias Wolf wrote: There are loads of errors remaining (in the version from tug.org) like the following, which is also present in the atpragma mode: ! Missing number, treated as zero. to be read again } \tabulatecontent ...NR \HL \NC \type {\pdfoutput } \NC integer \NC 0 \NC \DV... Those are the same errors I got. I just assumed they were a side-effect of the cvs version. in cont-new.tex say: \let\protectedfirsttype\string % \relax by default this problem was introduced when some problems with color were posted; i need to look into it; the tricky thing is that verbatim (always) behaves different in direct and in 'passed as argument' mode, which is the nature of tex; unfortunately there is no easy way around e.g. using scantokens, because reprocessing may introduce spaces, Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Interaction background
Olivier wrote: Hi, is there any way to disable the reverse color highlighting when using interaction mode? I'd like to access a next page button without the background being video reversed. Does anybody know how to achieve this? \setupinteractions[click=no] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] cont 2005.10.27 t5-lmtt10 font problem
Tobias Wolf wrote: On 11/4/05, Hans Hagen [EMAIL PROTECTED] wrote: Tobias Wolf wrote: My system, as I mentioned, is teTex 3 from Debian unstable, which has a weird new map system that is working through .cfg files in /etc/texmf/updmap.d . I kept it there, so it mounts lm.map itself (is it used anyway in ConText?). i don't use updmap at all context loads map files on demand (when configured in cont-sys.tex) when no cont-sys.tex is present, then cont-sys.rme is used the presense of those files in /etc is disturbing (and strange since tex has pretty well layed out tree with defined configuration places) i have no idea how tex + friends can/will locate those files I think they want to make people use /etc for configuration, which could make sense if you want to make backups of the system config. The updmap.d directory is supposed to make mounting maps easier, I guess. You just drop a file there containing the Map/MixedMap assignments and that is merged into updmap.cfg on issuing updmap-sys. Pretty confusing all that. But on the other hand, Hans, why can't I compile the PDFTex docs because I don't have this ( http://www.ntg.nl/pipermail/ntg-context/2004/006705.html ) because that one has been dropped long ago \usetypescript[adobekb] [your encoding] (see type-akb.tex) And secondly, why is the file system searched case sensitive, so that the fonts are called in lowercase through the ConText maps (ec-raw-lte5002), so that I have to rename all files, but then mktextfm fails because it looks for ec-raw-LTe50021? hm, i always lowercsase all fonts on installation (font vendors make a mess of case in names) For me the disturbing things are starting to prevail in my ConText experience. Is it supposed to be like that? depends; fonts are always an issue; also, wanting to handle fonts (names) in context as in latex, you end up in constant changes and updates btw, esp the last few years, there has been many changes in fonts (locations of files, map syntax changes), etc etc Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] fix for verbatim
The following patch \unprotect \let\protectedfirsttype\string \bgroup \catcode`\[=\@@begingroup \catcode`\]=\@@endgroup \catcode`\{=\@@active \catcode`\}=\@@active \gdef\initializetypegrouping% [\catcode`\{=\@@active \catcode`\}=\@@active \let\normalactivebgroup{% \let\normalactiveegroup}% \def\activeleftargument% [\bgroup \let}\activerightargument \normalactivebgroup ]% \def\activerightargument% [\normalactiveegroup \egroup]% \let{=\activeleftargument \let}=\egroup ] \egroup \protect works ok for \setupcolors[state=start] \setuptype[option=color] \setuptyping[option=color] \setupwhitespace[big] \starttext \starttyping x\pdfoutput{xx} {nn} \pdfoutput{xx} {nn} \stoptyping \type{x\pdfoutput {xx} {nn}} \type{x\pdfoutput{xx} {nn}} \type{x\pdfoutput{xx} {nn}} \stoptext but no coloring here: \starttabulate[|l|] \NC \type{\pdfoutput {xx}{,,}} \NC\NR \NC \type{\pdfoutput{xx}{,,}} \NC\NR \NC \type{{xx}{,,}} \NC\NR \stoptabulate beware: since in tabulate args are passed, the { } in \type are seen as grouping tokens and disappear. i'll try to make up a solution (no way around space after \cs then, unless taco fixes tex -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bug / feature request tracking
Hi Taco, was the request tracker changed? I remember 3 months ago I wrote an entry at http://context.literatesolutions.com . It was something like the fifths entry I think, but I can't remember wether it was called collector (I remember it looked different). However, now I cannot find it anymore. So, here is the request again feature request for placefigure extension: *** request start *** Hi, it would be great if the \placefigure macro could be extended to combinations like \placefigure{top,left} or \placefigure{bottom,outer} The reason for this request is that we use ConTeXt a lot for typesetting books from arts and humanities. There we often have to place a lot of (more then 100) figures at fixed positions like top-outer and bottom-inner, wrapped by text. I guess it's not a trivial feature to be implemented in TeX's paragraph processing, but I know it might be worth the effort: ConTeXt's way to deal with fonts and text is so superior that it should be also accessible for disciplines that besides text also rely on images - as the arts and humanities do. Steffen *** request stop *** Thank you! Steffen Am 07.11.2005 um 18:50 schrieb Taco Hoekwater: Hi all, Some of you may be aware of the fact that there is a bug / feature request tracker for ConTeXt. The URL is: http://context.literatesolutions.com/collector I have to do a call-to-arms for the people that have made feature requests and / or found bugs in the past few months, especially if the extension /solution has not been included in the latest distribution (2005.10.27). Will you all please have a look at the current list, and see if I have added your item(s) already? I have a rather large archive of context-related email (because I let it slip for a while), and I fear that may have missed some extant bugs. This is quite important, because if it is not in the list, it is much less likely to get fixed. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xml, context and hyphenation
Wolfgang Zillig wrote: I have created an other hyph.xml file with the following content: hyphenations language=de regime=utf hyphenationVoll-stän-dig-keit/hyphenation/hyphenations this file is included by: \processXMLfilegrouped {hyph.xml} In my file which I use for processing I use now: \useXMLfilter [utf,hyp] The compillation stops with the following message: xml : loading module hyp (C:\texmf\tex\context\base\xtag-hyp.tex loading : Context XML Macros (hyphenation) ) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) (./env.tuo) systems : begin file env at line 127 (./hyph.xml ! Not a letter. [EMAIL PROTECTED]@adiaeresis -\char 228 which means that in ec encoding is not suited here btw, if you use a recent context, it has hyphenation patterns that are less encoding dependent Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Creatin metafun.mem on OSX
andrea valle wrote: Gerben, Thomas, I'm cleaning my hard disk (and my mind) and reinstalling. I changed the PATH (via bash tutorial...) and removed the sw tree. I installed thru i-installer, including the context updater. Now I have the two files mentioned by Thomas in their right place. Updating ConTeXt I have obtained: You have just installed a ConTeXt installation 2005.10.27 So, I'm supposing that, as Hans has patched the bug-free version, I simply have to wait that automatically the new version is installable. Am I right? if you use gwtex, it will happen automatically since gerben keeps things pretty up to date Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] xml, context and hyphenation
Hans Hagen wrote: btw, if you use a recent context, it has hyphenation patterns that are less encoding dependent Is that why it worked for me? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] extra page in presentation styles
Hans van der Meer wrote: Both of you thanks for taking the trouble to run the example. Because of your results I became convinced the problem was lurking somewhere in my part of the ConTeXt installation. That enabled me the quickly locate the culprit: a spurious comma introduced (by me of course, stupido) in cont-sys.tex (cont-sys.rme). A pity this comma did not show up in the output; it makes your help the more valuable. such a comma may not be visible because it is obscured by some layer or because a font is not yet loaded (rare) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Creatin metafun.mem on OSX
Gerben, Thomas, I'm cleaning my hard disk (and my mind) and reinstalling. I changed the PATH (via bash tutorial...) and removed the sw tree. I installed thru i-installer, including the context updater. Now I have the two files mentioned by Thomas in their right place. Updating ConTeXt I have obtained: You have just installed a ConTeXt installation 2005.10.27 So, I'm supposing that, as Hans has patched the bug-free version, I simply have to wait that automatically the new version is installable. Am I right? Thanks -a- PS: kpsewhere mp-spec.mp before it gave me: apples-Computer:~ apple$ kpsewhere mp-spec.mp /sw/share/texmf/metapost/context/base/mp-spec.mp Now it gives me nothing: apples-Computer:~ apple$ kpsewhere mp-spec.mp apples-Computer:~ apple$ on my system (Gerben's architecture), I get: /usr/local/teTeX/share/texmf.local/metapost/context/base/mp-spec.mp /usr/local/teTeX/share/texmf.tetex/metapost/context/base/mp-spec.mp The following comment is only valid for my redistribution: Normally, you would only have the second line (ConTeXt that is part of teTeX 3.0, which is roughly a year out of date). You only get the first line if you have installed my ConTeXt updater package. The texmf.local location is found before the texmf.tetex location, hence, installing the updater overrules what is in teTeX. Uninstalling the ConTeXt updater gets you back to the version in teTeX 3.0. You can set an automatic check for update for i-Packages in i-Installer after which you get a mail message telling you which packages have updated. The ConTeXt i-Package itself is updated automatically on the repositories if Hans releases a new version or a new beta. Which means that you'll hear about any ConTeXt update within 24 hours automatically. The ConTeXt updater is the only i-Package which is updated automatically on the repositories. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] hoffset and voffset in \setupTABLE
� wrote: Hello, here comes another feature request: independant horizontal and vertical offsets in TABLE-cells. Or even topoffset, bottomoffset, leftoffset and rightoffset. that may come in a future version of context when \framed will have them (currently ot would slow down too much) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font-switching oddities
Thomas A. Schmitz wrote: Hi all, I'm having some trouble with bodyfont switching. It involves two fonts that I adapted myself, so it's difficult to make a minimal example. Both fonts are defined in typescripts (these are just examples, it works the same for every typescript I tried). was this solved? \starttypescript [Caslon] \definetypeface [MyCaslon] [rm] [serif] [caslon] [default] [encoding=texnansi] \definetypeface [MyCaslon] [mm] [math] [modern] [default] \stoptypescript \starttypescript[GreekGentium] \definetypeface [MyGreekGentium] [rm] [serif] [greekgentium] [default] [rscale=\getvariable{Greek}{scale},encoding=agr] \definetypeface [MyCaslon] [mm] [math] [modern] [default] \stoptypescript Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] currentvalue
Hi, The \currentvalue module functionality written by Taco will be included in the kernel. However, instead of expanding (always) all assignments, Taco and I opt for using the less destructive \expanded: %D \startbuffer %D \getparameters[a][b=d] %D \expanded{\getparameters[a][b=c\currentvalue]} %D \framed{\ab} %D \stopbuffer %D \typebuffer %D %D Gives: \getbuffer Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bug / feature request tracking
Steffen Wolfrum wrote: Hi Taco, was the request tracker changed? I remember 3 months ago I wrote an entry at http://context.literatesolutions.com . It was something like the fifths entry I think, but I can't remember wether it was called collector (I remember it looked different). However, now I cannot find it anymore. So, here is the request again feature request for placefigure extension: re-inserted. IIRC, there has been a crash of the collector some time ago, forcing a re-install from backup. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with Natural Tables
Vit Zyka wrote: Vit Zyka wrote: ... so please, is the file 'core-ntb-new.tex' somewhere available? i merged the 'core-ntb-new.tex' code into the main file Solution of my own question, for who is interesting. Description: The next patch enables to define intercolumn gaps in Natural Table (bTABLE...eTABLE) environment. I added your patches, but renamed the keys: \starttext % distance mechanism, per column (H) \start \setupTABLE[c][1][distance=2em] \setupTABLE[c][2][distance=3em] \bTABLE \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD[nx=2] test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD[nx=2] test \eTD \eTR \eTABLE \bTABLE[option=stretch] \bTR \bTD test \eTD \bTD test \eTD \bTD test \eTD \eTR \bTR \bTD[nx=2] test \eTD \bTD test \eTD \eTR \bTR \bTD test \eTD \bTD[nx=2] test \eTD \eTR \eTABLE \stop % distance mechanism, per table (V) \framed[offset=none]{% \setupTABLE[column][2][align=left] \setupTABLE[column][3][align=right] \bTABLE[columndistance=2cm,leftmargindistance=.3cm,rightmargindistance=.5cm] \bTR \bTH[nc=3] Table head\eTH \eTR \bTR\bTD[nc=2] AB\eTD\bTD C\eTD\eTR \bTR\bTD[nc=2,align=left] AB\eTD\bTD C\eTD\eTR \bTR\bTD[nc=2,align=middle] AB\eTD\bTD C\eTD\eTR \bTR\bTD A\eTD\bTD B\eTD\bTD C\eTD\eTR \bTR\bTD Aa\eTD\bTD Bb\eTD\bTD Cccc\eTD\eTR \bTR\bTD[nc=3,align=middle] ABC\eTD\eTR \eTABLE } \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] long quotation problem
Alan Bowen wrote: Peter, Willi, and Hans� I have incorporated your suggestions for getting better looking long quotations, and all is now working very well indeed. Many thanks to you all. Alan PS For the record, here is what I have now�just in case someone down the line runs into the same problem. A. % Extracts or Long Quotations // In body text \defineblank[extractdistance][3pt] \definestartstop[extract][ before={ \blank[extractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[extractdistance,force] \indenting[yes]}] % In footnotes \defineblank[footenoteextractdistance][2.7pt] \definestartstop[fnextract][ before={ \blank[footenoteextractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[footenoteextractdistance,force] \indenting[yes]}] was this wiki'd? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font-switching oddities
This was partially solved. If I add the bodyfontsize explicitly \definebodyfont [30pt,25pt,20pt,18pt,17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt, 4pt] [rm] [default] I don't get these errors, and the files compile fine. But since its for my module, I still have a problem: what if the customer sets bizarre sizes like 10.25pt? So my question was: is it possible to have a blanket definition like [all] vel. sim. to be covered for all cases? And thanks for the hint to add math; will do that for every typescript. Best Thomas On Nov 9, 2005, at 11:53 AM, Hans Hagen wrote: Thomas A. Schmitz wrote: Hi all, I'm having some trouble with bodyfont switching. It involves two fonts that I adapted myself, so it's difficult to make a minimal example. Both fonts are defined in typescripts (these are just examples, it works the same for every typescript I tried). was this solved? \starttypescript [Caslon] \definetypeface [MyCaslon] [rm] [serif] [caslon] [default] [encoding=texnansi] \definetypeface [MyCaslon] [mm] [math] [modern] [default] \stoptypescript \starttypescript[GreekGentium] \definetypeface [MyGreekGentium] [rm] [serif] [greekgentium] [default] [rscale=\getvariable{Greek}{scale},encoding=agr] \definetypeface [MyCaslon] [mm] [math] [modern] [default] \stoptypescript Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] accents inside text mode inside math
Mojca Miklavec wrote: Hello, thera were some problems concerning accented characters in math (mathml) a while ago (as far as I remember they were solved). But some tiny bugs apparently remained there. Minimal example: $\cases{\ccaron}$ is there a problem in the ec vector? compare: \ccaron $\cases{\ccaron \fontname\font}$ \quad $\cases{\tf\ccaron \fontname\font}$ \setupencoding[default=texnansi] \definetypeface[xxx][rm][serif][modern][default][encoding=texnansi] \definetypeface[xxx][mm][math] [modern][default][encoding=texnansi] \setupbodyfont[xxx,12pt] \ccaron $\cases{\ccaron \fontname\font}$ \quad $\cases{\tf\ccaron \fontname\font}$ \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to use layers or other methods for precise positioning of items
� wrote: When I was trying to use this feature for multipage document it cut of all of the pages except the first. I found out that the layers weren't thought to be part of the content of the file but more like a background and I can't figure out how to use them on many pages without placing something like a dot on every page. Is there any way to do this? I discovered that the layers were inserted into the document via \setupbackgrounds[page] so I understand why it acts like this but I am asking if there is some way of getting layers working like I want? was this solved? (btw, if you are positioning things in a n by n way, an option is to use small pages (A7 or so) and ise the page imposition xy feature to collect them on a page) Another thing I was wondering about is how to make items like images bleed (that is to go over the edge of the paper, to avoid white lines at the margin). Can I use negative values for positioning to achive that? indeed, \setposition[...][hoffset=2mm,voffset=-2mm,...] (in principle h(v)offset and x(y) do similar things but having two keys for each makes it possibel to separate the bleed from the positioning) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index
Olivier wrote: Quoting Thomas A. Schmitz : -- was [EMAIL PROTECTED] on Oct 16, 2005 at 12:11:31 - You're right, a quick test demonstrated the bug. In the texutil script there seems to be only sorting on entries' labels and no further sorting with the page number because it sorts this string join($JOIN,$Class,$LCKey,$Key,$Entry,$TextHow,$RegStatus, $RealPageNumber,$Location,$Page,$PageHow,$SeeToo) What about using a hash instead of a string to handle the register entries' information so that it will be easier to handle the page ranges after having sorted the labels? newtexutil work different I wrote a note to the list about these bugs about a week ago, but there were no replies. I guess if there are two of us and we yell loud enough, Hans will hear us eventually :-) not with headphones, which i normally wear when i'm in that kind of debugging mode -) I'm with you :)) so, what was the test file? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] font-switching oddities
Thomas A. Schmitz wrote: And thanks for the hint to add math; will do that for every typescript. that probbably solves the problem Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] accents inside text mode inside math
Hans Hagen wrote: Mojca Miklavec wrote: Hello, thera were some problems concerning accented characters in math (mathml) a while ago (as far as I remember they were solved). But some tiny bugs apparently remained there. Minimal example: $\cases{\ccaron}$ is there a problem in the ec vector? compare: Not exactly a problem. The texnansi ones work thanks to the (semi-)coincidence that the accent-part of the font encoding is identical to Knuthian encoding, and that simply doesn't work for less knuthian encodings like ec, where this is not the case. Perhaps you have to introduce a macro like \buildmathaccent ... Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index
On Nov 9, 2005, at 2:11 PM, Hans Hagen wrote: not with headphones, which i normally wear when i'm in that kind of debugging mode -) try a megaphone? ;-) I'm with you :)) so, what was the test file? Hans Compile this with newtexexec: \starttext \index{This} This \index{and} and \index{That} That. \page \placeindex \stoptext and This and That will be sorted under h. If you modify the file like so: \starttext \index{This} This \index{and} and \seeindex{That}{This} That. \page \placeindex \stoptext it will give this error message: ! Argument of \@@filterlevelpart has an extra }. inserted text \par to be read again } \doifprevlevelelse ...tor \@@filterlevelpart [#1]} \edef \@@tocsectiontype {\... \dosetpageregisterpage ...-\doifreglevelelse [#5] {\dodosetpageregisterpage ... l.46 ...isterpage{index}{,}{3}{2::0:0:0:0:0:0:0}{} Runaway argument? 0:0:0:0:0:0:0] ! Paragraph ended before \@@filterlevelpart was complete. to be read again \par to be read again } \doifprevlevelelse ...tor \@@filterlevelpart [#1]} \edef \@@tocsectiontype {\... \dosetpageregisterpage ...-\doifreglevelelse [#5] {\dodosetpageregisterpage ... l.46 ...isterpage{index}{,}{3}{2::0:0:0:0:0:0:0}{} ! Argument of \@@filterblockpart has an extra }. inserted text \par to be read again } \doifprevlevelelse ...pe {\@@filterblockpart [#1]} \ifcase \alltoclevels \ifn... \dosetpageregisterpage ...-\doifreglevelelse [#5] {\dodosetpageregisterpage ... l.46 ...isterpage{index}{,}{3}{2::0:0:0:0:0:0:0}{} Runaway argument? 0:0:0:0:0:0:0] ! Paragraph ended before \@@filterblockpart was complete. to be read again \par to be read again } \doifprevlevelelse ...pe {\@@filterblockpart [#1]} \ifcase \alltoclevels \ifn... \dosetpageregisterpage ...-\doifreglevelelse [#5] {\dodosetpageregisterpage ... l.46 ...isterpage{index}{,}{3}{2::0:0:0:0:0:0:0}{} ! Argument of \@@filternumberpart has an extra }. inserted text \par to be read again } \pageprefix ...stprefix {\@@filternumberpart [#2]} \let \donexttrackcommando ... argument ... {\??id \v!index }[2::0:0:0:0:0:0:0] \translatednumber [2::0:0:... \doregisterpagehowto ...??id #1\c!pagecommand }{#2 }\dostopattributes argument ...erpage {\v!index }[2::0:0:0:0:0:0:0] \ifnum 1=2\/\fi ... l.46 ...isterpage{index}{,}{3}{2::0:0:0:0:0:0:0}{} Runaway argument? 0:0:0:0:0:0:0] ! Paragraph ended before \@@filternumberpart was complete. to be read again \par to be read again } \pageprefix ...stprefix {\@@filternumberpart [#2]} \let \donexttrackcommando ... argument ... {\??id \v!index }[2::0:0:0:0:0:0:0] \translatednumber [2::0:0:... \doregisterpagehowto ...??id #1\c!pagecommand }{#2 }\dostopattributes argument ...erpage {\v!index }[2::0:0:0:0:0:0:0] \ifnum 1=2\/\fi ... l.46 ...isterpage{index}{,}{3}{2::0:0:0:0:0:0:0}{} Runaway argument? ! Paragraph ended before \@@dofilterheadpart was complete. to be read again \par \@@filterheadpart ... \@@dofilterheadpart [EMAIL PROTECTED] [#1 :0] argument ...ix {\@@filterheadpart [\postprefix ] }\edef \postprefix {\@@fil... \firstoftwoarguments #1#2-#1 \donexttrackcommando #1-\dodopageprefix {#1} \donexttracklevel {#1} \pageprefix ...\donexttrackcommando \firstsection \egroup ... l.46 ...isterpage{index}{,}{3}{2::0:0:0:0:0:0:0}{} Runaway argument? ! Paragraph ended before \@@dofiltertailpart was complete. to be read again \par \@@filtertailpart ... \@@dofiltertailpart [EMAIL PROTECTED] [#1 :0] argument ...ix {\@@filtertailpart [\postprefix ] }\let \uchar \normaluchar ... \firstoftwoarguments #1#2-#1 \donexttrackcommando #1-\dodopageprefix {#1}
RE: [NTG-context] Mini-survey: What do you do with ConTeXt?
Hi All, I'm currently working in a team which is building a system for the automatic production of office stationery (business cards, letterheads and compliment slips) with ConTeXt at its heart. The system provides a web-application front end for selected users to create stationery orders. These orders are then processed to produce .tex files, which are processed by ConTeXt to produce press-ready PDFs. The PDFs are sent with order details straight to our in-house printing department. I was tasked with creating the PDF engine and chose ConTeXt because (a) I have a lot of experience with LaTeX and hence a great deal of respect for TeX's capabilities but (b) knew that controlling the layouts in LaTeX would be a pain. The following features of ConTeXt are used in this project: * Native support for OpenType fonts * Support for creation of high quality press-ready PDFs * Fine control over document layout, page design etc. * Support for embedding JPG, TIFF, PNG amd PDF images * Support for the use of named (PANTONE) spot colours The choice of ConTeXt was not an easy one having never used it before but my gut feeling was that it is a very powerful and flexible piece of software. It has met all my requirements so far but not without a fight, as the documentation can be very sparse! I will certainly contribute what documentation I can when I have more time. Mark ** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. *** ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with Natural Tables
Hans Hagen wrote: Vit Zyka wrote: Vit Zyka wrote: ... so please, is the file 'core-ntb-new.tex' somewhere available? i merged the 'core-ntb-new.tex' code into the main file Solution of my own question, for who is interesting. Description: The next patch enables to define intercolumn gaps in Natural Table (bTABLE...eTABLE) environment. I added your patches, but renamed the keys: Thanks, renaming makes sence. vit ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Header design
Alexander Lazic wrote: Hi, i have now try to setup the CD pagedesign. Please can anyone help me to find a solution for this setup ;-) What i need is: Title_of_the_document | section was this solved? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] long quotation problem
Hans— I have not wiki-ed anything before, so this was a first try and I think it worked. At least it shows up on my user page. Best, Alan On Nov 9, 2005, at 7:30 AM, Hans Hagen wrote: Alan Bowen wrote: Peter, Willi, and Hans� I have incorporated your suggestions for getting better looking long quotations, and all is now working very well indeed. Many thanks to you all. Alan PS For the record, here is what I have now�just in case someone down the line runs into the same problem. A. % Extracts or Long Quotations// In body text \defineblank[extractdistance][3pt] \definestartstop[extract][ before={ \blank[extractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[extractdistance,force] \indenting[yes]}] % In footnotes \defineblank[footenoteextractdistance][2.7pt] \definestartstop[fnextract][ before={ \blank[footenoteextractdistance,force] \setupnarrower[left=1.5pc,right=1.5pc] \startnarrower[left,right] \noindent}, after={\stopnarrower \blank[footenoteextractdistance,force] \indenting[yes]}] was this wiki'd? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] accents inside text mode inside math
Taco Hoekwater wrote: Hans Hagen wrote: Mojca Miklavec wrote: Hello, thera were some problems concerning accented characters in math (mathml) a while ago (as far as I remember they were solved). But some tiny bugs apparently remained there. Minimal example: $\cases{\ccaron}$ is there a problem in the ec vector? compare: Not exactly a problem. The texnansi ones work thanks to the (semi-)coincidence that the accent-part of the font encoding is identical to Knuthian encoding, and that simply doesn't work for less knuthian encodings like ec, where this is not the case. Perhaps you have to introduce a macro like \buildmathaccent ... actually, \cases{\tf \ccaron}$ works ok ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index
Thomas A. Schmitz wrote: On Nov 9, 2005, at 2:11 PM, Hans Hagen wrote: not with headphones, which i normally wear when i'm in that kind of debugging mode -) try a megaphone? ;-) I'm with you :)) so, what was the test file? Hans Compile this with newtexexec: \starttext \index{This} This \index{and} and \index{That} That. \page \placeindex \stoptext can you play a bit with the following: (patch context/ruby/base/texutil.rb) def preset(shortcuts=[],expansions=[],reductions=[],divisions=[]) # maybe we should move this to sort-def.tex 'a'.upto('z') do |c| expander(c) ; division(c) end 'A'.upto('Z') do |c| expander(c) ; division(c) end # ! ! ! ! ! ! ! added ! ! ! ! ! ! ! ! expander('1','b') ; expander('2','c') ; expander('3','e') ; expander('4','f') expander('5','g') ; expander('6','h') ; expander('7','i') ; expander('8','i') expander('9','j') ; expander('0','a') ; expander('-','-') ; # end potential move shortcuts.each do |s| shortcut(s[0],s[1]) end expansions.each do |e| expander(e[0],e[1]) end reductions.each do |r| reducer(r[0],r[1]) end divisions.each do |d| division(d[0],d[1]) end end ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index
Thomas A. Schmitz wrote: If you modify the file like so: \starttext \index{This} This \index{and} and \seeindex{That}{This} That. \page \placeindex \stoptext it will give this error message: add the copied = false to: handle \\registersee{#{entry.type}}{#{entry.pagehowto},#{entry.texthowto}}{#{entry.seetoo}}{#{entry.page}}\n ; lastpage, lastrealpage = entry.page, entry.realpage copied = false # no page ! Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] accents inside text mode inside math
Hans Hagen wrote: actually, \cases{\tf \ccaron}$ works ok Without the \tf, \characterencoding is '@default@' instead of '@ec@'. Does that help pinpoint the problem? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] wasy symbol set
symb-was.tex addresses only wasy10 (see below), but there are also wasy5-9 and wasyb10 (bold?) - how can I use these? (Don't know if that makes any sense.) \definefontsynonym [WaSy] [wasy10] \def\WaldiSymbol#1{\getglyph{WaSy}{\char#1}} define: \definefontsynonym [WaldiSymbol] [wasy10] \definefontsynonym [WaldiSymbolBold] [wasyb10] Oh, me stupid, could have thought of that myself. But what about the different design sizes? I don't think that makes much sense here, but how would I address them? I'll add a (slightly patched) version of your file to the distribution Great! My first contribution. ;-) Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index
Excellent! As far as I can see, this takes care of the seeindex bug and of the sorting bug. On the negative side: ranges make the new texutil.rb bomb out. Two down, one to go!!! Thanks a lot, Hans! Thomas On Nov 9, 2005, at 5:07 PM, Hans Hagen wrote: Thomas A. Schmitz wrote: If you modify the file like so: \starttext \index{This} This \index{and} and \seeindex{That}{This} That. \page \placeindex \stoptext it will give this error message: add the copied = false to: handle \\registersee{# {entry.type}}{#{entry.pagehowto},#{entry.texthowto}}{# {entry.seetoo}}{#{entry.page}}\n ; lastpage, lastrealpage = entry.page, entry.realpage copied = false # no page ! Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] wasy symbol set
Henning Hraban Ramm wrote: But what about the different design sizes? just pretend that there is only 10pt I don't think that makes much sense here, but how would I address them? by some kind of clever mapping where the name is taken from a control sequence with 10pt as fall back; a few lines of code probably, but not worth the effort Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index
Thomas A.Schmitz wrote: Excellent! As far as I can see, this takes care of the seeindex bug and of the sorting bug. On the negative side: ranges make the new texutil.rb bomb out. Two down, one to go!!! send me a test file -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] accents inside text mode inside math
Taco Hoekwater wrote: Hans Hagen wrote: actually, \cases{\tf \ccaron}$ works ok Without the \tf, \characterencoding is '@default@' instead of '@ec@'. Does that help pinpoint the problem? this seems to work, the problem is that there is no \everyfam \starttext \def\enableencodinginmath {\appendtoks \everyhbox{\mr\everyhbox\emptytoks}% \everyvbox{\mr\everyvbox\emptytoks}% \to \everymath} \enableencodinginmath $\cases{ \ccaron}$ $x=\hbox{\ccaron$x=\hbox{\ccaron}$}$ \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Creatin metafun.mem on OSX
On Nov 9, 2005, at 11:37, Hans Hagen wrote: andrea valle wrote: Gerben, Thomas, I'm cleaning my hard disk (and my mind) and reinstalling. I changed the PATH (via bash tutorial...) and removed the sw tree. I installed thru i-installer, including the context updater. Now I have the two files mentioned by Thomas in their right place. Updating ConTeXt I have obtained: You have just installed a ConTeXt installation 2005.10.27 So, I'm supposing that, as Hans has patched the bug-free version, I simply have to wait that automatically the new version is installable. Am I right? if you use gwtex, it will happen automatically since gerben keeps things pretty up to date *Almost* automatic. As soon as Hans updates either the beta or stable version of the ConTeXt zip files, the next night (CET) the ConTeXt Updtare i-Package is rebuilt and distributed to the repositories automatically. You still need to install it yourself (it is i-Installer's philosophy that no action will be performed unless a human accepts it, complete automation without user intervention is a big potential security risk) If you start i-Installer and go to the Preferences and you go to the Other tab you can set an automatic check for updates on i-Packages you have (Check packages for updates...). This creates a unix 'crontab' entry which is run at the time you have selected (e.g. every day a 07:00). This entry runs a helper program that checks the remote version of all your i-Packages and will report updated i-Packages via Mail. It won't automatically update install (as per the philosophy). G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] wasy symbol set
Am 2005-11-09 um 19:51 schrieb Hans Hagen: But what about the different design sizes? just pretend that there is only 10pt I don't think that makes much sense here, but how would I address them? by some kind of clever mapping where the name is taken from a control sequence with 10pt as fall back; a few lines of code probably, but not worth the effort Ok; I thought I'd remember some typescript magic with sized fonts, but couldn't find it; no wonder if it's not possible. ;-) Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index
Correction: I goofed up; after correcting the file, I get exactly what I expected. AFAICS, index generation now works flawlessly with newtexexec! Great, wonderful, kudos to you! I'm happy again! Thanks Hans best Thomas On Nov 9, 2005, at 7:48 PM, Hans Hagen wrote: send me a test file -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index
Thomas A. Schmitz wrote: Correction: I goofed up; after correcting the file, I get exactly what I expected. AFAICS, index generation now works flawlessly with newtexexec! Great, wonderful, kudos to you! I'm happy again! Thanks Hans well, thanks for testing newtexexec -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Creatin metafun.mem on OSX
If you start i-Installer and go to the Preferences and you go to the Other tab you can set an automatic check for updates on i-Packages you have (Check packages for updates...). Already done. This creates a unix 'crontab' entry which is run at the time you have selected (e.g. every day a 07:00). This entry runs a helper program that checks the remote version of all your i-Packages and will report updated i-Packages via Mail. (Fine. How does this notification happen? Does he knows my email? Or am I asking something stupid?) Another obvious thing, but just to be sure. Using gwtex means for me typesetting from inside TeXShop with standard engine default. Right? Thanks a lot to all for the support So, know I'm waiting for updates -a- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fix for verbatim
On Wed, 9 Nov 2005, Hans Hagen wrote: (btw, it becomes time to drop non-etex code -) Is there any reason to keep it? Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] French spacing before punctuation
On Mon, 31 Oct 2005, Hans Hagen wrote: - And what commands to configure this? see hand-def, end of file (i need to look into it again because thanh added some more variants, so some of the definition commands may change; this will not hurt the higher level usage) Hello Hans, I tried the following test file, but nothing happens: \enableregime[il1] \starttext \definefontsynonym[myfont][Serif][handling=prespacing] \definefont[whatever][myfont sa 1] \setupalign[spacing] \whatever look at this: we now have a proper spacing feature and, hurray, get rid of active punctuation! bla «XXX» bla, bla, «bla», bla \definefontsynonym[myotherfont][Serif][handling=glm] \definefont[whatevertwo][myotherfont sa 1] \whatevertwo bla «XXX» bla, bla, «bla», bla \stoptext Versions: texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5) context : ver: 2005.10.27 cont-en : ver: 2005.10.27 fmt: 2005.11.9 mes: english Greetings, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context