Re: [NTG-context] perfect centering of layers in a text area

2014-09-20 Thread Wolfgang Schuster
Am 20.09.2014 um 02:56 schrieb Bernd Donner : > Hello, > > I'm converting some context from mkii to mkiv. Since the definelogo is > depreciated I try to use layers to get the same result. > > The problem in the example below is, the text in the header - which is a >

[NTG-context] perfect centering of layers in a text area

2014-09-20 Thread Bernd Donner
Hello, I'm converting some context from mkii to mkiv. Since the definelogo is depreciated I try to use layers to get the same result. The problem in the example below is, the text in the header - which is a table - is not perfectly centered with respect to the bottomframe. What is the r

[NTG-context] ConTeXt header oddities

2010-08-18 Thread Peter McFarlane
n.png][height=20pt]} ... \startfrontmatter % logo on page of frontmatter - this one seems to work for all pages of frontmatter \definelogo[aitlogo][header][right][state=start,command=\HeadLogo] ... \stopfrontmatter \startbodymatter % logo on page of bodymatter - this one puts the logo in the header o

Re: [NTG-context] location of /user/files?

2010-01-17 Thread paul morgan
which were created, and have always been used, under MkII - I get "! Undefined control sequence" at \definelogo plus other errors. After mktexlsr, MkII works as expected. Is there a reference for commands/definitions which work in MkII but not in MkIV? Thanks again for your help, Paul _

[NTG-context] Setting the Non-Printable Area

2009-04-06 Thread Markus Hubig
8<schnipp- \setuppapersize[A4][A4] \setuplayout[backspace=20mm, width=160mm, topspace=20mm, top=0mm, header=0mm, footer=0mm, height=250mm, grid=yes] -8<schnapp- ... and placed the logo like this: -8<schnipp----- \definelogo

Re: [NTG-context] \definelogo Undefine control sequence in luatex

2008-10-12 Thread Olivier Guéry
2008/10/12 Hans Hagen <[EMAIL PROTECTED]>: > Olivier Guéry wrote: >> Hello, >> >> I tried to put logo on my pages. >> I got an undefine control sequence with luatex. >> This small exemple look to run fine with pdftex but not luatex in context >>

Re: [NTG-context] \definelogo Undefine control sequence in luatex

2008-10-12 Thread Hans Hagen
Olivier Guéry wrote: > Hello, > > I tried to put logo on my pages. > I got an undefine control sequence with luatex. > This small exemple look to run fine with pdftex but not luatex in context > live. > > \definelogo[mypic][bottom][left] > [state=start,c

[NTG-context] \definelogo Undefine control sequence in luatex

2008-10-12 Thread Olivier Guéry
Hello, I tried to put logo on my pages. I got an undefine control sequence with luatex. This small exemple look to run fine with pdftex but not luatex in context live. \definelogo[mypic][bottom][left] [state=start,command={\externalfigure[pic]}] \placelogos[mypic] \starttext Hello world

Re: [NTG-context] newbie ConTeXt question

2008-03-11 Thread Wolfgang Schuster
star]~Md~\symbol[star] \crlf >\symbol[Telephone](555)123-4567 \crlf >\symbol[Faxmachine] (555)987-6543} > \lbox{ \hsize 2.0in > 1234 Main St.\crlf > P.O. Box 123\crlf > C

[NTG-context] newbie ConTeXt question

2008-03-11 Thread jazz_johnson
ty, State 12345} } } \setupinterlinespace[reset] } \definelogo[Mylogo] [header] [left] [command=\MyLetterhead, state=stop] \stopenvironment ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
g[name][settings] \defineinteractionmenu[position|names][options and settings] \defineinteractionmenu[position|name][position|name][settings] \definelabel[name][text and options] # \definelayer # \definelayerpreset # \definelayout \definelist[name][name][settings] \definelogo[name][position]

Re: [NTG-context] logos in luatex

