Re: [NTG-context] How to set \definemakeup without affect other pages?

2009-04-18 Thread Wei-Wei Guo
][][] \definemakeup[cover] [headerstate=high, footerstate=high, pagestate=stop,] \starttext \startcovermakeup \midaligned{My Title} \stopcovermakeup \input knuth \inleft{\ConTeXt }Other text\footnote{\LaTeX }. \stoptext %= Am I setting something wrong? Best

[NTG-context] \setuparranging in mkiv

2009-04-17 Thread Otared Kavian
\midaligned{Is this a bug in mkiv?} \vfill \midaligned{This is page \recurselevel} \vfill \stopbuffer \showframe \dorecurse{16}{\getbuffer[TestPage]\page} \stoptext Using mkiv (ConTeXt ver: 2009.04.16 22:27 MKIV fmt: 2009.4.17 int: english/english) I get

Re: [NTG-context] \setuparranging in mkiv

2009-04-17 Thread Hans Hagen
\blank \midaligned{Is this a bug in mkiv?} \vfill \midaligned{This is page \recurselevel} \vfill \stopbuffer \showframe \dorecurse{16}{\getbuffer[TestPage]\page} \stoptext Using mkiv (ConTeXt ver: 2009.04.16 22:27 MKIV fmt: 2009.4.17 int: english/english) I get an error

Re: [NTG-context] Making sure figures are placed within articles

2009-03-30 Thread Wolfgang Schuster
] or \startbaslinecorrection \midaligned{\externalfigure[...]} \stopbaselinecorrection Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] combination

