Re: [NTG-context] cropmarks
[EMAIL PROTECTED] wrote: The following: --- \definepapersize[RM][width=170mm,height=240mm] \setuppapersize [RM][A4] \setuplayout[marking=on, location=middle] \starttext Bla \stoptext --- results in 163mm width and 230mm height. What is wrong here? before or after printing? The proportions 210/170=1.235 are ok on screen! Printing with ghostscript is ok too. Printing with acrobat is the problem. Obviously this is not a context problem. Soory! acrobat talks with the printer driver and scales down to let the page fit into the printable area; you can disable this in the pribter settings 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] t-bib and hyperlinkded references?
Taco Hoekwater wrote: Johannes Graumann wrote: Taco Hoekwater wrote: I've just uploaded a new beta to the modules section at contextgarden. It took me much longer than I had anticipated, mainly because there was a massive bug in the per-chapter bibliography code: it generated duplicate named references for all but the simplest of documents. I hope to have the bug fixed now, and interaction working as it should. There is only one limitation, and that will stay: you cannot have hyperlinks while \setupcite[compress=yes] is in effect. Thanks Taco! I run across three problems: 1) with my setup (XML mapped into ConTeXt convolution) the links from citations exists, but don't point to the right pages in the chapter specific bibliographies - at least after a single texexec run. Another run is necessary and everything seems all right. I expected that. I'm not sure how to explain to texexec that the module needs another TeX run to resolved the secondary references. Will talk to Hans about that. technically it's no big deal because we can add a suffix to for instance ['tub','tuo'].each do |s| state.register(File.suffixed(rawbase,s)) end however, i'm still breeding on a way to signal this externally, i.e. pass this info via the tui file but then i need to do an extra pass over that file etc etc; what is the suffix? tuc (c for citations?) [we also need to purge such files 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] t-bib and hyperlinkded references?
Hi Joh, Johannes Graumann wrote: the custom-defined 'authoryearx' ones that go as follows: \setupcite [authoryearx] This new defn should do it (untested): .. This produces the following error: Runaway argument? klose:75,ofarrell:75]\else \processcommalist [authoryearx]\docitation \ETC. ! File ended while scanning use of \bibauthoryearxref. Maybe a cutpaste error? It works fine over here, on my local copy of your thesis. Fragment attached I'll implement some interaction controls for \cite/\setupcite tomorrow, since that is the easiest way out. So: new version tomorrow. I've just uploaded a new version. The new option \setupcite[interaction=stop] % default=start disables hyperlinks. Taco authoryearx.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aleph queries
Idris Samawi Hamid (15/06/2006 17:28) said: You could edit the cuni2oar otp (and recompile it) so that it ignores the ligatures you don't like, or you could put a kashidah between the two letters whose ligature you want to break. Better is to define an empty kashidah so that you can manually break the ligature without stretching the word. I'll look into this in the next few days (busy right now) if you remind me-) Thanks very much for this, but unfortunately as an Arabic typesetting novice I can't quite follow it (the comments on the ligatures came from a proofreader). Am following this up via another route to try to better understand what to do, but if you really did want a reminder about this - here it is :-) ... Add \reversesectionnumberstrue to your Arabic definition: Ah, great, perfect. Now I have a follow-up to that one: I also would like figure and table numbering to have the chapternumber in the right order and use - as a separator. In other words, in English I use \in{Figure}[figref0102] to generate Figure 1.2 and in Arabic I'd like to use \in{رسم بياني }[figref0102] to generate رسم بياني 1-2 Any advice for that? (I had a search for other \reverse type commands but no luck :-( Many thanks again. Duncan PS. Apologies if the UTF-8 content there doesn't show up correctly. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aleph queries
On Wed, 21 Jun 2006 09:37:50 -0600, Duncan Hothersall [EMAIL PROTECTED] wrote: Idris Samawi Hamid (15/06/2006 17:28) said: You could edit the cuni2oar otp (and recompile it) so that it ignores the ligatures you don't like, or you could put a kashidah between the two letters whose ligature you want to break. Better is to define an empty kashidah so that you can manually break the ligature without stretching the word. I'll look into this in the next few days (busy right now) if you remind me-) Thanks very much for this, but unfortunately as an Arabic typesetting novice I can't quite follow it (the comments on the ligatures came from a proofreader). Am following this up via another route to try to better understand what to do, but if you really did want a reminder about this - here it is :-) Well, I don't know which ligatures the proofreader liked/did not like so... Add \reversesectionnumberstrue to your Arabic definition: Ah, great, perfect. Now I have a follow-up to that one: I also would like figure and table numbering to have the chapternumber in the right order and use - as a separator. In other words, in English I use \in{Figure}[figref0102] to generate Figure 1.2 and in Arabic I'd like to use \in{رسم بياني }[figref0102] to generate رسم بياني 1-2 Any advice for that? (I had a search for other \reverse type commands but no luck :-( Hans, can you do a \reverse macro for this? Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aleph queries
Am following this up via another route to try to better understand what to do, but if you really did want a reminder about this - here it is :-) Well, I don't know which ligatures the proofreader liked/did not like so... Sorry, I realise that was a bit stupid of me... Thanks for your patience. :-) Duncan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aleph queries
Idris Samawi Hamid wrote: and in Arabic I'd like to use \in{رسم بياني }[figref0102] to generate رسم بياني 1-2 Any advice for that? (I had a search for other \reverse type commands but no luck :-( Hans, can you do a \reverse macro for this? what do you mean with \reverse bla bla left to right bla bla \in {something arab right left} bla bla i assume that arab always should be reverse so one should either explicitly enable arab or is there something wrong with the \in macro - 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] Aleph queries
On Wed, 21 Jun 2006 10:11:06 -0600, Duncan Hothersall [EMAIL PROTECTED] wrote: Well, I don't know which ligatures the proofreader liked/did not like so... Sorry, I realise that was a bit stupid of me... Thanks for your patience. :-) I suspect it may be that the lam-yaa ligature appears to collide with the preceding yaa. My suggestion: instead of getting rid of the ligature do a global replace of يلي by يـلي and the like (placing the kashidah before the ligature). I could tell the otp to do this as well but that would take some testing etc. and I'm just swamped at the moment. Let me know what you would prefer and I'll get to it as soon as I can :-) Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aleph queries
On Wed, 21 Jun 2006 10:35:14 -0600, Hans Hagen [EMAIL PROTECTED] wrote: \in{رسم بياني }[figref0102] to generate رسم بياني 1-2 Any advice for that? (I had a search for other \reverse type commands but no luck :-( Hans, can you do a \reverse macro for this? what do you mean with \reverse bla bla left to right bla bla \in {something arab right left} bla bla i assume that arab always should be reverse so one should either explicitly enable arab or is there something wrong with the \in macro In Latin we write Figure 1.2 in Arabic we want the equivalent of 2.1 erugiF but Duncan seems to be getting 1.2 erugiF even with global Arabic settings. In addition Duncan would like to use a dash instead of a period: 2-1 erugiF Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aleph queries
Idris Samawi Hamid wrote: On Wed, 21 Jun 2006 10:35:14 -0600, Hans Hagen [EMAIL PROTECTED] wrote: \in{رسم بياني }[figref0102] to generate رسم بياني 1-2 Any advice for that? (I had a search for other \reverse type commands but no luck :-( Hans, can you do a \reverse macro for this? what do you mean with \reverse bla bla left to right bla bla \in {something arab right left} bla bla i assume that arab always should be reverse so one should either explicitly enable arab or is there something wrong with the \in macro In Latin we write Figure 1.2 in Arabic we want the equivalent of 2.1 erugiF but Duncan seems to be getting 1.2 erugiF even with global Arabic settings. so it's only the number that's wrong? In addition Duncan would like to use a dash instead of a period: 2-1 erugiF that's configurable 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] frontmatter
Hallo! I am trying to use 'standardmakeup' to produce 'Schmutztitel'-page with a following blank page. I think this is what \start\stopstandardmakeup is for (in doublesided environments). But the example bellow has first a blank page and then 'Schmutztitel'. There is a fourth blank page too. - \setuppagenumbering [alternative=doublesided] \setuplayout[ footer=.04\paperheight, %1 grid=yes, %2 marking=on, location=middle, width=middle, height=middle] \starttext \startfrontmatter %3 \startstandardmakeup Schmutztitel \stopstandardmakeup \stopfrontmatter%3 bla \stoptext - My experiments: - a space-char between 'doublesided' and ']' removes the last blank page (strange). - uncommenting the lines in position 1,2,3 exclusivly results in the correct behaviour. I would like to understand what the problem is and why, for example, uncommenting frontmatter solves the problem. I thought frontmatter is the place to do title-things and so. Grüße, Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aleph queries
On Wed, 21 Jun 2006 11:05:43 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Idris Samawi Hamid wrote: In Latin we write Figure 1.2 in Arabic we want the equivalent of 2.1 erugiF but Duncan seems to be getting 1.2 erugiF even with global Arabic settings. so it's only the number that's wrong? That's right (though I have not tested it myself, relying on Duncan's description) In addition Duncan would like to use a dash instead of a period: 2-1 erugiF that's configurable I figured as much ;-) Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] t-bib and hyperlinkded references?
Taco Hoekwater wrote: Maybe a cutpaste error? It works fine over here, on my local copy of your thesis. Fragment attached Indeed! Sorry for bothering you! I've just uploaded a new version. The new option \setupcite[interaction=stop] % default=start disables hyperlinks. Very nice ... included a \doifelse{\XMLop{interaction}}{no} {\setupcite[interaction=stop]} {} Into my chapter definition and call the abstract chapter with chapter interaction=no /chapter Works just the way I need it. Thanks! Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Aleph queries
Idris Samawi Hamid wrote: On Wed, 21 Jun 2006 11:05:43 -0600, Hans Hagen [EMAIL PROTECTED] wrote: Idris Samawi Hamid wrote: In Latin we write Figure 1.2 in Arabic we want the equivalent of 2.1 erugiF but Duncan seems to be getting 1.2 erugiF even with global Arabic settings. so it's only the number that's wrong? That's right (though I have not tested it myself, relying on Duncan's description) hm, so now i need to install arab fonts, otps, etc in my current tree -) i wonder how hard dit is to check it using reversed english (easier for me) .. does Duncan has such a sample? 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] frontmatter
On Wed, 21 Jun 2006 [EMAIL PROTECTED] wrote: - a space-char between 'doublesided' and ']' removes the last blank page (strange). This is normal: 'doublesided' is not equal to 'doublesided '. And 'doublesided' requires certainly an even number of pages. - uncommenting the lines in position 1,2,3 exclusivly results in the correct behaviour. Yes, very strange. It seems to be the combination of - footer=... - grid=yes - height=middle - \startfrontmatter - \startstandardmakeup that produces a first blank page... Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] wasy symbols
I need one of the wasy symbols, the check mark to be exact. Now I add: \usemodule[symb-was] and this allows me to type set the mark with: WaldiSymbol = \WaldiSymbol {8} but although the module file defines: \definesymbol [checked] [\WaldiSymbol {8}] I cannot do something like \checked because \checked is an undefined control sequence. What I am missing? Hans van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] wasy symbols
Hans van der Meer wrote: I need one of the wasy symbols, the check mark to be exact. Now I add: \usemodule[symb-was] and this allows me to type set the mark with: WaldiSymbol = \WaldiSymbol {8} but although the module file defines: \definesymbol [checked] [\WaldiSymbol {8}] I cannot do something like \checked because \checked is an undefined control sequence. What I am missing? in that case you need: \def\checked{\WaldiSymbol{8}} 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] wasy symbols
Thanks, but now I am at a loss about the line \definesymbol [checked] [\WaldiSymbol {8}] What is its purpose then? (Curious, as always :-) Hans van der Meer On Jun 21, 2006, at 21:53, Hans Hagen wrote: Hans van der Meer wrote: I need one of the wasy symbols, the check mark to be exact. Now I add: \usemodule[symb-was] and this allows me to type set the mark with: WaldiSymbol = \WaldiSymbol {8} but although the module file defines: \definesymbol [checked] [\WaldiSymbol {8}] I cannot do something like \checked because \checked is an undefined control sequence. What I am missing? in that case you need: \def\checked{\WaldiSymbol{8}} 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 mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] frontmatter
Hi Wolfgang, I tried your code. Indeed there is no blank page after the Schmutztitel. So you need to add to the \startstandardmakeup[page=yes]. - Something fuzzy is at hand with grid=yes. If you comment this line then the output is as expected. Willi [EMAIL PROTECTED] wrote: Hallo! I am trying to use 'standardmakeup' to produce 'Schmutztitel'-page with a following blank page. I think this is what \start\stopstandardmakeup is for (in doublesided environments). But the example bellow has first a blank page and then 'Schmutztitel'. There is a fourth blank page too. - \setuppagenumbering [alternative=doublesided] \setuplayout [ footer=.04\paperheight, %1 grid=yes, %2 marking=on, location=middle, width=middle, height=middle] \starttext \startfrontmatter %3 \startstandardmakeup Schmutztitel \stopstandardmakeup \stopfrontmatter%3 bla \stoptext - My experiments: - a space-char between 'doublesided' and ']' removes the last blank page (strange). - uncommenting the lines in position 1,2,3 exclusivly results in the correct behaviour. I would like to understand what the problem is and why, for example, uncommenting frontmatter solves the problem. I thought frontmatter is the place to do title-things and so. Grüße, Wolfgang ___ 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] Aleph queries
On Wed, 21 Jun 2006 21:16:40 +0200, Hans Hagen [EMAIL PROTECTED] wrote: so it's only the number that's wrong? That's right (though I have not tested it myself, relying on Duncan's description) hm, so now i need to install arab fonts, otps, etc in my current tree -) Well, it's not that involved ;-) http://wiki.contextgarden.net/Aleph_Guide#Installing i wonder how hard dit is to check it using reversed english (easier for me) .. does Duncan has such a sample? I doubt it, but something along these lines should do it: == % tex=aleph output=dvipdfmx \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \hoffset=0pt % bug \starttext \chapter{Cow} \section{Dutch Cow} \placefigure [middle] [fig:cow] {This is an example of a cow.} {\externalfigure[cow][width=1.5in]} \section{Another Dutch Cow} \placefigure [middle] [fig:cow] {This is an example of a cow.} {\externalfigure[cow][width=1.5in]} \stoptext == Hmm, seems to work here; maybe Duncan did not use \bodydir TRT? Hans: How do we configure the .=- separator? Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Long listing of typescript files
For every run of texexec no matter how trivial I get a list of it seems all the available typescript files and map files. Is this normal? E.g.: (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-dis.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-dis.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-dis.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-dis.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-syn.tex) (/usr/share/texmf/tex/context/base/type-enc.tex) (/usr/share/texmf/tex/context/base/type-dis.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-map.tex) (/usr/share/texmf/tex/context/base/type-spe.tex) (/usr/share/texmf/tex/context/base/type-exa.tex) (/usr/share/texmf/tex/context/base/type-akb.tex) (/usr/share/texmf/tex/context/base/type-pre.tex) bodyfont: unknown variant Charter ) (/usr/share/texmf/tex/plain/pdfcolor/pdfcolor.tex) (./jun06.tuo) (./jun06.tuo ) (./jun06.tuo) (./jun06.tuo) (./jun06.tuo) (./jun06.tuo) (./jun06.tuo) (./jun06.tuo) (./jun06.tuo) (./jun06.tuo) (./jun06.tuo) (./jun06.tuo) (./jun06.tuo) fonts : using map file: texnansi-public-lm.map fonts : using map file: original-public-vnr.map fonts : using map file: original-public-csr.map fonts : using map file: original-public-plr.map fonts : using map file: original-public-lm.map fonts : using map file: original-ams-euler.map fonts : using map file: original-ams-cmr.map fonts : using map file: texnansi-base.map fonts : using map file: t5-base.map fonts : using map file: qx-base.map fonts : using map file: 8r-base.map fonts : using map file: ec-base.map fonts : using map file: ec-public-lm.map fonts : using map file: original-base.map systems : begin file jun06 at line 4 (../head.tex ./oriole.jpg figures : dimensions of ./oriole.jpg loaded from figurefile itself (./jun06.tuo)) (../deadline.tex) (../content.tex (./jun06.tuo)) [1.1 {/usr/share /texmf/fonts/map/dvips/context/original-empty.map} {/usr/share/texmf/fonts/map/d vips/context/texnansi-public-lm.map} {/usr/share/texmf/fonts/map/dvips/context/o riginal-public-vnr.map} {/usr/share/texmf/fonts/map/dvips/context/original-publi c-csr.map}{/usr/share/texmf/fonts/map/dvips/context/original-public-plr.map} {/u sr/share/texmf/fonts/map/dvips/context/original-public-lm.map} {/usr/share/texmf /fonts/map/dvips/context/original-ams-euler.map} {/usr/share/texmf/fonts/map/dvi ps/context/original-ams-cmr.map} {/usr/share/texmf/fonts/map/dvips/context/texna nsi-base.map}{/usr/share/texmf/fonts/map/dvips/context/t5-base.map} {/usr/share/ texmf/fonts/map/dvips/context/qx-base.map} {/usr/share/texmf/fonts/map/dvips/con text/8r-base.map}{/usr/share/texmf/fonts/map/dvips/context/ec-base.map} {/usr/sh are/texmf/fonts/map/dvips/context/ec-public-lm.map} {/usr/share/texmf/fonts/map/ dvips/context/original-base.map}] [2.2] (./calendar.tex -- A few of these notations are specific to this application but ost are just repetitive references. -- John Culleton ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Split Table Desperation - again!
Hello, While the recent modifications to the split table mechanisms provided by Hans help me out with my most annoying monster table using the XML mapping code below (see http://www.idyll.org:8081/JohSite/context/p46-50_split_working.pdf/view for the typeset table; clearly to much whitespace, but everything is typeset and page boundaries are honored) and several other -smaller- tables in the same tome (see http://www.idyll.org:8081/JohSite/context/p45_unsplit_working.pdf/view for a typeset example), one medium-sized table that clearly should not be split gets split none the less (see http://www.idyll.org:8081/JohSite/context/p162-163_unnecessary_split.pdf/view) ... and I have no idea why. Puzzled and helpless, Joh XML mapping code: % 'table' - table definition \defineXMLnested [table] [lines=auto] { \defineXMLsave[floattitle] \defineXMLsave[caption] \defineXMLsave[header] \defineXMLsave[body] \defineXMLsave[footer] } { \splitfloat[lines=\XMLop{lines}] { \expanded{% \placetable [\XMLpar{table}{location}{}] [\XMLpar{table}{label}{unknown}] {\select{caption}{\XMLflush{floattitle} {{\bf\XMLflush{floattitle}} \XMLflush{caption}}} } } { \setupTABLE[row][1][topframe=on] \setupTABLE[row][last][bottomframe=on] \bTABLE[frame=off,split=repeat,splitmethod=b,style={\switchtobodyfont[small]\setupinterlinespace[line=2.8ex]}] \bTABLEhead\XMLflush{header}\eTABLEhead \bTABLEbody\XMLflush{body}\eTABLEbody \bTABLEfoot\XMLflush{footer}\eTABLEfoot \eTABLE } } % 'td' - table cell definition defaulting to single row/column, automatic width determination, left alignment \defineXMLnested [td] [rows=1,cols=1,width=,bottomframe=,topframe=,align=right] { \doifelse{\XMLop{width}}{}% { \doifelse{\XMLop{bottomframe}}{}% { \doifelse{\XMLop{topframe}}{}% {\expanded{\bTD[align=\XMLop{align},nr=\XMLop{rows},nc=\XMLop{cols}]}} {\expanded{\bTD[align=\XMLop{align},topframe=\XMLop{topframe},nr=\XMLop{rows},nc=\XMLop{cols}]}} } { \doifelse{\XMLop{topframe}}{}% {\expanded{\bTD[align=\XMLop{align},nr=\XMLop{rows},nc=\XMLop{cols},bottomframe=\XMLop{bottomframe}]}} {\expanded{\bTD[align=\XMLop{align},nr=\XMLop{rows},nc=\XMLop{cols},bottomframe=\XMLop{bottomframe},topframe=\XMLop{topframe}]}} } } { \doifelse{\XMLop{bottomframe}}{}% { \doifelse{\XMLop{topframe}}{}% {\expanded{\bTD[align=\XMLop{align},nr=\XMLop{rows},nc=\XMLop{cols},width=\XMLop{width}]}} {\expanded{\bTD[align=\XMLop{align},nr=\XMLop{rows},nc=\XMLop{cols},width=\XMLop{width},topframe=\XMLop{topframe}]}} } { \doifelse{\XMLop{topframe}}{}% {\expanded{\bTD[align=\XMLop{align},nr=\XMLop{rows},nc=\XMLop{cols},width=\XMLop{width},bottomframe=\XMLop{bottomframe}]}} {\expanded{\bTD[align=\XMLop{align},nr=\XMLop{rows},nc=\XMLop{cols},width=\XMLop{width},bottomframe=\XMLop{bottomframe},topframe=\XMLop{topframe}]}} } } } {\par\eTD} % 'tr' - table row definition, defaulting to no bottomframe \defineXMLnested [tr] [bottomframe=,rulethickness=0.5pt] {\doifelse{\XMLop{bottomframe}}{}% {\expanded{\bTR}}% {\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}} } {\eTR} ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context