[NTG-context] TYPE 1 font

2010-11-11 Thread Herbert Voss
I have a pfb and tfm file of the DANTE font, which has only the five characters D,A,N,T,E However, this did not work \definefont[dante][dante at 16pt] \starttext \dante DANTE \stoptext When I create a afm file from the dante.pfb then everything is fine. Does ConTeXt always needs an afm-file for

Re: [NTG-context] TYPE 1 font

2010-11-11 Thread Hans Hagen
On 11-11-2010 9:16, Herbert Voss wrote: I have a pfb and tfm file of the DANTE font, which has only the five characters D,A,N,T,E However, this did not work \definefont[dante][dante at 16pt] \starttext \dante DANTE \stoptext When I create a afm file from the dante.pfb then everything is fine.

Re: [NTG-context] A pdf-file per XML-node

2010-11-11 Thread Hans Hagen
On 10-11-2010 11:04, Martin Schröder wrote: 2010/11/10 Daniel Grycmandaniel.gryc...@rub.de: For everyworker a separate pdf is needed. It would be also nice to have thename-entry as a file-name. Any ideas? We would have to extend luatex to allow the generation of multiple pdf files from one

Re: [NTG-context] A pdf-file per XML-node

2010-11-11 Thread Hans Hagen
On 10-11-2010 10:58, Daniel Grycman wrote: Hi list, |worker |surnamexxx/surname |namexxx/name |/worker |worker |surnamexxx/surname |namexxx/name |/worker |worker |surnamexxx/surname |namexxx/name |/worker |worker |surnamexxx/surname |namexxx/name |/worker For everyworker a separate pdf is

[NTG-context] [***SPAM***] Re: typescripts

2010-11-11 Thread Arthur Reutenauer
\definefontsynonym [Mono] [file:fvmr8a.pfb] \definefontsynonym [Mono] [file:fvmr8a.afm] For the same reason as Hans mentions in reply to Herbert, I guess. Arthur ___ If your question is of interest to

[NTG-context] Dotted leader in index entries

2010-11-11 Thread Duncan Hothersall
[Now with a proper example!] Hello all. I'm using Mk II. I need to set up dotted leaders between an index entry and its page number as show in this runnable sample: \def\Icmd#1{#1\dotfill} \setupregister[index][n=2,textcommand=\Icmd,distance=1em,alternative=A] \starttext \index{Example+This

Re: [NTG-context] typescripts

2010-11-11 Thread Mojca Miklavec
On Thu, Nov 11, 2010 at 06:20, Wolfgang Schuster wrote: Am 10.11.2010 um 21:28 schrieb Mojca Miklavec: You need something like this: \starttypescript [mono] [bera] [name]    \definefontsynonym [Mono] [file:fvmr8a.pfb] \definefontsynonym [Mono] [file:fvmr8a.afm] The file:*.pfb didn't

[NTG-context] Tikz figures not centred

2010-11-11 Thread Michael Murphy
Hi, I've been having some problems with tikz figures. When I define a new tikz figure, I normally put it in a buffer: \startbuffer[mypic] \starttikzfigure ... \stoptikzfigure \stopbuffer which I use later when I place the figure \placefigure{My

Re: [NTG-context] TYPE 1 font

2010-11-11 Thread Mojca Miklavec
2010/11/11 Herbert Voss wrote: I have a pfb and tfm file of the DANTE font, which has only the five characters D,A,N,T,E However, this did not work \definefont[dante][dante at 16pt] \starttext \dante DANTE \stoptext When I create a afm file from the dante.pfb then everything is fine.

Re: [NTG-context] Tikz figures not centred

2010-11-11 Thread Vedran Miletić
2010/11/11 Michael Murphy michael.mur...@uni-ulm.de Hi, I've been having some problems with tikz figures. When I define a new tikz figure, I normally put it in a buffer: \startbuffer[mypic] \starttikzfigure ... \stoptikzfigure \stopbuffer which I use later

Re: [NTG-context] typescripts

2010-11-11 Thread Hans Hagen
On 11-11-2010 12:03, Mojca Miklavec wrote: On Thu, Nov 11, 2010 at 06:20, Wolfgang Schuster wrote: Am 10.11.2010 um 21:28 schrieb Mojca Miklavec: You need something like this: \starttypescript [mono] [bera] [name] \definefontsynonym [Mono] [file:fvmr8a.pfb] \definefontsynonym [Mono]

