Re: [NTG-context] Datenumber

2007-11-28 Thread Bart C. Wise
I have not looked for a LuaTeX-specific solution. Since LuaTeX appears to be in beta, I feel the need to wait for it to become more stable before looking into a LuaTeX solution. So, I'm still looking for a ConTeXt solution. Bart On Tuesday November 27 2007, Aditya Mahajan wrote: On Tue, 27

Re: [NTG-context] Numbers in Tables

2008-01-30 Thread Bart C. Wise
Peter, Thanks for you input. It works great and it would have take me forever to figure that one out! Thanks, Bart On Wednesday January 30 2008, Peter Rolf wrote: Bart Wise schrieb: The code below defines a number and then on each row, displays then increments the number. The number is

[NTG-context] \noindent in startstop block is not working on the text that follows the block

2008-02-07 Thread Bart C. Wise
I defined a startstop block. However, the text that follows the block I don't want to be indented. Code \definestartstop[Center][ before={\startalignment[center]}, after={\stopalignment\noindent} ] \starttext \startCenter This is some text! \stopCenter I don't want this paragraph

[NTG-context] Chapter number conversion to words

2008-02-07 Thread Bart C. Wise
I would like to display chapter headings spelling out the numbers into words. For example: Chapter One Chapter Two Chapter Three etc. I thought that I could put a conversion in the setuphead function; however, it doesn't appear to be supported. So how to I do the conversion? Thanks, Bart

Re: [NTG-context] Format does not match the base files

2008-06-14 Thread Bart C. Wise
Try: texexec --make en Bart On Friday 13 June 2008 7:54:57 pm [EMAIL PROTECTED] wrote: After updating my system with rsync to get the latest binaries of context I got this message: [EMAIL PROTECTED]:~ texexec --xtx greek_exp.tex system : cont-new loaded

[NTG-context] Kerning

