[NTG-context] Linux: ConTeXt in local texmf-tree and Ruby scripts - HOWTO?

2006-05-11 Thread Johannes Graumann
Hello, I'm on Debian unstable and have the latest context sitting in my home directory's 'texmf'. The new ruby scripts confuse me to no end - I just don't understand how to make it works. Here is what works and what doesn't: 1) 'ruby ~/texmf/scripts/context/ruby/texexec.rb document.tex' works.

Re: [NTG-context] new release

2006-05-11 Thread Johannes Graumann
Hans Hagen wrote: \defineXMLenvironment [document] {\starttext} {\stoptext} \starttext \startXMLdata document/document \stopXMLdata \stoptext You catch my folly as usually. Thanks. While I get the solution above to work, the alternative 'ruby

Re: [NTG-context] new release

2006-05-10 Thread Johannes Graumann
stubs not working no? How do I now actually figure out what I'm running and whether it all got rebuild correctly? Thanks, Joh Hans Hagen wrote: Johannes Graumann wrote: Trouble with tex/context/base/cont-err.tex: system : cont-err loaded (/home/balin/texmf/tex/context/base/cont

Re: [NTG-context] new release

2006-05-10 Thread Johannes Graumann
TeXExec | context source date: unknown TeXExec | format path: TeXExec | start of analysis TeXExec | end of analysis TeXExec | TeXExec | TeXExec | TeXExec | Any ideas what I might be doing wrong? Joh Hans Hagen wrote: Johannes Graumann wrote: Hans, This ruby stuff has me confused to no end

Re: [NTG-context] new release

2006-05-10 Thread Johannes Graumann
Taco Hoekwater wrote: This is the very top of cont-err.tex, the 'module header'. If that does not look broken, then probably the file that loads it does so while some really strange catcode settings are in effect. The most likely cause is that you have an invalid zip file or an error has

Re: [NTG-context] new release

2006-05-09 Thread Johannes Graumann
Trouble with tex/context/base/cont-err.tex: system : cont-err loaded (/home/balin/texmf/tex/context/base/cont-err.tex Runaway argument? on Otten}] %C %C This module is part of the \CONTEXT\ macro||package \ETC. ! Paragraph ended before was complete. to be read again

Re: [NTG-context] White space around synonyms

2006-05-08 Thread Johannes Graumann
Hans Hagen wrote: end lines in the definitions with % or use setups (spurious spaces) Tststs, can't see the forest for the trees ... spend hours with things like '\ignorespaces' and '\removeunwantedspaces' in various positions ... Thanks, Hans!

[NTG-context] White space around synonyms

2006-05-07 Thread Johannes Graumann
Hello, please take a look at the output of the code appended. I'm plagued by incorrect white space around the output: to much before and after the expanded '\infull' and short versions. How to remedy that? Thanks ... it sure took me a while to find the '\executeifdefined' tidbit ... Joh %

Re: [NTG-context] Float caption feature request

