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
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:
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
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!
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
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
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
]
\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
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 :
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
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
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
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.
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]
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
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
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
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,
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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 =
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
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
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
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
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
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
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
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
\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
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
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
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
? 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
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
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
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
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
, 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
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
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
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
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
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
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
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:
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]
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]
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
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
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
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
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
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
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
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
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
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
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
74 matches
Mail list logo