2008-11-12 Thread Bart C. Wise
I am trying to change the spacing of a chapter title head. I found the \kern command; however, I could not get that to work over a string of text. Then I found the following code: \def\dolist{\afterassignment\dodolist\let\next= } \def\dodolist{\ifx\next\endlist \let\next\relax \else

Re: [NTG-context] Kerning

2008-11-12 Thread Bart C. Wise
Wolfgang, It works! Thanks, Bart On Wednesday 12 November 2008 08:54:49 am Wolfgang Schuster wrote: Am 12.11.2008 um 16:48 schrieb Bart C. Wise: I am trying to change the spacing of a chapter title head. I found the \kern command; however, I could not get that to work over a string

Re: [NTG-context] Kerning

2008-11-12 Thread Bart C. Wise
2008 09:28:39 am Bart C. Wise wrote: Wolfgang, It works! Thanks, Bart On Wednesday 12 November 2008 08:54:49 am Wolfgang Schuster wrote: Am 12.11.2008 um 16:48 schrieb Bart C. Wise: I am trying to change the spacing of a chapter title head. I found the \kern command; however, I

Re: [NTG-context] Kerning

2008-11-12 Thread Bart C. Wise
conversion, let me know. On Wednesday 12 November 2008 10:17:35 am Wolfgang Schuster wrote: Am 12.11.2008 um 18:03 schrieb Bart C. Wise: Okay, it works until I place an an argument in the stretched command. def\MyChapterCommand#1#2{ \framed[align=center,frame=off,width=\textwidth

Re: [NTG-context] Kerning

2008-11-13 Thread Bart C. Wise
Wolfgang, Thanks so much for your help! It works exactly as I desire. Bart On Thursday 13 November 2008 01:36:11 am Wolfgang Schuster wrote: On Thu, Nov 13, 2008 at 7:18 AM, Bart C. Wise [EMAIL PROTECTED] wrote: Wolfgang, thanks so much for your help so far. I was able to take

Re: [NTG-context] Kerning

2008-11-13 Thread Bart C. Wise
On Thursday 13 November 2008 12:46:27 am Hans Hagen wrote: Bart C. Wise wrote: Wolfgang, thanks so much for your help so far. I was able to take the code and make it work correctly to stretch the chapter title. What I want is two lines for a chapter head. For example, Line 1: Chapter

[NTG-context] Fonts with XeTeX

2008-11-17 Thread Bart C. Wise
I am having difficulties writing a typescript for the Caslon font that's on my system. The following works: \definetypeface[Caslon-Bold][rm][Xserif][CaslonOldFaceBT-Heavy] \definetypeface[Caslon-Italic][rm][Xserif][CaslonOldFaceBT-Italic]

Re: [NTG-context] Fonts with XeTeX

2008-11-17 Thread Bart C. Wise
Arthur, This works! Thanks for your help. Bart On Monday 17 November 2008 02:25:15 pm Arthur Reutenauer wrote: Hello Bart, Try \starttypescript[serif][caslon][uc] \definefontsynonym[CaslonRegular][name:CaslonOldFaceBT-Roman][encoding=uc]

[NTG-context] XeTex Mara Font

2008-11-18 Thread Bart C. Wise
I am currently trying to get the mara font loaded into XeTeX. Here's some information about the font (via fontforge): file: marafont.ttf Fontname: MaraFontNFPlain: Family Name: MaraFontNF Plain: (yes, the colons are in the name) I've tried a couple of ways, using both the fontname and the

Re: [NTG-context] XeTex Mara Font

2008-11-18 Thread Bart C. Wise
I tried prepending name and it didn't work. I also tried file:marafont, but that didn't work either. Your code yesterday was great and I have not tried to plug in the mara font into a typescript. There are some fonts that I just want to put in one section of the text without having to write

Re: [NTG-context] XeTex Mara Font

2008-11-18 Thread Bart C. Wise
I also tried plugging it into the typescript (not what I want), but that didn't work either. I tried both the name: and the file: options. Still lost, Bart On Tuesday 18 November 2008 11:54:49 am Arthur Reutenauer wrote: I've tried a couple of ways, using both the fontname and the family

Re: [NTG-context] XeTex Mara Font

2008-11-18 Thread Bart C. Wise
One thing of possible interest is that when I load the font in fontforge, I get the following warning: Bad Font Name The Postscript font name MaraFontNF Plain: is invalid. It should be printable ASCII, must not contain (){}[]%/ or space and must be shorter than 63 characters. Is the colon at

Re: [NTG-context] XeTex Mara Font

2008-11-18 Thread Bart C. Wise
That seems to work. I just renamed the fontname and family (removing the colon), generated a new ttf and loaded that into the system. So this works: \definetypeface[MaraFontNFPlain][rm][Xserif][MaraFontNFPlain] \starttext \startfont[MaraFontNFPlain] This is a test. \stoptext And yes, the url

Re: [NTG-context] XeTex Mara Font

2008-11-18 Thread Bart C. Wise
Wolfgang, This one does work. Thanks again, Bart On Tuesday 18 November 2008 03:28:45 pm Wolfgang Schuster wrote: Am 18.11.2008 um 23:00 schrieb Arthur Reutenauer: One quick question (again expressing my ignorance). Why can't I take the code above and change it to the following:

[NTG-context] XeTeX and lmtypewriter10-regular

2008-11-19 Thread Bart C. Wise
I'm running TeXLive 2008. When I compile for XeTeX (texexec --xtx) I get the following output that appears to be generating the lmtypewriter10-regular font. The bad part is that this is very slow. The part that's even worse, it does this probably 20...30...40 times? A compilation takes 145

[NTG-context] \placecontent doesn't place content after \chapter{}

2008-11-20 Thread Bart C. Wise
The code below displays the Contents chapter header; however, the table of contents is not shown. If I remove the \chapter{Contents}, then the table of contents is displayed. What's wrong? \starttext \chapter{Contents} \placecontent \chapter{One}\input tufte \chapter{Two}\input tufte

Re: [NTG-context] \placecontent doesn't place content after \chapter{}

2008-11-20 Thread Bart C. Wise
On Thursday 20 November 2008 03:05:20 pm Hans Hagen wrote: Bart C. Wise wrote: The code below displays the Contents chapter header; however, the table of contents is not shown. If I remove the \chapter{Contents}, then the table of contents is displayed. What's wrong? by default you

Re: [NTG-context] XeTeX, Adobe Garmond dash, quotes, etc.

2008-11-20 Thread Bart C. Wise
, script=latn, mapping=tex-text] Any more hints? Bart On Thursday 20 November 2008 09:44:05 pm Mojca Miklavec wrote: On Fri, Nov 21, 2008 at 5:14 AM, Bart C. Wise wrote: The code below is used to load the Adobe Garmond fonts. The problem is that quotes (``) produces two single quotes