Re: [NTG-context] \usepseudocaps (fwd)

2010-11-11 Thread Herbert Voss
On 8-11-2010 9:00, Herbert Voss wrote: Also from the documentation: systems : begin file latex5 at line 2 error: ...text/tex/texmf-context/tex/context/base/typo-cap.lua:100: attempt to call global 'copy_node' (a nil value) . system error on line 6 in file latex5.tex: ? ... 1 2

Re: [NTG-context] TYPE 1 font

2010-11-11 Thread Herbert Voss
Am 11.11.2010 12:10, schrieb Mojca Miklavec: 2010/11/11 Herbert Voss wrote: Does ConTeXt always needs an afm-file for the metrics of an type 1 font? And, of course, a map file? Shouldn't DANTE launch a pet project and convert the font to OpenType? (That should be 10-60 minutes of work for

Re: [NTG-context] TYPE 1 font

2010-11-11 Thread Hans Hagen
On 11-11-2010 12:59, Herbert Voss wrote: Am 11.11.2010 12:10, schrieb Mojca Miklavec: 2010/11/11 Herbert Voss wrote: Does ConTeXt always needs an afm-file for the metrics of an type 1 font? And, of course, a map file? Shouldn't DANTE launch a pet project and convert the font to OpenType?

Re: [NTG-context] Latest info for Correspondance module

2010-11-11 Thread Russell Urquhart
Sorry, please see attached file. BTW, here is the last part of the error that is generated. The toaddress works, however. correspondence : loading letter extension addrentry.nle (/Users/russ/context/tex/texmf-context/tex/context/third/letter/extension/addrentry.nle)) correspondence : letter

Re: [NTG-context] Latest info for Correspondance module

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 14:16 schrieb Russell Urquhart: Sorry, please see attached file. BTW, here is the last part of the error that is generated. The toaddress works, however. You need more \setupletter commands in your setup, what you currently write is \setupletter [..,..=..,..]

Re: [NTG-context] Latest info for Correspondance module

2010-11-11 Thread Russell Urquhart
Ah, that's it! Thanks, that did the trick. (I guess i misread the docs on this. I interpreted the command a different way!) Thanks, Russ ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] typescripts

2010-11-11 Thread Mojca Miklavec
The file:*.pfb didn't sound right to me either, but I misinterpreted from not-precise-enough reading that pfb worked. Thanks for correcting me. i can support that suffix too if needed You have to find both afm and pfb with the same name. So maybe it does make sense to also allow pfb. (pfb

Re: [NTG-context] Tikz figures not centred

2010-11-11 Thread Michael Murphy
On Thu, 2010-11-11 at 12:14 +0100, Vedran Miletić wrote: 2010/11/11 Michael Murphy michael.mur...@uni-ulm.de Hi, I've been having some problems with tikz figures. When I define a new tikz figure, I normally put it in a buffer:

[NTG-context] looking for fonts in a project's subdirectory

2010-11-11 Thread Vianney le Clément
Hi, In order for some projects (mkiv) to be self-contained, I want to put the used fonts inside the project directory. Putting them next to the .tex files works fine, but I would like to put them in a subdirectory, e.g., to have the following kind of structure: project/ fonts/

[NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
Hi there, I have s simple table like this: \starttext \starttable[|l|l|] \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext and like to have a light gray background for the heading row. I found

Re: [NTG-context] table background color in first row

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 19:44 schrieb Manfred Lotz: Hi there, I have s simple table like this: \starttext \starttable[|l|l|] \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext and like to

Re: [NTG-context] Tikz figures not centred

2010-11-11 Thread Aditya Mahajan
On Thu, 11 Nov 2010, Michael Murphy wrote: On Thu, 2010-11-11 at 12:14 +0100, Vedran Miletić wrote: 2010/11/11 Michael Murphy michael.mur...@uni-ulm.de Hi, I've been having some problems with tikz figures. When I define a new tikz figure, I normally put it in a

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
Hi Wolfgang, On Thu, 11 Nov 2010 20:13:22 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 11.11.2010 um 19:44 schrieb Manfred Lotz: Hi there, I have s simple table like this: \starttext \starttable[|l|l|] \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR

Re: [NTG-context] table background color in first row

2010-11-11 Thread Herbert Voss
Am 11.11.2010 20:13, schrieb Wolfgang Schuster: The \setupTABLE command for the natural tables environment, you can find a overview of the different environments on the wiki. Here is a example for a natural table: \starttext

Re: [NTG-context] table background color in first row

2010-11-11 Thread Hans Hagen
On 11-11-2010 8:42, Herbert Voss wrote: Am 11.11.2010 20:13, schrieb Wolfgang Schuster: The \setupTABLE command for the natural tables environment, you can find a overview of the different environments on the wiki. Here is a example for a natural table: \starttext

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
Hi Herbert, On Thu, 11 Nov 2010 20:42:17 +0100 Herbert Voss herbert.v...@fu-berlin.de wrote: \eTBALEhead there was a typo which I corrected: TBALE -- TABLE -- Manfred ___ If your question is of interest

Re: [NTG-context] table background color in first row

2010-11-11 Thread Herbert Voss
Am 11.11.2010 20:45, schrieb Hans Hagen: On 11-11-2010 8:42, Herbert Voss wrote: Am 11.11.2010 20:13, schrieb Wolfgang Schuster: The \setupTABLE command for the natural tables environment, you can find a overview of the different environments on the wiki. Here is a example for a natural

Re: [NTG-context] table background color in first row

2010-11-11 Thread Herbert Voss
Am 11.11.2010 20:40, schrieb Manfred Lotz: \starttext \setupTABLE[header][style=bold,background=color,backgroundcolor=gray] \bTABLE \bTABLEhead \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR \eTBALEhead \bTABLEbody \bTR \bTD cell 11 \eTD

Re: [NTG-context] table background color in first row

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 20:40 schrieb Manfred Lotz: Thanks for your example which works fine but raises some more questions: 1. Your example creates borders around each cell which I don't want to have. Any way to get rid of them? You can disable the border rules with „frame=off“. 2. It seems to

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
On Thu, 11 Nov 2010 20:56:48 +0100 Herbert Voss herbert.v...@fu-berlin.de wrote: [frame=off] We come closer. However, I like to have the horizontal line below the header row. -- Manfred ___ If your question

Re: [NTG-context] table background color in first row

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 21:01 schrieb Manfred Lotz: We come closer. However, I like to have the horizontal line below the header row. \bTABLE[frame=off] \bTR[bottomframe=on,...] \bTH Celheader 1 \eTH ... Wolfgang

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
On Thu, 11 Nov 2010 20:58:24 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 11.11.2010 um 20:40 schrieb Manfred Lotz: Thanks for your example which works fine but raises some more questions: 1. Your example creates borders around each cell which I don't want to

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
On Thu, 11 Nov 2010 21:01:52 +0100 Manfred Lotz manfred.l...@arcor.de wrote: On Thu, 11 Nov 2010 20:56:48 +0100 Herbert Voss herbert.v...@fu-berlin.de wrote: [frame=off] We come closer. However, I like to have the horizontal line below the header row. OK, I found it:

Re: [NTG-context] Animations (again, but different)

2010-11-11 Thread Erik Margraf
Thank's for your example! But I'm sorry to say, I didn't get it. When I run context on it, it results in a 2x2 matrix of pictures. Two of them show some reaction (change the color somewhat) when I click on them. (the cows don't). That's all. Maybe it has to with the following lines in the log

Re: [NTG-context] table background color in first row

2010-11-11 Thread Aditya Mahajan
This is mainly for completeness: On Thu, 11 Nov 2010, Manfred Lotz wrote: and like to have a light gray background for the heading row. \starttext \starttable[|l|l|] \BL[2] \SR % or % \CL[gray] \SR \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC

[NTG-context] Separate layout and content XML files?

2010-11-11 Thread Peter Davis
I want to process documents from two separate XML files. One XML file defines the layout of the page ... placement of text boxes, fonts to use ... even placeholder text. The other XML contains the actual content that gets placed into that layout. Is this possible? Anyone have any examples of

Re: [NTG-context] Separate layout and content XML files?

2010-11-11 Thread Aditya Mahajan
On Thu, 11 Nov 2010, Peter Davis wrote: I want to process documents from two separate XML files. One XML file defines the layout of the page ... placement of text boxes, fonts to use ... even placeholder text. The other XML contains the actual content that gets placed into that layout. You