Re: [NTG-context] Define tex macro on the context command line

2009-11-12 Thread Hans Hagen
Aditya Mahajan wrote: On Wed, 11 Nov 2009, John Devereux wrote: Hi, Is it possible to define a tex macro on the context command line (MkII)? For example: texexec manual.tex --define Title X99 Operators Manual so that \Title would expand to the appropriate text? You can do that with

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Hans Hagen
Mojca Miklavec wrote: What are we talking about? Do you mean the old virtual fonts (.vf files) or mkiv's virtual fonts or something completely different? What You Don't Want To Know: a virtual font is just a regular font but has references to other fonts instead, like char 1 - font x,

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Mojca Miklavec
On Thu, Nov 12, 2009 at 10:42, Hans Hagen wrote: Mojca Miklavec wrote: What are we talking about? Do you mean the old virtual fonts (.vf files) or mkiv's virtual fonts or something completely different? What You Don't Want To Know: a virtual font is just a regular font but has references

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Mojca Miklavec
On Wed, Nov 11, 2009 at 17:57, Wolfgang Schuster wrote: Am 11.11.2009 um 17:37 schrieb Mojca Miklavec: Load the map file: \loadmapfile[original-youngryu-tx.map] Does that work for you (it doesn't here, but as I said ... I have very bad karma). txmi is not in that map file since txmi.vf is

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Hans Hagen
Mojca Miklavec wrote: I understand that, but I don't know how important is its own kerning and metrics. That is: I'm not sure if vf changes or adds some properties that are not present in original tfm files. we use a regular termes as base font so that comes with kerning, marh characters

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Hans Hagen
Mojca Miklavec wrote: On Wed, Nov 11, 2009 at 17:57, Wolfgang Schuster wrote: Am 11.11.2009 um 17:37 schrieb Mojca Miklavec: Load the map file: \loadmapfile[original-youngryu-tx.map] Does that work for you (it doesn't here, but as I said ... I have very bad karma). txmi is not in that map

[NTG-context] Drawing rectangles

2009-11-12 Thread Cecil Westerhof
I would like to make something like the folowing in ConTeXt (you need a monospaced font to see it correctly): +--+ | | |

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Vyatcheslav Yatskovsky
Hello, I could miss the point, but if the problem is in the map file (original-youngryu-tx.map), we can contact its creator: http://www.utdallas.edu/~ryoung/ Or it is mkiv core files that need to be fixed? And as a suggestion: it would be very handy to have a command like

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Mojca Miklavec
On Thu, Nov 12, 2009 at 15:19, Vyatcheslav Yatskovsky wrote: Hello I now get italic math (but roman h for example). So this needs to be fixed a bit, but it's the right direction at least. (Though it might be better to use generic names like regular or italic for name= in case that users try

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Mojca Miklavec
On Thu, Nov 12, 2009 at 15:25, Vyatcheslav Yatskovsky wrote: Hello, I could miss the point, but if the problem is in the map file (original-youngryu-tx.map), we can contact its creator: http://www.utdallas.edu/~ryoung/ No, the files are fine and they are not original any more anyway (I have

Re: [NTG-context] Drawing rectangles

2009-11-12 Thread Cecil Westerhof
2009/11/12 Cecil Westerhof cldwester...@gmail.com: I would like to make something like the folowing in ConTeXt (you need a monospaced font to see it correctly):                               +--+                               |                              |        

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Wolfgang Schuster
Am 12.11.2009 um 14:45 schrieb Mojca Miklavec: I now get italic math (but roman h for example). The 'h' is always upright because there is a bug in math-vfu and get the 'plant constant' instead of a normal h. Wolfgang

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Vyatcheslav Yatskovsky
Yes, I see.. If I could get these blue letters in math mode, I would be happy ) You can take a look at \starttext \loadmapfile[original-youngryu-tx.map] \font\testlm=lmmi10.tfm \font\testone=rtxmi.tfm \testone \font\testtwo=rtxptmri.tfm \testtwo \dostepwiserecurse{0}{127}{1}{%

[NTG-context] local footnote (Tables) problem

2009-11-12 Thread Bowen Alan C.
I am having a problem placing local footnotes in a table using\placelegend. The attached file will compile only if I comment out (a) header=2pc in \setuplayout or (b) \setupbodyfont[lmodern,rm,10.5pt] or (c) \placelegend or (d) \dorecurse{3}{\input knuth} I am stumped as to why this

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Taco Hoekwater
Vyatcheslav Yatskovsky wrote: Yes, I see.. If I could get these blue letters in math mode, I would be happy ) You can take a look at \starttext \loadmapfile[original-youngryu-tx.map] \font\testlm=lmmi10.tfm \font\testone=rtxmi.tfm \testone \font\testtwo=rtxptmri.tfm \testtwo

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Mojca Miklavec
On Thu, Nov 12, 2009 at 16:12, Vyatcheslav Yatskovsky wrote: Hell dear Mojca, Let me mention one thing, while it is not too late ) I use not Termes, but standard Window Times New Roman. And I'd prefer italic latin letters to be taken from it, not from Termes. That's why I mentioned that it

[NTG-context] Fwd: Re: Math setup with Times (Termes)

2009-11-12 Thread Vyatcheslav Yatskovsky
Hello dear Mojca, Let me mention one thing, while it is not too late ) I use not Termes, but standard Window Times New Roman. And I'd prefer italic latin letters to be taken from it, not from Termes. My working typescript: \starttypescript [serif] [TimesNR] \definefontsynonym [Serif]

Re: [NTG-context] Drawing rectangles

2009-11-12 Thread luigi scarso
On Thu, Nov 12, 2009 at 5:07 PM, Cecil Westerhof cldwester...@gmail.com wrote: Work like a charm. There is only one minor problem: where frame's touch eachother, the line is a little bit thicker. Is there something to be done about this? In this case I wanted everything to be centered, but is

Re: [NTG-context] Drawing rectangles

2009-11-12 Thread Cecil Westerhof
2009/11/12 Taco Hoekwater t...@elvenkind.com: But that is just a joke. Try this: \startTEXpage \setupalign[middle]\offinterlineskip \noindent \framed[width=4cm,height=2cm,offset=none]{} \noindent \dorecurse{2}{\framed[width=4cm,height=2cm,offset=none]{}} \noindent

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Hans Hagen
Mojca Miklavec wrote: (Thinking one step further ... one could take all the greek letters from TeX Gyre as well, though I'm not 100% sure ... it could be that there is some metric information present in these tfm files that's missing in otf fonts.) be careful with greek ... you never know if

[NTG-context] enabling pdftex's microtypographic features with variant old style figures

2009-11-12 Thread Oliver Heins
With the help of Patrick's otfinstall I've installed a font for use with pdftex/mark ii. this works fine so far, but i want to use the microtypographic features not only for the base font, but for the old style figures variant, too. \usetypescriptfile[type-corporate] \usetypescript[corporate]

[NTG-context] ragged right in a simplecolumns environment

2009-11-12 Thread Oliver Heins
How can I swith to ragged right in a simplecolumns environment? (I have to use it for some reasons.) \startsimplecolumns[n=4,align=right] does not work. TIA, olli -- Oliver Heins he...@sopos.orghttp://oliverheins.net/ http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8

Re: [NTG-context] Scite + non-global environbment variables

2009-11-12 Thread Wolfgang Hugemann
well, editor support is just a bonus i still have to upgrade the scite related files to the new minimals (we did some tests at the context conference with this; one problem is that one needs to adapt user specific files (in user space) on top of globally used setup files) Hans I finally

Re: [NTG-context] Scite + non-global environbment variables

2009-11-12 Thread Mari Voipio
Wolfgang Hugemann wrote: I seems to me that waiving global environment variables is something almost impossible for a beginner. I ran into a lot of errors obiously originating from unknown paths. I literally just found out that even though I had allowed the installer to set global

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Curiouslearn
No one wants to help on this? I would appreciate any help. Am I missing something too obvious? I tried some other options but they do not help. Thanks. On Wed, Nov 11, 2009 at 5:16 PM, Curiouslearn curiousle...@gmail.comwrote: Hello All, I have defined the following enumeration:

[NTG-context] Changing the formatting of Natural Tables

2009-11-12 Thread Curiouslearn
Hello, I am using natural tables to make tables in my document. Can someone please tell me how I can prevent context from applying features I choose for an earlier table to a table that appears later in the document. Following is an example of two tables. Even though I choose

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Wolfgang Schuster
Am 12.11.2009 um 22:18 schrieb Curiouslearn: No one wants to help on this? I would appreciate any help. Am I missing something too obvious? I tried some other options but they do not help. Since there is no complete working example I can't test it but you can add 'distance=\spaceamount' to