Re: [NTG-context] XeTeX, Adobe Garmond dash, quotes, etc.

2008-11-21 Thread Bart C. Wise
November 2008 09:01:13 am Mojca Miklavec wrote: On Fri, Nov 21, 2008 at 6:40 AM, Bart C. Wise wrote: Mojca, Thanks for all you time in helping out. I'm still having problems. The \quote and \quotation work. However, as you pointed out, the en, em and apostrophe do not work. In addition

Re: [NTG-context] XeTeX, Adobe Garmond dash, quotes, etc.

2008-11-21 Thread Bart C. Wise
? Or is this something I'm doing wrong (and what)? Thanks once again, Bart On Friday 21 November 2008 10:00:14 am Mojca Miklavec wrote: On Fri, Nov 21, 2008 at 5:47 PM, Bart C. Wise wrote: I think the error I got was not having enough sleep :-) because I worked on it this morning and it's

Re: [NTG-context] XeTeX, Adobe Garmond dash, quotes, etc.

2008-11-21 Thread Bart C. Wise
On Friday 21 November 2008 11:11:39 am Wolfgang Schuster wrote: Am 21.11.2008 um 18:25 schrieb Bart C. Wise: Fontforge shows no ligatures for Adobe Garamond; however, it does show ligatures for the Tallys fonts. So that probably explains why there are no ligatures. However, the font

[NTG-context] startstandardmakeup and page numbering

2008-11-21 Thread Bart C. Wise
I use a standardmakeup to define a part page. However, when I do so, the page counter does not get incremented. Therefore, after every part, the page numbers are inaccurate. Is there a way to keep the page counter incrementing on a standardmakeup? Thanks, Bart

[NTG-context] Minimals \placefootnotes

2008-11-24 Thread Bart C. Wise
I have loaded the minimals packaging on my system. In running through some code I'm finding that \placefootnotes does not appear to be working (or at least it's different than MkII. With the minimals, the footnotes always appear at the bottom of the page, not where the \placefootnotes command

[NTG-context] Minimals, Linux OSFONTDIR

2008-11-24 Thread Bart C. Wise
I have more that two path for my fonts: - /usr/local/share/fonts -/usr/share/fonts When I do one path, it works fine; however, if I put two paths as follows: export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts it does not pick up the fonts in both directories. Admitedly, this is my

Re: [NTG-context] Minimals, Linux OSFONTDIR

2008-11-25 Thread Bart C. Wise
Taco, Thanks for the hint. It works! Bart On Tuesday 25 November 2008 12:20:01 am Taco Hoekwater wrote: Bart C. Wise wrote: I have more that two path for my fonts: - /usr/local/share/fonts -/usr/share/fonts When I do one path, it works fine; however, if I put two paths as follows

Re: [NTG-context] Minimals \placefootnotes

2008-11-25 Thread Bart C. Wise
Anyone have any thoughts? On Monday 24 November 2008 01:30:09 pm Bart C. Wise wrote: I have loaded the minimals packaging on my system. In running through some code I'm finding that \placefootnotes does not appear to be working (or at least it's different than MkII. With the minimals

Re: [NTG-context] Minimals, Linux OSFONTDIR

