Re: [NTG-context] Scite-syntax-highlighting (solved)

2011-11-01 Thread Jan Heinen
Hello, problem solved! 1. I made a new installation of Scite 2. put the lexer from scintillua into the scite-rootdirectory (including the directoryname /lexer/) 3. and then the lexer from my context-installation And now highlighting works :-) Regards Jannis

[NTG-context] color and textext

2011-11-01 Thread Meer, H. van der
After some struggling with text colouring in metafun I finally encountered on the wiki: Another difference is the way text is handled in mkiv. In particular, color (withcolor) is not applied to metapost text. For example, draw thelabel(decimal i, (i, 0) scaled 1cm) withcolor red ; currently

Re: [NTG-context] xtreme tables repeating header

2011-11-01 Thread Patrick Gundlach
Hello, any news on this subject? Thanks! Patrick Am 29.10.2011 um 12:41 schrieb Patrick Gundlach: Hi, I can't get the repeating header to work with the new extreme tables (the new column A should be on the second page). What is the error here? Thanks Patrick

Re: [NTG-context] xtreme tables repeating header

2011-11-01 Thread Hans Hagen
On 1-11-2011 13:54, Patrick Gundlach wrote: Hello, any news on this subject? Thanks! later, busy and away now Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] xtreme tables repeating header

2011-11-01 Thread Hans Hagen
On 29-10-2011 12:41, Patrick Gundlach wrote: \setuppapersize [a5][a5] \starttext \setupxtable [width=.5\textwidth, split=yes, header=repeat, footer=repeat] \startxtable \startxtablehead \startxrow \startxcell Column A \stopxcell \startxcell Column B \stopxcell

[NTG-context] adjusting accents under slant

2011-11-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear Hans and gang, I got this working in mkii -- using other macros --, but mkiv is frustrating me: == %% Hans' bottom accent code \unprotect \unexpanded\def\bottomaccent#1#2#3#4#5% down right slantcorrection accent char {\dontleavehmode % why this align mess

[NTG-context] ConvertToConteXt - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Jan Heinen
Hello, I am just programming a catalog which should be printed. I have a lot of data, text and pictures in a MySQL-database and want to generate a nice catalog with ConTeXt. To get the data from MySQL to ConTeXt I use PHP as an Interface: MySQL - PHP - ConTeXt And lot's of ConTeXt-macros

Re: [NTG-context] ConvertToConteXt - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Peter Münster
On Tue, Nov 01 2011, Jan Heinen wrote: $xstring = str_replace ( !, \\char33, $xstring ); // Why is ! special in ConTeXt? (same question applies for many other characters) With \asciimode there is probably only one character to convert: \ (and the sequence %%, that should be quite rare) --

Re: [NTG-context] ConvertToConteXt - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Aditya Mahajan
On Tue, 1 Nov 2011, Jan Heinen wrote: Hello, I am just programming a catalog which should be printed. I have a lot of data, text and pictures in a MySQL-database and want to generate a nice catalog with ConTeXt. To get the data from MySQL to ConTeXt I use PHP as an Interface: MySQL - PHP -

Re: [NTG-context] ConvertToConteXt - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Philipp Gesang
Good evening, Jannis! On 2011-11-01 17:16, Jan Heinen wrote: Today I wrote the function ConvertToConteXt which converts special ConTeXt-characters. You can see it below. The data necessary for converting HTML entities is already in Context, have a look at “char-ent.lua” if you are interested.

[NTG-context] reference bug: MkiV

2011-11-01 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear cabal, There seems to be a bug in MkIV: \starttext This is a test \inoutermargin[ref]{test} As explained earlier (page \at[ref]) This is a test \inoutermargin[reference=reff]{test} As explained earlier (page \at[reff]) \stoptext The reference is not generated

Re: [NTG-context] reference bug: MkiV

2011-11-01 Thread Wolfgang Schuster
Am 01.11.2011 um 19:47 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear cabal, There seems to be a bug in MkIV: \starttext This is a test \inoutermargin[ref]{test} As explained earlier (page \at[ref]) This is a test \inoutermargin[reference=reff]{test} As

[NTG-context] ConvertToConteXt 0.2 - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Jan Heinen
At first: I am ConTeXt-newby and know PHP very well. @Peter Münster/Aditya Mahajan : I think \startasci and \stopasci is not the solution, when you generate ConTeXt-code with php full of ConTeXt-macro-calls: because sometimes the special-characters are ConTeXt-special-characters and

Re: [NTG-context] reference bug: MkiV

2011-11-01 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 01 Nov 2011 12:59:41 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: The reference is not generated in either method: ===log== checkmissing or ungrouped '=' after 'ref' in line 2 (@@mcinoutermargin:) references unknown reference

Re: [NTG-context] reference bug: MkiV

2011-11-01 Thread Wolfgang Schuster
Am 01.11.2011 um 20:20 schrieb Idris Samawi Hamid ادريس سماوي حامد: On Tue, 01 Nov 2011 12:59:41 -0600, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: The reference is not generated in either method: ===log== checkmissing or ungrouped '=' after

Re: [NTG-context] ConvertToConteXt 0.2 - convert special ConTeXt-characters (PHP)

2011-11-01 Thread Philipp Gesang
On 2011-11-01 20:16, Jan Heinen wrote: @all: of course not every Character, i am converting, is a ConTeXt-special-character. Though I don't know all important characters I took all I could imagine. Shurly I converted too much however it is no problem: Which character must not be converted?

[NTG-context] macro string in metapost

2011-11-01 Thread Meer, H. van der
The goal is to make the following string in metapost: string s; where s must become \MPcolor{Blue}. and ultimately execute this at the right moment with: scantokens s; The following makes s = MPcolor{Blue}: s := MPcolor char oct134 char oct173 Blue char oct134 char oct175; But I seem