[NTG-context] Unwanted space before a \HL in tables
Hi, now I have a new conTeXt, but tables remain tricky. A slight variation of the wiki example with horizontal lines gives unwanted vertical space: \starttext \placetable[here][tab:sample]{sample table}{\start \starttablehead \HL \VL command \VL meaning \VL\SR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|l|] \VL \tex{NC}\VL next column \VL\FR \VL \tex{HL}\VL horizontal line \VL\MR \VL \tex{VL}\VL vertical line \VL\MR \VL \tex{NR}\VL next row\VL\AR \HL \VL \tex{SR}\VL single row \VL\MR \VL \tex{FR}\VL first row \VL\MR \VL \tex{MR}\VL middle row \VL\MR \VL \tex{LR}\VL last row\VL\LR \stoptables \stop} \stoptext -- Gerhard Kugler Psychotherapeut http://www.psychotherapie-kugler.de ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Specifying BibTeX engine
Hi, texexec has been doing the necessary BibTeX calls for some time now, but is there a way to configure which BibTeX engine is being called? I am using BibTeX 8 (because of Unicode in my bibliography) and have been renaming the executable so far, but it seems there should be a better way. (Incidentally, I've been using a Python script to convert BibTeX files between Unicode and {\=a}-style accent notation and am currently thinking of putting in ConTeXt {\adiaeresis}-style accents as well; would this be of interest to anyone?) Philipp ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Specifying BibTeX engine
Philipp Reichmuth wrote: Hi, texexec has been doing the necessary BibTeX calls for some time now, but is there a way to configure which BibTeX engine is being called? I am using BibTeX 8 (because of Unicode in my bibliography) and have been renaming the executable so far, but it seems there should be a better way. The next release will have \setupbibtex[bibtex=bibtex8] (default is the old one, because bibtex8 is not omnipresent). Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Specifying BibTeX engine
Taco Hoekwater schrieb: The next release will have \setupbibtex[bibtex=bibtex8] Great, thanks. Philipp ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] overlay page background missing
The overlay with a layer inside it displays fine when used in the framed background. \framed[height=\textheight, width=\textwidth,background={WatermarkOverlay}, frame=on]{overlay frame} But it does not display anything when used in the setupbackgrounds background. \setupbackgrounds[page][background={WatermarkOverlay}] Any ideas why? hm, backgrounds should work ok; and page backgrounds are recalculated for each page Can you see any reason why it would not be working? In the example above, the overlay is displayed as the background of the frame, but not as the background for the entire document? Can you give any directions on where to look for further documentation/ideas? I basically just need to be able to position a watermark on the back of every page, possibley different ones for left and right pages. Thank you, paul ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] overlay page background missing
Paul Jones wrote: The overlay with a layer inside it displays fine when used in the framed background. \framed[height=\textheight, width=\textwidth,background={WatermarkOverlay}, frame=on]{overlay frame} But it does not display anything when used in the setupbackgrounds background. \setupbackgrounds[page][background={WatermarkOverlay}] Any ideas why? hm, backgrounds should work ok; and page backgrounds are recalculated for each page Can you see any reason why it would not be working? In the example above, the overlay is displayed as the background of the frame, but not as the background for the entire document? Can you give any directions on where to look for further documentation/ideas? I basically just need to be able to position a watermark on the back of every page, possibley different ones for left and right pages. can you send small test file? 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Unicode stuff (was: Re: Specifying BibTeX engine)
[EMAIL PROTECTED] schrieb: to replace bibtex with ctxbibtex, which is a shell script I can edit to use bibtex8, etc. with appropriate arguments (e.g., for very large .bib files) as well as encoding tricks. A dirty hack is to put an \installprogram{ctxbibtex \jobname}}} line in your file (after the other setup). The job runs bibtex and then ctxbibtex, so you end up with the results of whatever is in your script. OK, that's not pretty, but it would do the job, assuming that regular 7-bit BibTeX doesn't bail out on Unicode files (which it sometimes does here). (Incidentally, I've been using a Python script to convert BibTeX files between Unicode and {\=a}-style accent notation and am currently thinking of putting in ConTeXt {\adiaeresis}-style accents as well; would this be of interest to anyone?) I use GNU recode for this, but not with ConTeXt, where \enableregime[utf] has been working with my utf8 bibliography, so I haven't needed ConTeXt {\adiaeresis}-style accents. Yes, the main reason I've been bothering with a custom script is that my bibliography program (Citavi) produces buggy export files with Unicode characters in BibTeX record keys, so I have to distinguish between Unicode in keys and in data and treat them differently. Also not all of the characters I need are covered by ConTeXt-style accents. (I could add them, of course, since I have the TeX code for them anyway; Hans, is there a canonical way to do this?) Since I need to do some other fixes anyway, I've put it in an extra script. I've been starting to reuse some of this work in a script to do active character assignment for XeTeX depending on what glyphs are present in an OpenType font, so that those characters for which the font doesn't have a glyph are generated by ConTeXt. Basically I want to produce something like this: \ifnum\XeTeXcharglyph010D=0 \catcode`č=\active \def č{\ccaron} \else \catcode`č=\letter \fi % ConTeXt knows this letter - better hyphenation \ifnum\XeTeXcharglyph1E0D=0 \catcode`ḍ=\active \def ḍ{\b{d}} \else \catcode`ḍ=\letter \fi % ConTeXt doesn't know this letter (with \other, respectively, for non-letters). Being somewhat of a novice to TeX programming, I'm not sure if this will work, though, and I'm also not sure if it's better to generate static scripts that do this for every font (so the resulting TeX file is a font-specific big list of \catcode`$CHARACTERs) or to do this dynamically on every font change, maybe limited to selectable Unicode ranges (which is more general but also a lot slower). I'd prefer to see a context encoding added to GNU recode for the benefit of future archeologists trying to decipher ancient documents. That would be better I guess, but isn't ConTeXt encoding a moving target in that characters can still get added? Or is the list fixed to AGL glyph names and nothing else? Philipp ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] new bib module
Hi, I just uploaded a new bib module to http://modules.contextgarden.net Fixes: * \setuppublications[numbering=short] * \setuppublications[numbering=bib] * grid snapping of the publication list * some spurious spaces Added: * \setupbibtex[bibtex=bibtex] For Matthias: I know this does not quite fix all the problems you had with short item keys when they are not generated by \setupbibtex[sort=short], but at least you can have a normal list of referenced items now. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new bib module
Thomas A. Schmitz wrote: Thanks Taco! Right now, I get a 404 error when I try to download. Sorry, re-uploaded (I gave the wrong revision id). Should be ok now. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new bib module
On 11/4/06, Taco Hoekwater [EMAIL PROTECTED] wrote: Thomas A. Schmitz wrote: Thanks Taco! Right now, I get a 404 error when I try to download. Sorry, re-uploaded (I gave the wrong revision id). Should be ok now. I was able to download the new version, but it is failing on the simple example document from the wiki (I called it try-ctx) -- does it need a very recent context (I have ConTeXt ver: 2006.08.08 21:51 fmt: 2006.11.4 int: english mes: english)? $ texmfstart texexec try-ctx [...] Completed box being shipped out [1.1] Memory usage before: 1751690230; after: 397690074; still untouched: 939301 title : - References ) ! Incomplete \iffalse; all text was ignored after line 23. inserted text \fi * try-ctx.tex emergencyend ? -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new bib module
On Nov 4, 2006, at 8:28 PM, [EMAIL PROTECTED] wrote: $ texmfstart texexec try-ctx [...] Completed box being shipped out [1.1] Memory usage before: 1751690230; after: 397690074; still untouched: 939301 title : - References ) ! Incomplete \iffalse; all text was ignored after line 23. inserted text \fi * try-ctx.tex emergencyend ? I got the same error; I think a \fi is missing in line 935? Best Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new bib module
Thomas A. Schmitz wrote: On Nov 4, 2006, at 8:28 PM, [EMAIL PROTECTED] wrote: $ texmfstart texexec try-ctx [...] Completed box being shipped out [1.1] Memory usage before: 1751690230; after: 397690074; still untouched: 939301 title : - References ) ! Incomplete \iffalse; all text was ignored after line 23. inserted text \fi * try-ctx.tex emergencyend ? I got the same error; I think a \fi is missing in line 935? Absolutely correct, sorry again. Not my best day, this. New version uploaded Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] new to ConTeXt
Hi there, after more than five years using LaTeX (Lambda and XeLaTeX, this one for the last months), I have decided to give ConTeXt a try. LaTeX is fine for me: I have typeset my own dissertation in Philosophy (with ancient Greek and Unicode) and a couple of books. But the modular design makes things tricky at the end, and I would like to give ConTeXt (with XeTeX and LuaTeX when it comes) a try. At the same time, I would like to switch from TeX to XML. TeX is fine, but XML is better for other than typographical purposes. Coming from the humanities, I guess the right choice is TEI (P5 is expected to be released before middle of the following year). I had some experience with XML and Docbook some years ago, but that was before I switched to Linux and Docbook aims to technical documentation (and I'm not a technical guy). I guess I can mix ConTeXt and XML with the eXaMpLe framework (I have just read about it at wiki.contextgarden.net). In order to understand TEI and ConTeXt, I would like to be able to create the files that will be able to compile an TEI XML document with ConTeXt without having to convert it to ConTeXt. I would like to avoid XSL and XSL-FO. I guess it should be something similar DocbookInConTeXt, but I don't know whether it uses the eXaMplE framework (I don't even know whether . Could anyone comment on this topic? I mean, whether the described task could be achieved with ConTeXt, which issues may arise, whether this is the best approach to the issue, whether I miss something, and so on. Thanks for your help, Pablo ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] unic-xxx.tex glyph lists: minor bugs, questions
Hi, I've been writing a script that sifts through the unic-xxx.tex files to get a readable mapping what Unicode characters are supported using \Amacron-style names. In the process I found one bug and something that might be another bug: - the Cyrillic block (unic-004.tex) is missing an \unknownchar line for U+04CF, so that the remaining (few) glyphs are off by one - the Hebrew block (unic-005.tex) starts with a \numexpr line indicating an offset of 224 = E0; however, the first character in the list is U+05D0. So either the whole block is off by 16, starting at 0x0490 instead of 0x0500, or the 224 should be a 208 (=D0) instead. BTW unic-005.tex is the only file with Macintosh line endings. Are the unic-xxx files automatically generated or maintained by hand? Incidentally, it would be trivial now to put the list of ConTeXt glyphs on the Wiki, if anyone's interested. I wanted to use this to work towards better support for the whole range of ConTeXt glyphs with OpenType fonts under XeTeX, by reading what ConTeXt glyphs are available in a font and building a list of \catcode`ā=\active \def ā {\amacron}-style list for the rest. (Unfortunately this kind of list would be font-specific, but the generic alternative would be a huge list of active characters with an \ifnum\XeTeXcharglyph0 macro behind it, and that would probable be quite slow.) I wonder if there is a more intelligent way to achieve this goal; since part of the logic for mapping code points into glyph macros exists already, it would be easier if there was a way to reuse that. The best way out would be if I could enable ConTeXt's UTF-8 regime while running XeTeX in \XeTeXinputencoding=bytes mode, but I haven't gotten that to work yet. Philipp ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] overlay page background missing
can you send small test file? Here you go... In case the mail server strips attachments, the contents of the attached file are also in the original post of this thread. Thank you, paul overlay.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context