2008-11-25 Thread Bart C. Wise
On Tuesday 25 November 2008 03:48:29 am Khaled Hosny wrote: On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote: I have more that two path for my fonts: - /usr/local/share/fonts -/usr/share/fonts When I do one path, it works fine; however, if I put two paths as follows

Re: [NTG-context] Minimals, Linux OSFONTDIR

2008-11-25 Thread Bart C. Wise
On Tuesday 25 November 2008 06:45:23 am Khaled Hosny wrote: On Tue, Nov 25, 2008 at 06:24:51AM -0700, Bart C. Wise wrote: On Tuesday 25 November 2008 03:48:29 am Khaled Hosny wrote: On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote: I have more that two path for my fonts

[NTG-context] End Notes and Minimals

2008-11-25 Thread Bart C. Wise
I've tried several things to get end notes working with the Minimals distribution (MkIV). However, nothing seems to work and what worked for MkII does not work now. Is there a new method for getting end notes in MkIV? Thank, Bart

Re: [NTG-context] End Notes and Minimals

2008-11-25 Thread Bart C. Wise
\placenotes[endnote] \stoptext Help!! Bart On Tuesday 25 November 2008 06:57:58 am Bart C. Wise wrote: I've tried several things to get end notes working with the Minimals distribution (MkIV). However, nothing seems to work and what worked for MkII does not work now. Is there a new method

Re: [NTG-context] End Notes and Minimals

2008-11-26 Thread Bart C. Wise
Hans, What's the chances on getting this fixed? Or is there a stable branch somewhere that I can grab? Thanks! Bart On Tuesday 25 November 2008 11:47:38 am Wolfgang Schuster wrote: Am 25.11.2008 um 19:39 schrieb Bart C. Wise: Below are four different ways I've tried to get endnotes to work

Re: [NTG-context] End Notes and Minimals

2008-11-27 Thread Bart C. Wise
Hans, I tried the changes, but now footnotes do not appear at all! Here's a copy of the code that I used (combining both Hans' and Taco's changes -- although I tried several variants). local s = lpeg.Ct(lpeg.splitat(,)) local h = { } function commands.doifcommonelse(a,b) local ha =

Re: [NTG-context] End Notes and Minimals

2008-11-27 Thread Bart C. Wise
to product the end notes. Help! Bart On Thursday 27 November 2008 13:04, Wolfgang Schuster wrote: Am 27.11.2008 um 20:44 schrieb Bart C. Wise: Hans, I tried the changes, but now footnotes do not appear at all! Here's a copy of the code that I used (combining both Hans' and Taco's

Re: [NTG-context] End Notes and Minimals

2008-11-27 Thread Bart C. Wise
On Thursday 27 November 2008 14:00, Wolfgang Schuster wrote: Am 27.11.2008 um 21:43 schrieb Bart C. Wise: Thanks Wolfgang. I looked at Taco's diff file and changed the routines in syst-lua.lua. However, I followed you're lead and changed core-job.lua and it works! Yes the footnotes

[NTG-context] definepagebreak: problem at the end of front, body backmatter

2008-12-02 Thread Bart C. Wise
In the sample code below, I defined the document to be doublesided and that chapters should open on the right. If the chapter ends on an odd page, I want to leave the even page completely blank (no headers, footers, page numbers, etc.). The code below works except for the last chapter in the

[NTG-context] Centering an image in framed.

2008-12-02 Thread Bart C. Wise
I am using framed and externalfigure commands. I want to put a rule around the image; however, the image has space around all sides. It appears that the top, right, and left sides has the same gap. However, the bottom side has a huge (by comparison) gap. So I can't use a negative offset to

Re: [NTG-context] Centering an image in framed.

2008-12-02 Thread Bart C. Wise
On Wednesday 03 December 2008 12:23:05 am Bart C. Wise wrote: I am using framed and externalfigure commands. I want to put a rule around the image; however, the image has space around all sides. It appears that the top, right, and left sides has the same gap. However, the bottom side has

