Re: [NTG-context] Bug in symb-ini.mkiv?

2012-01-15 Thread Otared Kavian
Hi Wolfgang, Combing through various setups and definitions of my document, finally I could find the culprit: the error message was due to the change in the way \color should be used now. Changing all over \color[darkred] (for instance) with \startcolor[darkred]…\stopcolor, fixed the error

Re: [NTG-context] Undefined controle sequence with usemodule[simpleslides]

2012-01-04 Thread Aditya Mahajan
) withcolor \MPcolor\simpleslidesGridColor ; label.bot(textext(\switchtobodyfont[9pt]\startcolor[simpleslides:textcolor] decimal i \stopcolor), (i/10*OverlayWidth, 0)) ; label.top(textext(\switchtobodyfont[9pt]\startcolor[simpleslides:textcolor

Re: [NTG-context] transparent text in \framed

2011-10-08 Thread Hans Hagen
2011.10.05 23:53, LuaTeX, Version beta-0.70.1-2011051907 (rev 4277). use \startcolor ... \starttextcolor is meant for whole documents (and actually can go away in mkiv as we have a setup command

Re: [NTG-context] transparent text in \framed

2011-10-08 Thread Peter Rolf
file is attached. Tested with beta from 2011.10.05 23:53, LuaTeX, Version beta-0.70.1-2011051907 (rev 4277). use \startcolor ... \starttextcolor is meant for whole documents (and actually can go away in mkiv as we have a setup command) Will do so. Thanks for the info. Peter

Re: [NTG-context] MKIV strange results in Adobe Reader

2011-09-11 Thread Otso Helenius
6cm; \stopreusableMPgraphic \starttext \startcolor[white] \title{metafun} \includeMPgraphic{variympyrat} \title{svg} \externalfigure[variympyrat.svg] \title{png} \externalfigure[variympyrat.png] \stoptext and here is the output: https://pi-xi.net/share/context_reader_test.png https://pi-xi.net/share

[NTG-context] Document title (was: (no subject))

2011-09-10 Thread Wolfgang Schuster
]\getvariable{exam}{title}} \blank \getvariable{exam}{course} \stopframedtext \blank[big] \startcolor[colortwo] \doifelsevariable{exam}{date}{\expanded{\date[\getvariable{exam}{date}]}}{\currentdate} \hfill Start: \getvariable{exam}{start

[NTG-context] Text Colour

2011-08-30 Thread Kip Warner
Hey folks, How do I set the body text foreground colour? I tried the following, but it just ignored it: \definecolor[colour_text][r=0.754,g=0.516,b=0.324] \setupbodyfontenvironment [default] [em=italic, color=colour_text] I don't want to have to use \startcolor and \stopcolor every time

Re: [NTG-context] Text Colour

2011-08-30 Thread Alasdair McAndrew
=0.324] \setupbodyfontenvironment [default] [em=italic, color=colour_text] I don't want to have to use \startcolor and \stopcolor every time I wish this default to be applied. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com

Re: [NTG-context] Text Colour

2011-08-30 Thread Wolfgang Schuster
want to have to use \startcolor and \stopcolor every time I wish this default to be applied. \setupcolors[textcolor=...] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Text Colour

2011-08-30 Thread Aditya Mahajan
to use \startcolor and \stopcolor every time I wish this default to be applied. \definehighlight[emph][style=em,color=red] \emph{...} Aditya ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Text Colour

2011-08-30 Thread Alasdair McAndrew
\startcolor and \stopcolor every time I wish this default to be applied. \definehighlight[emph][style=**em,color=red] \emph{...} Aditya __**__** ___ If your question is of interest to others as well, please add

Re: [NTG-context] LinearShade trouble

2011-03-30 Thread Kumar Appaiah
\setuppapersize[S6][S6] \setuppagenumbering[state=stop] \switchtobodyfont[modern,20pt] \setupcolors[state=start] \setupbackgrounds[page][background=color,backgroundcolor=darkblue] \startcolor[white] \setuptolerance[verytolerant,stretch] \definecolor[a][r=0,g=0,b=1] \definecolor[b][r=0,g=0,b=0.05

Re: [NTG-context] Putting citations in an e-book

2011-03-08 Thread Cecil Westerhof
\startframedtext[right][frame=off,align=flushright,offset=none,width=fit]% \startcolor[darkgreen]#2\stopcolor \blank{\it – #1}% \stopframedtext \blank} For one reason or another \par gave: Paragraph ended before \complexdefine was complete. I also put a color on the citation itself. I

Re: [NTG-context] Putting citations in an e-book

2011-03-08 Thread Cecil Westerhof
[middle] \startcolor[darkgreen]#2\stopcolor \stopalignment \startalignment[flushright] {\it #1}% \stopalignment \stopframedtext \blank } I think it does not look bad. But I have to let it grow on me. -- Cecil Westerhof

Re: [NTG-context] Putting citations in an e-book

2011-03-08 Thread Wolfgang Schuster
][frame=off,offset=none,width=fit]% \startalignment[middle] \startcolor[darkgreen]#2\stopcolor \stopalignment \startalignment[flushright] {\it #1}% \stopalignment \stopframedtext \blank } I think it does not look bad. But I have to let it grow on me. \define[2]\epigraph

Re: [NTG-context] Putting citations in an e-book

2011-03-08 Thread Cecil Westerhof
2011/3/8 Wolfgang Schuster schuster.wolfg...@googlemail.com I made it: \define[2]\epigraph{ \blank \startframedtext[middle][frame=off,offset=none,width=fit]% \startalignment[middle] \startcolor[darkgreen]#2\stopcolor \stopalignment \startalignment[flushright] {\it #1

Re: [NTG-context] Speech bubbles

2011-02-03 Thread Wolfgang Schuster
=color, backgroundcolor=darkblue, foreground=color, foregroundcolor=white, frame=off,corner=0,backgroundoffset=5pt,] {#1} ~~~ \tfd \startcolor[darkblue]{'} \stopcolor \tfa \blank} Called with things like: \speechBubble {They could be above or below the frequency we can hear, so called

Re: [NTG-context] Speech bubbles

2011-02-03 Thread Ian Lawrence
=force,align={flushleft}, background=color, backgroundcolor=darkblue, foreground=color, foregroundcolor=white, frame=off,corner=0,backgroundoffset=5pt,] {#1} ~~~ \tfd \startcolor[darkblue]{'} \stopcolor \tfa \blank} Called with things like: \speechBubble {They could be above or below

[NTG-context] Speech bubbles

2011-02-02 Thread Ian Lawrence
, foregroundcolor=white, frame=off,corner=0,backgroundoffset=5pt,] {#1} ~~~ \tfd \startcolor[darkblue]{'} \stopcolor \tfa \blank} Called with things like: \speechBubble {They could be above or below the frequency we can hear, so called infra-sound or ultra-sound, or the amplitude could be just too

[NTG-context] Bug against minimals

2010-12-16 Thread Xan
tal que \startcolor[middlered]\underbars{la cinquena part d'aquest nombre}\stopcolor\ menys tres és igual al \processwords{doble del nombre} més \setupunderbar[alternative=a,rulecolor=middlegreen,rulethickness=2pt]\startcolor[red]\underbars{aquest mateix nombre}\stopcolor \stopframedtext} \eTD

Re: [NTG-context] next space (problematic example!)

2010-12-04 Thread Steffen Wolfrum
Wolfgang Schuster: Am 29.11.2010 um 10:29 schrieb Steffen Wolfrum: Hi, please have a look at this: \definestartstop[redimportant][before={\startcolor[red]\bf\penalty1\hskip\zeropoint},after={\/\stopcolor}] \definestartstop [redimportant] [style=bold, color=red, after

Re: [NTG-context] next space (problematic example!)

2010-12-03 Thread Steffen Wolfrum
Am 29.11.2010 um 14:39 schrieb Wolfgang Schuster: Am 29.11.2010 um 10:29 schrieb Steffen Wolfrum: Hi, please have a look at this: \definestartstop[redimportant][before={\startcolor[red]\bf\penalty1\hskip\zeropoint},after={\/\stopcolor}] \definestartstop [redimportant

[NTG-context] next space

2010-11-29 Thread Steffen Wolfrum
Hi, please have a look at this: \definestartstop[redimportant][before={\startcolor[red]\bf\penalty1\hskip\zeropoint},after={\/\stopcolor}] \starttext This is normal, but this\startredimportant one\startfootnote at least \stopfootnote is bold\stopredimportant style. This is normal

Re: [NTG-context] next space

2010-11-29 Thread Wolfgang Schuster
Am 29.11.2010 um 10:29 schrieb Steffen Wolfrum: Hi, please have a look at this: \definestartstop[redimportant][before={\startcolor[red]\bf\penalty1\hskip\zeropoint},after={\/\stopcolor}] \definestartstop [redimportant] [style=bold, color=red, after=\autoinsertnextspace

Re: [NTG-context] pagenumbers in metafun

2010-09-28 Thread Thomas A. Schmitz
; label.bot(textext(\switchtobodyfont[30pt]\startcolor[orange] decimal PageNumber \stopcolor\ -- \startcolor[darkblue] decimal NOfPages \stopcolor), z[1]) ; StopPage ; \stopuseMPgraphic \defineoverlay [pageback] [\useMPgraphic{back}] \setupbackgrounds[page][background=pageback

[NTG-context] Help wanted for layers and pagebackgrounds

2010-05-19 Thread Otared Kavian
=\paperwidth,height=\paperheight] %\showframe \define[1]\myNumber{% \setlayer[NumberRight][preset=righttop,voffset=45mm,hoffset=3mm,reset] % without reset the problem is the same {\offset[location=rt,rightoffset=-3mm] {\tlap{\startcolor[darkgreen

[NTG-context] itemize with columns in \startcolumns enviroment

2010-04-11 Thread Xan
$A^c \cap B^c$ \item $A \cap B^c$ \stopitemize \stopexercici [...] \stopcolumns but the itemize does NOt display as two columns. What is the solution for that? Please, CCme Thanks a lot, Xan. PS: The exercici enviroment is defined as: \defineenumeration [exercici] [text={\startcolor

[NTG-context] stopcolumns causes new page!!!?

2010-04-11 Thread Xan
[mindmap,arrows,calc] %\usetikzlibrary[trees] % AMSTHM \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,headstyle=\ss

Re: [NTG-context] What do you miss in ConTeXt?

2010-02-11 Thread Hans Hagen
] \stopbuffer \typebuffer \getbuffer The following example code looks messy but this has to do with the fact that we want properly spaced sample injection. \startbuffer from here \startcolor[white]% \startbar[backbar]% \input zapf \removeunwantedspaces \stopbar

Re: [NTG-context] coloring rules

2010-01-23 Thread Wolfgang Schuster
Am 23.01.10 14:32, schrieb Hans van der Meer: Further experimentation has shown that it is not impossible to color \vrule's, thus \blackrule is not specifically needed. \blackrule is a \vrule which is enclosed in \startcolor/\stopcolor. Let me first mention that I put the colored rules away

Re: [NTG-context] coloring rules

2010-01-23 Thread Hans van der Meer
On 23 jan 2010, at 14:49, Wolfgang Schuster wrote: Am 23.01.10 14:32, schrieb Hans van der Meer: Further experimentation has shown that it is not impossible to color \vrule's, thus \blackrule is not specifically needed. \blackrule is a \vrule which is enclosed in \startcolor/\stopcolor

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-11 Thread luigi scarso
](Some magenta  without overprint)} \color[black] \startoverprint \input tufte \stopoverprint \stoptext -- hm I believed was \color[red]{..} and \startcolor[red] ... \stopcolor see http://wiki.contextgarden.net/Colors -- luigi

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-11 Thread Oliver Heins
Hi Luigi, luigi scarso luigi.sca...@gmail.com writes: hm I believed was \color[red]{..} and \startcolor[red] ... \stopcolor You're right, I mixed things up here. But nontheless, my example was (unintendedly) syntactically correct, because either \color[black]{\bf ...} and \color

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-11 Thread Oliver Heins
luigi scarso luigi.sca...@gmail.com writes: On Fri, Dec 11, 2009 at 5:37 PM, Oliver Heins o...@sopos.org wrote: Hi Luigi, luigi scarso luigi.sca...@gmail.com writes: hm I believed  was \color[red]{..} and \startcolor[red] ... \stopcolor You're right, I mixed things up here

Re: [NTG-context] Bug with overprinting in Mark II/IV?

2009-12-11 Thread Hans Hagen
luigi scarso wrote: On Fri, Dec 11, 2009 at 5:37 PM, Oliver Heins o...@sopos.org wrote: Hi Luigi, luigi scarso luigi.sca...@gmail.com writes: hm I believed was \color[red]{..} and \startcolor[red] ... \stopcolor You're right, I mixed things up here. But nontheless, my example

Re: [NTG-context] Usage of filename in document

2009-11-05 Thread Martin Scholz
$ % Styles specific to the pres and MS modes: \input presentation.tex \input manuscript.tex \starttext \startcolor[TextColor] \setupalign[right, nothyphenated] \setuptolerance[horizontal,verytolerant] % Title \titlepage{Gems, The Earth \ its Works

[NTG-context] Color in footer

2009-10-14 Thread Antoine Cailliau
Dear all, I'm trying to change the color of the footer text. I typed: \def\footerstyle#1{\startcolor[red]#1\stopcolor} \setupfooter[style=\footerstyle] But I receive an error that I can't interpret. ! Argument of \footerstyle has an extra }. inserted text \par to be read

Re: [NTG-context] Color in footer

2009-10-14 Thread Hans Hagen
Antoine Cailliau wrote: Dear all, I'm trying to change the color of the footer text. I typed: \def\footerstyle#1{\startcolor[red]#1\stopcolor} \setupfooter[style=\footerstyle] has to do with the fact that style does not pass an argument does \setupfooter[color=red] work

Re: [NTG-context] Color in footer

2009-10-14 Thread Antoine Cailliau
Dear, \def\footerstyle#1{\startcolor[red]#1\stopcolor} \setupfooter[style=\footerstyle] has to do with the fact that style does not pass an argument does \setupfooter[color=red] work? Yes, perfectly. I did not tried it since this was not documented (or at least I may misread

[NTG-context] white color turns black inside a table

2009-09-14 Thread Mojca Miklavec
Hello, I have problems with the following minimal example (I only want to typeset white labels inside the table), but maybe I'm the only one again: \setupcolors[state=start] \starttext \startcolor[white] \placetable[force]{none}{\starttable[|r|] \NC \color[red]{me} \AR \stoptable

Re: [NTG-context] white color turns black inside a table

2009-09-14 Thread Mojca Miklavec
On Mon, Sep 14, 2009 at 19:53, Mojca Miklavec wrote: Hello, I have problems with the following minimal example (I only want to typeset white labels inside the table), but maybe I'm the only one again: \setupcolors[state=start] \starttext \startcolor[white] \placetable[force]{none

Re: [NTG-context] white color turns black inside a table

2009-09-14 Thread Hans Hagen
Mojca Miklavec wrote: Hello, I have problems with the following minimal example (I only want to typeset white labels inside the table), but maybe I'm the only one again: \setupcolors[state=start] \starttext \startcolor[white] \placetable[force]{none}{\starttable[|r|] \NC \color[red

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Xan
En/na Xan ha escrit: Hi, Is it possible to put numerstyle=boldstyle in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,titleleft

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
On Thu, 5 Mar 2009, Xan wrote: En/na Xan ha escrit: Hi, Is it possible to put numerstyle=boldstyle in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Xan
En/na Aditya Mahajan ha escrit: On Thu, 5 Mar 2009, Xan wrote: En/na Xan ha escrit: Hi, Is it possible to put numerstyle=boldstyle in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em

[NTG-context] boldstyle for numbers in defineenumeration

2009-03-04 Thread Xan
Hi, Is it possible to put numerstyle=boldstyle in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,titleleft=(,titleright=),width=fit

Re: [NTG-context] chapter page question

2009-02-15 Thread Wolfgang Schuster
. \startsetups header:chapter:middle \startcolor[red] \it Chapter page \stopcolor \stopsetups \definetext[chapter][header][\setups{chapter:header:middle}] Wolfgang ___ If your question is of interest to others

Re: [NTG-context] chapter page question

2009-02-15 Thread Alan Stone
On Sun, Feb 15, 2009 at 11:04 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You can format the text in \definetext. \startsetups header:chapter:middle \startcolor[red] \it Chapter page \stopcolor \stopsetups \definetext[chapter][header][\setups{chapter:header:middle

Re: [NTG-context] Problem with flowchart in presentation layout

2009-02-14 Thread Wolfgang Schuster
okay. So there should be something wrong with my flowchart code. But I do not see anything. What is going wrong here? Don't use \startcolor[white] to change the color of the main text, use \setupcolors[state=start,textcolor=white] instead. Wolfgang

Re: [NTG-context] Problem with flowchart in presentation layout

2009-02-14 Thread Cecil Westerhof
. This looks okay. So there should be something wrong with my flowchart code. But I do not see anything. What is going wrong here? Don't use \startcolor[white] to change the color of the main text, use \setupcolors[state=start,textcolor=white] instead. That works. I got the code from http

Re: [NTG-context] Experience on writing a thesis with MKIV

2008-12-09 Thread Mohamed Bana
with a script that can automatically check if the pdf output changed with different version. However, it has been dormat for about a year now. For more info see http://wiki.contextgarden.net/Test and add more tests. Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred

Re: [NTG-context] Experience on writing a thesis with MKIV

2008-12-08 Thread Mohamed Bana
No the citations aren't working. Am I the only one who thinks ConTeXt needs a extensive set of regression tests? Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred]\titlefont \hskip 1.5em Chapters \stopcolor} Changing L191 env-thesis.tex, has no effect

Re: [NTG-context] Experience on writing a thesis with MKIV

2008-12-08 Thread Aditya Mahajan
tests. Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred]\titlefont \hskip 1.5em Chapters \stopcolor} Yeah, I know. This was just a quick change, so I did not bother with elegance. The proper way of doing it would be to define a titlecolor and use that. Changing

Re: [NTG-context] xml parsing

2008-11-28 Thread Wolfgang Schuster
at an important job-talk... I don't if this will help you but you can try the following three changes. 1. Change the defintion of \sln \define\sln{\startcolor[red][\nextSlideNumber]\stopcolor} 2. Put a \relax after the xml setup for \sln \startxmlsetups xml:sln \sln\relax \stopxmlsetups 3

Re: [NTG-context] xml parsing

2008-11-28 Thread Thomas A. Schmitz
On Nov 28, 2008, at 10:22 AM, Wolfgang Schuster wrote: I don't if this will help you but you can try the following three changes. 1. Change the defintion of \sln \define\sln{\startcolor[red][\nextSlideNumber]\stopcolor} 2. Put a \relax after the xml setup for \sln \startxmlsetups

Re: [NTG-context] xml parsing

2008-11-28 Thread Wolfgang Schuster
On Fri, Nov 28, 2008 at 11:16 AM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Nov 28, 2008, at 10:22 AM, Wolfgang Schuster wrote: I don't if this will help you but you can try the following three changes. 1. Change the defintion of \sln \define\sln{\startcolor[red][\nextSlideNumber

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-29 Thread Wolfgang Schuster
\stoptext Tex colors do not work inside textext. Try label(textext(\startcolor[red] red \stopcolor), origin) ; One way to get around this is to use \sometxt. label(\sometxt{\doattributes{label}{style}{color}{Label}},(5cm,0)) ; But then you have to be careful about the differences between

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-28 Thread Aditya Mahajan
(\startcolor[red] red \stopcolor), origin) ; One way to get around this is to use \sometxt. label(\sometxt{\doattributes{label}{style}{color}{Label}},(5cm,0)) ; But then you have to be careful about the differences between \sometxt in MKII and MKIV (which I need to summarize on the wiki

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-27 Thread Wolfgang Schuster
\labelcolor{red} \stopMPenvironment This gives you only bold label. \starttext \startMPcode label(textext(\doattributes{label}{style}{color}{Label}),origin) ; \stopMPcode \stoptext Tex colors do not work inside textext. Try label(textext(\startcolor[red] red \stopcolor), origin) ; One

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-24 Thread Aditya Mahajan
. \starttext \startMPcode label(textext(\doattributes{label}{style}{color}{Label}),origin) ; \stopMPcode \stoptext Tex colors do not work inside textext. Try label(textext(\startcolor[red] red \stopcolor), origin) ; One way to get around this is to use \sometxt. label(\sometxt{\doattributes{label

Re: [NTG-context] Colored labels with MetaPost in MkII

2008-10-24 Thread Wolfgang Schuster
\labelcolor{red} \stopMPenvironment This gives you only bold label. I try to avoid this. \starttext \startMPcode label(textext(\doattributes{label}{style}{color}{Label}),origin) ; \stopMPcode \stoptext Tex colors do not work inside textext. Try label(textext(\startcolor[red] red

Re: [NTG-context] Context TeXLive 2008

2008-09-27 Thread Hans Hagen
Wolfgang Schuster wrote: \bTABLE[aligncharacter=yes,alignmentcharacter={/}] \bTR \bTD 4 \startcolor[red] 0/8 \stopcolor \eTD \bTD[foregroundcolor=red] ... \eTD this will not add potentially interfering nodes (in mkii

[NTG-context] Context TeXLive 2008

2008-09-26 Thread Brian R. Landy
on garden as well to ensure it was not an issue in my setup -- 1. \placefloat[here]{none} fails. \placegraphic works instead. This works on MkII. See test_placefloat.tex. 2. MkIV fails due to the \startcolor...\stopcolor sequence embedded in a natural table (see test_color.tex

Re: [NTG-context] Context TeXLive 2008

2008-09-26 Thread Wolfgang Schuster
is \placefloat[floattype][here|page|...]{}{} 2. MkIV fails due to the \startcolor...\stopcolor sequence embedded in a natural table (see test_color.tex). A working alternative is commented in that file. \bTD 4 \clear 0/8 \eTD I think Hans is faster to find the bug, here is a shorter

Re: [NTG-context] hyphenation blues

2008-09-24 Thread Taco Hoekwater
{\startcolor[red]\em\penalty1\hskip0pt } {\/\stopcolor}} Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] hyphenation blues

2008-09-24 Thread Hans Hagen
\/} \def\Colorit% {\groupedcommand{\color[red]\em\penalty1\hskip0pt }\/} \color expects an argument \def\Colorit% {\groupedcommand {\startcolor[red]\em\penalty1\hskip\zeropoint} {\stopcolor\/}} \starttext test\footnote{text text text text text text text text text

Re: [NTG-context] hyphenation blues

2008-09-24 Thread Steffen Wolfrum
): \def\Colorit% {\groupedcommand {\startcolor[red]\em\penalty1\hskip0pt } {\/\stopcolor}} works! and that from Hans too. Hans ends with ... {\stopcolor\/}} Tacos with ... {\/\stopcolor}} Sorry, this is too sophisticated for me to figure out: Which one is better, i.e. more

Re: [NTG-context] hyphenation blues

2008-09-24 Thread Hans Hagen
for everything else): \def\Colorit% {\groupedcommand {\startcolor[red]\em\penalty1\hskip0pt } {\/\stopcolor}} works! and that from Hans too. Hans ends with ... {\stopcolor\/}} Tacos with ... {\/\stopcolor}} Sorry, this is too sophisticated for me to figure out

[NTG-context] feature request: \setuptyping[ignorefirstspace=yes]

2008-08-25 Thread Peter Münster
some typing \stoptyping should be same as this: \starttyping some typing \stoptyping This: \startcolor[blue] \starttyping some typing \stoptyping \stopcolor should be same as this: \startcolor[blue] \starttyping some typing \stoptyping \stopcolor some text \stoptext Cheers, Peter

Re: [NTG-context] the error of xetex

2008-06-03 Thread Yanli Li
: 3.689073 the chemical.tex file: \starttext \chapter{Chemical} \usemodules[pictex,chemic] \startchemical\chemical[SIX,B,B]\stopchemical \startcolor[blue] \startchemical \color[red]{\chemical[SIX,B,R14,RD25,RB36,RZ36][OH,COOH] } \stopchemical \stopcolor \stoptext

Re: [NTG-context] the error of xetex

2008-06-03 Thread Wolfgang Schuster
On Tue, Jun 3, 2008 at 2:16 PM, Yanli Li [EMAIL PROTECTED] wrote: [log file] the chemical.tex file: \starttext \chapter{Chemical} \usemodules[pictex,chemic] What is the result if you try it without PiCTeX. \usemodule[chemic] \startchemical\chemical[SIX,B,B]\stopchemical \startcolor

Re: [NTG-context] colors in pgf within context

2008-02-19 Thread Alan BRASLAU
Hello, Another problem with PGF+ConTeXt is the handling of cmyk colors: \usemodule[tikz] \setupcolors[state=start] \definecolor[my_yellow][c=0,m=0.3,y=0.94,k=0] \starttext \startcolor[my_yellow] Yellow text. \stopcolor \starttikzpicture \fill[my_yellow] (0,0) circle(1); \stoptikzpicture

Re: [NTG-context] interaction query

2008-02-16 Thread Wolfgang Schuster
formatted exactly as I need. you should better use, as Hans told in his mail the simple color command could cause a unwanted result. \definereferenceformat [givenote] [command=\in, left={\startcolor[blue]}, right=\stopcolor] Wolfgang

Re: [NTG-context] interaction query

2008-02-16 Thread Alan Bowen
a unwanted result. \definereferenceformat [givenote] [command=\in, left={\startcolor[blue]}, right=\stopcolor] Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\startbuffer[name] \stopbuffer \startcolor[name] \stopcolor \startcolumns[settings] \stopcolumns \startcombination[matrix] \stopcombination \startcomment[name][settings] \stopcomment \startcomponent file \stopcomponent \startdescription{text} \stopdescription \startdocument[name] \stopdocument

[NTG-context] Visualization module and mkiv

2007-12-30 Thread Wolfgang Schuster
Hi, the visualization module did at the moment not work in mkiv, the fault is the unbalanced \start/stopcolor command in the definition of \fakerule. The current definition is: \def\fakerule#1% {\strut %\startcolor[fakerulecolor]% \iffakebaseline \vrule\!!height1.25ex\!!depth

Re: [NTG-context] Visualization module and mkiv

2007-12-30 Thread Hans Hagen
Wolfgang Schuster wrote: Hi, the visualization module did at the moment not work in mkiv, the fault is the unbalanced \start/stopcolor command in the definition of \fakerule. The current definition is: \def\fakerule#1% {\strut %\startcolor[fakerulecolor]% hm, i wonder when

[NTG-context] colors in luatex

2007-09-25 Thread Thomas A. Schmitz
Hi, this minimal example compiles fine in mkii: \setupcolors[state=start] \starttext \starttabulate \startcolor[red] \NC One \NC A \NC \NR \NC Two \NC B \NC \NR \stopcolor \NC Three \NC C \NC \NR \stoptabulate \stoptext With mkiv, I get this error: ! Missing \endgroup inserted. inserted

Re: [NTG-context] colors in luatex

2007-09-25 Thread Hans Hagen
Thomas A. Schmitz wrote: Hi, this minimal example compiles fine in mkii: \setupcolors[state=start] \starttext \starttabulate \startcolor[red] \NC One \NC A \NC \NR \NC Two \NC B \NC \NR \stopcolor \NC Three \NC C \NC \NR \stoptabulate \stoptext well, with mkii you're just

[NTG-context] CMYK and spot colour confusion

2007-07-10 Thread Oliver Buerschaper
] [PANTONE428CS][p=.8] \definecolor[my_lightgrey] [PANTONE428CS][p=.5] \setuppapersize[A4][A4] \starttext \section{CMYK colours} \startcolor[cyan] \input ward \stopcolor \startcolor[magenta] \input ward \stopcolor \startcolor[yellow] \input ward \stopcolor \section{Spot colours

[NTG-context] Header height multipage Text.

2007-05-25 Thread iscope GmbH // Oliver Siegemund
{ \framed[height=6.16cm,width=6.22cm,x=0mm,y=0mm,frame=off,offset=none,frameoffset=0mm] {} \framed[height=61.6mm,width=21.4mm,x=0mm,y=0mm,frame=off,offset=none,frameoffset=0mm,align=right] { \startcolor[myblack] \startuseMPgraphic{mycircle} draw fullcircle scaled 20.2mm; draw fullcircle scaled

Re: [NTG-context] gray scale conversion of colored text

2007-03-26 Thread Peter Rolf
]\copy\scratchbox\egroup \startcolor[green]\copy\scratchbox\stopcolor \box\scratchbox \stoptext This always gives me black text, as color is not activated. How do I get the correct gray scale values for the text? Peter ___ ntg-context mailing list ntg

Re: [NTG-context] Fonts, nice looking headers, MetaFun and CV module

2007-03-19 Thread Wolfgang Schuster
{\startcolor[darkgray] \vrule\c!height.5\!!dimena\c!width\hsize\hss \stopcolor}% \midaligned{\box\scratchbox} \egroup} \protect \setupcolors[state=start] \setuphead [section] [command=\cvsection, textstyle=\ss\bf] \starttext \section{Work experience} \stoptext

Re: [NTG-context] twocolumn document has trouble with colors

2007-02-12 Thread Hans Hagen
, *Zhichu Chen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi there, Just a testing code: = \setupcolors [state=start] \definecolor [testcolor] [r=1,g=.62,b=.0625] \starttext \startcolor [testcolor

Re: [NTG-context] twocolumn document has trouble with colors

2007-02-12 Thread Zhichu Chen
=.62,b=.0625] \starttext \startcolor [testcolor] \startcolumns [direction=left] \dorecurse{15}{\input knuth\endgraf} \stopcolumns \stopcolor \stoptext = And I find it's not perfectly what I really want. Is there any

Re: [NTG-context] twocolumn document has trouble with colors

2007-02-11 Thread Zhichu Chen
Hi everybody, Does this only happen to me? On 2/9/07, Zhichu Chen [EMAIL PROTECTED] wrote: Hi there, Just a testing code: = \setupcolors [state=start] \definecolor [testcolor] [r=1,g=.62,b=.0625] \starttext \startcolor [testcolor] \startcolumns

Re: [NTG-context] twocolumn document has trouble with colors

2007-02-11 Thread Peter Rolf
:[EMAIL PROTECTED] wrote: Hi there, Just a testing code: = \setupcolors [state=start] \definecolor [testcolor] [r=1,g=.62,b=.0625] \starttext \startcolor [testcolor] \startcolumns [direction=left

Re: [NTG-context] twocolumn document has trouble with colors

2007-02-11 Thread Zhichu Chen
[state=start] \definecolor [testcolor] [r=1,g=.62,b=.0625] \starttext \startcolor [testcolor] \startcolumns [direction=left] \dorecurse{15}{\input knuth\endgraf} \stopcolumns \stopcolor \stoptext

Re: [NTG-context] List of special characters?

2006-12-28 Thread cormullion
I'm really struggling to get this working... I've got some keywords which i want to mark in the text with a special style: -- \starttext \usetypescript[adobekb][\defaultencoding] \setupbodyfont[pos,9pt] \setupcolors[state=start] \define[1]\Keyword{% {\startcolor[darkgreen]\bf{#1

Re: [NTG-context] visualising evolution from one version to another

2006-08-06 Thread Peter Münster
]' $OUT.tex echo '\long\def\startDeleted*#1\stopDeleted*{\overstrikes{#1}}' $OUT.tex echo '\long\def\startAdded*#1\stopAdded*{\startcolor[blue]#1\stopcolor}' \ $OUT.tex wdiff -w '\startDeleted*' -x '\stopDeleted*' \ -y '\startAdded*' -z '\stopAdded*' $OLD $NEW $OUT.tex texexec $@ $OUT

Re: [NTG-context] backgroundcolor broken in 2006-06-07

2006-06-09 Thread Hans van der Meer
OF textext \unexpanded\def\startcolor {\ifincolor \expandafter\doglobalstartcolor \else \expandafter\noglobalstartcolor \fi} \unexpanded\def\stopcolor {\ifincolor \doglobalstopcolor \else \noglobalstopcolor \fi} and % PATCH FOR STANDALONE GRAPHICS WHERE textext WAS NOT WORKING

[NTG-context] mixed colors in TABLE

2006-03-13 Thread olivier
! Missing \endcsname inserted. to be read again \bgroup \switchtocolor [#1]-\bgroup \startcolor [#1]\aftergroup \stopcolor \aftergr... \doifcolorelse ...\ifcsname \??cr \currentpalet #1 \endcsname

Re: [NTG-context] color in before=

2006-01-26 Thread Taco Hoekwater
Hans van der Meer wrote: Thanks, that worked. But it leads to my next question, I am afraid. This really should have worked: \definecolor [brightred][r=0.7, g=.1, b=.1] \definecolor [FrameColor][brightred] \setupcolors[state=start] \starttext \startcolor[FrameColor]Bright Red

Re: [NTG-context] color in before=

2006-01-26 Thread Hans van der Meer
in \startcolor[\MPcolor{FrameColor}]...\stopcolor or\startcolor[FrameColor]...\stopcolor but neither of these worked, nor did {\switchtocolor[FrameColor]...}\crlf {\switchtocolor[\MPcolor{FrameColor}]...}\crlf How can I use FrameColor here to? Without defining extra macros around

Re: [NTG-context] color in before=

2006-01-25 Thread Hans van der Meer
Thanks, that worked. But it leads to my next question, I am afraid. When I define: \definecolor [brightred][r=0.7, g=.1, b=.1] then I can use this in \startcolor[brightred]...\stopcolor according to \meaning brightred being \protected macro \switchtocolor [brightred] Now I am fond

Re: [NTG-context] color in textext

2005-12-28 Thread Hans van der Meer
}), (0,0)); % returns black XYZ on execute label(textext(\startcolor[red]{XYZ}\stopcolor), (0,20)); % returns unknown on execute \stopuseMPgraphic \starttext \forceMPTEXgraphictrue \startMPpage \includeMPgraphic{test} \stopMPpage \stoptext I tried to run this on context

Re: [NTG-context] An idea

2005-12-04 Thread Nikolai Weibull
\startcolor[#1]\processinlineverbatim{\stopcolor\egroup}} \setuplines[space=yes] \starttext \startlines \setverbatimspaceskip \frenchspacing \parindent\zeropoint \verbatimfont \highlight[Comment]{/*} \highlight[Comment]{ * contents: A minimal C program.} \highlight[Comment]{ *} \highlight[Comment

Re: [NTG-context] Title-page overlay / wiki example

2005-03-21 Thread h h extern
Nikolai Weibull wrote: * Willi Egger (Mar 20, 2005 18:00): May be you should try a buffer to put the typing in. In the overlay you can call the buffer with \typebuffer[...] \startbuffer[title] ... \stopbuffer \defineoverlay [TitleGraphic] [{\startcolor[titlegraphic]\typebuffer[title

Re: [NTG-context] duotones

2004-12-27 Thread Hans Hagen
] \definecolor [blue] [c=1,m=.38,y=0,k=.64] \definecolor [yellow] [c=0,m=.28,y=1,k=.06] \definecolor [blue-100] [blue] [p=1] \definecolor [yellow-100] [yellow] [p=1] \definemultitonecolor [combicolor] [blue=.12,yellow=.28] [c=.1,m=.1,y=.3,k=.1] \starttext \startcolor[blue]\blackrule[width=3cm

[NTG-context] Re: mag-0008

2004-12-15 Thread Hans Hagen
] {\initializefox \expanded{\definecolor[fx:color:\foxlabel][\foxarguments]}} \defineXMLnested [fx:color] [fox] [label=fallbackfont] {\initializefox \startcolor[fx:color:\foxlabel]} {\stopcolor} % margin things \setupinmargin[style=,color=] \defineXMLargument [fx:margintext] [fox] [label=default

<    1   2   3   >