Re: [NTG-context] looking for document ...
On Tue, Apr 19, 2005 at 07:24:40AM +0200, Mikael Persson wrote: I guess you mean http://home.salamander.com/~wmcclain/context-help.html and the pdf link from that page http://home.salamander.com/~wmcclain/csky-sample.pdf Yes! Thanks Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Another verbatim bug?
Taco Hoekwater wrote: Nikolai Weibull wrote: Idris Samawi Hamid, April 17: \type{texfont --help} The bug is apparently in \type: it only generates one dash. the Latin Modern fonts are in 'ec' encoding, and \type does not take that into account (yet). If you switch to texnansi encoding, the problem goes away: \usetypescript[modern][texnansi] \setupbodyfont[modern] this will be repaired in the next version of the ec metrics 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] new beta
David Munger wrote: Hans, That's not enough. There is another problem when ConTeXt text has to be rendered from inside MetaPost graphics. Consider the following code: \starttext \startuseMPgraphic{mptest} label (btex test etex, origin); \stopuseMPgraphic \useMPgraphic{mptest} \stoptext Even with the patch for texexec.pl ($cmd =~ s/([^\\])\/$1\\\/io ;), it fails. The problem occurs during the call to: pdfetex -progname=context \cont-en from within texexec.pl. But surprisingly, it compiles successfully with the '\' fix in texexec.ini. I guess that pdfetex has to call ConTeXt somehow in order to produce the `btex/etex' output, but that instance of ConTeXt doesn't do the shell escaping correctly. Any clue? What script should I look into? what shell do you use? 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] texexec in a shell script
Hans Hagen wrote: Robert Ullrey wrote: I know someone out there has the answer to this. If I run texexec through a shell, even with the full path to texexec, I get an error, //usr/local/teTeX/bin/powerpc-apple-darwin-current/texexec: line 1: sed: command not found Some alternative solutions are also possible: You could - Install the (fairly standard unix tool) 'sed', that is obviously missing from your darwin install - Use 'perl /usr/local/teTeX/texmf/scripts/context/perl/texexec.pl' (replace the path with whereever your context distribution lives) - perhaps you should use gwTeX instead of teTeX (?) Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] oldstyle figures
On Mon, 18 Apr 2005 at 16:30:04-0600, Idris Samawi Hamid wrote: So, how to tell \digits to use oldstyle figures, and/or how to make them the math mode default? Since it switches to math mode, one has to reencode the math fonts, i guess. In the meantime: \def\OSdigits#1{\digits{\os#1}} \OSdigits{1234} Unfortunately not. It works in text mode, but produces a bunch of errors in math mode. \digits doesn't seem to like \os in its argument. This definition works here for now: \def\OSdigits#1{\ifmmode{\os\digits{#1}}\else\digits{\os#1}\fi} should do everything you need: since u're not mixing text in \digits do you really need a global math font reencoding? In principle yes. For example, $f(x)=3x+7$ should come out with oldstyle figures, if these are used by default, shouldn't it? Btw, striving for good typography, in which cases should oldstyle figures *not* be used? Best regards, -- Eckhart ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec in a shell script
Robert Ullrey wrote: I know someone out there has the answer to this. If I run texexec through a shell, even with the full path to texexec, I get an error, //usr/local/teTeX/bin/powerpc-apple-darwin-current/texexec: line 1: sed: command not found `.pl' not found. you can use the call: texmfstart texexec ... alternative you can replace texexec in you bin path by: #!/bin/sh texmfstart texexec.pl $@ first of all, texmfstart only depends on ruby, and more important, it knows how to locate things in the texmftree (the tds structure occasionally changes and texmfstart can adapt to that) 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] TABLE: spacing, before/after
On Wed, 13 Apr 2005 at 10:09:11+0200, Eckhart Guthöhrlein wrote: - How can I control horizontal spacing of columns in natural tables? - What about vertical spacing? - How can I insert material after/before each cell, something like \setuptable[row][first][before=bla bla] ? Does anybody know an answer to one of these questions? I can't get it done. If I have missed something in the docs, please point it out to me. I have an additional question: Is there a way to do something with an entry in natural tables, analogously to the h (hook) column specifier of tabulate? I really need to get along with this table stuff, so once again thanks for any help. -- Eckhart ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] texexec in a shell script
Taco Hoekwater said this at Tue, 19 Apr 2005 09:55:20 +0200: Some alternative solutions are also possible: You could - Install the (fairly standard unix tool) 'sed', that is obviously missing from your darwin install if /usr/bin/sed is missing, a lot else will be missing, too. I would recommend going back to the install discs and making sure you have installed the `BSD Layer' (or something similar) in the custom install step. - perhaps you should use gwTeX instead of teTeX (?) Nah, it's gwTeX. Gerben just puts his distro into a directory called tetex. cheers, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new beta
My installation has lost the ability to regenerate formats in the latest beta: sudo texexec --make en de nl metafun TeXExec 5.3.1 - ConTeXt / PRAGMA ADE 1997-2005 total run time : 1 seconds sudo fmtutil --byfmt cont-en.fmt fmtutil: no info for format `cont-en.fmt'. Clueless??? Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new beta
Thomas A.Schmitz said this at Tue, 19 Apr 2005 14:18:55 +0200: My installation has lost the ability to regenerate formats in the latest beta: This is being discussed on the dev-context list: http://www.ntg.nl/pipermail/dev-context/2005/000168.html -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new beta
Le mardi 19 avril 2005 09:43 +0200, Hans Hagen a crit : David Munger wrote: Hans, That's not enough. There is another problem when ConTeXt text has to be rendered from inside MetaPost graphics. Consider the following code: \starttext \startuseMPgraphic{mptest} label (btex test etex, origin); \stopuseMPgraphic \useMPgraphic{mptest} \stoptext Even with the patch for texexec.pl ($cmd =~ s/([^\\])\/$1\\\/io ;), it fails. The problem occurs during the call to: pdfetex -progname=context \cont-en from within texexec.pl. But surprisingly, it compiles successfully with the '\' fix in texexec.ini. I guess that pdfetex has to call ConTeXt somehow in order to produce the `btex/etex' output, but that instance of ConTeXt doesn't do the shell escaping correctly. Any clue? What script should I look into? what shell do you use? bash The first escaping works. The problem occurs only when compiling the MetaPost. David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new beta
Adam Lindsay wrote: Thomas A.Schmitz said this at Tue, 19 Apr 2005 14:18:55 +0200: My installation has lost the ability to regenerate formats in the latest beta: yesterdays beta or todays? This is being discussed on the dev-context list: http://www.ntg.nl/pipermail/dev-context/2005/000168.html Adam: in texexec.pl the cal to ctxtools should be prefixed by texmfstart (texmfstart texexec --make ...) 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] new beta
Solved. Insert the usual escaping command before line 2769 of texexec.pl: ... unless ( $dosish !$escapeshell ) { $cmd =~ s/[^\\]\/\\\/io ; } $Problems = system($cmd $MpMpName); David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TABLE: spacing, before/after
On Wed, Apr 13, 2005 at 10:09:11AM +0200, Eckhart Guthöhrlein wrote: Hi, three questions: - How can I control horizontal spacing of columns in natural tables? - What about vertical spacing? - How can I insert material after/before each cell, something like \setuptable[row][first][before=bla bla] ? Thanks, Hi Eckhart, I think you might find some of the answers here: http://getfo.sourceforge.net/context_xml/page5.html#id2258730 setupTABLE[r][1][heigth=24pt] setupTABLE[c][odd][width=12pt] % the page gives more examples Sorry if this is not what you are looking for. Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] new beta
On Apr 19, 2005, at 3:20 PM, Hans Hagen wrote: Adam Lindsay wrote: Thomas A.Schmitz said this at Tue, 19 Apr 2005 14:18:55 +0200: My installation has lost the ability to regenerate formats in the latest beta: yesterdays beta or todays? That was today's beta, sorry. This is being discussed on the dev-context list: http://www.ntg.nl/pipermail/dev-context/2005/000168.html Adam: in texexec.pl the cal to ctxtools should be prefixed by texmfstart (texmfstart texexec --make ...) 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] new beta
Thanks, Adam. At least some consolation... On Apr 19, 2005, at 2:43 PM, Adam Lindsay wrote: Thomas A.Schmitz said this at Tue, 19 Apr 2005 14:18:55 +0200: My installation has lost the ability to regenerate formats in the latest beta: This is being discussed on the dev-context list: http://www.ntg.nl/pipermail/dev-context/2005/000168.html -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ 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] oldstyle figures
= Original Message From Eckhart Guthöhrlein [EMAIL PROTECTED] should do everything you need: since u're not mixing text in \digits do you really need a global math font reencoding? In principle yes. For example, $f(x)=3x+7$ should come out with oldstyle figures, if these are used by default, shouldn't it? No, I don't think so (see below) Btw, striving for good typography, in which cases should oldstyle figures *not* be used? I am no typography expert, but I think that old style figures are, generally speaking, inappropriate for math mode. The various heights, etc. make more work for the brain in complicated mathematics expressions. I can't recall ever seeing good mathematics/physics done in old style figures. OS numerals are actually _text_ figures, as Bringhurst points out. In my own academic journal there is little to no math, but when someone mentions, e.g., the version of a computer program, I put the version number in upright figures, thought the rest of the journal is in os figures. That's my two cents, for what it's worth:-) 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] bug in \setuphead?
Dear gang, The [ownnumber=yes] option overflows ConTeXt's memory, and I have not found an adjustment to texmf.cnf to fix it (mswincontext 3-16, 2005). I increased the param and stack sizes by an entire order of magnitude. Other options such as [ownnumber=no] work fine. This bug is not benign:-) Please advise... Best Idris === % output=pdf interface=en \definehead[appendix][section] \setuphead [appendix][ownnumber=yes] \setuplabeltext[appendix=Appendix~] \starttext \appendix{Test} \stoptext === log: === systems : begin file test5 at line 7 ! TeX capacity exceeded, sorry [parameter stack size=6000]. \previoussection #1- \csname \??se #1\c!before \endcsname \countervalue #1-\csname #1 \endcsname \@@longsectionnumber ...?se \previoussection {#1}} \zerocount \csname \previ... \finalsectionnumber ...alue {\@@sectie \c!number } \fi \fi \@@shortsectionnumber ...1\c!ownnumber \endcsname \fi \@@longsectionnumber ...\@@shortsectionnumber {#1} \fi ... l.9 \appendix{Test} If you really absolutely need more capacity, you can ask a wizard to enlarge me. === 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
Re: [NTG-context] TABLE: spacing, before/after
On Tue, 19 Apr 2005 at 10:04:09-0400, Paul Tremblay wrote: On Wed, Apr 13, 2005 at 10:09:11AM +0200, Eckhart Guthöhrlein wrote: Hi, three questions: - How can I control horizontal spacing of columns in natural tables? - What about vertical spacing? - How can I insert material after/before each cell, something like \setuptable[row][first][before=bla bla] ? Thanks, Hi Eckhart, I think you might find some of the answers here: http://getfo.sourceforge.net/context_xml/page5.html#id2258730 Nice overview, Paul. I had a quick glance, but I'm afraid the questions above are not addressed. Correct me if I'm wrong. setupTABLE[r][1][heigth=24pt] setupTABLE[c][odd][width=12pt] % the page gives more examples Sorry if this is not what you are looking for. Well, not exactly. By default, a column has the width of its widest entry. Using width=5cm, I can only define the absolute width of a column. But what I want is to increase the separation of adjectant columns. Whether this is achieved by adding space between columns or by setting their width to a certain amount wider than their natural width doesn't matter to me. You have already experienced the absence of a desirable feature yourself, but let me point out once again that this cannot be achieved by setting the rulethickness of the cell frame, since it is not possible to change left/right thickness from the top/bottom one, and frames are invisible but still take space if you deactivate them via e.g. topframe=off. Thanks for your page - it's surely of help, especially for newcomers, since tables (and the many different possibilities to produce them) are cumbersome in context. Greetings, -- Eckhart ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] inheriting size characteristics
Dear fellow knights, Given predefined switches like \tf and \bf, one inherits the size characteristics of the one already declared. But for user-defined switches this does not work. The following minimal files (typescript and test) is a bit long, but it accurately illustrates the problem and uses the default fonts. My user-defined switch works, but does not inherit from, e.g., \tfc. But \bf does inherit. What am I missing? Thnx in advance Idris ==type-lmtest=== \definestyle[smallcapssemibold,semiboldsmallcaps][\scsb][] \starttypescript[serif] [lm][default] \definefontsynonym [LM] [texnansi-lmr12] \definefontsynonym [LMBold] [texnansi-lmr12] \definefontsynonym [LMSemiboldCaps] [texnansi-lmr12] \stoptypescript \starttypescript[serif] [lm] [name] \definefontsynonym [Serif][LM] \definefontsynonym [SerifBold][LMBold] \definefontsynonym [SerifSemiboldCaps][LMSemiboldCaps] \stoptypescript \starttypescript[serif] [lm] [size] \definebodyfont [20.7pt,24.9pt,17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt] [rm] [tf=Serif sa 1, bf=SerifBold sa 1, scsb=SerifSemiboldCaps sa 1, scsba=SerifSemiboldCapssa a, scsbb=SerifSemiboldCapssa b, scsbc=SerifSemiboldCapssa c, scsbd=SerifSemiboldCapssa d] \stoptypescript \starttypescript[LMtest] \definebodyfontenvironment [lmtest] [default] [interlinespace=2.8ex] \definetypeface [lmtest] [rm] [serif] [lm] [lm] [encoding] \stoptypescript test-lm.tex= % output=pdf interface=en \usetypescriptfile[type-lmtest] \usetypescript[LMtest] \setupbodyfont[lmtest] \starttext \tfcThis is a test of Minion~Pro Opticals. 123467689 \bf This is a test of Minion~Pro Opticals. 123467689 \scsb This is a test of Minion~Pro Opticals. 123467689 \stoptext 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] inheriting size characteristics
An error, but does not affect the problem (forgot the `=default'): \definetypeface [lmtest] [rm] [serif] [lm] [lm] [encoding=default] 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
Re: [NTG-context] TABLE: spacing, before/after
On Tue, Apr 19, 2005 at 05:15:04PM +0200, Eckhart Guthöhrlein wrote: From: Eckhart Guthöhrlein [EMAIL PROTECTED] To: mailing list for ConTeXt users ntg-context@ntg.nl Date: Tue, 19 Apr 2005 17:15:04 +0200 Subject: Re: [NTG-context] TABLE: spacing, before/after User-Agent: Mutt/1.4.1i On Tue, 19 Apr 2005 at 10:04:09-0400, Paul Tremblay wrote: On Wed, Apr 13, 2005 at 10:09:11AM +0200, Eckhart Guthöhrlein wrote: Hi, three questions: - How can I control horizontal spacing of columns in natural tables? - What about vertical spacing? - How can I insert material after/before each cell, something like \setuptable[row][first][before=bla bla] ? Thanks, Hi Eckhart, I think you might find some of the answers here: http://getfo.sourceforge.net/context_xml/page5.html#id2258730 Nice overview, Paul. I had a quick glance, but I'm afraid the questions above are not addressed. Correct me if I'm wrong. setupTABLE[r][1][heigth=24pt] setupTABLE[c][odd][width=12pt] % the page gives more examples Sorry if this is not what you are looking for. Well, not exactly. By default, a column has the width of its widest entry. Using width=5cm, I can only define the absolute width of a column. But what I want is to increase the separation of adjectant columns. Whether this is achieved by adding space between columns or by setting their width to a certain amount wider than their natural width doesn't matter to me. You have already experienced the absence of a desirable feature yourself, but let me point out once again that this cannot be achieved by setting the rulethickness of the cell frame, since it is not possible to change left/right thickness from the top/bottom one, and frames are invisible but still take space if you deactivate them via e.g. topframe=off. Thanks for your page - it's surely of help, especially for newcomers, since tables (and the many different possibilities to produce them) are cumbersome in context. Greetings, Yes, I agree with the limitations of the TABLE module. Sorry I couldn't provide any better answer. When I get a chance, I'll put something on the page stating that a limitation of TABLE is the inability to set the space between columns. (Is it possible to set the space between columns using the more standard table module? I realize I didn't document this at all.) Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] bug in \setuphead?
Idris Samawi Hamid wrote: This bug is not benign:-) Please advise... \appendix{Test} shouldn't that be \appendix{MyOwnNumber}{Test} 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] typing questions
Hello, here a few questions about typing: - Is there a module for pretty-printing C-code? - How could I change the tabulator-width? - First tab is only 7 spaces, the other 8, why? - How could I embed ConTeXt macros? - Where does the vertical space in \framed come from? Some of these questions are illustrated in the following example: \starttext \starttyping void test() { 12345678 the first characters of the next lines are tabulations int i; for(i = 0; i 10; i++) do_something(); 1234567812345678 Here I would like to \embed{ some context-code } } \stoptyping \framed[align=lohi, top=\vskip-1.8\baselineskip,bottom=\vskip-0.8\baselineskip]{% \starttyping Why do we need special top and bottom options? type type type type type type \stoptyping } \stoptext Thanks in advance for any help! Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] bug in \setuphead?
= Original Message From Hans Hagen [EMAIL PROTECTED] = \appendix{Test} shouldn't that be \appendix{MyOwnNumber}{Test} I get it now-) It's amazing how one can try 101 things and still miss the obvious... Now that I can handle this manually, what I really want to do is have the first \appendix start with the numeral 1, after following previous sections. I seem to remember doing this once before; don't know why I can't seem to get it right this time. The following still inherits the section numeral from \section: how do I reset it to 1? (I also tried lots of other options but, as usual, I must be missing the obvious again-) === % output=pdf interface=en \definehead[appendix][section] \setuphead [appendix][continue=no] \setupheadnumber [appendix][1] \setuplabeltext[appendix=Appendix~] \starttext \section{Test} \appendix{Test} % should be 1 \appendix{Test} % should be 2 \stoptext === 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
Re: [NTG-context] TABLE: spacing, before/after
On Tue, 19 Apr 2005 at 12:19:28-0400, Paul Tremblay wrote: Yes, I agree with the limitations of the TABLE module. Sorry I couldn't provide any better answer. When I get a chance, I'll put something on the page stating that a limitation of TABLE is the inability to set the space between columns. Well, maybe it will be possible for Hans to include support for the missing features in a future release. To sum it up once again, what I am missing: - control over column and row spacing - material before/after a cell, e.g. \setupTABLE[row][first][before=bla] - command hooks like \setupTABLE[1][3][hook=\dowithentry] (Is it possible to set the space between columns using the more standard table module? I realize I didn't document this at all.) I have never tried it, but I think so. At the beginning of core-tbl, column modifiers i, j and k are claimed to do this. Since tabulate uses the same column specifiers as table, they should work with both. Untested ;-) -- Eckhart ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TABLE: spacing, before/after
On Tue, Apr 19, 2005 at 08:56:58PM +0200, Eckhart Guthöhrlein wrote: On Tue, 19 Apr 2005 at 12:19:28-0400, Paul Tremblay wrote: Yes, I agree with the limitations of the TABLE module. Sorry I couldn't provide any better answer. When I get a chance, I'll put something on the page stating that a limitation of TABLE is the inability to set the space between columns. Well, maybe it will be possible for Hans to include support for the missing features in a future release. To sum it up once again, what I am missing: - control over column and row spacing - material before/after a cell, e.g. \setupTABLE[row][first][before=bla] - command hooks like \setupTABLE[1][3][hook=\dowithentry] I'm not sure what hooks are! I assume the before could be something like \blankspace? (Is it possible to set the space between columns using the more standard table module? I realize I didn't document this at all.) I have never tried it, but I think so. At the beginning of core-tbl, column modifiers i, j and k are claimed to do this. Since tabulate uses the same column specifiers as table, they should work with both. Untested ;-) I need to start thinking before I type! I have this in my tutorial. I guess I assumed you get the same result with TABLE by simple making a column very wide (width=25cm). Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] how to control placement of floats
The manual and others have given good advice on how to do the most basic placment of floats, such as forcing it onto a new page. How does one get even more control. For example, if I want a particular table to have 2 inches of space from the left margin, or if I want to center my figures. Thanks Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] is there a way to control kearning and word spacing
I know that ConTeXt does a good job kearning and determing spaces between words. However, is there a way to actually specify different kearning and word spacing than the default? Thanks Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to insert a full page pdf.
I need to insert some example pages from one document into another. Both are 8.5 x 11. I have read the old posts about \startTEXpage etc. and looked at the source code. But I still have a few questions: 1. Can I select e.g., just page 2 from the external document to insert in my document? How? 2. Does Context automatically bump its page counter to compensate for the inserted page or pages, or do I have to adjust it after each such insertion? TIA John Culleton Able Indexers and Typesetters http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] how to control placement of floats
Paul Tremblay wrote: The manual and others have given good advice on how to do the most basic placment of floats, such as forcing it onto a new page. How does one get even more control. For example, if I want a particular table to have 2 inches of space from the left margin, or if I want to center my figures. see details.pdf 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] Strange behaviour of width parameter in \setuplayout (Was: Floating table caption extends textwidth)
Hi! I have problems creating a multi-line caption for a floating table. If the caption is too long it will extend the defined text width. The following example shows this problem. I was able to find out, that this problem only appears if the variables width in the setuplayout command was used to define the textwidth. If you comment the line containing the width parameter (see comment in example) the caption will not extend the table. Regards Michael Example: -- \setuppapersize[A4][A4] \setuplayout[ backspace=25mm, cutspace=25mm, width=16cm, % -- COMMENT THIS TO SEE THE EXAMPLE WORK footer=10mm, footerdistance=5mm, bottom=5mm] \starttext \placetable[here][tab:Referenz] { \input tufte } { \setupTABLE[x][1][width=4cm, align=middle] \setupTABLE[x][2,3,4,5][width=3cm, align=middle] \bTABLE \bTR \bTH Anzahl \eTH \bTH Daten \eTH \bTH MC \eTH \bTH Daten \eTH \bTH MC \eTH \eTR \eTABLE } \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to insert a full page pdf.
Hi John, John R. Culleton : I need to insert some example pages from one document into another. Both are 8.5 x 11. I have read the old posts about \startTEXpage etc. and looked at the source code. But I still have a few questions: 1. Can I select e.g., just page 2 from the external document to insert in my document? How? I'm no expert, but here's the way I do it: \externalfigure[filename][page=2] Then, I adjust the clipping to -- for instance -- get rid of the page number of the inserted `figure', as well as of its top and left margins. \clip [ voffset=1.25in, % clip the topmost part of the inserted page hoffset=1.5in, % clip the left margin of the inserted page height=9in, % clip the bottom of the inserted page width=5.1in]% clip the right margin {\externalfigure[filename][page=2]}} And, if you like, you can put all this into a \midaligned{}. 2. Does Context automatically bump its page counter to compensate for the inserted page or pages, or do I have to adjust it after each such insertion? Well, if you treat the inserted PDF page as a figure, the page number of your main document won't be affected. Just clip the page number (if any) which lies on the inserted PDF page. Regards, David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] how to control placement of floats
On Wed, Apr 20, 2005 at 12:24:35AM +0200, Hans Hagen wrote: From: Hans Hagen [EMAIL PROTECTED] Paul Tremblay wrote: The manual and others have given good advice on how to do the most basic placment of floats, such as forcing it onto a new page. How does one get even more control. For example, if I want a particular table to have 2 inches of space from the left margin, or if I want to center my figures. see details.pdf I couldn't figure out how to do what I want from this document, which is, very detailed. (Hence: details.pdf!) Let me ask more specific questions: 1. In order to control the placement of a float better, do I need to use \setupfloat[figure] \setupfloat[table] % etc ? 2. I want to place a table or a figure on a page. I want to move it, say, 10 cm from the left margin. How do I do this? 3. I want to create extra white space before and after the float. How do I do this? 4. Sometimes I want the text to flow around the float, and sometimes I don't. How do I do this? Thanks Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context