Re: [NTG-context] definepagebreak: problem at the end of front, body backmatter

2008-12-03 Thread Bart C. Wise
On Wednesday 03 December 2008 05:11:23 am Wolfgang Schuster wrote: Am 02.12.2008 um 15:43 schrieb Bart C. Wise: In the sample code below, I defined the document to be doublesided and that chapters should open on the right. If the chapter ends on an odd page, I want to leave the even

Re: [NTG-context] definepagebreak: problem at the end of front, body backmatter

2008-12-03 Thread Bart C. Wise
On Wednesday 03 December 2008 12:09:53 pm Wolfgang Schuster wrote: Am 03.12.2008 um 19:43 schrieb Bart C. Wise: You tried to enable doublesided documents with \setuplayout but the option location control the location of your document on the real paper, this option is usefull if you use

[NTG-context] Dangling lines.

2008-12-06 Thread Bart C. Wise
I created an Author's note (code below). It is designed to print out a note, skip a line, and then follow with the Author's signature. The problem I'm having is that ConTeXt will break the page just before the author's signature leaving it dangling on the next page. If I use a \vbox, that

Re: [NTG-context] Dangling lines.

2008-12-08 Thread Bart C. Wise
On Monday 08 December 2008 03:40:55 am Taco Hoekwater wrote: Bart C. Wise wrote: Is there a way to tell ConTeXt to treat the author's signature (the dangling line) as part of the previous paragraph? If \nobreak didn't work, then your paragraph wasn't ended yet, and you need an extra empty

Re: [NTG-context] Dangling lines.

2008-12-08 Thread Bart C. Wise
On Sunday 07 December 2008 03:56:11 am Taco Hoekwater wrote: Bart C. Wise wrote: I created an Author's note (code below). It is designed to print out a note, skip a line, and then follow with the Author's signature. The problem I'm having is that ConTeXt will break the page just before

[NTG-context] \recurselevel in a table

2008-12-08 Thread Bart C. Wise
I'm trying to get the \recurselevel in a table; however, every time it's called, the number returned is zero. How do I get the recurselevel? \starttext \bTABLE \bTR \dorecurse{3}{\bTD Cell: \recurselevel\eTD} \eTR \eTABLE \stoptext Bart

[NTG-context] Building tables at runtime via --mode= option

2008-12-09 Thread Bart C. Wise
I'm trying to build a table in a project that will be built based on a commandline parameter. Currently, I'd like to use the --mode= command. However, I've run into a number of snags that I have attempted to solve without any luck. I've included some sample code of what I would like to do.

[NTG-context] ! Extra \else error

2008-12-11 Thread Bart C. Wise
When I run the code below (via minimals), I get the following error, why? enter loop ! Extra \else. \@@plniterate ...\expandafter \@@plniterate \else \fi \myloop ...by 1 \ifnum \tempcnta #1\else \repeat

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Bart C. Wise
On Thursday 11 December 2008 07:17:51 am Hans Hagen wrote: Zhichu Chen wrote: Hi Bart On Thu, Dec 11, 2008 at 9:50 PM, Bart C. Wise [EMAIL PROTECTED] wrote: When I run the code below (via minimals), I get the following error, why? enter loop ! Extra \else. \@@plniterate

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Bart C. Wise
On Thursday 11 December 2008 07:05:05 am Zhichu Chen wrote: Hi Bart On Thu, Dec 11, 2008 at 9:50 PM, Bart C. Wise [EMAIL PROTECTED] wrote: When I run the code below (via minimals), I get the following error, why? enter loop ! Extra \else. \@@plniterate ...\expandafter

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Bart C. Wise
On Thursday 11 December 2008 07:29:15 am Zhichu Chen wrote: Hi Bart, On Thu, Dec 11, 2008 at 10:21 PM, Bart C. Wise [EMAIL PROTECTED] wrote: If I change the loop to be the following, I still get the same error: \def\myloop#1{% \tempcnta=\the\startcnt% \loop \advance \tempcnta