2009-01-29 Thread Nicolas Luchier
Hi, The solution works indeed. Thanks to all of you. There is a related refinement I'd like but don't know Context enough to bring by myself: \starttext This is a combination of 3 figures on two lines \placefigure{none} { \midaligned{ \startcombination[1*2

[NTG-context] PDF bookmarks appear twice

2008-12-31 Thread Andrey Riabushenko
] \definestartstop[Abstract][before={\page[blank,right] \midaligned{\bf Abstract}\startnarrower[2*middle]}, after={\stopnarrower\blank[big] }] \starttext \startTitlepagemakeup \bookmark[chapter]{Title page} \tfd Title page \\ \stopTitlepagemakeup \startResumemakeup \bookmark[chapter]{Resume

Re: [NTG-context] color test not working

2008-11-22 Thread Hans Hagen
Alan STONE wrote: On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors

Re: [NTG-context] color test not working

2008-11-21 Thread Alan STONE
On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone [EMAIL PROTECTED]wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page \midaligned{\tfb \bf XWI colors} \blank[3*big

Re: [NTG-context] color test not working

2008-11-21 Thread Yue Wang
PROTECTED] wrote: On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone [EMAIL PROTECTED] wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page \midaligned{\tfb \bf XWI colors

[NTG-context] Bibtex doubt

2008-11-05 Thread Xan
] % Bibliography options %\setupbibtex[database=llibres] \setuppublications [numbering=yes, sort=author] % Start the text \starttext \midaligned{\tfb De què faré l'article?} \midaligned{\tfx Xavier Bordoy} %\midaligned{\tfx \currentday} Posar el problema de Dehn. {\bf Automatic group

[NTG-context] Problem with mkiv and MPgraphic

2008-10-23 Thread Otared Kavian
; \stopuniqueMPgraphic \def\SwelledRule{\blank% \setlocalhsize\midaligned{\reuseMPgraphic{SwelledRule}}\blank} %% end swelled rule \starttext This file has been typeset on \currentdate{} at \currenttime, with \doifmodeelse{mkiv} {mkiv, LuaTeX revision \luatexrevision, (LuaTeX

Re: [NTG-context] Problem with mkiv and MPgraphic

2008-10-23 Thread Peter Rolf
= y4 = \MPvar{height}/2; y2 = y3 = \MPvar{height}; y5 = y6 = 0; fill z1--z2--z3--z4--z5--z6--cycle; \stopuniqueMPgraphic \def\SwelledRule{\blank% \setlocalhsize\midaligned{\reuseMPgraphic{SwelledRule}}\blank} %% end swelled rule \starttext This file has been typeset on \currentdate

[NTG-context] Problem with mkiv and MPgraphic

2008-10-22 Thread Otared Kavian
] \startuniqueMPgraphic{SwelledRule}{height,breadth} x1 = 0; x2 = x6 = .333x4; x3 = x5 = .667x4; x4 = \MPvar{breadth}; y1 = y4 = \MPvar{height}/2; y2 = y3 = \MPvar{height}; y5 = y6 = 0; fill z1--z2--z3--z4--z5--z6--cycle; \stopuniqueMPgraphic \def\SwelledRule{\blank% \setlocalhsize\midaligned

Re: [NTG-context] color test not working

2008-09-14 Thread Yue Wang
Hans fix this program one week ago. On Sun, Sep 14, 2008 at 5:04 AM, Alan Stone [EMAIL PROTECTED] wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page \midaligned

[NTG-context] color test not working

2008-09-13 Thread Alan Stone
Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page \midaligned{\tfb \bf XWI colors} \blank[3*big] \showcolor[xwi] \page \midaligned{\tfb \bf EMA colors} \blank[3*big] \showcolor[ema

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Hans Hagen
Steffen Wolfrum wrote: Hi, in order to write a command=... for \setuphead I am fighting with the following \framed: \starttext \showframe \def\TestFrame% {\hbox to \hsize\bgroup% \tbox{\midaligned\framed[frame=on,align=middle,width=0.85\textwidth]{{\kern0.75em}Test

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Peter Rolf
Steffen Wolfrum schrieb: Hi, in order to write a command=... for \setuphead I am fighting with the following \framed: \starttext \showframe \def\TestFrame% {\hbox to \hsize\bgroup% \tbox{\midaligned\framed[frame=on,align=middle,width=0.85\textwidth] {{\kern0.75em}Test

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Steffen Wolfrum
to \hsize\bgroup% \tbox{\midaligned \framed[offset=-0.5pt,frame=on,align=middle,width=0.85\textwidth] {{\FuenfCommand{\convertnumber{characters} {\countervalue{@@sesection-6{\kern0.75em}#2}}% \egroup} \setuphead[EbeneFuenf][command=\CurrentEbeneFuenfNumber]% using this command moves

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Peter Rolf
.} \def\CurrentEbeneFuenfNumber#1#2% {\hbox to \hsize\bgroup% \tbox{\midaligned\framed[offset=-0.5pt,frame=on,align=middle,width=0.85\textwidth]{{\FuenfCommand{\convertnumber{characters}{\countervalue{@@sesection-6{\kern0.75em}#2}}% \egroup} \setuphead[EbeneFuenf][command

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Steffen Wolfrum
,previousnumber=yes] \def\FuenfCommand#1{#1.} \def\CurrentEbeneFuenfNumber#1#2% {\hbox to \hsize\bgroup% \tbox{\midaligned \framed[offset=-0.5pt,frame=on,align=middle,width=0.85\textwidth] {{\FuenfCommand{\convertnumber{characters} {\countervalue{@@sesection-6{\kern0.75em}#2}}% \egroup

[NTG-context] vertical position of framed sucks!

2008-08-28 Thread Steffen Wolfrum
Hi, in order to write a command=... for \setuphead I am fighting with the following \framed: \starttext \showframe \def\TestFrame% {\hbox to \hsize\bgroup% \tbox{\midaligned\framed[frame=on,align=middle,width=0.85\textwidth] {{\kern0.75em}Test}}% \egroup} \TestFrame %Test% - \stoptext

Re: [NTG-context] release

2008-08-08 Thread Khaled Hosny
حسني}, subtitle={صف الحروف حاسوبيا مع تخ وكنتكست}, keyword={عربي تخ كنتكست صف محارف طباعة}] \starttext \setArabic \startstandardmakeup \midaligned{كيف تكتب عربي في كُنْتِكِسْت} \midaligned{كتبه} \midaligned{خالد حسني} \stopstandardmakeup \completecontent \chapter{مقدمة} كُنْتِكِسْت

Re: [NTG-context] centered frame centered ?

2008-07-25 Thread Steffen Wolfrum
Am 24.07.2008 um 21:58 schrieb Aditya Mahajan: On Thu, 24 Jul 2008, Steffen Wolfrum wrote: Hi, the content is centered, but how do I center the frame: Do you want \midaligned{\framed[...]{...}} Thanks, that works – but I was expecting a setupframed internal solution

Re: [NTG-context] centered frame centered ?

2008-07-25 Thread Wolfgang Schuster
On Fri, Jul 25, 2008 at 9:43 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Am 24.07.2008 um 21:58 schrieb Aditya Mahajan: On Thu, 24 Jul 2008, Steffen Wolfrum wrote: Hi, the content is centered, but how do I center the frame: Do you want \midaligned{\framed[...]{...}} Thanks

Re: [NTG-context] centered frame centered ?

2008-07-25 Thread Wolfgang Schuster
On Thu, Jul 24, 2008 at 9:58 PM, Aditya Mahajan [EMAIL PROTECTED] wrote: On Thu, 24 Jul 2008, Steffen Wolfrum wrote: Hi, the content is centered, but how do I center the frame: Do you want \midaligned{\framed[...]{...}} Aditya \presetlocalframed[centeredframe] \def\startcenteredframed

Re: [NTG-context] centered frame centered ?

2008-07-24 Thread Aditya Mahajan
On Thu, 24 Jul 2008, Steffen Wolfrum wrote: Hi, the content is centered, but how do I center the frame: Do you want \midaligned{\framed[...]{...}} Aditya ___ If your question is of interest to others as well

Re: [NTG-context] Passing unicode characters

2008-07-22 Thread Mehdi Omidali
}, keyword={فارسی لواتک كانتكست}] \starttext \environment far-env \setfarsi \startfrontmatter \startstandardmakeup \midaligned{راهنمای فارسی کانتکست} \midaligned{نويسنده} \midaligned{مهدی امیدعلی} \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter \chapter{پیشگفتار} \section[firstsection

Re: [NTG-context] Fwd: chapter page on right.

2008-07-08 Thread Charles P. Schaum
\midaligned{\tfc \cap{Title}} \blank[small] \midaligned{\cap{Subtitle}} \vfill \stopstandardmakeup \startstandardmakeup[doublesided=no] \midaligned{\tfd \cap{Big Title}} \blank[medium] \midaligned{\tfc \cap{Subtitle}} \vfill \stopstandardmakeup \startstandardmakeup[page=no] \vfill Indicia Page

Re: [NTG-context] [Dev-luatex] Unicode in \pdfinfo

2008-06-28 Thread Khaled Hosny
] \starttext \setArabic \startstandardmakeup \midaligned{كيف تكتب عربي في كُنْتِكِسْت} \midaligned{كتبه} \midaligned{خالد حسني} \stopstandardmakeup \completecontent \chapter{مقدمة} كُنْتِكِسْت \LT{(\CONTEXT)} هو حزمة ماكرو لنظام تخ \LT{(\TeX)} لصف المحارف. \chapter{أول فصل} \section

[NTG-context] Unicode PDF bookmarks and headers

2008-06-22 Thread Khaled Hosny
}, subtitle={صف الحروف حاسوبيا مع تخ وكنتكست}, keyword={عربي تخ كنتكست صف محارف طباعة}] %there is a bug %\setcharactermirroring[1] \starttext \setArabic \startstandardmakeup \midaligned{كيف تكتب عربي في كُنْتِكِسْت} \midaligned{كتبه} \midaligned{خالد حسني} \stopstandardmakeup

[NTG-context] error: Attempt to node.insert_before() a non-existing node

2008-06-21 Thread Khaled Hosny
] \starttext \startstandardmakeup \midaligned{كيف تكتب عربي في كنتكست} \midaligned{كتبه} \midaligned{خالد حسني} \stopstandardmakeup \completecontent \chapter{مقدمة} ... كلام\index{مدخلة فهرس} ... \chapter{أول فصل} \section[firstsection]{أول باب} ... كلام ... \section{ثاني باب} ... كلام\index

[NTG-context] Arabic index entries

2008-06-19 Thread Khaled Hosny
[Arabic,20pt] % directionality \pagedir TRT\bodydir TRT\pardir TRT\textdir TRT % \setcharactermirroring[1] % hyperlinks \setupinteraction [state=start, color=red, style=bold] \starttext \startstandardmakeup \midaligned{كيف تكتب عربي في كنتكست} \midaligned{كتبه} \midaligned{خالد حسني

Re: [NTG-context] TOC columns

2008-05-07 Thread Hans Hagen
of what I'm trying to achieve: \midaligned{Section1} \startcolumns[n=2] Subsection1 \stopcolumns \midaligned{Section2} \startcolumns[n=2] Subsection1 \stopcolumns Does anyone know how to automate this for a table of contents? % \setuplist % [chapter] % [after

Re: [NTG-context] TOC columns

2008-05-07 Thread Paul Gideon Dann
a table of contents for a document that's split into two large sections. I'm trying to display a centered heading for each section, and subsections listed in two columns underneath each section heading. Hopefully this illustrates something of what I'm trying to achieve: \midaligned{Section1

[NTG-context] staticMPfigure

2008-04-02 Thread Wolfgang Werners-Lucchini
(% \framed[width=1.5cm]{ s }),p) enddef ; \stopMPinclusions \startstaticMPfigure{tst} LABEL.llft(Test, (1,1) ) ; \stopstaticMPfigure \starttext \midaligned{\usestaticMPfigure[tst]} \stoptext % I got the following error

Re: [NTG-context] Bug: Messy results when using table in head and multi-page tables in text

2008-01-23 Thread Carsten Fechtmann
(60mm)|p(40mm)|] % \TABLEnoalign{\vskip-1.75pt} % ugly \HL \VL \leftaligned{left} \VL \midaligned{middle} \VL \rightaligned{right} \VL\SR \HL \stoptable \egroup \stopsetups \starttext \showframe \showskips \start \SetTableToWidth\makeupwidth \setuptables[split=repeat

[NTG-context] JavaScript conflicts

2008-01-22 Thread Zhichu Chen
=off] [width=5.2cm,frame=off] [width=5.2cm,frame=off,style=type] \dorecurse{\totalnumberofpages}{\copyfield[time.clock ][clock::\recurselevel]} \def\clock{\field[clock::\pagenumber]} \setupfootertexts[{\color[white]\tfxx \midaligned{\rlap{\currentdate} \hfill TITLE\hfill \llap{AUTHOR

Re: [NTG-context] Bug: Messy results when using table in head and multi-page tables in text

2008-01-21 Thread Peter Rolf
} \starttable[|p(40mm)|p(60mm)|p(40mm)|] \HL \VL \leftaligned{left} \VL \midaligned{middle} \VL \rightaligned{right} \VL\SR \HL \stoptable \stopsetups \starttext \start \SetTableToWidth{\makeupwidth} \setuptables[split=repeat] \starttablehead \HL \VL Head \VL\SR \HL \stoptablehead

Re: [NTG-context] Bug: Messy results when using table in head and multi-page tables in text

2008-01-21 Thread Peter Rolf
{\vskip-1.75pt} % ugly \HL \VL \leftaligned{left} \VL \midaligned{middle} \VL \rightaligned{right} \VL\SR \HL \stoptable \egroup \stopsetups \starttext \showframe \showskips \start \SetTableToWidth\makeupwidth \setuptables[split=repeat] \starttablehead \HL \VL Head \VL\SR \HL

[NTG-context] Bug: Messy results when using table in head and multi-page tables in text

2008-01-20 Thread Carsten Fechtmann
}][] \startsetups[pagehead] \SetTableToWidth{\makeupwidth} \starttable[|p(40mm)|p(60mm)|p(40mm)|] \HL \VL \leftaligned{left} \VL \midaligned{middle} \VL \rightaligned{right} \VL\SR \HL \stoptable \stopsetups \starttext \start \SetTableToWidth{\makeupwidth} \setuptables[split=repeat] \starttablehead \HL \VL

Re: [NTG-context] Bug: Messy results when using table in head and multi-page tables in text

2008-01-20 Thread Wolfgang Schuster
a simple version of this to demonstrate the effect(s) \setuppagenumbering[location=] \setupheadertexts[\setups{pagehead}][][\setups{pagehead}][] \startsetups[pagehead] \SetTableToWidth{\makeupwidth} \starttable[|p(40mm)|p(60mm)|p(40mm)|] \HL \VL \leftaligned{left} \VL \midaligned{middle

Re: [NTG-context] Bug: Messy results when using table in head and multi-page tables in text

2008-01-20 Thread Carsten Fechtmann
}][] \startsetups[pagehead] \SetTableToWidth{\makeupwidth} \starttable[|p(40mm)|p(60mm)|p(40mm)|] \HL \VL \leftaligned{left} \VL \midaligned{middle} \VL \rightaligned{right} \VL\SR \HL \stoptable \stopsetups \starttext \start \SetTableToWidth{\makeupwidth} \setuptables[split=repeat

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
} # \loadmapfile \loadsorts \loadsynonyms # \localhsize \logfields \lohi[low]{text}{text} \low{text} # \LR \mainlanguage[language code] \mar[references]{text} \marginrule[number]{text} \margintext[+|-|low][reference]{text} \marking[name]{text} \markversion \mathematics{text} \mediaeval{text} \midaligned

Re: [NTG-context] defining and expanding in xml

2007-11-26 Thread Thomas A. Schmitz
to help me off- list; he provided a solution that works wonderfully. If anybody is interested, here's the relevant code: \def\CurPres#1{\gdef\doCurPres{#1}} \def\sln {\blank[line] \incrementSlideNumber % vor dem Bild notwendig? \midaligned{\externalfigure[\doCurPres] [page={\getnumber

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
] \stopalignment \stopstandardmakeup \stoptext Yes! Now let's make it even simpler: \starttext \startstandardmakeup \midaligned{\externalfigure[cow.pdf]} \stopstandardmakeup \stoptext Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department

Re: [NTG-context] Easy way to start working with cyrillic?

2007-11-09 Thread Lutz Haseloff
Hi Klaus, try this: --- % engine=xetex \definetypeface[MyFace][rm][Xserif][TeX Gyre Pagella] \setupbodyfont[MyFace,10pt] \starttext \midaligned{\tfb\bf Arkadi und Boris Strugazki} \blank \midaligned{\tfb\bf Аркадий и Борис Стругацкие} \blank[7*big] \midaligned{\tfc\bf Milliarden Jahre

Re: [NTG-context] Easy way to start working with cyrillic? (Hans Hagen)

2007-11-09 Thread Klaus Gena
][rm][Xserif][TeX Gyre Pagella] \setupbodyfont[MyFace,10pt] \starttext \midaligned{\tfb\bf Arkadi und Boris Strugazki} \blank \midaligned{\tfb\bf ??? ? ? ??} \blank[7*big] \midaligned{\tfc\bf Milliarden Jahre vor dem Weltuntergang} \blank \midaligned{\tfc\bf

[NTG-context] Screen not wanted

2007-11-05 Thread Hans van der Meer
I have prepared a movie in one of the presentation styles and set this ready in the followwing way: \defineoverlay [name] [{\framed[height=\overlayheight, width=\overlaywidth,% background=color, backgroundcolor=yellow]% {\midaligned{title text

Re: [NTG-context] Hiding PDF-Layer

2007-10-10 Thread Peter Rolf
][title=layer 1] ^^ [title={layer 1}, state=stop] should work. Best wishes, Peter \button{HIDE L1}[HideLayer{L1}] \button{VIDE L1}[VideLayer{L1}] \midaligned {\definedfont[Mono at 150pt]% \startproperty[L1] TEST

[NTG-context] Hiding PDF-Layer

2007-10-09 Thread Wolfgang Schuster
Text can be seen when you open the document but it should appear only if you press the VIDE button. \starttext \setupinteraction[state=start] \defineproperty[L1][layer][title=layer 1] \button{HIDE L1}[HideLayer{L1}] \button{VIDE L1}[VideLayer{L1}] \midaligned {\definedfont[Mono at 150pt

Re: [NTG-context] Hiding PDF-Layer

2007-10-09 Thread Peter Rolf
] ^^ [title={layer 1}, state=stop] should work. Best wishes, Peter \button{HIDE L1}[HideLayer{L1}] \button{VIDE L1}[VideLayer{L1}] \midaligned {\definedfont[Mono at 150pt]% \startproperty[L1] TEST \stopproperty} \stoptext Wolfgang

[NTG-context] placing movies

2007-09-18 Thread Hans van der Meer
=jpg]}] \starttext ... \midaligned{%\framed[offset=0pt, strut=no, background= {foreground,shark}]% {\placerenderingwindow[movie][sharkfilm]}}% Is there some spurious space in the code? Perhaps a missing % at the end of a line? I could not spot the culprit in the code, but I might have

Re: [NTG-context] cv templates

2007-09-14 Thread Andrea Valle
[ContactColumns][each][rule=off,distance=0pt] \define[2]\CVTITLE{\midaligned{\framed[frame=off,align=middle] {{\bfa #1}\blank[medium]{\tfb#2}}}\blank[small]} \define[1]\CVEMAIL{{\bf Email:}{ \type{#1}}\blank} % \framed is good for testing or fine-tuning \CONTACT

Re: [NTG-context] cv templates

2007-09-14 Thread Bert Trüger
[SUBCVHEAD][subsubject] \setuphead[subsubject][style=\bf,after={\blank[small]},before={\blank[small]}] \defineparagraphs[ContactColumns][n=2] \setupparagraphs[ContactColumns][each][rule=off,distance=0pt] \define[2]\CVTITLE{\midaligned{\framed[frame=off,align=middle

Re: [NTG-context] mimimal typescripting

2007-08-14 Thread Vyatcheslav Yatskovsky
Hello Wolfgang, Thanks. It works! %engine=luatex \starttext \font\vladimirscript=name:vladimir*default at 36pt \vladimirscript \midaligned{This is my title to be in big vladimir font} \stoptext -- Best regards, Vyatcheslav Yatskovsky

Re: [NTG-context] mimimal typescripting

2007-08-13 Thread Vyatcheslav Yatskovsky
\vladimirscript=name:vladimir*default at 36pt \midaligned{This is my title to be in big vladimir font} \stoptext -- Best regards, Vyatcheslav Yatskovsky ___ If your question is of interest to others as well, please add

Re: [NTG-context] mimimal typescripting

2007-08-13 Thread Wolfgang Schuster
this, small and ugly: :) %engine=luatex \starttext \font\vladimirscript=name:vladimir*default at 36pt \vladimirscript \midaligned{This is my title to be in big vladimir font} \stoptext -- Best regards, Vyatcheslav Yatskovsky You should also enable then font, it is not enough to define it only

Re: [NTG-context] \setupheader: leftstyle rightstyle

2007-07-22 Thread Alex K
alternating headers, they're left/right aligned by default... right? So far I have a two-page spread set up so that the chapter appears on the right header and the title of the text on the left, but neither are centered. Do I use \midaligned, or am I on the wrong track? Thanks. - Original

Re: [NTG-context] Weird Problem

2007-07-19 Thread Wolfgang Schuster
2007/7/19, Johan Sandblom [EMAIL PROTECTED]: Looks like a typo. A } is missing on line 15 Johan he should better remove the first { on line 15 A few alternatives for his \midaligned commands: \startstandardmakeup[align=middle] \startlines {\tfd Just a test} {\it an excerpt} by Nobody

Re: [NTG-context] Weird Problem

2007-07-19 Thread Alex K
Problem 2007/7/19, Johan Sandblom [EMAIL PROTECTED]: Looks like a typo. A } is missing on line 15 Johan he should better remove the first { on line 15 A few alternatives for his \midaligned commands: \startstandardmakeup[align=middle] \startlines {\tfd Just a test} {\it an excerpt} by Nobody

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread Aditya Mahajan
{foo} for i = 0 upto 10: % Draw a label at position (i*cm,0) endfor; \stopuseMPgraphic \starttext \midaligned{\useMPgraphic{foo}} \stoptext is it possible to replace the comment with an instruction (or a macro), such that I do not get compilation errors and I get consistent font

[NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
a label at position (i*cm,0) endfor; \stopuseMPgraphic \starttext \midaligned{\useMPgraphic{foo}} \stoptext is it possible to replace the comment with an instruction (or a macro), such that I do not get compilation errors and I get consistent font usage? I have tried the following

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
][mm][math][euler][euler] \setupbodyfont[MyMainFace,10pt] \startuseMPgraphic{foo} for i = 0 upto 10: % Draw a label at position (i*cm,0) endfor; \stopuseMPgraphic \starttext \midaligned{\useMPgraphic{foo}} \stoptext is it possible to replace the comment

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread Aditya Mahajan
=uc] \definetypeface[MyMainFace][mm][math][euler][euler] \setupbodyfont[MyMainFace,10pt] \startuseMPgraphic{foo} for i = 0 upto 10: % Draw a label at position (i*cm,0) endfor; \stopuseMPgraphic \starttext \midaligned{\useMPgraphic{foo}} \stoptext is it possible to replace

[NTG-context] drawoptions in \startMPinclusions

2007-06-14 Thread nicola
Hi, the following code \startMPinclusions drawoptions(withpen pencircle scaled 1mm); u := 1cm; \stopMPinclusions \startreusableMPgraphic{foo} draw origin--(u,u); \stopreusableMPgraphic \starttext \midaligned{\reuseMPgraphic{foo}} \stoptext produces a line with default thickness, not 1mm wide

Re: [NTG-context] drawoptions in startMPinclusions

2007-06-14 Thread Aditya Mahajan
Quoting nicola [EMAIL PROTECTED]: Hi, the following code \startMPinclusions drawoptions(withpen pencircle scaled 1mm); u := 1cm; \stopMPinclusions \startreusableMPgraphic{foo} draw origin--(u,u); \stopreusableMPgraphic \starttext \midaligned{\reuseMPgraphic{foo}} \stoptext

[NTG-context] macro for api-documentation

2007-04-13 Thread Janko Hauser
colors and different fonts, different lines between in/out and so on. \startalignment[middle] \midaligned{\ss \bTABLE \bTR \bTD[nc=3] validateRegistration \eTD \eTR \bTR \bTD[nr=3] \rotate[rotation=90]{Input} \eTD \bTD parameter1 \eTD \bTD Beschreibung zu Parameter 1 \eTD \eTR \bTR \bTD

Re: [NTG-context] macro for api-documentation

2007-04-13 Thread Wolfgang Schuster
). Here is a simple example, but I will need colors and different fonts, different lines between in/out and so on. \startalignment[middle] \midaligned{\ss \bTABLE \bTR \bTD[nc=3] validateRegistration \eTD \eTR \bTR \bTD[nr=3] \rotate[rotation=90]{Input} \eTD \bTD parameter1 \eTD \bTD Beschreibung zu

Re: [NTG-context] Force all floats on opposite even pages

2007-03-31 Thread Wolfgang Schuster
} \defineconversion [oddpagenumber][\oddpagenumbers] %\setuppagenumbering[conversion=oddpagenumber] \starttext \dorecurse {10} {\dorecurse {12} {\section{Knuth}\input knuth\par} \placefigure{}{\framed{}} %\page[right] \midaligned{Figure \recurselevel} \dorecurse {4

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] Footnotes lost in Natural Tables

2007-02-08 Thread Steffen Wolfrum
But this disturbs the alignment: \midaligned{% \bTABLE … \eTABLE} When the footnotemarker is wide (for example 888), then the table gets shifted away from the middle! Is there a workaround? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl

Re: [NTG-context] Footnotes lost in Natural Tables (solved)

2007-02-08 Thread Steffen Wolfrum
\postponefootnotes something tabular \flushfootnotes But this disturbs the alignment: \midaligned{% \bTABLE … \eTABLE} When the footnotemarker is wide (for example 888), then the table gets shifted away from the middle! \setupindenting[no] was missing. Without the footnote it was centered

Re: [NTG-context] Indenting tables

2007-02-05 Thread Aditya Mahajan
of the table to match the surrounding text? I have tried using \setuptables[align=middle], but it seems to have no effect. You can use \midaligned{\starttable ... \stoptable} or (untested) \placetable [here][none]{none} {\starttable ... \stoptable} Aditya

Re: [NTG-context] Indenting tables

2007-02-05 Thread The Wizard
to indent the left edge of the table to match the surrounding text? I have tried using \setuptables[align=middle], but it seems to have no effect. You can use \midaligned{\starttable ... \stoptable} or (untested) \placetable [here][none]{none} {\starttable ... \stoptable

[NTG-context] error message text

2007-01-24 Thread Hans van der Meer
\hbox to \localhsize {\ifc... l.6 \midaligned{\tfa\bf PRACTICUMBOEK CRYPTOGRAFIE} That is somewhat misleading, if I may permit myself an understatement. In the source of the midaligned there is not a math formula in sight. Now I know enough TeX to see the relevance of the two $'s further

Re: [NTG-context] setup linecorrection

2007-01-20 Thread Taco Hoekwater
David Arnold wrote: All, How do you set up: \startlinecorrection[blank] \midaligned{\getbuffer[table]} \stoplinecorrection so ensuing lines are not indented? There is not actual support for that, but this should work: \let\MYstoplinecorrection\stoplinecorrection \def

[NTG-context] setup linecorrection

2007-01-19 Thread David Arnold
All, How do you set up: \startlinecorrection[blank] \midaligned{\getbuffer[table]} \stoplinecorrection so ensuing lines are not indented? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Gerhard Kugler
\textheight] \setupTABLE[c][5][width=0.4\textheight] \bTABLE \bTABLEhead \bTR \bTH[nc=5] \midaligned{Übung: Einschätzung der eigenen Erfahrung: Prüfen, was wirkungsvoll ist} \eTH \eTR \eTABLEhead \switchtobodyfont[small] \bTABLEbody \bTR . \bTR \bTD[m=5] \eTD \eTR \eTABLEbody \eTABLE

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Mojca Miklavec
\setupTABLE[width=\textheight, height=\textwidth] \setupTABLE[r][each][height=0.13\textwidth] \setupTABLE[r][1,2][align=lohi, height=0.06\textwidth] \setupTABLE[c][1,2,3,4][width=0.15\textheight] \setupTABLE[c][5][width=0.4\textheight] \bTABLE \bTABLEhead \bTR \bTH[nc=5] \midaligned{Übung

Re: [NTG-context] rotate a TABLE

2007-01-14 Thread Peter Rolf
\bTR \bTH[nc=5] \midaligned{Übung: Einschätzung der eigenen Erfahrung: Prüfen, was wirkungsvoll ist} \eTH \eTR \eTABLEhead \switchtobodyfont[small] \bTABLEbody \bTR \bTD[m=5] \eTD \eTR \eTABLEbody \eTABLE %\stopbackground \egroup % \framed } \stoptext Greetings, Peter \bTABLE \bTABLEhead

[NTG-context] Help --- Arithmetic Overflow: Weird error

2007-01-03 Thread David Arnold
(btex $\tfx \Delta x=1$ etex, 0.5[Q,R]); %labels dotlabel.urt(btex $\tfx (-3,3)$ etex, P); \stopbuffer \startbuffer[combined] \startcombination[2*1] {\processMPbuffer[one]}{(a)} {\processMPbuffer[two]}{(b)} \stopcombination \stopbuffer \startlinecorrection[blank] \midaligned

Re: [NTG-context] Problems mapping Xml into ConTeXt

2006-10-12 Thread Hans Hagen
, as well as \underbars, \overstrike, \overstrikes, \low, \high and \lohi. You mentioned that \underbar (and presumably the others I mentioned above) are macros taking arguments e.g. \acommand{...}. However presumably something like \midaligned{...} is also a macro requiring an argument

Re: [NTG-context] Problems mapping Xml into ConTeXt

2006-10-12 Thread Michael Wigston
with \underbar, as well as \underbars, \overstrike, \overstrikes, \low, \high and \lohi. You mentioned that \underbar (and presumably the others I mentioned above) are macros taking arguments e.g. \acommand{...}. However presumably something like \midaligned{...} is also a macro requiring

Re: [NTG-context] Problems mapping Xml into ConTeXt

2006-10-11 Thread Michael Wigston
, \overstrike, \overstrikes, \low, \high and \lohi. You mentioned that \underbar (and presumably the others I mentioned above) are macros taking arguments e.g. \acommand{...}. However presumably something like \midaligned{...} is also a macro requiring an argument, but this works as a \defineXMLgrouped

[NTG-context] bug in beta: extra \else

2006-10-10 Thread Vit Zyka
*: \ .\*palatino10pftt*: l .etc. Overfull \hbox (50.99391pt too wide) in paragraph at lines 51--51 [][]\*palatino10pftt*: \midaligned[] [][] [][] []{Hasselt[] []byl[] []vybu dov\dochar[] []{225}n[] []na[] []soutoku[] []dvou[] []\dochar[] []{176}ek.} \hbox(9.45493+3.6769)x426.79134 .\glue(\leftskip

[NTG-context] Problems mapping Xml into ConTeXt

2006-10-10 Thread Michael Wigston
e={\starttextbackground[ul] }, % after={\stoptextbackground\fixedspaces}] after={\stoptextbackground\ }] % Other mappings \defineXMLgrouped [right] \rightaligned \defineXMLgrouped [centre] \midaligned \defineXMLgrouped [em] \em \defineXMLsingular [br] [nr=1] {\blank[\XMLop{nr}*medium

Re: [NTG-context] Combinations

2006-10-09 Thread Pepe Barbe
On 10/8/06, Aditya Mahajan [EMAIL PROTECTED] wrote: You can center it on your own by \midaligned. Thanks, works like a charm. Pepe ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Combinations

2006-10-08 Thread Aditya Mahajan
\startcombination[2*1] \stopcombination } % Note this Thanks. It does work, but is the same as doing 3*5. The last line does not show centered. You can center it on your own by \midaligned. \placefigure {Combinations} { \startcombination [3*4] {\externalfigure[unknown]}{1} {\externalfigure

Re: [NTG-context] column overflow at times --- any thoughts?

2006-08-03 Thread David Arnold
(-5u,0)--(10u,0) withcolor red;pickup defaultpen;filleddotred((-5u,0));label.bot(btex $\tfx -5$ etex, (-5u,0));\stopbuffer\startlinecorrection[blank]\midaligned{\processMPbuffer}\stoplinecorrection\column                   Taco, inserting a column break works, which is what we'll

Re: [NTG-context] setuphead, setuplist

2006-07-31 Thread Steffen Wolfrum
I have tried ... \setuplist[chapter] [label=no,prefix=no,sectionnumber=no,alternative=a,textcommand= \midaligned,distance=0cm,margin=0cm,width=0cm] ... but still there is the sectionnumber shown in the content. Is this because of our special setuphead[chapter] command? Is there no way

Re: [NTG-context] setuphead

2006-07-30 Thread Steffen Wolfrum
=\midaligned,numbercommand=\it,inbetween= \crlf,textcommand=\bf] That is what I meant but it dodn't work out too well. New approach: \def\Sectioncommand#1#2% {\vbox{\centerline{\it Chapter #1}% \centerline{\bfb #2}}} \setuphead[chapter] [command=\Sectioncommand, style

Re: [NTG-context] setuphead

2006-07-30 Thread Aditya Mahajan
Am 29.07.2006 um 09:11 schrieb Taco Hoekwater: Steffen Wolfrum wrote: You mean like this? \setuphead[chapter][command=\midaligned,numbercommand=\it,inbetween= \crlf,textcommand=\bf] That is what I meant but it dodn't work out too well. New approach: \def\Sectioncommand#1#2% {\vbox

Re: [NTG-context] setuphead

2006-07-28 Thread Steffen Wolfrum
You mean like this? \setuphead[chapter][command=\midaligned,numbercommand=\it,inbetween= \crlf,textcommand=\bf] But what should inbetween be to force a linebreak? Steffen On 27.07.2006, at 15:25, Taco Hoekwater wrote: Steffen Wolfrum wrote: Hi, I was sure it should be quite standard

[NTG-context] Setting to help with overflow in Metapost

2006-07-22 Thread dwarnold45
\startquestion[ex:secqu.29] $p(x)=-x^6-4x^5+27x^4+78x^3+4x^2+376x-480$ \stopquestion \endquestion \beginlonganswer \startanswer %\startlinecorrection[blank] %\midaligned{\externalfigure[q25v][width=0.4\textwidth]} %\midaligned{\externalfigure[q25][width=0.4\textwidth]} %\stoplinecorrection \stopanswer

Re: [NTG-context] linecorrection

2006-07-17 Thread Taco Hoekwater
David Arnold wrote: All, I've been using this construct a lot. \startlinecorrection[blank] \midaligned{\getbuffer[table]} \stoplinecorrection My thinking was that it put a blank before and after, but now I am not sure. It is my understanding that the baselinecorrection

[NTG-context] linecorrection

2006-07-16 Thread David Arnold
All, I've been using this construct a lot. \startlinecorrection[blank] \midaligned{\getbuffer[table]} \stoplinecorrection My thinking was that it put a blank before and after, but now I am not sure. Am I missing something? ___ ntg-context mailing

Re: [NTG-context] alignment

2006-07-10 Thread Hans Hagen
Hans van der Meer wrote: Question:� Why does this gives an error \midaligned{% \starttabulate[|r|c|l|] \NC abc \NC : \NC PQR \NC\NR \NC def \NC : \NC XYZ \NC\NR \stoptabulate } ! Missing } inserted. inserted text � � � � � � � � } to be read again � � � � � � � � �� \vskip \whitespace

[NTG-context] alignment

2006-07-06 Thread Hans van der Meer
Question:  Why does this gives an error \midaligned{% \starttabulate[|r|c|l|] \NC abc \NC : \NC PQR \NC\NR \NC def \NC : \NC XYZ \NC\NR \stoptabulate }! Missing } inserted.inserted text                 }to be read again                    \vskip \whitespace ...\parskip \zeropoint \relax \vskip

Re: [NTG-context] Metapost label alignment etc.

2006-07-05 Thread Aditya Mahajan
\starttext \midaligned{\usestaticMPfigure[square]} \blank[2*big] \midaligned{\usestaticMPfigure[2squares]} \stoptext Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Metapost label alignment etc.

2006-06-30 Thread Idris Samawi Hamid
drawoptions(withcolor black) ; label (textext(Sans Serif),z[19]) ; label (textext(Serif),z[20]) ; picture p; p := textext(\AXIS{a}{4}{Serif}); p := p rotatedaround (z[21], -14.036) ; label.bot(p,z[21]); currentpicture := currentpicture scaled 0.9 ; \stopstaticMPfigure \starttext \midaligned

<    1   2   3   4   5   >