2006-05-05 Thread Johannes Graumann
The 'selector' feature sounds truly wonderfull! The code below doesn't compile yet for me though ... 1) '\protect' needs to be called after '{\executeifdefined{\??sx#1\c!n 1}}', no? 2) Even after changing that I run into the following error when compiling the example below: ! Missing {

Re: [NTG-context] Float caption feature request

2006-05-05 Thread Johannes Graumann
Taco Hoekwater wrote: Perhaps \nomarking works in captions as well (have not checked). Sadly no. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Float caption feature request

2006-05-05 Thread Johannes Graumann
Just disregard this post and have mercy on the deadline panicked ... Joh Johannes Graumann wrote: The 'selector' feature sounds truly wonderfull! The code below doesn't compile yet for me though ... 1) '\protect' needs to be called after '{\executeifdefined{\??sx#1\c!n 1}}', no? 2) Even

[NTG-context] More on split TABLES: Numbering Scheme and other things

2006-05-05 Thread Johannes Graumann
Hello, I'm using the split-TABLE patch below (send - how can it be different - by Hans) along with the also appended table definition (to read out XML code). I have two problems here: 1) as posted earlier, the page just before a split TABLE overflows on the bottom (see

Re: [NTG-context] Part head centering and empty header

2006-05-04 Thread Johannes Graumann
Hans Hagen wrote: This produces nothing. Fixing 'start' to 'stop' on the third to last line oeps doesn't change that. strange OKOK, a new day, more sleep thanks to sleeping son: works now and is (naturally) much cleaner than what I came up with. Thank you, Joh

Re: [NTG-context] Synonyms and XML - HOWTO?

2006-05-03 Thread Johannes Graumann
Mojca Miklavec wrote: [criterium=all] Thanks for the tip. Works now. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Synonyms and XML - HOWTO?

2006-05-03 Thread Johannes Graumann
] { \doifelse{\XMLop{opt}}{full} {\expanded{\infull{\XMLop{key {\XMLop{key}} } Johannes Graumann wrote: \definesynonyms[abbreviation][abbreviations][\infull] \defineXMLargument [abbrev] [short=,full=] {\expanded{\abbreviation{\XMLop{short}}{\XMLop{full \defineXMLargument

Re: [NTG-context] Part head centering and empty header

2006-05-03 Thread Johannes Graumann
Hans Hagen wrote: \defineXMLenvironment [appendices] {\directsetup{appendices:start}} {\directsetup{appendices:stop}} \startsetups appendices:start \startappendices \setuppagenumbering [ way=bytext, partnumber=no, conversion=numbers, location={header,right} ] \startstandardmakeup [

Re: [NTG-context] lb bar/Unicode 2114 symbol

2006-05-02 Thread Johannes Graumann
Peter Rolf wrote: \def\lbbar% {% \raise.28em\hbox{--}% \kern-.535eml% \kern-.1emb% } but I'm underwhelmed by the thinness of the bar ... \hbox{\smash[w {\raise.545em\hbox{\blackrule[width=.45em,height=.6pt]}}% \kern-.035eml% \kern-.075emb}% still needs some

[NTG-context] Page overflow just before Split TABLE

2006-05-02 Thread Johannes Graumann
Hello (Hans especially ;0), I made split TABLEs work with the following patch from Hans below. Got it to work beautifully, but there's a major problem: the page just before the split table 'overflows' on the bottom (see

Re: [NTG-context] Part head centering and empty header

2006-05-01 Thread Johannes Graumann
John R. Culleton wrote: I would take a different approach, with each part header (there can't be that many) enclosed in \startstandardmakeup and \stopstandardmakeup To get the part into the TOC there is a command to write an entry manually, with \writetolist. Thanks a lot for this

[NTG-context] Float caption feature request

2006-05-01 Thread Johannes Graumann
Hello, In LaTeX (don't remember whether this is generic or specific to one of the packages I used to use), the 'caption' command for floats came along this way: \caption[optional short version]{Caption} If one uses the 'optional short version' bit, the Table of Figures/Tables present the short

[NTG-context] lb bar/Unicode 2114 symbol

2006-05-01 Thread Johannes Graumann
Hello, I'm using the following encoding commands \usetypescript[modern-base][texnansi] \setupbodyfont[12pt,modern] and was wondering whether someone knows an elegant way to get the pound sign 'lb bar' (unicode #2114, html #8468;). My current hack looks like this: \def\lbbar% {%

[NTG-context] Synonyms and XML - HOWTO?

2006-05-01 Thread Johannes Graumann
Hello, I'm trying to get the following to work: \definesynonyms[abbreviation][abbreviations][\infull] \defineXMLargument [abbrev] [short=,full=] {\expanded{\abbreviation{\XMLop{short}}{\XMLop{full \defineXMLargument [abbreviations] {\completelistofabbreviations} \starttext

[NTG-context] Part and pagenumbers

2006-04-27 Thread Johannes Graumann
Hello, Whe I use \part, the pagenumbers switch to 'partno.-reset_pageno.' Can somebody please point out to me how to just have my pre-'part' page numbering run on? Thanks, Joh ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] ConTeXt 2006.04.27 released

2006-04-27 Thread Johannes Graumann
The current release has version 2006.04.27, and it is on the wiki as http://wiki.contextgarden.net/Context_2006.04.27 Installation (texexec --make --all) yields this: context : ver: 2006.04.27 15:59 cont-en : ver: 2006.04.06 23:00 fmt: 2006.4.7 mes: english cont-nl : ver: 2006.04.06

Re: [NTG-context] Part and pagenumbers

2006-04-27 Thread Johannes Graumann
nico wrote: \setuppagenumbering[way=bytext,partnumber=no] Thanks! Got it working! Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Part head centering and empty header

2006-04-27 Thread Johannes Graumann
Hello I have coded my 'Appendix' like so: \setuphead [part] [ header=empty, footer=empty, alternative=middle, placehead=yes, resetnumber=no, number=no, style={ \ss\switchtobodyfont[60pt]\setupinterlinespace[line=2.8ex] }, page=right ]

[NTG-context] Entries in \completelistoffigures - HOWTO?

2006-04-25 Thread Johannes Graumann
Hello, I read out figures from my XML source by the following code: \defineXMLenvironment [figure] [width=\textwidth] [location=here] { \bgroup \defineXMLsave[floattitle] \defineXMLsave[caption] \defineXMLsave[graphic] } { \placefigure

Re: [NTG-context] Split TABLE plea.

2006-04-25 Thread Johannes Graumann
Hans Hagen wrote: \bTABLE[split=yes,splitmethod=b] you say split=split Me stupid! Thanks! Is there a way to switch caption repetition off and header repetition on? Joh ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] Entries in \completelistoffigures - HOWTO?

2006-04-25 Thread Johannes Graumann
Hans Hagen wrote: \expanded{% \placefigure [\XMLpar{figure}{location}{}] [\XMLpar{figure}{label}{unknown}] {{\bf\XMLflush{floattitle}} \XMLflush{caption}} } Thank you so much once again. Works now. I fail, however to grasp where to apply the '\expanded' with the

Re: [NTG-context] Entries in \completelistoffigures - HOWTO?

2006-04-25 Thread Johannes Graumann
Hans Hagen wrote: Johannes Graumann wrote: \expanded{% \placefigure [\XMLpar{figure}{location}{}] [\XMLpar{figure}{label}{unknown}] {{\bf\XMLflush{floattitle}} \XMLflush{caption}} } Some of my captions are REALLY long. So the TOF looks somewhat funny

Re: [NTG-context] TABLE: 'distance' override?

2006-04-23 Thread Johannes Graumann
where I got all theses crazy ideas ;0): http://www.tug.org/tex-archive/info/german/tabsatz/tabsatz.pdf by Axel Reichert is the inspiring document (sorry - German only). I'm not asking for this to be implemented, but I believe ConTeXt would benefit from this. Joh Hans Hagen wrote: Johannes

Re: [NTG-context] TABLE 'last line' tag?

2006-04-21 Thread Johannes Graumann
nico wrote: On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every row (which

Re: [NTG-context] TABLE: 'distance' override?

2006-04-21 Thread Johannes Graumann
Hans Hagen wrote: what does booktab do then Have a look at http://www.idyll.org:8081/JohSite/context/table1.jpg/view I write there: A table formated with the package 'booktabs' in LaTeX. Notice the heavier, continuous '\toprule' and '\bottomrule' as well as the lighter and interrupted

Re: [NTG-context] TABLE 'last line' tag?

2006-04-21 Thread Johannes Graumann
nico wrote: \defineXMLnested [tr] [bottomframe=,rulethickness=0.5pt] {\doifelse{\XMLop{bottomframe}}{}% {\expanded{\bTR}}% {\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}}} {\eTR} So much to learn, so little time. Thank you for this hint! Was hunting

[NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Johannes Graumann
Hello, When formating tables the first row (top of the header) is easily formated by using for example: \setupTABLE[row][1][rulethickness=0.90pt,topframe=on] I was wondering whether there's an equivalent for specifically addressing the LAST row in a table? Something along the lines of

[NTG-context] TABLE: 'distance' override?

2006-04-20 Thread Johannes Graumann
Hello, In my quest for tables similar to what the 'booktabs' package in LaTeX produces, I have run into a problem: something like '\bTABLE[distance=7.5pt]' will give me the sought for gaps in horizontal lines, but I have trouble implementing an uninterrupted topframe for the first and bottomframe

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Johannes Graumann
nico wrote: Do you want to do this? \setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on] Yes, that's what I want, but it doesn't work for me. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Sudden compilation-preventing font issue

2006-04-20 Thread Johannes Graumann
I can't figure this out ... happily working on my project and all of a sudden I get this error upon texexecing: bodyfont: 12pt rm is loaded kpathsea: Running mktextfm ec-lmr12 mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ec-lmr12 This is METAFONT,

Re: [NTG-context] Sudden compilation-preventing font issue

2006-04-20 Thread Johannes Graumann
Something broke my lmodern installation on debian unstable ... reinstalling it fixed this. Joh Johannes Graumann wrote: I can't figure this out ... happily working on my project and all of a sudden I get this error upon texexecing: bodyfont: 12pt rm is loaded kpathsea: Running

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Johannes Graumann
Figured out what's going on and would appreciate some advice on the issue: My actual code interprets XML and reads: \defineXMLnested [splittable] { \defineXMLsave[caption] \defineXMLsave[header] \defineXMLsave[body] \defineXMLsave[footer] } { \splitfloat

Re: [NTG-context] TABLE 'last line' tag?

2006-04-20 Thread Johannes Graumann
nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every row (which is dirty IMHO). It's not that easy, since the bottomframe - once set - is persistent ... so every

Re: [NTG-context] Figure caption on different page?

2006-04-19 Thread Johannes Graumann
nico wrote: [width=\textwidth,height=\textheight,factor=max] Thank you very much! Very convenient functionality! Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Multi-page table and lengthy caption

2006-04-19 Thread Johannes Graumann
Hello, In my field lengthy table captions are common. The attached example shows two problems I have with the multi-page tabeling I made work with the help of the included patch from Hans: 1) the table splitting does not calculate the right height for the caption - the table is too long for the

Re: [NTG-context] Context Release 2006.04.12 is available

2006-04-18 Thread Johannes Graumann
Hans Hagen wrote: i never tested that since one needs to load the ppchtex module as well \usemodule[chemic] Really? Just '\usemodule[nexcml]' makes in-line chemistry work just fine for me. Why would I need the ppchtex stuff? Joh ___ ntg-context

[NTG-context] XML floating figure and width.

2006-04-18 Thread Johannes Graumann
Hello, My XML mapping rule for a floating figure looks (thanks to Hans' help) as follows: \defineXMLenvironment [figure] [width=] [location=here] { \bgroup \defineXMLsave[caption] \defineXMLsave[graphic] } { \placefigure [\XMLpar{figure}{location}{}]

Re: [NTG-context] Figure caption on different page?

2006-04-18 Thread Johannes Graumann
Hans Hagen wrote: expertadvice ... /expertadvice Thank you. I have modified that code and it does what I want (see below). There is however one generalization issue: the line '\externalfigure[\XMLflush{graphic}][width=\textwidth]' should really be able to use scaling to '\textwidth' or

Re: [NTG-context] XML and Multipage table

2006-04-18 Thread Johannes Graumann
Hans Hagen wrote: first of all, putting a \framed around it makes it unsplittable; best use the framed options that come with the floats Ok. second, there's a problem in signaling the splitter, which demands a patch Please excuse my ignorance: can I add these patches just to my *.ctx file or

Re: [NTG-context] Chapter-wise bibliographies and multi-chapter citations

2006-04-15 Thread Johannes Graumann
wrote: Johannes Graumann wrote: I run into the problem, that shared citations (in this case 'garrels:96' and 'gavin:06' are only printed following the first '\placepublications' call and not the second. I'm collating multiple publications into a thesis and since they all deal with similar themes

[NTG-context] Chapter-wise bibliographies and multi-chapter citations

2006-04-14 Thread Johannes Graumann
Hello, First: I've put together a minimal example for this problem which can be found at http://www.johannesgraumann.net/copy_of_profession/bibprob/ Second: The problem ... When I declare chapterspecific bibliographies like so: \usemodule[bib] \setupbibtex[database={bibprob.bib}]

Re: [NTG-context] XML and chapter specific bibliographies

2006-04-13 Thread Johannes Graumann
Taco Hoekwater wrote: Johannes Graumann wrote: \placepublications[criterium=chapter] at least, that works for me. Not here. What's happening now is: the references are being sorted by chapter, but then all appended after the first chapter. So no reference listings for chapters 2-x

[NTG-context] chapter with letters rather than numbers?

2006-04-13 Thread Johannes Graumann
Hi, How would I use \setuphead[chapter] to have consecutive letters rather than numbers assigned to chapters (in my appendix)? Thanks for any hint, Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Problem with altest release and newcml

2006-04-12 Thread Johannes Graumann
Hello, Sorry for reposting this, but I thought a more descriptive subject and a minimal example would be beneficial. After the latest update, which includes the new 'newcml' module, 'texexec --version' reports: TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt /

[NTG-context] placetable style argument trouble.

2006-04-12 Thread Johannes Graumann
Hello, Why is in \setupTABLE[frame=off,split=repeat,splitmethod=a,style={\switchtobodyfont[small]\setupinterlinespace[line=2.8ex]}] the '\setupinterlinespace[line=2.8ex]' not honored (at least not with respect to the switched bodyfont)? Thanks, Joh

[NTG-context] XML and Multipage table

2006-04-12 Thread Johannes Graumann
Hello, Does anybody have an insight into why a table created with the following mapping rule for XML code does not present it's caption and is not split? Thanks Joh \defineXMLnested [table] {\bgroup \defineXMLsave[caption] \defineXMLsave[header] \defineXMLsave[body]

Re: [NTG-context] XML and chapter specific bibliographies

2006-04-11 Thread Johannes Graumann
Taco Hoekwater wrote: Johannes Graumann wrote: Taco Hoekwater wrote: \placepublications[criterium=local] should work. Still struggling with this. Sorry, I had misunderstood \placelist's options. Make that \placepublications[criterium=chapter] at least, that works for me

Re: [NTG-context] XML and 'Table of Contents'

2006-04-11 Thread Johannes Graumann
Hans Hagen wrote: is this working ok in the latest release? Yes Sir - was my stupidity to begin with ... had indenting set to '[medium]'. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Figure caption on different page?

2006-04-11 Thread Johannes Graumann
Hello, Is it possible to place (for page sized figures) the caption on the next/previous page? Thanks, Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Strange t-bib behavior

2006-04-10 Thread Johannes Graumann
Taco Hoekwater wrote: Johannes Graumann wrote: HOWEVER, the citation issue persists - no change! Can you send me an example (off-list)? My test files create no such problems. Cheers, Taco I learned from your last rant on attachments and posted it here ;0) http://www.idyll.org:8081

Re: [NTG-context] XML and table interpretation

2006-04-10 Thread Johannes Graumann
Hans, With your help, I got this to work: \defineXMLnested [table] { \bgroup \defineXMLsave[caption] \defineXMLsave[header] \defineXMLsave[body] } { \placetable [\XMLpar{table}{location}{here}] [\XMLpar{table}{label}{unknown}] {\XMLflush{caption}} { \ix\setupinterlinespace[reset,small]

Re: [NTG-context] Strange t-bib behavior

2006-04-10 Thread Johannes Graumann
Thank you for your time. Joh Taco Hoekwater wrote: Johannes Graumann wrote: Taco Hoekwater wrote: Johannes Graumann wrote: HOWEVER, the citation issue persists - no change! Can you send me an example (off-list)? My test files create no such problems. Cheers, Taco I learned from

Re: [NTG-context] Strange t-bib behavior

2006-04-10 Thread Johannes Graumann
Oh, could you please try to verify my 'lang'/'language' tag issue as well: just edit BibProb.bib and switch 'lang = en' to 'language = en' and see what happens. Does that work for you? Joh Taco Hoekwater wrote: Johannes Graumann wrote: Taco Hoekwater wrote: Johannes Graumann wrote

Re: [NTG-context] Units and XML

2006-04-10 Thread Johannes Graumann
Hans Hagen wrote: what you need is a full switch: style=smallbodyfont (or as command \smallbodyfont) \setupcaptions[style=smallbodyfont,width=\textwidth] did it. Thanks. ... wikify ... Thesis first than this ;0) How would I add singlespacedness to the command above? Joh

Re: [NTG-context] Units and XML

2006-04-10 Thread Johannes Graumann
Hans Hagen wrote: How would I add singlespacedness to the command above? i dunno what that is Serves me right ... coming up with my own lingo ... my document is doubly spaced (\setupinterlinespace[line=2\bodyfontsize]) and I was trying to get the float captions singly spaced. Have stuffed

Re: [NTG-context] Strange t-bib behavior

2006-04-10 Thread Johannes Graumann
Johannes Graumann wrote: Oh, could you please try to verify my 'lang'/'language' tag issue as well: just edit BibProb.bib and switch 'lang = en' to 'language = en' and see what happens. Does that work for you? Forget about this: after the upgrade to the most recent ConTeXt this problem

Re: [NTG-context] XML and table interpretation

2006-04-10 Thread Johannes Graumann
Hans Hagen wrote: \defineXMLnested [tr] [bottomframe=off,rulethickness=0.3pt] {\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}} {\eTR} \defineXMLnested [td] [rows=1,cols=1] {\expanded{\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]}} {\eTD}

Re: [NTG-context] XML and chapter specific bibliographies

2006-04-10 Thread Johannes Graumann
Taco Hoekwater wrote: \placepublications[criterium=local] should work. Still struggling with this. \usemodule[bib] \setupbibtex[database={../Bibliography/bibliography.bib,../Bibliography/verma04.bib}] \setuppublications[sorttype=bbl] \defineXMLenvironment [chapter] { \defineXMLargument

Re: [NTG-context] Units and XML

2006-04-09 Thread Johannes Graumann
Hans Hagen wrote: newmmu is now newpml and works with newmml (the old and new methods cannot be used mixed because they use completely different internals [direct xml handling using stacks versus xml-tex expansion] system : module newpml not found system : module newmml not

Re: [NTG-context] Table Esthetics (and XML)

2006-04-09 Thread Johannes Graumann
nico wrote: \starttext ... \stoptext And so the aggressive newbie gets to eat his words .. ;0) Thank you. There is, however on feature missing in your example: [EMAIL PROTECTED]@{}} ^^^ ^^^ Will yield the horizontal lines aligned with the start/end of the table lines -

Re: [NTG-context] xml table reading problem

2006-04-09 Thread Johannes Graumann
Hans Hagen wrote: { } Thanks ... blush ... Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] xml table reading problem

2006-04-09 Thread Johannes Graumann
Hans, Thank you once more, but I'm just to green for this ... \defineXMLnested [table] { \bgroup \defineXMLsave[caption] \defineXMLsave[content] } { \placetable [\XMLpar{table}{location}{here}] [\XMLpar{table}{label}{unknown}] {\XMLflush{caption}}

Re: [NTG-context] Units and XML

2006-04-09 Thread Johannes Graumann
at 12pt, since \setupbodyfont[12pt,modern]. Joh Hans Hagen wrote: Johannes Graumann wrote: Hans Hagen wrote: newmmu is now newpml and works with newmml (the old and new methods cannot be used mixed because they use completely different internals [direct xml handling using stacks versus xml

[NTG-context] How to manipulate interlinespace in doubly spaced document?

2006-04-09 Thread Johannes Graumann
Hi, My university requires doubly spaced Theses (b ... but hey - it get's a lot thicker ;0), so the preamble has: \setupinterlinespace[line=2\bodyfontsize] I'd like to typeset tables, figure/table captions and footnotes with normal spacing and have experimented with things like

[NTG-context] XML and table interpretation

2006-04-09 Thread Johannes Graumann
Why do these two things work: 1)\defineXMLnested [td] [rows=1,cols=1] {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]} {\eTD} (in conjunction with 'trtd rows=2Gene product/tdtd cols=3HPM tag/tdtd rows=2TAP tag/tdtd rows=2mod. TAP tag/tdtd rows=2Frequ. in ref. set/td/tr') 2)

Re: [NTG-context] XML and table interpretation

2006-04-09 Thread Johannes Graumann
Thanks Hans, that did it. Do you ever sleep? Joh Hans Hagen wrote: Johannes Graumann wrote: Why do these two things work: 1)\defineXMLnested [td] [rows=1,cols=1] {\bTD[nr=\XMLop{rows},nc=\XMLop{cols}]} {\eTD} (in conjunction with 'trtd rows=2Gene product/tdtd cols=3HPM tag

Re: [NTG-context] Strange t-bib behavior

2006-04-09 Thread Johannes Graumann
Taco Hoekwater wrote: It runs fine here, so probably you have to update your context distribution. There were some changes so you need a fairly recent context. But first, try re-running bibtex. Taco, I tried again. See http://www.idyll.org:8081/JohSite/copy_of_profession/bibprob - same

[NTG-context] XML and subscript

2006-04-07 Thread Johannes Graumann
Hello, Aside from the revelation that I will have to leave my debian tetex and go with the newest ConTeXt install for the (relatively) heavy lifting I'm doing here, I will now post my accumulated end-of-day questions one by one ;0) Here's the first one: Why does this not work and what makes it

[NTG-context] Units and XML

2006-04-07 Thread Johannes Graumann
Hello, Has anyone come up with a sense making way of coding units in XML and mapping them onto ConTeXt's 'units' module ... makes a knot in my brain ... Thnaks, Joh ___ ntg-context mailing list ntg-context@ntg.nl

[NTG-context] XML and chapter specific bibliographies

2006-04-07 Thread Johannes Graumann
Hello again, Taco had helped me working the following out: \usemodule[bib] \setupbibtex[database={../Bibliography/bibliography.bib}] \setuppublications[sorttype=bbl] \defineXMLenvironment [chapter] { \defineXMLargument [title] {\chapter} \defineXMLenvironment

[NTG-context] Error while loading chemml

2006-04-07 Thread Johannes Graumann
Hello, Loading the chemml module I get the following error: system : macros of module chemml loaded (/usr/share/texmf-tetex/tex/context/base/x-chemml.tex xml : loading module cml (/usr/share/texmf-tetex/tex/context/base/xtag-cml.tex ! Undefined control sequence. argument

Re: [NTG-context] XML and subscript

2006-04-07 Thread Johannes Graumann
Hans Hagen wrote: \defineXMLargument [sub] \low Thanks, Hans! Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Error while loading chemml

2006-04-07 Thread Johannes Graumann
Hans Hagen wrote: also grep for variant and make that alternative Fixed. If I come across desirable functionality I'll let you know. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Units and XML

2006-04-07 Thread Johannes Graumann
physapplyunit/cn4/cncsymbolDegrees/Celsius//csymbol/apply/phys works with physml, but not with newmmu. Geee, looks like I'm starting to find things in the guts of this ;0) Joh P.S.: What's your favorite beer/drink? Joh ___ ntg-context mailing list

Re: [NTG-context] Units and XML

2006-04-07 Thread Johannes Graumann
Something else: How to define a custom unit (basepairs, bp) with physml/units? Joh Johannes Graumann wrote: physapplyunit/cn4/cncsymbolDegrees/Celsius//csymbol/apply/phys works with physml, but not with newmmu. Geee, looks like I'm starting to find things in the guts of this ;0) Joh

Re: [NTG-context] textmu non-italic?

2006-04-07 Thread Johannes Graumann
Works now with the newest ConTeXt. Joh Johannes Graumann wrote: Peter, 'texnansi' didn't compile, but 'texansi' did ... however under \setupbodyfont[modern,12pt] \textmu still delivers an italicized version ... Peter Münster wrote: On Thu, 6 Apr 2006, Johannes Graumann wrote

[NTG-context] More physml/units

2006-04-07 Thread Johannes Graumann
physapplyunit/cn30/cncsymbolMinute//csymbol/apply/phys Does not work. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] More physml/units

2006-04-07 Thread Johannes Graumann
Johannes Graumann wrote: physapplyunit/cn30/cncsymbolMinute//csymbol/apply/phys Does not work. Joh Additionally: while \textmu is non-italic thanks to hints from the list (\usetypescript[modern-base][texnansi] \ \setupbodyfont[12pt,modern]), when doing something like physapplyunit/cn30

[NTG-context] Strange t-bib behavior

2006-04-07 Thread Johannes Graumann
Hello, I attach an example file which produces strange citation behavior: while the single citations ('\cite[authoryears][cordingley:90]' or '\cite[authoryears][walker:94]') work perfectly allright, the dual citation ('\cite[authoryears][cordingley:90,walker:94]') is being screwed up:

[NTG-context] xml table reading problem

2006-04-07 Thread Johannes Graumann
Hello, Derived from the 'figure' and 'table' examples in the XML example document, I came up with the following set of mapping rules for formating XML tables with ConTeXt. \defineXMLenvironment [table] { \bgroup \defineXMLpush[caption] \defineXMLpush[content] } {

Re: [NTG-context] More on XML and citations

2006-04-06 Thread Johannes Graumann
Taco Hoekwater wrote: Taco, how would I define a new 'cite' alternative along the lines of 'authoryear'/'authoryears' that would result in 'Author et. al., 2004'? Easiest is by using a special macro breaking it up in two bits, like so: \def\mycite#1{\cite[author][#1],

Re: [NTG-context] More on XML and citations

2006-04-06 Thread Johannes Graumann
Taco Hoekwater wrote: Johannes Graumann wrote: Could you - maybe - point me towards the more cumbersome 'official' solution? See attached example. Cheers, taco Taco, With this preamble code \unprotect \def\bibauthoryearxref[#1]% {\ixbibauthoryear{#1}% {{\currentbibauthor

[NTG-context] ConTeXt analogue to \usepackage{units}

2006-04-06 Thread Johannes Graumann
Hello, Is there a ConTeXt analogue to the LaTeX package 'units', used for typesetting scientific units? I'm especially interested in the 'unitfrac' functionality of that package ... Thanks, Joh ___ ntg-context mailing list ntg-context@ntg.nl

[NTG-context] textmu non-italic?

2006-04-06 Thread Johannes Graumann
Hello, \defineXMLentity[00B5] {\textmu} seems to deliver an italic mu when using the standard font. Is there a way to get a 'straight' one? Thanks, Joh ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] textmu non-italic?

2006-04-06 Thread Johannes Graumann
Peter, 'texnansi' didn't compile, but 'texansi' did ... however under \setupbodyfont[modern,12pt] \textmu still delivers an italicized version ... Peter Münster wrote: On Thu, 6 Apr 2006, Johannes Graumann wrote: \defineXMLentity[00B5] {\textmu} seems to deliver an italic mu when

Re: [NTG-context] textmu non-italic?

2006-04-06 Thread Johannes Graumann
... ? Hans Hagen wrote: Johannes Graumann wrote: Peter, 'texnansi' didn't compile, but 'texansi' did ... however under \setupbodyfont[modern,12pt] \textmu still delivers an italicized version ... hm, texnansi is the name, so the fact that something texansi runs means

Re: [NTG-context] More on XML and citations

2006-04-05 Thread Johannes Graumann
Hans Hagen wrote: however, best is not to mix tex this way with xml H ... will heed that advice then ... as a remedy: Taco, how would I define a new 'cite' alternative along the lines of 'authoryear'/'authoryears' that would result in 'Author et. al., 2004'? Thanks for any hint, Joh

[NTG-context] XML element strip?

2006-04-04 Thread Johannes Graumann
Hello, I have a strange question. While working with XML and ConTeXt, I have run into the TeXnic problem of the interpretation of line breaks. What I would prefer to do for code clarity sake are things like the following: list item Something /item item else /item /list This is

[NTG-context] More on XML and citations

2006-04-04 Thread Johannes Graumann
Hello again, I have a matching rule for cite commands that look as follows: cite id=hunt:86 opt=authoryear/ The rule is this (kudoos to Taco): \defineXMLargument [cite] {\expanded{\cite[\XMLpar{cite}{opt}{}][\XMLpar{cite}{id}{}]}} Sometimes I would like to have the '(Hunt et. al., 1986)'

[NTG-context] Cite module: APA citation proposals

2006-04-04 Thread Johannes Graumann
Hello, I'm using Tacos cite module with the default APA style. I'm a biochemist and the majority of my cited sources derives from www.pubmed.org, which I import into BibTeX via pybliographic. I have some slight problems with the formating as provided by the database and was wondering whether it's

Re: [NTG-context] XML element strip?

2006-04-04 Thread Johannes Graumann
As always: thanks to the Wiz! Joh Hans Hagen wrote: Johannes Graumann wrote: Hello, I have a strange question. While working with XML and ConTeXt, I have run into the TeXnic problem of the interpretation of line breaks. What I would prefer to do for code clarity sake are things like

Re: [NTG-context] XML and references

2006-04-03 Thread Johannes Graumann
Hans, When this is done, I will have to make a trip to Zwolle and buy you a beer! Thank you once again! Joh Hans Hagen wrote: Johannes Graumann wrote: Hello all, I'm trying to interpret something like section label=intro:mixtureprob titleThe problem of the complex protein mixture/title

<    1   2   3   >