Re: [NTG-context] ! Extra \else error

2008-12-11 Thread Bart C. Wise
On Thursday 11 December 2008 08:28:40 am Zhichu Chen wrote: Hi Bart, On Thu, Dec 11, 2008 at 11:05 PM, Bart C. Wise [EMAIL PROTECTED] wrote: Chen, Thanks. That makes sense now. However, when I take your code and run it, it only goes through 1 iteration of the loop and exits. I'm

[NTG-context] Dynamic frame height

2008-12-15 Thread Bart C. Wise
I'm trying to create a section at the bottom of a page that has a number of blank lines for writing notes. However, I want the frame and the lines to be automatically generated from the remaining space on the page. How do I control the number of lines and the frame height to achieve the

Re: [NTG-context] Dynamic frame height

2008-12-15 Thread Bart C. Wise
Thanks Wolfgang! Bart On Monday 15 December 2008 04:48:03 pm Wolfgang Schuster wrote: Am 16.12.2008 um 00:29 schrieb Bart C. Wise: I'm trying to create a section at the bottom of a page that has a number of blank lines for writing notes. However, I want the frame and the lines

Re: [NTG-context] Framing the text area of a part page w/ tikz/pgf.

2009-01-14 Thread Bart C. Wise
On Wednesday 14 January 2009 11:21:02 am Wolfgang Schuster wrote: \defineframedtext    [partframed]    [width=\textwidth,     height=\textheight,     rulethickness=5pt,     top=\vfill,     bottom=\vfill\vfill] \setuphead    [part]    [before=\startpartframed,     after=\stoppartframed,

Re: [NTG-context] Framing the text area of a part page w/ tikz/pgf.

2009-01-14 Thread Bart C. Wise
On Wednesday 14 January 2009 12:03:51 pm Wolfgang Schuster wrote: Am 14.01.2009 um 19:42 schrieb Bart C. Wise: Ultimately I want to load an image and have it framed for the background on the part page. I like the ability that tikz gives me to adjust the opacity of the image, which is why I

Re: [NTG-context] TreatFirstLine: loss of spaces

2009-01-15 Thread Bart C. Wise
On Thursday 15 January 2009 10:44:07 am Wolfgang Schuster wrote: Am 15.01.2009 um 18:06 schrieb Bart C. Wise: The code below changes the first line. However, there are no spaces between words and therefore, the justification is also off. You can even leave the first parameter empty and you

Re: [NTG-context] TreatFirstLine: loss of spaces

2009-01-15 Thread Bart C. Wise
On Thursday 15 January 2009 12:18:20 pm Hans Hagen wrote: Bart C. Wise wrote: \TreatFirstLine {\sc} {} {} { } ^ space Your output looks great. However, with the code below, I still get no spaces on the first line. because (as i mentioned in the mail) you need to add a space

[NTG-context] t-lettrine - broken?

2009-01-16 Thread Bart C. Wise
A while back, there was a thread that was dealing with an Findent problem in the t-lettrine package (http://www.ntg.nl/pipermail/ntg- context/2005/009097.html). The problem was that the Findent was indenting the dropped-capital then indenting the first line of text. It should only indent from

[NTG-context] PDF Meta Tags

2009-01-19 Thread Bart C. Wise
I received the following message from a publisher: [The PDF generator] you used flattens the file such that is has no meta tags whatsoever. We need the tags that give page separations, page count, header info, etc. How do I get those meta tags enabled? Would setting \interaction[state=start]

Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread Bart C. Wise
On Tue January 20 2009 4:33:27 am luigi scarso wrote: On Tue, Jan 20, 2009 at 12:10 PM, Arthur Reutenauer arthur.reutena...@normalesup.org wrote: I call that BS: I've never heard of such meta tags for PDF giving the page count. The page count is in the root /Pages object per PDF

Re: [NTG-context] PDF Meta Tags

2009-01-20 Thread Bart C. Wise
On Tuesday 20 January 2009 08:19:04 am Arthur Reutenauer wrote: But he did say that his printing shop wants the ability to download just the header information from a pdf rather than the whole pdf file which may be up to 80 mbytes. OK.

Re: [NTG-context] PDF Meta Tags

2009-01-21 Thread Bart C. Wise
On Tue January 20 2009 7:06:58 am Henning Hraban Ramm wrote: 2009/1/20 Bart C. Wise bntgcont...@wiseguysweb.com: I talked to the publisher again and he said that he would send me the exact error message, but I have not received it yet. But he did say that his printing shop wants

Re: [NTG-context] Questions about tables

2009-01-22 Thread Bart C. Wise
On Wednesday 21 January 2009 06:16:36 pm Cecil Westerhof wrote: I have the following table: \starttable[|cp(.12\textwidth)|cp(.12\textwidth)|cp(.18\textwidth)|cp(.18\t extwidth)|cp(.12\textwidth)|cp(.12\textwidth)|cp(.12\textwidth)|] \HL \CL[darkyellow]\SR \VL Verwerkt \VL Datum \VL Km-stand

[NTG-context] New wiki

2009-01-23 Thread Bart C. Wise
Is the google search going to be moved to the new wiki? I found it to be an invaluable tool. Bart ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] Centering a defined text frame

2009-01-24 Thread Bart C. Wise
I'm trying to have a centered text frame. There are two examples in the code below. 1) This one works. It uses a text frame that is in line in the code. 2) This one does not work! It's using a defined text frame and flushes the text frame to the left. How do I fix this? Thanks, Bart

Re: [NTG-context] Centering a defined text frame

2009-01-24 Thread Bart C. Wise
] \dontleavehmode \CenteredText{ \startlines The quick brown fox jumps over the lazy dog. \stoplines} %\stopCenteredText Willi On Jan 24, 2009, at 3:30 PM, Bart C. Wise wrote: \defineframedtext[CenteredText][width=fit] \starttext % This one works! \startalignment

