[NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Lars Huttar
Hi all, I'm working with some code that was developed by someone else. The document I'm typesetting is now giving the following error: ! Missing number, treated as zero. to be read again \otr:1:27 \OTRSETdoifcellelse ...er #1:\number #2\endcsname

Re: [NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Lars Huttar
/Hans Hagen wrote (///Wed Dec 5 14:10:12 CET 2012/):/ On 12/5/2012 11:19 AM, Lars Huttar wrote: / Hi all, / /... / / // // % Abbreviations // \definestartstop //[abblist] //[before={\setupbackgrounds

Re: [NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-07 Thread Lars Huttar
In response to Hans Hagen and Wolfgang Schuster's messages of Dec. 5, Just to let you know, in response to your messages, I am working a small, self-contained example that reproduces the problem. However I have been asked to focus on a different project for a few days, so ... please don't

[NTG-context] Missing number, treated as zero error when using \definefont with \define'd dimension

2013-03-21 Thread Lars Huttar
Hello, I reported a Missing Number error back in December (thread at http://www.ntg.nl/pipermail/ntg-context/2012/070471.html) but got sidetracked on another issue before finding a resolution. Now I'm back to the Missing Number error, and I have a short example that reproduces it:

[NTG-context] Missing number error, related to setupcolumnsetlines

2013-04-18 Thread Lars Huttar
Hello, I've got a Missing number error, treated as zero. I've whittled the problem code down to this minimal example: \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes] \setupcolumnsetlines[abbcolumn][1][1][60] \setupcolumnsetlines[abbcolumn][1][2][60] \starttext

Re: [NTG-context] Missing number error, related to setupcolumnsetlines

2013-04-22 Thread Lars Huttar
On /Fri Apr 19 21:36:41 CEST 2013 /Hans Hagen wrote: On 4/18/2013 11:13 PM, Lars Huttar wrote: / \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes] // // \setupcolumnsetlines[abbcolumn][1][1][60] // \setupcolumnsetlines[abbcolumn][1][2][60] / the 60 exceeds the number

Re: [NTG-context] Missing number error, related to setupcolumnsetlines

2013-04-24 Thread Lars Huttar
On /Mon Apr 22 18:59:07 CEST 2013, Hans Hagen wrote: / On 4/22/2013 4:24 PM, Lars Huttar wrote: / On /Fri Apr 19 21:36:41 CEST 2013 /Hans Hagen wrote: // On 4/18/2013 11:13 PM, Lars Huttar wrote: // / \definecolumnset [abbcolumn] [n=2,distance=5mm,balancing=yes

[NTG-context] error: terminal: NOfTextColumns-1, ! Improper final value has been replaced by 0

2013-04-24 Thread Lars Huttar
Hello, I'm encountering the following error, under ConTeXt ver: 2012.05.30 11:26 MKIV fmt: 2013.3.11 int: english/english: system tex error on line 27 in file data/three-volume-book-book-1.tex: terminal: NOfTextColumns-1 ! Improper final value has been replaced by 0. to be read again

Re: [NTG-context] error: terminal: NOfTextColumns-1, ! Improper final value has been replaced by 0

2013-04-29 Thread Lars Huttar
On 4/26/2013, Hans Hagen wrote: On 4/24/2013 5:30 PM, Lars Huttar wrote: / ... / It took me a while to figure it out as NOfTextColumns is only used in very special cases and long gone from context (it dates from

[NTG-context] section headings on a grid: less space above?

2013-08-23 Thread Lars Huttar
Hello, I'm using mkii to typeset a document with grid layout. I'm trying to configure the formatting of the subsection headings. I have the following setuphead: \setuphead[subsection][number=no,style={\switchtobodyfont[SansB,\subheadersize]},grid=top] This works successfully in that the lines

Re: [NTG-context] section headings on a grid: less space above?

2013-08-23 Thread Lars Huttar
On 8/23/2013 11:26 AM, Lars Huttar wrote: Hello, I'm using mkii to typeset a document with grid layout. I'm trying to configure the formatting of the subsection headings. Here is a small, self-contained example showing what I'm talking about: \definecolumnset [twocol] [n=2,balancing=yes

Re: [NTG-context] section headings on a grid: less space above?

2013-08-24 Thread Lars Huttar
Marco wrote, On 2013–08–23 Lars Huttar wrote: / \setuphead[subsection][number=no,style=it,grid=top] / Add before={\blank[line]} Marco Thank you very much, that worked! Can you explain how it works? Does before= override the setting of grid=? Is before= at a lower level? Yet before

[NTG-context] flow text around graphic: lower right

2013-08-26 Thread Lars Huttar
Hi all, We have the small self-contained example below, in which text flows around a graphic. The graphic is aligned with the upper-left corner of the text paragraph (despite \setuphanging[location=right]). We would very much like to have the graphic align with the lower right corner of the

[NTG-context] bug? gap appears in columnset

2013-09-13 Thread Lars Huttar
Hello, We have a document where a gap occurs in a columnset under certain conditions. It seems to be a confluence of: - 2 sections, each with 2-column columnsets - \page[empty] between them - the 2nd section has a tighter interline space The problem is that on the first page of the second

Re: [NTG-context] bug? gap appears in columnset

2013-09-13 Thread Lars Huttar
do we actually change the interline spacing? Thanks again. Lars On 9/13/2013 4:07 PM, Lars Huttar wrote: Hello, We have a document where a gap occurs in a columnset under certain conditions. It seems to be a confluence of: - 2 sections, each with 2-column columnsets - \page[empty] between

Re: [NTG-context] bug? gap appears in columnset

2013-09-16 Thread Lars Huttar
to the other one. Regards, Lars On 9/13/2013 4:07 PM, Lars Huttar wrote: Hello, We have a document where a gap occurs in a columnset under certain conditions. ___ If your question is of interest to others as well

Re: [NTG-context] bug? gap appears in columnset

2013-09-16 Thread Lars Huttar
columns on p. 3, about 3/4 of the way down. Any suggestions for a workaround would be appreciated. Lars | On 9/16/2013 2:29 PM, Lars Huttar wrote: FYI, I have posted this question on http://tex.stackexchange.com/questions/133586/bug-unwanted-gap-in-2nd-columnset Marco and phg were able

Re: [NTG-context] bug? gap appears in columnset

2013-09-17 Thread Lars Huttar
Aditya wrote: Any particular reason you are using columnsets rather than \startcolumns or \startmixedcolumns. Columnsets are for specialized layout requirements, and in my experience, mixing columnsets with text that is not in columnsets is a bit tricky. Thanks for suggesting a potential

Re: [NTG-context] bug? gap appears in columnset

2013-09-17 Thread Lars Huttar
Hans wrote, Just wondering ... do you think that the first pages look ok? Thanks for your response. By look ok, are you referring to the closeness of the lines of text? It does seem kind of close, but within acceptable limits, depending on other constraints; however I'm not really the one to

Re: [NTG-context] bug? gap appears in columnset

2013-09-18 Thread Lars Huttar
Regarding sane interlinespace, Hans wrote, ok, but then, an interlinespace is normally around 1.2 times the bodyfontsize OK. That's helpful. But notice that in the following example, the interline space that causes the problem is in the *first* section (where htdp is 12pt and baselineskip is

Re: [NTG-context] bug? gap appears in columnset

2013-09-19 Thread Lars Huttar
Hans wrote, Columnsets are rather special and mostly meant for magazine like documents, where content can span columns, images are explicitly placed on the grid, etc. For that reason columnset soperate on a rather strict grid that gets setup based in the lineheight and although content can

[NTG-context] question about linespace adjustment

2013-09-24 Thread Lars Huttar
Hello, I'm working through the reference manual trying to understand how things work in regard to fonts. I'll be submitting clarifications and elaborations to the manual in an attempt to help other non-experts to grasp the design of ConTeXt. There's a point that's confusing to me in section 5.5,

Re: [NTG-context] question about linespace adjustment

2013-09-24 Thread Lars Huttar
Aditya wrote, Contrast {\switchtobodyfont[14pt] \input ward \endgraf} with {\tfc \input ward \endgraf} Thanks for your help. You've left me to draw my own conclusions from this example, so I'll say what I think this implies, and please correct me if I'm wrong. (Note to other

Re: [NTG-context] question about linespace adjustment

2013-09-24 Thread Lars Huttar
On 9/24/2013 12:01 PM, Lars Huttar wrote: Can you explain how/why the two ways of increasing the font size should have such different effects? (I have read section 5.8 and 5.9 about selecting bodyfonts and interlinespace but still don't get it.) \tfc is described as a font selector command

Re: [NTG-context] question about linespace adjustment

2013-09-24 Thread Lars Huttar
Luigi, Thanks for your reply. On 9/24/2013 2:18 PM, luigi scarso wrote: On Tue, Sep 24, 2013 at 7:45 PM, Lars Huttar lars_hut...@sil.org mailto:lars_hut...@sil.org wrote: Is it that \switchdobodyfont changes the *body* font, which engages the associated bodyfont environment

Re: [NTG-context] question about linespace adjustment

2013-09-25 Thread Lars Huttar
On 9/24/2013 5:25 PM, Aditya Mahajan wrote: On Tue, 24 Sep 2013, Lars Huttar wrote: environment), and the second category only affects the font (and I'm still not clear on how the body font differs from the current font). (Sorry for the terse replies...) {\switchtobodyfont[14pt] Text $math

Re: [NTG-context] question about linespace adjustment

2013-09-25 Thread Lars Huttar
Wolfgang, thanks for your response. On 9/25/2013 5:02 PM, Wolfgang Schuster wrote: You can’t expect from \tfa etc. to change the interlinespace because these commands can be used in your paragraphs to change the size of certain words only and in this case you don’t want a forced change of the

Re: [NTG-context] git or svn

2013-09-27 Thread Lars Huttar
On 9/27/2013 3:38 AM, Taco Hoekwater wrote: On Sep 27, 2013, at 9:01 AM, Peter Münster pmli...@free.fr wrote: On Fri, Sep 27 2013, Aditya Mahajan wrote: The last time I tried, merging multiple version in svn is a huge pain. One of the advantages of DVCS is that branching and merging are

Re: [NTG-context] git or svn

2013-09-27 Thread Lars Huttar
On 9/26/2013 9:10 PM, Aditya Mahajan wrote: Github seems to be the most popular DVCS hosting site at the moment. For manuals, I think that Github is particularly useful because you can click on edit and make the change. Github automatically creates a fork, a new branch, and pull request for

Re: [NTG-context] question about linespace adjustment

2013-09-27 Thread Lars Huttar
On 9/26/2013 3:47 PM, Wolfgang Schuster wrote: Am 25.09.2013 um 23:45 schrieb Lars Huttar lars_hut...@sil.org: Wolfgang, thanks for your response. On 9/25/2013 5:02 PM, Wolfgang Schuster wrote: You can’t expect from \tfa etc. to change the interlinespace because these commands can be used

Re: [NTG-context] Feedback wanted on a ConTeXt tutorial

2013-09-30 Thread Lars Huttar
On 9/29/2013 1:05 PM, Marco Patzer wrote: Some thoughts: 1.1.1 Unfortunately there’s no really easy way to install ConTEXt on Windows. I never installed ConTeXt on Windows, but if this is true this should definitely be fixed. According to

[NTG-context] What do \start and \stop mean?

2013-09-30 Thread Lars Huttar
I found \start and \stop referenced in the context reference manual (e.g. section 5.5). While \startXYZ - \stopXYZ pairs are discussed earlier, I can't find any place that \start and \stop (with no suffix) are described. They seem to be used like \bgroup and \egroup. Is that right? They are

Re: [NTG-context] What do \start and \stop mean?

2013-09-30 Thread Lars Huttar
On 9/30/2013 11:44 AM, Aditya Mahajan wrote: On Mon, 30 Sep 2013, Lars Huttar wrote: I found \start and \stop referenced in the context reference manual (e.g. section 5.5). While \startXYZ - \stopXYZ pairs are discussed earlier, I can't find any place that \start and \stop (with no suffix

Re: [NTG-context] question about linespace adjustment

2013-09-30 Thread Lars Huttar
On 9/26/2013 3:47 PM, Wolfgang Schuster wrote: You can use \switchtobodyfont to change the size for certain parts of a text but it’s best to keep this to a minimum because \tfa etc. are a lot faster. The reason why you don’t need \setupinterlinespace when you use \switchtobodyfont is that

[NTG-context] can't find file `core-swd'

2008-11-06 Thread Lars Huttar
Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv

Re: [NTG-context] can't find file `core-swd'

2008-11-06 Thread Lars Huttar
On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv

Re: [NTG-context] can't find file `core-swd'

2008-11-06 Thread Lars Huttar
On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir context cd context rsync -ptv

Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread Lars Huttar
On 11/6/2008 4:02 PM, Lars Huttar wrote: On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux, mac, freebsd, sun, ...) run: mkdir

Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread Lars Huttar
Wolfgang Schuster wrote: core-swd.tex is removed in the last beta and the old file was saved under the name core-swd.mkii Generate the formats with texexec --make --all and it should work. Wolfgang Thanks for taking the time to look into this... I tried the command you suggested and

Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread Lars Huttar
On 11/11/2008 1:32 PM, Lars Huttar wrote: On 11/6/2008 4:02 PM, Lars Huttar wrote: On 11/6/2008 3:49 PM, Lars Huttar wrote: Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions: On unix (linux

Re: [NTG-context] can't find file `core-swd'

2008-11-11 Thread Lars Huttar
On 11/11/2008 11:01 AM, Wolfgang Schuster wrote: Am 11.11.2008 um 17:20 schrieb Alan STONE: On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: core-swd.tex is removed in the last beta and the old file was saved under the name core-swd.mkii Generate the formats

Re: [NTG-context] can't find file `core-swd'

2008-11-18 Thread Lars Huttar
On 11/11/2008 5:06 PM, Wolfgang Schuster wrote: Am 11.11.2008 um 23:39 schrieb Lars Huttar: On 11/11/2008 11:01 AM, Wolfgang Schuster wrote: Am 11.11.2008 um 17:20 schrieb Alan STONE: On Thu, Nov 6, 2008 at 11:37 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: core-swd.tex is removed

[NTG-context] modifying URL wrapping rules

2008-11-18 Thread Lars Huttar
Hello, I would like to modify the rules for wrapping URLs (aka hyphenating URLs, but generally without inserting hyphens) to conform more closely to the Chicago Manual of Style, 15th ed. I've read on this list that the code for doing this is defined in the \hypthenatedurl There are several files

Re: [NTG-context] modifying URL wrapping rules

2008-11-18 Thread Lars Huttar
On 11/18/2008 3:44 PM, Arthur Reutenauer wrote: From what I can tell, the .tex file loads one of the other three: \loadmarkfile{lang-url} \loadmarkfile loads either lang-url.mkii or lang-url.mkiv, depending on the ConTeXt version you're running (MkII / MkIV). In Mark IV, the Lua

Re: [NTG-context] modifying URL wrapping rules

2008-11-19 Thread Lars Huttar
On 11/18/2008 3:44 PM, Arthur Reutenauer wrote: From what I can tell, the .tex file loads one of the other three: \loadmarkfile{lang-url} \loadmarkfile loads either lang-url.mkii or lang-url.mkiv, depending on the ConTeXt version you're running (MkII / MkIV). In Mark IV, the Lua

Re: [NTG-context] modifying URL wrapping rules

2008-11-19 Thread Lars Huttar
On 11/19/2008 2:35 PM, Lars Huttar wrote: However, I have a few unsolved problems here. 1) I don't see a way, with the '\sethyphenatedurlbefore' or 'after' mechanism, to tell it not to break a URL between two slashes, as in http://;. At first I thought that since our text only had a few

Re: [NTG-context] modifying URL wrapping rules

2008-11-20 Thread Lars Huttar
On 11/20/2008 2:29 AM, Hans Hagen wrote: Lars Huttar wrote: On 11/19/2008 2:35 PM, Lars Huttar wrote: However, I have a few unsolved problems here. 1) I don't see a way, with the '\sethyphenatedurlbefore' or 'after' mechanism, to tell it not to break a URL between two slashes, as in http

Re: [NTG-context] modifying URL wrapping rules

2008-11-20 Thread Lars Huttar
On 11/19/2008 2:35 PM, Lars Huttar wrote: 2) Even though I have \sethyphenatedurlafter / instead of \sethyphenatedurlbefore /, there are four cases where a URL is broken before a slash, e.g.: http://www.sil.org/.../009 /YAMBASSA.html. and no cases where a URL is broken after a slash (except

Re: [NTG-context] modifying URL wrapping rules

2008-11-21 Thread Lars Huttar
On 11/21/2008 2:22 AM, Hans Hagen wrote: Lars Huttar wrote: On 11/19/2008 2:35 PM, Lars Huttar wrote: 2) Even though I have \sethyphenatedurlafter / instead of \sethyphenatedurlbefore /, there are four cases where a URL is broken before a slash, e.g.: http://www.sil.org/.../009

Re: [NTG-context] modifying URL wrapping rules

2008-11-21 Thread Lars Huttar
On 11/21/2008 2:22 AM, Hans Hagen wrote: i leave it to others to react on the rest of your mail (some users have been tuning the mechanism too) Hans On 11/21/2008 9:45 AM, Steffen Wolfrum wrote: Am 21.11.2008 um 16:35 schrieb Lars Huttar: Hello, Did either of you, Aditya or Steffen

Re: [NTG-context] modifying URL wrapping rules

2008-11-21 Thread Lars Huttar
On 11/21/2008 12:01 PM, Lars Huttar wrote: So as far as we know, nobody has successfully used \sethyphenatedurlbefore/after/etc. to tune the url-breaking mechanism. Has anybody else on the list done this? If not, maybe the mkii implementation has never worked for that purpose... it's

Re: [NTG-context] modifying URL wrapping rules

2008-11-24 Thread Lars Huttar
On 11/21/2008 4:53 PM, Hans Hagen wrote: Mojca Miklavec wrote: hack hack hack hack I tried solutions with special patterns sveral times but the problem is in mixed languages, i.e. english text mixed with url-language; there are some limitations (in pdftex for instance the same

Re: [NTG-context] modifying URL wrapping rules

2008-11-24 Thread Lars Huttar
On 11/24/2008 8:45 AM, Hans Hagen wrote: Lars Huttar wrote: Also, I don't see a way to prevent breaking between two slashes... unless you treat them as part of a separate hbox: \hbox{http://}\ForMojcaWhoLikesHacks{www.sil.org/silesr/} which is not a big problem. it's no problem

[NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Lars Huttar
Hello, I've been reading through the TeXbook to solidify the foundations for TeX programming. In an exercise on roman and italic text, ConTeXt seems to behave differently from what the book specifies (Plain TEX) at a fairly fundamental level. Exercise 4.1 says, Explain how to typeset a roman

Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Lars Huttar
On 11/25/2008 3:21 PM, Lars Huttar wrote: When I put \show\rm in the .tex file to display the definition of the \rm macro, and run texexec, I get: \rm=\protected macro: -\setcurrentfontstyle {rm}. l.7 \show\rm By contrast, according to http://webpages.charter.net

Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Lars Huttar
On 11/25/2008 5:37 PM, Rory Molinari wrote: Lars Huttar wrote: Thanks for the explanation. I hope that when the manual is finished it will make this clearer. Currently, the draft chapter says As will be explained later, the command \rm is used to switch to a roman/serif/regular style

Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-25 Thread Lars Huttar
On 11/25/2008 10:15 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi, On Tue, 25 Nov 2008 14:29:09 -0700, Lars Huttar [EMAIL PROTECTED] wrote: P.S. The same TeX reference reports, Be careful, PlainTeX is a macropaackage, just as ConTeXt is. One must distinguish PlainTeX commands

Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-26 Thread Lars Huttar
On 11/26/2008 2:41 AM, Marcin Borkowski wrote: Dnia Tue, Nov 25, 2008 at 10:30:51PM -0600, Lars Huttar napisa#322;(a): It makes sense for italicness and serifity to be independently changeable. What's discouraging to me as a entrant to the whole TeX world (but an experienced programmer

Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-11-26 Thread Lars Huttar
On 11/26/2008 7:43 AM, Lars Huttar wrote: ... and the word regular in typography usually (as far as I can tell... please enlighten) means upright in contrast to italic. I now see that regular (apparently less often) can refer to weight: not bold or light. Still, the point remains. Lars

Re: [NTG-context] difference between TeX behavior and ConTeXt

2008-12-01 Thread Lars Huttar
On 11/27/2008 3:57 AM, Taco Hoekwater wrote: Lars Huttar wrote: something like this: switch to a serif style (if that's what \rm means in ConTeXt -- I still don't know for sure). \rm in ConTeXT means: switch to the internal style group named rm (and likewise for \ss - ss etc

[NTG-context] widow/orphan control in columns?

2008-12-02 Thread Lars Huttar
Hello, We have a document with a 2-column layout where we have section headers that keep ending up at the bottom of columns. E.g. \startsectionheading{2. Foo bar baz}\stopsectionheading where \startsectionheading is defined by: \definestartstop [sectionheading] [before={

Re: [NTG-context] widow/orphan control in columns?

2008-12-02 Thread Lars Huttar
On 12/2/2008 1:45 PM, Lars Huttar wrote: Hello, We have a document with a 2-column layout where we have section headers that keep ending up at the bottom of columns. ... I checked the manual [3] and command reference [4] but couldn't find information about \testpage

[NTG-context] how to get thick and thin borders working in tables (ConTeXt)

2008-12-09 Thread Lars Huttar
Hello, We are using ConTeXt (with XeTeX engine) to typeset some tables that have borders (rules) between cells. In the previous edition of the book (which was not done in TeX), some of the lines between table cells were double, others single. This was done to show grouping of columns and rows.

Re: [NTG-context] how to get thick and thin borders working in tables (ConTeXt)

2008-12-09 Thread Lars Huttar
On 12/9/2008 2:01 PM, Lars Huttar wrote: On 12/9/2008 12:04 PM, Wolfgang Schuster wrote: We applied your example to our document, and were able to get it working with thick and thin lines. Thanks very much! Now since you included double lines in your example, I've been aspiring to use

Re: [NTG-context] how to get thick and thin borders working in tables (ConTeXt)

2008-12-11 Thread Lars Huttar
On 12/10/2008 4:05 AM, Wolfgang Schuster wrote: On Wed, Dec 10, 2008 at 7:07 AM, Lars Huttar [EMAIL PROTECTED] wrote: ... However, when I try to mix double frames with single frames, I'm having trouble. Here is what I tried, in order to get a cell with double frame on the left, and single

Re: [NTG-context] how to get thick and thin borders working in tables (ConTeXt)

2008-12-11 Thread Lars Huttar
On 12/11/2008 3:24 PM, Wolfgang Schuster wrote: Am 11.12.2008 um 18:05 schrieb Lars Huttar: We center borders between the cells by using enlarged values -0.2 +/- k, i.e. center around -0.2. I'm not sure why -0.2 works better than zero, but it does... Doing this makes coincident border

[NTG-context] distributed / parallel TeX?

2008-12-15 Thread Lars Huttar
Hello, We've been using TeX to typeset a 1200-page book, and at that size, the time it takes to run becomes a big issue (especially with multiple passes... about 8 on average). It takes us anywhere from 80 minutes on our fastest machine, to 9 hours on our slowest laptop. So the question comes

Re: [NTG-context] distributed / parallel TeX?

2008-12-16 Thread Lars Huttar
On 12/16/2008 2:08 AM, Taco Hoekwater wrote: Hi Lars, Lars Huttar wrote: Hello, We've been using TeX to typeset a 1200-page book, and at that size, the time it takes to run becomes a big issue (especially with multiple passes... about 8 on average). It takes us anywhere from 80 minutes

Re: [NTG-context] distributed / parallel TeX?

2008-12-16 Thread Lars Huttar
On 12/16/2008 11:37 AM, Hans Hagen wrote: Lars Huttar wrote: We have close to 7000 mpgraphics, and they add about 15 minutes to the run time. most of them are the same so reusing them made sense But the run time was already quite long before we started using those. - define fonts

Re: [NTG-context] distributed / parallel TeX?

2008-12-16 Thread Lars Huttar
On 12/16/2008 3:31 PM, Martin Schröder wrote: 2008/12/16 Lars Huttar lars_hut...@sil.org: - You could design your document *specifically* to make the parts independent, so that the true and authoritative way to typeset them is to typeset the parts independently. (You can do this part now

Re: [NTG-context] distributed / parallel TeX?

2008-12-16 Thread Lars Huttar
On 12/16/2008 3:15 PM, luigi scarso wrote: On Tue, Dec 16, 2008 at 9:08 AM, Taco Hoekwater t...@elvenkind.com mailto:t...@elvenkind.com wrote: Hi Lars, Lars Huttar wrote: ... So the question comes up, can TeX runs take advantage of parallelized

Re: [NTG-context] distributed / parallel TeX?

2008-12-17 Thread Lars Huttar
Thanks, everybody, for the discussion on running TeX distributed / in parallel. I am much educated about the state of the art. :-) Summary ... - There is plenty of optimization that normally can be done. If a ConTeXt run is taking a really long time, chances are that something is not being done

[NTG-context] starting headings at top of column

2008-12-17 Thread Lars Huttar
Hello, I've started talking to people in charge about contributing some money to this mailing list, or the wiki, or something ... we're certainly getting a lot of help from it. Is there an org or project to contribute to? Anyway, my current challenge is this. We have a two-column layout using

[NTG-context] error when using uniqueMPgraphics

2008-12-22 Thread Lars Huttar
On 12/16/2008 1:28 PM, Lars Huttar wrote [Re: [NTG-context] distributed / parallel TeX?]: On 12/16/2008 11:37 AM, Hans Hagen wrote: Lars Huttar wrote: ... The advice I received said to define each mpgraphic using \startuseMPgraphic (we have about 18 of these), associate them with overlays

Re: [NTG-context] error when using uniqueMPgraphics

2008-12-22 Thread Lars Huttar
On 12/22/2008 9:48 PM, Lars Huttar wrote: On 12/16/2008 1:28 PM, Lars Huttar wrote [Re: [NTG-context] distributed / parallel TeX?]: On 12/16/2008 11:37 AM, Hans Hagen wrote: Lars Huttar wrote: ... The advice I received said to define each mpgraphic using \startuseMPgraphic (we have about 18

[NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
Hello, We have a situation where hyphenation is an issue, due to a 2-column layout where the columns are not very wide. We've done a lot of tweaking of settings for hyphenation and interword spacing, and the result seems pretty good. In particular, there are not many cases of consecutive lines

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
On 2/3/2009 1:29 PM, Hans Hagen wrote: Lars Huttar wrote: But the hyphenation is by nature somewhat volatile, so whenever we change something we would like to be able to easily recheck the hyphenation. And our book is over 1200 pages, so it would be very helpful to have tools to make

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
On 2/3/2009 2:22 PM, Hans Hagen wrote: Lars Huttar wrote: On 2/3/2009 1:29 PM, Hans Hagen wrote: Lars Huttar wrote: But the hyphenation is by nature somewhat volatile, so whenever we change something we would like to be able to easily recheck the hyphenation. And our book is over 1200

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
On 2/3/2009 4:27 PM, Hans Hagen wrote: Lars Huttar wrote: On 2/3/2009 3:53 PM, Martin Schröder wrote: 2009/2/3 Lars Huttar lars_hut...@sil.org: Does anyone know how to tell xdvipdfmx to enable commenting rights in the PDF it creates? Or how to add these rights afterwards, without Adobe

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
On 2/3/2009 3:53 PM, Martin Schröder wrote: 2009/2/3 Lars Huttar lars_hut...@sil.org: Does anyone know how to tell xdvipdfmx to enable commenting rights in the PDF it creates? Or how to add these rights afterwards, without Adobe Acrobat? This is not (legally) possible. http

Re: [NTG-context] tool for reviewing hyphenation

2009-02-04 Thread Lars Huttar
On 2/4/2009 3:10 AM, Alan BRASLAU wrote: On Tuesday 03 February 2009 22:53:08 Martin Schröder wrote: 2009/2/3 Lars Huttar lars_hut...@sil.org: Does anyone know how to tell xdvipdfmx to enable commenting rights in the PDF it creates? Or how to add these rights afterwards, without Adobe Acrobat

Re: [NTG-context] tool for reviewing hyphenation

2009-02-04 Thread Lars Huttar
On 2/4/2009 12:08 PM, Alan BRASLAU wrote: On Wednesday 04 February 2009 17:16:12 Lars Huttar wrote: Can you tell me where to find Okular for Windows? I read some rumors that it was available, but http://okular.kde.org/download.php only gives instructions for compiling Okular, using a bunch

Re: [NTG-context] Simplefonts

2013-10-14 Thread Lars Huttar
Hi Wolfgang, I'm doing an overhaul of font handling in our large project, and wondering whether I should switch to simplefonts at this point. Can you tell me, how mature is simplefonts? Is it ready for heavy-duty, complex production use? Also, is it superceding the standard ConTeXt font

[NTG-context] ConTeXt standalone - in what situations is it better?

2013-10-24 Thread Lars Huttar
Hello, I was looking into simplefonts (http://wiki.contextgarden.net/simplefonts) and noticed the clause if you’re running ConTeXt Standalone http://wiki.contextgarden.net/ConTeXt_Standalone (which is a better option) Well I'm using TeXLive, but am happy to take good advice, so I looked at

[NTG-context] installing a true-type font: can't find ttf2afm

2013-11-04 Thread Lars Huttar
Hi all, I'm following the instructions at http://wiki.contextgarden.net/Installing_a_TrueType_font,_step_by_step because I want to install a TTF (Gentium in fact) for ConTeXt to use. There is a warning that these instructions may be out of date, but I haven't found anything newer. This is under

Re: [NTG-context] installing a true-type font: can't find ttf2afm

2013-11-04 Thread Lars Huttar
On 11/4/2013 3:34 PM, Mojca Miklavec wrote: - you can find Gentium at http://www.ctan.org/pkg/gentium-tug (also in TeX Live and in the ConTeXt distribution) Thank you ... that was key information I didn't have. I was instead downloading the TTF files from sil.org. - Gentium works

Re: [NTG-context] installing a true-type font: can't find ttf2afm

2013-11-05 Thread Lars Huttar
On 11/4/2013 5:32 PM, Wolfgang Schuster wrote: Am 04.11.2013 um 22:56 schrieb Mojca Miklavec mojca.miklavec.li...@gmail.com: That TTF should work as well. The only difference is that you might need slightly different commands to set it up (there were recent changes/improvements in that,

Re: [NTG-context] installing a true-type font: can't find ttf2afm

2013-11-05 Thread Lars Huttar
On 11/5/2013 12:05 PM, Mojca Miklavec wrote: On Tue, Nov 5, 2013 at 5:08 PM, Lars Huttar wrote: On 11/4/2013 5:32 PM, Wolfgang Schuster wrote: Make your choice: \definefontfamily [gentium-basic] [serif] [Gentium Basic] \definefontfamily [gentium-book] [serif] [Gentium Book Basic

Re: [NTG-context] installing a true-type font: can't find ttf2afm

2013-11-05 Thread Lars Huttar
On 11/4/2013 4:56 PM, Mojca Miklavec wrote: On Mon, Nov 4, 2013 at 10:46 PM, Lars Huttar wrote: On 11/4/2013 3:34 PM, Mojca Miklavec wrote: - you can find Gentium at http://www.ctan.org/pkg/gentium-tug (also in TeX Live and in the ConTeXt distribution) Thank you ... that was key information I

[NTG-context] setting size for mainfont or sansfont in stable simplefonts

2013-11-06 Thread Lars Huttar
Hello, I'm using the simplefonts module from TeX Live 2013. (I can't use the new simplefonts for this production project, due to stability requirements.) I have the following, which works well for the most part: \setupbodyfontenvironment[default][em=italic] \usemodule[simplefonts][size=9.2pt]

Re: [NTG-context] setting size for mainfont or sansfont in stable simplefonts

2013-11-06 Thread Lars Huttar
On 11/6/2013 5:35 PM, Wolfgang Schuster wrote: Am 06.11.2013 um 23:27 schrieb Lars Huttar lars_hut...@sil.org: \setsansfont[Tex Gyre Heros][size=8pt] but it didn't seem to have any effect. \setsansfont[…][scale=0.95] Wolfgang Thanks for the quick response! Lars

[NTG-context] how to include sans, bold and size in \setuptab[headstyle=???]

2013-11-11 Thread Lars Huttar
Hello, I have the following MWE: \starttext \setuptab[headstyle=ssbfb] \tab{foo} \input knuth \par \stoptext Here, the headstyle specifies a sans font with boldface style, at 1.44 times the current bodyfont size. However, I want to be able to specify an absolute point size, instead of a

Re: [NTG-context] how to include sans, bold and size in \setuptab[headstyle=???]

2013-11-11 Thread Lars Huttar
On 11/11/2013 12:27 PM, Wolfgang Schuster wrote: Lars Huttar mailto:lars_hut...@sil.org 11. November 2013 18:00 I finally tried \setuptab[headstyle={\ssbf \switchtobodyfont[18pt]}] and that works! But it seems clunky: it looks like it requires two font switches, which I'm told makes things

[NTG-context] syntax for \definesimplefont in TeX Live version of simplefonts

2013-11-14 Thread Lars Huttar
Hello, We are using simplefonts, the version included with TeX Live 2013. As mentioned in another email, we don't have the freedom to experiment with potentially unstable versions. I've been reading http://wiki.contextgarden.net/simplefonts and have it working well so far with the mainfont,

Re: [NTG-context] syntax for \definesimplefont in TeX Live version of simplefonts

2013-11-14 Thread Lars Huttar
On 11/14/2013 11:35 AM, Aditya Mahajan wrote: On Thu, 14 Nov 2013, Lars Huttar wrote: I tried \definesimplefont[titleface][Gentium Basic] ... \setupbodyfont[titleface] So I'm guessing that the \definesimplefont line is correct, but I just don't know how to use the defined font

Re: [NTG-context] syntax for \definesimplefont in TeX Live version of simplefonts

2013-11-14 Thread Lars Huttar
On 11/14/2013 11:31 AM, Wolfgang Schuster wrote: Am 14.11.2013 um 16:42 schrieb Lars Huttar lars_hut...@sil.org: Hello, We are using simplefonts, the version included with TeX Live 2013. As mentioned in another email, we don't have the freedom to experiment with potentially unstable versions

[NTG-context] simplefonts: defining a fallback for a non-main font

2013-11-14 Thread Lars Huttar
Hi again, I'm using simplefonts (TeX Live 2013 version) and I have a main font: \setmainfont[Gentium Book Basic] and I can set a fallback for it, \setmainfontfallback[Gentium Plus][range={ipaextensions}, force=yes, rscale=auto] and that works. But then I have another font for the title:

Re: [NTG-context] simplefonts: defining a fallback for a non-main font

2013-11-14 Thread Lars Huttar
On 11/14/2013 5:06 PM, Wolfgang Schuster wrote: There is no support for this with the old version of the module. OK, good to know. Thanks. Lars ___ If your question is of interest to others as well, please add an

Re: [NTG-context] simplefonts: defining a fallback for a non-main font

2013-11-15 Thread Lars Huttar
On 11/14/2013 5:06 PM, Wolfgang Schuster wrote: Am 14.11.2013 um 22:52 schrieb Lars Huttar lars_hut...@sil.org: ... But then I have another font for the title: \definesimplefont[titleface][Gentium Basic][size=40pt] How do I set a fallback for it? ... There is no support

Re: [NTG-context] simplefonts: defining a fallback for a non-main font

2013-11-15 Thread Lars Huttar
On 11/15/2013 11:50 AM, Aditya Mahajan wrote: Just a minor improvement: On Fri, 15 Nov 2013, Lars Huttar wrote: % Temporarily change the main font, while keeping the main font fallback: { \setmainfont[\titlefont] \switchtobodyfont[40pt] Title with a fancy ɠlyph } Make that {\setmainfont

  1   2   >