Re: [NTG-context] Changing the formatting of Natural Tables

2009-11-12 Thread Willi Egger
Hi, If you place the setups outside the bTABLE - eTABLE then the setup is global. You can put the setups after the bTABLE and then they are local to the table. Willi On Nov 12, 2009, at 10:21 PM, Curiouslearn wrote: Hello, I am using natural tables to make tables in my document. Can

Re: [NTG-context] Changing the formatting of Natural Tables

2009-11-12 Thread Wolfgang Schuster
Am 12.11.2009 um 22:21 schrieb Curiouslearn: Hello, I am using natural tables to make tables in my document. Can someone please tell me how I can prevent context from applying features I choose for an earlier table to a table that appears later in the document. Following is an example

Re: [NTG-context] Changing the formatting of Natural Tables

2009-11-12 Thread Wolfgang Schuster
Am 12.11.2009 um 22:31 schrieb Willi Egger: Hi, If you place the setups outside the bTABLE - eTABLE then the setup is global. You can put the setups after the bTABLE and then they are local to the table. Be careful with this because a few setup can't be done after \bTABLE like -

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Curiouslearn
Thanks Wolfgang. Here is a working example. The use of distance reduces the space if I put a negative number. But is there an option that gives a regular space as between any two words, or do I have to play with the negative distance number until I get the right value (which is fine, but just want

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Wolfgang Schuster
Am 12.11.2009 um 22:56 schrieb Curiouslearn: Thanks Wolfgang. Here is a working example. The use of distance reduces the space if I put a negative number. But is there an option that gives a regular space as between any two words, or do I have to play with the negative distance number

[NTG-context] A few questions

2009-11-12 Thread Vyatcheslav Yatskovsky
Hello, I have a few (I suppose easy) questions: 1) asking about this again and again... how to setup itemization so that the first line were indented too? 2) how to setup figure captions so that they include section number, like sectionNumber.figureNumber (no sub-sub-subsections)? 3) How

Re: [NTG-context] Math setup with Times (Termes)

2009-11-12 Thread Vyatcheslav Yatskovsky
Thank you everybody very much, esp. Mojca! You almost saved my life! ) In spite of previously said, I don't like mixing Termes with Times New Roman, because e.g. M in math looks rather like bold M in the text. But I made a hack which works for me: { name = timesi.ttf, vector =

[NTG-context] big with \setupfloat[figure][indentnext=yes]

2009-11-12 Thread Vyatcheslav Yatskovsky
Hello, I found a bug (?) with \setupfloat[figure][indentnext=yes] If I do Some Text \placefigure[middle]{}{...} Some Text then it's ok, but if Some Text \placefigure[inner]{}{...} Some Text then the next paragraph is NOT indented. It looks ugly, please, fix

[NTG-context] misprint in cont-eni manual

2009-11-12 Thread Vyatcheslav Yatskovsky
Hi, Looks like I found a misprint in cont-eni manual. On page 178, \setuphead[chapter][+1] should be \setupheadnumber[chapter][+1] Regards, Vyatcheslav ___ If your question is of interest to others as well, please

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Curiouslearn
Thanks Wolfgang. 'width=fit,distance=...' option does the trick. On Thu, Nov 12, 2009 at 5:03 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 12.11.2009 um 22:56 schrieb Curiouslearn: Thanks Wolfgang. Here is a working example. The use of distance reduces the space if I

Re: [NTG-context] Drawing rectangles

2009-11-12 Thread Cecil Westerhof
2009/11/12 luigi scarso luigi.sca...@gmail.com: In this case I wanted everything to be centered, but is it possible to define the point of the upper corner of a frame? see http://wiki.contextgarden.net/Framed I had allready looked there, but it has very little information. Not even the height

[NTG-context] How to know the text was to big

2009-11-12 Thread Cecil Westerhof
I want to create a pdf-document which has severall frames in which user supplied data has to be put. I have two questions about this: - How can I use parameters to fill the boxes? - When one or more of the supplied texts does not fit its frame the pdf document is 'corrupt'. How can I see that at