Re: [NTG-context] Centering a defined text frame

2009-01-26 Thread Bart C. Wise
On Mon January 26 2009 8:14:11 am Wolfgang Schuster wrote: Hi Bart, Is there a way to pass in my own defined parameters to such a function? I would like to be able to do something similar to the following: \startCenteredText[myownparm=This is a test] \startlines My own

[NTG-context] Dimensions

2009-01-26 Thread Bart C. Wise
How do I specify a dimension that is an arithmetic expression? For example, \framed[width=\textwidth-12pt]{} Thanks, Bart ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Centering a defined text frame

2009-01-26 Thread Bart C. Wise
On Mon January 26 2009 10:57:23 am Wolfgang Schuster wrote: Am 26.01.2009 um 17:51 schrieb Bart C. Wise: Thanks Wolfgang for the insight. Here is one that did exactly you wrote, nothing else. \defineframedtext[CenteredTextFrame][width=fit,location=middle] \def\startCenteredText

Re: [NTG-context] Dimensions

2009-01-26 Thread Bart C. Wise
On Mon January 26 2009 11:12:48 am Hans Hagen wrote: Bart C. Wise wrote: How do I specify a dimension that is an arithmetic expression? For example, \framed[width=\dimexpr\textwidth-12pt\relax]{} Thanks Hans. Bart

[NTG-context] Bug? thinrule in natural table MKIV

2009-02-05 Thread Bart C. Wise
I put a thinrule in a table as follows: \starttext \bTABLE \bTR\bTD\thinrule\eTD\eTR \eTABLE \stoptext It worked fine under MKII. However, when I switched to MKIV (both current and beta) I got the following error message: ! Missing { inserted. inserted text { to be read

[NTG-context] Remove leading spaces

2009-02-05 Thread Bart C. Wise
When a function is called, I would like to remove any leading space. Then the function can control the spacing. If I don't remove spaces, it then makes a difference whether or not I have a space before the function is called. I would like the output of the following two lines to be equal: