[NTG-context] \writetolist vs \writebetweenlist
I can use \writebetweenlist to add a line to my TOC. I have to put the page number in manually. Here is the statement: \writebetweenlist[part]{\nimbus\zy{Part 1 Prerequisite for Success}\hfil 22\rm } It would seem more sensible to use \writetolist and let Context determine the page number. But there are two problems: 1. There is an extra set of braces {} for \writetolist, the purpose of which is not stated. 2. A statement similar to the above but with \writetolist[part] and deleting the material from \hfil onward fails on interpetation of the formatting macro \zy. This in turn is a call to the soul.sty package for letterspacing the entry. Here is macro \zy: \sodef\zy{}{.040em}{.25em plus .5em}{2em plus .1em minus .1em} It works OK with \writebetweenlist but fails when part of \writetolist etc. I have two questions: 1. What are the extra braces for in the \writetolist command description? 2. Given two sets of braces, where does the text of the par title go? _ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] MPtoPDF error
Peter Rolf wrote: > Taco Hoekwater wrote: >> Peter Rolf wrote: >>> this is a bug in the current metapost beta (which is already fixed by >>> Taco). Simply use the stable version (0.901) instead. A new beta will >>> (hopefully) be released this week. >> It won't happen today anymore, I am afraid. But 'real soon now'. >> > > I know that you are busy (as a bee), so 'real soon now' sounds pretty > good ;) > this was too soon for me. thx taco. > Best, Peter > >> Taco >> ___ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context >> > > ___ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Characters per inch with ConTexT
Aditya Mahajan wrote: > > I guess someone made the requirements in 1950 or 1960, and others are > blindly copying them. Maybe, I should typeset everything in monotype > font :) I remember we had a ball-based typewriter at Kluwer Academic that had variable width characters as well as different fonts: one per ball. We had a whole bunch of these balls in a cardboard box. So maybe, they even had variant widths like Times10 @ 10cpi, Times10 @ 12cpi ? Best, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Suppressing printing of chapter head.
On Wednesday 14 February 2007 10:14, Wolfgang Schuster wrote: > [location=top, >spaceinbetween=0pt, % <-- your friend >style=bold, >width=max] That works as far as the bolding is concerned. Many thanks. But the "Figure 2-1" and the "Comparison of Corporate and Government Bond Portfolios" are still in run-in style like this: Figure 2.1 Comparison of Corporate and Government Bond Portfolios I can maybe talk the customer out of that detail but if I can do it it would be nice. Another solution to bolding was proposed by Mojca but I decided to go with yours. Thanks to both. For those who were curious about the complexity of the heading I will post a pdf to http://wexfordpress.com/tex/headertest.pdf ..and a source file fragment here: --- \noheaderandfooterlines \tf \chapter{Investing for Income} \noheaderandfooterlines \null\vskip -1in \noindent {\baselineskip 15bp \nimbul\kern -3pt {\zb{``It's a funny thing about life; if you refuse to accept anything but the best, you very often get it.''}}{\nimbus ~~---\kern 5bp \zb{Somerset Maugham}} \centerline{\vrule height .25bp width 4.25in} \vskip 3.050in \switchtobodyfont[MySabon,12bp] \rm {\it Chapter 2} \vskip .4in \baselineskip 30bp \leftline{\nimbux{\zc{Investing for Income,}}} \leftline{\nimbux{\zc{Safely and Effectively}}} \parindent .3125in \baselineskip 15bp \indenting[next] \vskip 15pt \rm This is quite ugly but it works. \nimbux etc. are fonts and \zc etc. are macros using soul.sty. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com _ Need personalized email and website? Look no further. It's easy with Doteasy $0 Web Hosting! Learn more at www.doteasy.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] vertical stretch for TABLE ?
On 2/14/07, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: > Hi Luigi, > > thanks for the offer. > > On Wed, 14 Feb 2007 15:45:46 +0100, luigi scarso wrote: > > I usually give my best with a complete working example > > 'I-have-this--I-want-that'.tex > > or 'this-doesn't-work-as-expected'.tex > > or 'i-don't-understand-this'.tex > > Can you made an example ? > > > See attached table.tex, please. hmm, it seems that I've missed the attachment... ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] TOC (was: register) fine tuning
Hi Hans, fine-tuning a TOC is horrible when you have a lot of tables and figures in a larger project: you have to wait and wait and wait … Could you also provide a comparable solution like the one below (for the placeregister), please? Something like … \completecontent[file=testtest] That would give me back several hours to life! Thank you, Steffen On Thu, 26 Oct 2006 11:17:01 +0200, Steffen Wolfrum wrote: > > Am 26.10.2006 um 10:32 schrieb Hans Hagen: >> >> hm, you really want to do that now? >> >> > > Yes, please: the printing house is wating for the book today... > > >> i'll make a beta that can do: >> >> >> \placeregister[index] >> >> \placeregister[index][file=testtest] >> >> so, you can copy test.tuo to testtest.tuo and them edit >> testtest.tuo to suit your needs >> > > Great, that sound very usably! > > Steffen > > >> of course, you need to keep in mind that it is possible to edit >> testtest.tuo to the extend that it starts influencing pagenumbers >> and such >> >> >> - >> 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 > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] mails
Hi, I'm a bit busy right now but if someone thinks that important mails get lost let me know or remind me later 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] vertical stretch for TABLE ?
Hi Luigi, thanks for the offer. On Wed, 14 Feb 2007 15:45:46 +0100, luigi scarso wrote: > I usually give my best with a complete working example > 'I-have-this--I-want-that'.tex > or 'this-doesn't-work-as-expected'.tex > or 'i-don't-understand-this'.tex > Can you made an example ? See attached table.tex, please. It's quick and dirty and it contains several tables. But it should make the goal clear: By chance on page 8 the bottom-line of the table sits on the bottom-line of the frame. I want to have this also on the other pages, containing the other parts of the table. Is there a way for vertical stretch for rows, like "option=stretch" gives horizontal stretch for columns, to snap to the frame? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Characters per inch with ConTexT
Aditya Mahajan wrote: > > That is what I found. Can I tweak spacefactor and spaceskip to give an > impression that there are 15 cpi. > you can create a shinked font i.e. make an instance with .85% wide chars (contrary to an extended one) > I guess someone made the requirements in 1950 or 1960, and others are > blindly copying them. Maybe, I should typeset everything in monotype > font :) > cm is kind of monotype times ... you mean monospaced -) there is a narrow latin modern tt variant you can use ... 132 chars on 80 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] Bolding the words "Figure 2-1"
On Wed, 14 Feb 2007 08:11:37 -0500 "John R. Culleton" <[EMAIL PROTECTED]> wrote: > I too am stuck in specification hell. The specifier is ovenamored of > stretching text and the like. I worked through that with the TeX/LaTeX macro > soul.sty. > > My immediate problem is with putting the > caption of a table in a different font. Currently I have: > > \setupcaptions[location=top,headstyle=bold,style=bold] > > \placefigure[here][tab:comp]{Comparison of Corporate and > Government Bond Portfolios} { > etc. > --- > Currently I get the caption in bold but the string "Figure 2-1" is not in > bold. Hi John, the floattext is written by default in bold style, please look if you changed it somewhere in your document by \setupcation[style=...] or \setupcaption[figure][style=...] > > A second problem: > The designer asks for > > Figure 2-1 > Comparison of Corporate etc. > > but I get: > --- > Figure 2-1 Comparison of Corporate etc. > > > I can avoid \placefigure and hand code each caption of course but that > deprives me of the ability to float the figures. \setupcaptions [location=top, spaceinbetween=0pt, % <-- your friend style=bold, width=max] % maybe fit? Wolfgang > > Unfortunately they brought in the designer after I had already started work > (and cashed the deposit check.) > > The first difficulty (typeface) is IMO the most critical. > -- > John Culleton > Able Indexing and Typesetting > Precision typesetting (tm) at reasonable cost. > Satisfaction guaranteed. > http://wexfordpress.com > ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Suppressing printing of chapter head.
On Wed, 14 Feb 2007, John R. Culleton wrote: > I have a specification for a chapter head that is so complex I have little > hope of modifying the Context head within any reasonable time frame. But I > still prefer to use the Context chapter head for TOC, numbering of figures > and the like. So I decided to hand code the head but still use \chapter for > these other purposes. Here is my current workaround: > -- > \setuphead[chapter][command=\white,header=nomarking] Maybe command=\gobbleoneargument instead of white. With \white, the head will still occupy space. > > I still have to use \noheaderandfooterlines as well for some reason. > Just FYI. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Suppressing printing of chapter head.
On Wed, 14 Feb 2007 08:21:18 -0500 "John R. Culleton" <[EMAIL PROTECTED]> wrote: > I have a specification for a chapter head that is so complex I have little > hope of modifying the Context head within any reasonable time frame. But I > still prefer to use the Context chapter head for TOC, numbering of figures > and the like. So I decided to hand code the head but still use \chapter for > these other purposes. Here is my current workaround: > -- > \setuphead[chapter][command=\white,header=nomarking] > > I still have to use \noheaderandfooterlines as well for some reason. > Just FYI. Hi John, can you make a image how your head should look. To avoid headers and footer on chapter pages or to create special ones for these pages you can use (taken from page-txt). \definetext[chapter][footer][pagenumber] \setuphead[chapter][header=high,footer=chapter] Wolfgang > > -- > John Culleton > Able Indexing and Typesetting > Precision typesetting (tm) at reasonable cost. > Satisfaction guaranteed. > http://wexfordpress.com > > ___ > 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] Characters per inch with ConTexT
On Wed, 14 Feb 2007, Taco Hoekwater wrote: > Aditya Mahajan wrote: >> Hi, >> >> I am writing a document where the guidelines say that I should use >> Times Roman font at 10pt with 15 characters per inch and 6 lines per >> inch. I am using thermes from tex gyre rscaled=1.015 as the bodyfont. >> At this setting I get a bit more less than 6 lines per inch (which is >> fine) but roughtly 17 characters per inch. Any way I could setup fonts >> so that both these criteria is automatically met? > > This should give you exactly 6 lpi @ 10pt > > \setupbodyfontenvironment[10pt][interlinespace=12bp] Thank you. Now I see an advantage of bp over pt. >> Why do people come up with such criteria :(( > > The average character width in times roman is only a little over 4pt > when loaded at 10pt, resulting in more than 18cpi, so you could try > to explain to them that the 10pt and 15cpm contradict eachother. That is what I found. Can I tweak spacefactor and spaceskip to give an impression that there are 15 cpi. > But I guess they do not really expect you to do anything with the cpi > statement, unless you are using a typewriter. I guess someone made the requirements in 1950 or 1960, and others are blindly copying them. Maybe, I should typeset everything in monotype font :) Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] vertical stretch for TABLE ?
On 2/14/07, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: > Hi Luigi, > > > On Wed, 14 Feb 2007 10:44:20 +0100, luigi scarso wrote: > >> Is there also a kind of \bTABLE[split=yes,option=vstretch] that > >> gives this little stretch over the page's respective rows so that > >> there is also a vertical snap to the text frame? > >> > >> Or is this a too weird request? > >> > >> > > Did you see > > www.logosrl.it/context/modules/2007-01-23/core-modu.pdf > > at core-ntb section ? > > > > No, I didn't know this … enzyclopedia! > But as I am no programmer I am not sure how to you use it (too much that I > absolutely not understand). ok > Did you see an answer to my request in there? I usually give my best with a complete working example 'I-have-this--I-want-that'.tex or 'this-doesn't-work-as-expected'.tex or 'i-don't-understand-this'.tex Can you made an example ? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Bolding the words "Figure 2-1"
On 2/14/07, John R. Culleton <[EMAIL PROTECTED]> wrote: > I too am stuck in specification hell. The specifier is ovenamored of > stretching text and the like. I worked through that with the TeX/LaTeX macro > soul.sty. > > My immediate problem is with putting the > caption of a table in a different font. Currently I have: > > \setupcaptions[location=top,headstyle=bold,style=bold] > > \placefigure[here][tab:comp]{Comparison of Corporate and > Government Bond Portfolios} { > etc. > --- > Currently I get the caption in bold but the string "Figure 2-1" is not in > bold. On the garden it works OK. Also if you want to use a really different font, there should be no problem saying \setupcaptions[headstyle={\definedfont[your-special-font]}] Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Suppressing printing of chapter head.
I have a specification for a chapter head that is so complex I have little hope of modifying the Context head within any reasonable time frame. But I still prefer to use the Context chapter head for TOC, numbering of figures and the like. So I decided to hand code the head but still use \chapter for these other purposes. Here is my current workaround: -- \setuphead[chapter][command=\white,header=nomarking] I still have to use \noheaderandfooterlines as well for some reason. Just FYI. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Bolding the words "Figure 2-1"
I too am stuck in specification hell. The specifier is ovenamored of stretching text and the like. I worked through that with the TeX/LaTeX macro soul.sty. My immediate problem is with putting the caption of a table in a different font. Currently I have: \setupcaptions[location=top,headstyle=bold,style=bold] \placefigure[here][tab:comp]{Comparison of Corporate and Government Bond Portfolios} { etc. --- Currently I get the caption in bold but the string "Figure 2-1" is not in bold. A second problem: The designer asks for Figure 2-1 Comparison of Corporate etc. but I get: --- Figure 2-1 Comparison of Corporate etc. I can avoid \placefigure and hand code each caption of course but that deprives me of the ability to float the figures. Unfortunately they brought in the designer after I had already started work (and cashed the deposit check.) The first difficulty (typeface) is IMO the most critical. -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Natural table questions
On Tue, 13 Feb 2007 16:38:57 -0800 David Arnold <[EMAIL PROTECTED]> wrote: > All, Hi David, > > Using natural tales, how can I: > > 1. get some padding around text in each cell? you can currently use one value for the padding on all four sides in a table cell. \setupTABLE[offset=5mm] \bTABLE \bTR\bTD Text \eTD\eTR \eTABLE > > 2. Increase the height of a cell (or row)? fix the height of a cell > (or row)? \setupTABLE[r|c][number][width=..,height=..] please look at http://wiki.contextgarden.net/TABLE for examples and the use of this command > > David Arnold Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bold versions of fonts
On Feb 14, 2007, at 11:57 AM, Janko Hauser wrote: > As I do not understand fonts at all, but is it really so, that one > needs to have the bold fontpackage if one wants to set a word in > bold in tex? Asked another way, can tex not do the same as word in > this regard? > > with regards, > > __Janko TeX can produce an artificial bold version of type 1 fonts via postscript commands in the map file, and you can consult the index of the TeXbook for "poor man's bold" for another solution. In both cases, the typographic quality is so low that you really don't want to go there. Word output is ugly anyway, so nobody cares if it produces artificial bold that makes it even uglier... Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bold versions of fonts
Am 14.02.2007 um 11:34 schrieb Jörg Hagmann: I am editing the Annual Report of an ornithological society. In the past, this has been done with Word, the font was Gentium. I haven't changed to ConTeXt yet, because Gentium has no bold version and I want to stick with the same font (Word produces some kind of Gentium- bold itself). As I do not understand fonts at all, but is it really so, that one needs to have the bold fontpackage if one wants to set a word in bold in tex? Asked another way, can tex not do the same as word in this regard? with regards, __Janko -- Janko Hauser email: [EMAIL PROTECTED] mobile: +49 1721 641552 PGP.sig Description: Signierter Teil der Nachricht ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bold versions of fonts
> > There is one [ too many in this definition... Don't be too > embarrassed, when you've looked at a file or a line for three hours, > you don't see anything anymore. Thanks a lot. I AM embarassed, especially since I suspected something of the sort but didn't see it. And also because I successfully avoided quite a few premature interventions in the past months, but was too impatient this time. I am editing the Annual Report of an ornithological society. In the past, this has been done with Word, the font was Gentium. I haven't changed to ConTeXt yet, because Gentium has no bold version and I want to stick with the same font (Word produces some kind of Gentium- bold itself). That's the reason why I am looking at other fonts, with the intention of smuggling a "SimilarToGentium-Bold" into a gentium- typescript. (I know that's not done -- but it's only the Ornithological Society of Basel ) Cheers, Jörg > > Good luck > > Thomas > ___ > 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] vertical stretch for TABLE ?
On 2/14/07, Steffen Wolfrum <[EMAIL PROTECTED]> wrote: > Hi, > > > I understood that … > > \bTABLE[option=stretch] > > … gives a horizontal stretch, so that a TABLE snaps left and right to the > frame (\showframe text edges). > > > When along table is split over several pages with \bTABLE[split=yes] it is > very unlikely that the bottom-line of the bottom most row sits on the > bottom-line of the text frame. > > Is there also a kind of \bTABLE[split=yes,option=vstretch] that gives this > little stretch over the page's respective rows so that there is also a > vertical snap to the text frame? > > Or is this a too weird request? > > Did you see www.logosrl.it/context/modules/2007-01-23/core-modu.pdf at core-ntb section ? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Newbie question: math font and bibliography
Zulkifli Hidayat wrote: > > Furthermore, could you give pointers to style alternatives documentation > or links? None that I know of exist, but it is harmless to try them, so you could just do a few runs with various style settings. Best, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] vertical stretch for TABLE ?
Hi, I understood that … \bTABLE[option=stretch] … gives a horizontal stretch, so that a TABLE snaps left and right to the frame (\showframe text edges). When along table is split over several pages with \bTABLE[split=yes] it is very unlikely that the bottom-line of the bottom most row sits on the bottom-line of the text frame. Is there also a kind of \bTABLE[split=yes,option=vstretch] that gives this little stretch over the page's respective rows so that there is also a vertical snap to the text frame? Or is this a too weird request? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Characters per inch with ConTexT
Aditya Mahajan wrote: > Hi, > > I am writing a document where the guidelines say that I should use > Times Roman font at 10pt with 15 characters per inch and 6 lines per > inch. I am using thermes from tex gyre rscaled=1.015 as the bodyfont. > At this setting I get a bit more less than 6 lines per inch (which is > fine) but roughtly 17 characters per inch. Any way I could setup fonts > so that both these criteria is automatically met? This should give you exactly 6 lpi @ 10pt \setupbodyfontenvironment[10pt][interlinespace=12bp] > Why do people come up with such criteria :(( The average character width in times roman is only a little over 4pt when loaded at 10pt, resulting in more than 18cpi, so you could try to explain to them that the 10pt and 15cpm contradict eachother. But I guess they do not really expect you to do anything with the cpi statement, unless you are using a typewriter. Best, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context