[NTG-context] XeTeX hangs
If I try to compile the folllowing code with XeTeX, it hangs (as if it was waiting for further input): \catcode`ð=\active \defð{^^f0} % only hangs for F0, other numbers are OK \starttext ð \stoptext I didn't manage to test the same example with plain XeTeX (tetex is a bit misconfigured since the standalone ConTeXt is installed), but Jonathan says that it runs OK on his computer. Is my system broken again or are some other black forces working anywhere? Thanks, Mojca eth.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Textbackground overlapping
Hello, When the backgrounded stuff starts from one page up to the following, it doesn't take care about the bottom footnotes, so that they are covered by the background. Here is a small example: \definecolor[ScreenGray][s=.95] \definetextbackground[grayback] [background=color, backgroundcolor=ScreenGray, frame=on, strut=yes, width=broad, location=paragraph, framecolor=ScreenGray, leftoffset=\topskipgap, before=\blank, after=\blank, align=right] \starttext A footnote\footnote{Covered by the background, right?}. \input tufte \input tufte \input tufte \input tufte \starttextbackground[grayback] \input tufte \stoptextbackground \stoptext Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Index sorting for other languages that English
Hello Hans,after an upgrade I noticed thar the index sorting works even worse than before (tested on Czech, Chinese and Japanese, but probably related to non-ASCII characters in common).With TeXExec 5.4.3, all words beginning with national (accented) characters were put into a separate ("symbols") group and placed before "A". This was not good but more or less acceptable.With TeXExec 6.2.0, words beginning with accented characters are placed under certain unaccented letter. My colleague found out that these words are sorted according the first unaccented letter. This is unacceptable and unusable.We do a "work-around" so we try to avoid indexing words beginning with accented charaters. But it's impossible in many cases.I'd like to ask you to improve the index sorting. Could I help or contribute in some way?Attached is a testing file, which creates 2 indexes from various Czech words (covering the Czech alphabet). The index should be sorted exactly that way as the terms are written in the file.Thanks,Richard test.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Textbackground overlapping (2)
Hello, Sorry, just another overlapping case I should have put in the preceding mail: when a float cuts the backgrounded stuff, the float is backgrounded too. Maybe harder to fix. An example showing both cases (footnote + float): \definecolor[ScreenGray][s=.95] \definetextbackground[grayback] [background=color, backgroundcolor=ScreenGray, frame=on, strut=yes, width=broad, location=paragraph, framecolor=ScreenGray, leftoffset=\topskipgap, before=\blank, after=\blank, align=right] \starttext A footnote\footnote{Covered by the background, right?}. \input tufte \input tufte \input tufte \input tufte \starttextbackground[grayback] \input tufte \stoptextbackground \placefigure[top]{joke}{\framed[width=5cm]{Hi}} \stoptext Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index sorting for other languages that English
On Tuesday 23 May 2006 06:22, Richard Gabriel wrote: Hello Hans, after an upgrade I noticed thar the index sorting works even worse than before (tested on Czech, Chinese and Japanese, but probably related to non-ASCII characters in common). With TeXExec 5.4.3, all words beginning with national (accented) characters were put into a separate (symbols) group and placed before A. This was not good but more or less acceptable. With TeXExec 6.2.0, words beginning with accented characters are placed under certain unaccented letter. My colleague found out that these words are sorted according the first unaccented letter. This is unacceptable and unusable. We do a work-around so we try to avoid indexing words beginning with accented charaters. But it's impossible in many cases. I'd like to ask you to improve the index sorting. Could I help or contribute in some way? Attached is a testing file, which creates 2 indexes from various Czech words (covering the Czech alphabet). The index should be sorted exactly that way as the terms are written in the file. Thanks, Richard Try Xindy. It has facilities for sorting according to arbitrary alphabetic orders including Czech. It fits in the workflow much as does makeindex, but perhaps it could be adapted to a Context runstream. -- John Culleton Books with answers to marketing and publishing questions: http://wexfordpress.com/tex/shortlist.pdf Book coaches, consultants and packagers: http://wexfordpress.com/tex/packagers.pdf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texmfstart texexec --pdf --pages=1:2 = empty PDF
Hello, Tobias Burnus schrieb: I freshly switched to the ruby script and have now a problem: texmfstart texexec --pdf --pages=1:2 produces: No pages of output. texmfstart texexec --pdf however, works: Output written on tmp_.pdf (3 pages, 103204 bytes) I do not know what that option does. It seems to do something, but not the right thing. Actually, looking at texexec.rb I get the impression that --pages= is not supported. One finds there - # so far for compatibility @@extrastringvars = [ 'pages', 'background', 'backspace', 'topspace', 'boxtype', 'tempdir', - Could the --pages option made to work in texexec.rb? In texexec.pl I find the following. I probably should learn ruby [and python for that matter] ... Tobias if ($Pages) { if ( lc $Pages eq odd ) { print OPT \\chardef\\whichpagetoshipout=1\n; } elsif ( lc $Pages eq even ) { print OPT \\chardef\\whichpagetoshipout=2\n; } else { my @Pages = split( /\,/, $Pages ); $Pages = ''; foreach my $page (@Pages) { if ( $page =~ /\:/ ) { my ( $from, $to ) = split( /\:/, $page ); foreach ( my $i = $from ; $i = $to ; $i++ ) { $Pages .= $i . ','; } } else { $Pages .= $page . ','; } } chop $Pages; print OPT \\def\\pagestoshipout\{$Pages\}\n; } } ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Index sorting for other languages that English
Richard Gabriel wrote: Hello Hans, after an upgrade I noticed thar the index sorting works even worse than before (tested on Czech, Chinese and Japanese, but probably related to non-ASCII characters in common). With TeXExec 5.4.3, all words beginning with national (accented) characters were put into a separate (symbols) group and placed before A. This was not good but more or less acceptable. With TeXExec 6.2.0, words beginning with accented characters are placed under certain unaccented letter. My colleague found out that these words are sorted according the first unaccented letter. This is unacceptable and unusable. We do a work-around so we try to avoid indexing words beginning with accented charaters. But it's impossible in many cases. I'd like to ask you to improve the index sorting. Could I help or contribute in some way? Attached is a testing file, which creates 2 indexes from various Czech words (covering the Czech alphabet). The index should be sorted exactly that way as the terms are written in the file. actually the nex texexec implementation does czech sorting but it's not enables yet in context itself (was experimental until now) - download the latest version (i uploaded a version that enables it) - don't forget \mainlanguage[cz] at the top of your document - in sort-lan.tex you can see how czech sorting is defined (context adds a lot of into to the tui file in order to get sorting done) - 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
Re: [NTG-context] Textbackground overlapping
nico wrote: Hello, When the backgrounded stuff starts from one page up to the following, it doesn't take care about the bottom footnotes, so that they are covered by the background. Here is a small example: \definecolor[ScreenGray][s=.95] \definetextbackground[grayback] [background=color, backgroundcolor=ScreenGray, frame=on, strut=yes, width=broad, location=paragraph, framecolor=ScreenGray, leftoffset=\topskipgap, before=\blank, after=\blank, align=right] \starttext A footnote\footnote{Covered by the background, right?}. \input tufte \input tufte \input tufte \input tufte \starttextbackground[grayback] \input tufte \stoptextbackground \stoptext not yet interfaced but public anyway \chardef\kindofpagetextareas\plusone -- - 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
Re: [NTG-context] texmfstart texexec --pdf --pages=1:2 = empty PDF
Tobias Burnus wrote: Hello, Tobias Burnus schrieb: I freshly switched to the ruby script and have now a problem: texmfstart texexec --pdf --pages=1:2 produces: No pages of output. texmfstart texexec --pdf however, works: Output written on tmp_.pdf (3 pages, 103204 bytes) I do not know what that option does. It seems to do something, but not the right thing. Actually, looking at texexec.rb I get the impression that --pages= is not supported. One finds there - # so far for compatibility @@extrastringvars = [ 'pages', 'background', 'backspace', 'topspace', 'boxtype', 'tempdir', - Could the --pages option made to work in texexec.rb? In texexec.pl I find the following. I probably should learn ruby [and python for that matter] ... actually, the code is there ... scripts/context/ruby/tex.rb but there is a buglet in there: opt \\def\\pagestoshipout\{pagelist.join(',')\}\n; should be: opt \\def\\pagestoshipout\{#{pagelist.join(',')}\}\n; #{..} evaluates inside a string 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
Re: [NTG-context] texmfstart?
Matt Gushee wrote: Probably you just need either to put the Ruby script directory ($TEXMF/scripts/context/ruby) on your PATH, or create links from the scripts you want to use to a directory in your current PATH. Maybe just link texmfstart--it seems to be a front end for all the Ruby scripts. P.S.: I just came across this manual: http://www.pragma-ade.com/general/manuals/mtexmfstart.pdf -- Matt Gushee The Reluctant Geek: http://matt.gushee.net/rg/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] figure directory is sort of searched
The figure searching code gets confused if a file of the same basename (but in a different directory) has already been loaded. Looking a bit into this, it seems that the decision about whether a figure is already loaded is made in core-fig.tex, in \def\calculateexternalfigure[#1][#2][#3][#4][#5][#6]% ... \ifcase\figurestatus \let\@@efframe\v!on \let\@@efobject\v!no \showmessage\m!figures1\@@effilename \or \showmessage\m!figures2\@@effullname \or \showmessage\m!figures3{\@@effullname,\@@eflenttype}% \or \showmessage\m!figures4\@@effullname \or \showmessage\m!figures5{\@@effullname,\@@efloadname}% \or % no message \doifnot\@@efsymbol\v!yes{\showmessage\m!figures8\@@effullname}% \fi ... The no message comment suggests that when \figurestatus isn't set, the message shown is figures8, which is 8: figureobject -- is reused But I couldn't figure out who sets \figurestatus and where the judgement of 'already loaded' is made. The comment at the beginning of the above \def (this whole mess needs a clean up anyway) scared me away :-) -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \to broken in figure captions
From:Hans Hagen [EMAIL PROTECTED], Thu, 27 Apr 2006 16:35:47 +0200 Sanjoy Mahajan wrote: A workaround: \starttext \def\myto{\to} \placefigure[abc]{ABC $n\myto1$.}{} \input tufte \stoptext i need to change the \convertargument#1\to#2 macro so for the moment, use this solution or add {} as in Not sure if that change was intended to be part of the new releases and got lost in the post-Bachotex craziness, so this email is just a reminder about it. Meanwhile I'm using the workaround with no problems. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] XeTeX hangs
Hi Mojca, Trying your minimal file on my Mac OS X, with XeConTeXt or with plain XeTeX, I observe the same hanging... However, the following, taken out of an example sent to you by Jonathan K., works fine with both (indeed commenting out \starttext and \stoptext in plain XeTeX): \starttext \font\lmec = ec-lmr10 at 36 pt \lmec Testing... ð Testing... ^^F0 \catcode`č=\active \defč{^^a3} \catcode`š=\active \defš{^^b2} \catcode`ž=\active \defž{^^ba} Testing... čšž \stoptext while the following results in a PDF file with Testing... ° 0 \starttext \catcode`ð=\active \defð{^^F0} Testing... ð \stoptext Needless to tell you that all this seems extremely obscure to me... Best regards: OK On 23 mai 2006, at 10:24, Mojca Miklavec wrote: If I try to compile the folllowing code with XeTeX, it hangs (as if it was waiting for further input): \catcode`ð=\active \defð{^^f0} % only hangs for F0, other numbers are OK \starttext ð \stoptext I didn't manage to test the same example with plain XeTeX (tetex is a bit misconfigured since the standalone ConTeXt is installed), but Jonathan says that it runs OK on his computer. Is my system broken again or are some other black forces working anywhere? Thanks, Mojca eth.tex ___ 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
[NTG-context] tabulation spacing
Evidently I'm missing something. {\switchtobodyfont[14pt] \starttabulate \NR \NC {\bf FRAME} \NC {\bf 1} \NC {\bf 2} \NC {\bf 3} \NC $\ldots$ \NC\NR \NC bin: 1 \NC freqval 1 \NC freqval 2 \NC freqval 3 \NC $\ldots$\NC\NR \NC \NC ampval 1 \NC ampval 2 \NC ampval 3 \NC $\ldots$\NC\NR \NC bin: 2 \NC freqval 1 \NC freqval 2 \NC freqval 3 \NC $\ldots$\NC\NR \NC \NC ampval 1 \NC ampval 2 \NC ampval 3 \NC $\ldots$\NC\NR \NC bin: 512\NC freqval 1 \NC freqval 2 \NC freqval 3 \NC $\ldots$\NC\NR \NC \NC ampval 1 \NC ampval 2 \NC ampval 3 \NC $\ldots$\NC\NR \NR \stoptabulate } This seems to work, but I have a strange spacing between the first two columns and the last three ones. Could anyone explain to me why? Thanks a lot Best -a- Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino http://www.semiotiche.it/andrea [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] t-bib (extra special experimental version), XML and nocite
Hello, I'm trying to get my XML citation definitions, which look like so: cite id=verma:04,mayor:05a,griffin:05 opt=no/ to differentiate between no and t-bib options I hand into the opt flag like this: \defineXMLargument [cite] [opt=] {% \doifelse{\XMLop{opt}}{no} {% \expanded{\nocite[\XMLop{id}]}% } {% \expanded{\cite[\XMLop{opt}][\XMLop{id}]}% } } With this definition something like: cite id=verma:04,mayor:05a,griffin:05 opt=authoryears/ works just fine, but cite id=verma:04,mayor:05a,griffin:05 opt=no/ fails to show up in the biblist. I'm not sure whether this is related to the fact that I'm using an experimental t-bib version which Taco provided to enable correct chapter specific bibliographies. If you have any insight into what I'm doing wrong: please help. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] t-bib and explicitly italizising title parts
Hello, Is there any way using '\it' in the title of a bib-entry, so that ConTeXt/t-bib will hand it though into the bibliography listing? I have a lot of publications in my lists that contain species names in there titles, which are by convention typeset in italics. Thanks for any hints, Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Textbackground overlapping
On Tue, 23 May 2006 17:15:28 +0200, Hans Hagen [EMAIL PROTECTED] wrote: not yet interfaced but public anyway \chardef\kindofpagetextareas\plusone Ah, yes, there's no more overlapping for both test cases. But I've seen a side effect of this setting. It appears rarely, and I had difficulties to reproduce it. So, please find attached the cut-and-pasted buggy page to have exactly the same placements. The problem is that with this setting the blank spaces around titles or paragraphs is a bit greater than it was. It's not an issue by itself, but then the text sometimes overlap the bottom footnote. Note that there's no textbackground involved in attached the case. It is defined only to activate the behaviour via the \enabletextarearegistration call. Regards, BG textback3.tex.gz Description: GNU Zip compressed data ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context