2007-12-31 Thread luigi scarso
On Dec 31, 2007 11:59 PM, Idris Samawi Hamid <[EMAIL PROTECTED]> wrote: > On Mon, 31 Dec 2007 00:50:18 -0700, Idris Samawi Hamid > <[EMAIL PROTECTED]> wrote: > > > = > > % engine=luatex > > \setuphead[title][after={\placelogos[ijs

Re: [NTG-context] logos in luatex

2007-12-31 Thread Idris Samawi Hamid
On Mon, 31 Dec 2007 00:50:18 -0700, Idris Samawi Hamid <[EMAIL PROTECTED]> wrote: > = > % engine=luatex > \setuphead[title][after={\placelogos[ijss]}] > \definelogo[ijss][footer][left][command=$\aleph$] > > \starttext > &

[NTG-context] logos in luatex

2007-12-31 Thread Idris Samawi Hamid
Dear consortium, Logos blow up in luatex (example below). Is there a workaround, or another method that I should use? Best wishes Idris = % engine=luatex \setuphead[title][after={\placelogos[ijss]}] \definelogo[ijss][footer][left][command=$\aleph$] \starttext \title

[NTG-context] Logos in context / Miscellaneous questions

2007-09-17 Thread Edd Barrett
) I am trying to get a logo to appear in the top left of every page. I have already discovered that I can include a graphic like so: \externalfigure[shift] This works just fine However if I try to define a logo like so: \definelogo[logo][top][left] [command

[NTG-context] Image logo showing up with white background

2007-01-06 Thread Fidel Viegas
doing wrong? \def\FuxionLogo% {\externalfigure[FT_LogoV2][height=1.5\headerheight]} \definelogo [fuxion logo] [top] [middle] [command=\FuxionLogo,state=start] \setuppapersize[A4][A4] \setuppagenumbering [location={bottom,middle}] \setupcolors [state=start] \definehead[title][title

Re: [NTG-context] store counter or variable and reread again

2006-12-31 Thread Aditya Mahajan
TD \eTR > \bTR \bTD [nc=3, align=low] \tfxx Unterschrift eines > Erziehungsberechtigten: \thinrule \eTD \eTR > \eTABLE} > > \definelayer[kopf][width=\paperwidth, height=\paperheight] > > %Klassenarbeiten Kopf > \def\AAnr{2. Schulaufgabe Englisch 2006/2007} > \d

Re: [NTG-context] store counter or variable and reread again

2006-12-31 Thread Thomas Engel
\eTR \bTR \bTD [nc=3, align=low] \tfxx Unterschrift eines Erziehungsberechtigten: \thinrule \eTD \eTR \eTABLE} \definelayer[kopf][width=\paperwidth, height=\paperheight] %Klassenarbeiten Kopf \def\AAnr{2. Schulaufgabe Englisch 2006/2007} \def\Klnr{10 \hfill} %\define

Re: [NTG-context] Templates and official documents

2006-09-16 Thread Willi Egger
you could do something like this: setuppapersize[A4,landscape][A4,landscape] \setupcolors[state=start] \setuplayout [tospace = 2cm, backspace=2.5cm, headerdistance=3\bodyfontsize, margin=2cm, width=fit] \definelogo[Schoollogo] [top] [leftmargin] [command={\framed

Re: [NTG-context] Templates and official documents

2006-09-15 Thread batela
, width=fit] \definelogo[Schoollogo] [top] [leftmargin] [command={\framedtext[width=\marginwidth,background=color,backgroundcol or=red]{School logo}},state=start] \setupheadertexts[\hfill{\bfa This is our School Name}\hfill] \starttext \placelogos \startalignment[middle] \cap

Re: [NTG-context] Templates and official documents

2006-09-15 Thread Willi Egger
] \definelogo[Schoollogo] [top] [leftmargin] [command={\framedtext[width=\marginwidth,background=color,backgroundcolor=red]{School logo}},state=start] \setupheadertexts[\hfill{\bfa This is our School Name}\hfill] \starttext \placelogos \startalignment[middle] \cap{unit}: (changing

Re: [NTG-context] Centring text on a page

2006-07-20 Thread Renaud AUBIN
]} %\definelogo[logo][top][left][command=\UVSQLogo] \def\maketitle{% \setupinterlinespace[big] \showframe \startalignment[center] \vskip10mm plus2fil {\rm \bfd [EMAIL PROTECTED] \par} \vskip10mm plus2fil {\rm \bfd THÈSE \par} \vskip5mm plus2fil {\tfa présentée et soutenue publiquement le [EMAIL

Re: [NTG-context] Page breaking problem

2006-06-19 Thread Helin Gai
e >>width: dimension/fit/middle >>rightmargindistance, rightmargin, rightedget = cutspace >> VERTICAL: >>topsapce, header, headerdistance >>height: dimension/fit/middle (=header+text+footer) >>footerdistance, footer, bottomspace >> OTHER >

Re: [NTG-context] Page breaking problem

2006-06-19 Thread Hans Hagen
ted, type, cap, > small ...command >marking: on/off_/color >location: left, middle, right, bottom, top, singlesided_, doublesided >scale: dimen > > \adaptlayout[page_numbers][height,lines] > \makeupwidth, \makeupheight, \textwidth, \textheight (=height-header- >

[NTG-context] Page breaking problem

2006-06-19 Thread Helin Gai
(=height-header- footer) \stoptyping \chapter{Logo} \starttyping \definelogo[name][2][3][..=..] 2. top header footer bottom 3. none page leftedge leftmargin left middle right rightmargin rightedge command state \stoptyping \chapter{Spacing} \starttyping \setupinterlinespace[..._][..=..] ..._ reset

Re: [NTG-context] definelogo alignments

2006-03-29 Thread Marcus Vinicius Mesquita de So
Thank you. I'll do some experiments too...GreetingsMarcus ViniciusHans Hagen <[EMAIL PROTECTED]> wrote: Marcus Vinicius Mesquita de So wrote:>> to no avail. Any hints?use layers (comparable featureset) Hans Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates

Re: [NTG-context] definelogo alignments

2006-03-27 Thread Hans Hagen
Marcus Vinicius Mesquita de So wrote: > > to no avail. Any hints? use layers (comparable featureset) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The N

[NTG-context] definelogo alignments

2006-03-24 Thread Marcus Vinicius Mesquita de So
Experimenting with the logo features as suggested by Henning Hraban Ramm I discovered that I can say:\definelogo[Pagina][text][left][command={\framed{\blackrule}}, state=start]or\definelogo[Pagina][text][middle][command={\framed{\blackrule}}, state=start]or\definelogo[Pagina

Re: [NTG-context] Location of page numbers

2006-03-21 Thread Marcus Vinicius Mesquita de So
Thanks in advance for you help.That's not possible with \setuppagenumbering alone.Try the Logo approach:\setuppagenumbering[alternative=doublesided, location=]\definelogo[Pagina][text][rightmargin][command={\framed {\pagenumber}}, state=start]or have a look at http://wiki.contextgarden.net/Let

Re: [NTG-context] Location of page numbers

2006-03-20 Thread Henning Hraban Ramm
alternative=doublesided, location=] \definelogo[Pagina][text][rightmargin][command={\framed {\pagenumber}}, state=start] or have a look at http://wiki.contextgarden.net/Letter_style and its use of Layers and setups. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://contex

Re: [NTG-context] Vertical text in the margin on every page

2006-02-21 Thread Johan Sandblom
I have the following in an environment file. In the document I then \def\workingtitle and \def\workdir, and this text is written in the left margin. I am sure you will get better suggestions from others who actually know what they are doing ... Johan \definecolor[logogray][s=.6] \definelogo

Re: [NTG-context] some questions about logo and margin background.

2003-06-19 Thread Willi Egger
footertexts[\bf\ss{test}][\bf\ss{\date}] > > \def\RedHatLogo% {\externalfigure[shadowman-32.png][height=32pt,type=png]} > > \definelogo > [small logo] [footer] [middle] [state=start,command={\RedHatLogo}] The option middle does not work. I tested all the [footer] locations, bu

[NTG-context] some questions about logo and margin background.

2003-06-19 Thread lihb
t=fit, header=32pt, footer=32pt] \setupfootertexts[\bf\ss{test}][\bf\ss{\date}] \def\RedHatLogo% {\externalfigure[shadowman-32.png][type=png]} \definelogo [small logo] [footer] [middle] [command=\RedHatLogo,state=start] \starttext \chapter{test} \placelogos[small logo] \stoptext and I