Re: [NTG-context] \doifelse inside MP(code|graphic)

2008-11-18 Thread Taco Hoekwater
Aditya Mahajan wrote: Notice the first line of \ascii, and compare that with the definition of \doifelse. The command \!!stringa inside the definition of \doifelse gets expanded too soon. Is there any way to get this work, other than doing the comparison outside the MP code. Not with

Re: [NTG-context] context mkii bug: infinity loops

2008-11-18 Thread Taco Hoekwater
Yue Wang wrote: Hi, the following file make mkii run into infinity loops. after commenting the hz feature or the emdash definition, it will run normally. This will never work. The internal name of — is \emdash, so you get a loop of — - \emdash - — - \emdash etc. Best wishes, Taco

Re: [NTG-context] context mkii/mkiv bug: columnset lines dont work

2008-11-18 Thread Taco Hoekwater
Hi Yue, Yue Wang wrote: Hi, Hans: I think there is a bug in context. the last example in your columns.pdf doesn't work anymore. would you please have a look? For next time: can you please send a small test file with the report? It makes the message a bit longer, but having to cut and paste

Re: [NTG-context] \doifelse inside MP(code|graphic)

2008-11-18 Thread Hans Hagen
Taco Hoekwater wrote: Aditya Mahajan wrote: Notice the first line of \ascii, and compare that with the definition of \doifelse. The command \!!stringa inside the definition of \doifelse gets expanded too soon. Is there any way to get this work, other than doing the comparison outside the MP

Re: [NTG-context] context mkii/mkiv bug: columnset lines dont work

2008-11-18 Thread luigi scarso
On Tue, Nov 18, 2008 at 10:00 AM, Taco Hoekwater [EMAIL PROTECTED] wrote: Hi Yue, Yue Wang wrote: Hi, Hans: I think there is a bug in context. the last example in your columns.pdf doesn't work anymore. would you please have a look? For next time: can you please send a small test file

Re: [NTG-context] context mkii/mkiv bug: columnset lines dont work

2008-11-18 Thread Hans Hagen
luigi scarso wrote: On Tue, Nov 18, 2008 at 10:00 AM, Taco Hoekwater [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi Yue, Yue Wang wrote: Hi, Hans: I think there is a bug in context. the last example in your columns.pdf doesn't work

[NTG-context] how to make pagebreak for \setupstyping

2008-11-18 Thread Zhaopeng Xing
Hi, I am using the following setup to typeset very long codes. The problem is, it can only appear on one page. Can anybody help me to split the resulted codes onto several pages? Thanks. \setuptyping [before={\startframedtext[width=\makeupwidth, background=screen, backgroundscreen=.96,

[NTG-context] syntax highlighting problem with vim module

2008-11-18 Thread Shiv Shankar Dayal
Hi, If I have a product name xyz and I have following things set up. \usemodule[vim] \setuptyping[option=color] \definevimtyping [C] [syntax=c] then I have following .. \startC #include iostream using namespace std; \stopC . I get the error

Re: [NTG-context] bold small caps with latin modern

2008-11-18 Thread Peter Münster
On Tue, Nov 18 2008, Yue Wang wrote: you should apply a font feature to bold font. Oh! Cool! Thank you, Yue, you really help! :-D Cheers, Peter -- http://pmrb.free.fr/contact/ ___ If your question is of interest

Re: [NTG-context] how to make pagebreak for \setupstyping

2008-11-18 Thread Aditya Mahajan
On Tue, 18 Nov 2008, Zhaopeng Xing wrote: Hi, I am using the following setup to typeset very long codes. The problem is, it can only appear on one page. Can anybody help me to split the resulted codes onto several pages? Thanks. Use \start-stop textbackgrounds rather than framedtexts.

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-18 Thread Aditya Mahajan
On Tue, 18 Nov 2008, Shiv Shankar Dayal wrote: Hi, If I have a product name xyz and I have following things set up. \usemodule[vim] \setuptyping[option=color] \definevimtyping [C] [syntax=c] then I have following .. \startC #include iostream using

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 in

Re: [NTG-context] \doifelse inside MP(code|graphic)

2008-11-18 Thread Aditya Mahajan
On Tue, 18 Nov 2008, Hans Hagen wrote: Taco Hoekwater wrote: Aditya Mahajan wrote: Notice the first line of \ascii, and compare that with the definition of \doifelse. The command \!!stringa inside the definition of \doifelse gets expanded too soon. Is there any way to get this work, other

Re: [NTG-context] syntax highlighting problem with vim module

2008-11-18 Thread Shiv Shankar Dayal
Hi, I tried on both windows as well as on linux but I fail with the new module as well. The error being the same. I can't find file `xyz-vimsyntax.tmp-vimsyntax.tmp'. One thing I noticed that there is t-vim.tpm file. Where to put it? I have installed texlive 2008 in C\texlive on Windows and

[NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Michael Green
Using Wolfgang Schuster's wonderful letter module, I enter my signature with my name and title like so: \setupletter[signature={Michael Green \\ Assistant Professor of Philosophy}] This used to produce a line break between Green and Assistant so the output would look like this: Michael

Re: [NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Wolfgang Schuster
Am 18.11.2008 um 17:47 schrieb Michael Green: Using Wolfgang Schuster's wonderful letter module, I enter my signature with my name and title like so: \setupletter[signature={Michael Green \\ Assistant Professor of Philosophy}] This used to produce a line break between Green and Assistant

[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 Arthur Reutenauer
I've tried a couple of ways, using both the fontname and the family name, both with and without the ending semi-colons; however, it fails at compile time. Have you tried prepending name: to the font name, like I explained yesterday? Arthur

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] syntax highlighting problem with vim module

2008-11-18 Thread Aditya Mahajan
On Tue, 18 Nov 2008, Shiv Shankar Dayal wrote: Hi, I tried on both windows as well as on linux but I fail with the new module as well. The error being the same. I can't find file `xyz-vimsyntax.tmp-vimsyntax.tmp'. One thing I noticed that there is t-vim.tpm file. Where to put it? You do

Re: [NTG-context] XeTex Mara Font

2008-11-18 Thread Arthur Reutenauer
Is the colon at the end of the name a problem? No, the message says the problem is with the space character, but it is of little concern here (XeTeX doesn't use PostScript font names at all). Is it the font from http://www.perry.com/disney/indy/marafont.html? It seems to have quite a number

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

[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 Arthur Reutenauer
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 code is then put in lang-url.lua, which is input by

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] XeTex Mara Font

2008-11-18 Thread Arthur Reutenauer
One quick question (again expressing my ignorance). Why can't I take the code above and change it to the following: \definetypeface[Mara][rm][Xserif][MaraFontNFPlain] \starttext \startfont[Mara] This is a test. \stoptext I have no idea ... Does it really not work? Arthur

Re: [NTG-context] modifying URL wrapping rules

2008-11-18 Thread Arthur Reutenauer
OK... but I'm not sure what I would do differently if I'm not worrying about the \loadmarkfile mechanism... Still modify the lang-url.mkii file? Sure. I simply meant that you only needed to produce a single file, your modified lang-url.mkii, whereas if you wanted to develop for both MkII and

Re: [NTG-context] XeTex Mara Font

2008-11-18 Thread Wolfgang Schuster
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: \definetypeface[Mara][rm][Xserif][MaraFontNFPlain] \starttext \startfont[Mara] This is a test. \stoptext I have no

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:

Re: [NTG-context] letter module: no linebreak in signature

2008-11-18 Thread Michael Green
On Nov 18, 2008, at 10:46 AM, Wolfgang Schuster wrote: Am 18.11.2008 um 17:47 schrieb Michael Green: Using Wolfgang Schuster's wonderful letter module, I enter my signature with my name and title like so: \setupletter[signature={Michael Green \\ Assistant Professor of Philosophy}] This

Re: [NTG-context] context mkii bug: infinity loops

2008-11-18 Thread Yue Wang
Hi. Taco: This will never work. The internal name of — is \emdash, so you get a loop of — - \emdash - — - \emdash etc. Oh, I see. thanks for the detailed explanation! Yue Wang ___ If your question is of interest