Re: [NTG-context] How to make floats extend into the outer margin

2014-07-25 Thread Hans Hagen
tmarginwidth] \setupfloat[figure][command=\FigureCommand] \define\FigureCommand {\dowithnextbox {\signalrightpage \ifdim\nextboxwd>\textwidth \doifrightpageelse{\leftaligned{\flushnextbox}}{\rightaligned{\flushnextbox}}% \else \midaligned{\flushnextbox}% \fi} \hb

Re: [NTG-context] How to make floats extend into the outer margin

2014-07-24 Thread Joshua Krämer
ge \ifdim\nextboxwd>\textwidth \doifrightpageelse{\leftaligned{\flushnextbox}}{\rightaligned{\flushnextbox}}% \else \midaligned{\flushnextbox}% \fi} \hbox} \showframe \starttext \startplacefigure[location={270, page}] \framed[width=\textheight,fram

Re: [NTG-context] How to make floats extend into the outer margin

2014-07-24 Thread Keith J. Schultz
cm,width=12cm] > > \definemeasure[Widefigure][\textwidth+\rightmargindistance+\rightmarginwidth] > > \setupfloat[figure][command=\FigureCommand] > > \define\FigureCommand > {\dowithnextbox > {\signalrightpage > \ifdim\nextboxwd>\textwidth >

Re: [NTG-context] How to make floats extend into the outer margin

2014-07-24 Thread Wolfgang Schuster
enumbering[alternative=doublesided] \setuplayout[backspace=4cm,width=12cm] \definemeasure[Widefigure][\textwidth+\rightmargindistance+\rightmarginwidth] \setupfloat[figure][command=\FigureCommand] \define\FigureCommand {\dowithnextbox {\signalrightpage \ifdim\nextboxwd>\textwidth

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-28 Thread Wolfgang Schuster
e a mistake somewhere. > > Any suggestions? > > Robert > > Test source: > > \starttext > > \input knuth > > \setuptabulate[split=yes] > > \midaligned { %%% <-- THIS DOES NOT WORK -- it does not center the entire > table > \starttabulate [|p(.5\t

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-28 Thread Hans Hagen
pretty hard to do otherwise Robert Test source: \starttext \input knuth \setuptabulate[split=yes] \midaligned { %%% <-- THIS DOES NOT WORK -- it does not center the entire table \starttabulate [|p(.5\textwidth)|p(.2\textwidth)|] \dorecurse{4}{ \NC Nu laat ik je iets zien in een tabel

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-28 Thread Robert Zydenbos
not use the full width of the paper (b) it is a long table, crossing a page end (c) the whole table should be centered I tried the source below and obviously made a mistake somewhere. Any suggestions? Robert Test source: \starttext \input knuth \setuptabulate[split=yes] \midaligned { %%%

Re: [NTG-context] Strange behavior with Metapost

2014-05-27 Thread Fabrice
l idea. Fabrice \midaligned{% \startcombination[4*1] {% \startMPcode input hvdm; l:=2.8mm; r:=0.6; alfa:=45; beta:=0; gamma:=0; defineDefaultArrow (l, r, alfa, beta, gamma); numeric xmin, xmax, ymin, ymax; xmin := -2; xmax :=4; ymax :=5 ;ymin:=-1; u := 0.7cm; pickup penci

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-22 Thread Robert Zydenbos
ocumentatie niet te vinden is. En in dat geval gaat het hele experiment niet op, of, nou ja, slechts ten dele. {\bf But drat, I want this box to be split across pages!}\eTD \eTR \eTABLE \blank } % end of \dorecurse \midaligned { \setupTABLE[row][each][rulethickness=1.5pt,distance=1mm,offset=\

[NTG-context] Problem with pdf output for FeedARead.com

2014-04-15 Thread Keith McKay
] \setupexternalfigures[location={local,default}] \setupalign[nonhyphenated] \setuphead[section-3][number=no,align=middle][alternative=doublesided,location=footer] \setuptolerance[vertical,verystrict] \setuptolerance[horizontal,verytolerant] \starttext \midaligned{\tfd{Title Page}} \page FeedAReed blurb and

[NTG-context] Table next to a text in an environment of type list

2014-03-29 Thread Fabrice Couvreur
Hi, How to improve this code to make the table to the right of the text in the environment list ? \midaligned{\tfb Cadres en entreprise} \blank On compte 67 femmes dans une entreprise de 160 personnes. Parmi les personnes de cette entreprise, il y a 32 cadres dont 15 femmes. \startitemize[n

Re: [NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-22 Thread Wolfgang Schuster
expect the TOC to be midaligned. But it isn't. It is leftaligned. b.) I would expect the TOC stopped after the 5th subsection row at page bottom and to be continued at the next page due to "[pageboundaries={0.1.1.5}]". But it isn't. 2. attempt with "\line{\hfill\vbox{\hsize=.75\

[NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-22 Thread Rudolf Bahr
completecontent[pageboundaries={0.1.1.5}] \stopnarrower": The output of the following minimalistic example is partly attached as .pdf file. I shortened there the textheight to 80mm. a.) I would expect the TOC to be midaligned. But it isn't. It is leftaligned. b.) I would expect the

Re: [NTG-context] Using *fleurons*

2013-11-11 Thread Wolfgang Schuster
e a fleuron I can do something like this. \midaligned{{\MedBlue \FleuronFont g}} In this case, the text letter 'g' corresponds to the particular little symbol I want. YMMV Take a look at the fancybreak module: http://modules.contextgarden.net/dl/t-fancybreak/doc/context/third

Re: [NTG-context] Using *fleurons*

2013-11-11 Thread Bill Meahan
ques in Nymphette (a readily-available free font) but there are many others. In my preamble I define: \definefont[FleuronFont] [nymphette sa 1.5] Then where I want to place a fleuron I can do something like this. \midaligned{{\MedBlue \FleuronFont g}} In this case, the text letter 'g'

Re: [NTG-context] Chapter endings

2013-11-10 Thread Wolfgang Schuster
following reasons:     1) it acts wrongly if the page in which the *fleuron* is to appear has a lot of blank space availabe, as the following test code demonstrates:\setuplayout[lines=30]\def\Fleuron{\par\leaders\vbox to \lineheight{\midaligned{Finis\\coronat\\opus}}\vfil}    \starttext \dorecurse

Re: [NTG-context] Using *fleurons*

2013-11-10 Thread Wolfgang Schuster
*TeX*'s special *box registers* as arguments;% here box register number *0* has been arbitrarily selected for the proceedings. % The essential steps in the construction are:%    - (typo)graphical composition of the motive (as for instance *\midaligned{Finis}* in the first example)%

[NTG-context] Using *fleurons*

2013-11-10 Thread Francisco Gracia
* has been arbitrarily selected for the proceedings. % The essential steps in the construction are: %- (typo)graphical composition of the motive (as for instance *\midaligned{Finis}* in the first example) %or designation of the source file of an image, %- enclosure of it in a ve

[NTG-context] Chapter endings

2013-11-10 Thread Francisco Gracia
*fleuron* is to appear has a lot of blank space availabe, as the following test code demonstrates: \setuplayout[lines=30] \def\Fleuron {\par \leaders\vbox to \lineheight{\midaligned{Finis\\coronat\\opus}}\vfil} \starttext \dorecurse{32}{Line \recurselevel\par} \Fleuron \stoptext where the

Re: [NTG-context] [***SPAM***] Page layout mechanics

2013-10-09 Thread hwitloc
=0mm, >header=0mm, >footer=0mm, >width=middle, >height=middle] > > \starttext > \showframe > \midaligned{Hello World!} > \showlayout > \stoptext > > Marco > ___

Re: [NTG-context] [***SPAM***] Page layout mechanics

2013-10-09 Thread Marco Patzer
der=0mm, footer=0mm, width=middle, height=middle] \starttext \showframe \midaligned{Hello World!} \showlayout \stoptext Marco signature.asc Description: Digital signature ___ If your question is of inter

[NTG-context] [***SPAM***] Page layout mechanics

2013-10-09 Thread hwitloc
r=0mm, headerdistance=0mm, footerdistance=0mm, footer=0mm,bottomdistance=0mm, bottom=0mm, makeupwidth=85mm ] \starttext \showframe \midaligned{Hello World!} \showlayout \sto

Re: [NTG-context] Strange page break before \title

2013-09-09 Thread Wolfgang Schuster
Am 09.09.2013 um 09:23 schrieb Xan : > On Sun, 8 Sep 2013 14:21:08 +0200 > Wolfgang Schuster ha escrit: > >> >> Am 07.09.2013 um 22:34 schrieb Xan : >> >>> On Fri, 6 Sep 2013 13:22:55 +0200 >>> Wolfgang Schuster ha escrit: >>> >>

Re: [NTG-context] Strange page break before \title

2013-09-09 Thread Xan
On Sun, 8 Sep 2013 14:21:08 +0200 Wolfgang Schuster ha escrit: > > Am 07.09.2013 um 22:34 schrieb Xan : > > > On Fri, 6 Sep 2013 13:22:55 +0200 > > Wolfgang Schuster ha escrit: > > > >> after=\midaligned{\blackrule[width=7cm,height=\linewidth]} > >

Re: [NTG-context] Strange page break before \title

2013-09-08 Thread Wolfgang Schuster
Am 07.09.2013 um 22:34 schrieb Xan : > On Fri, 6 Sep 2013 13:22:55 +0200 > Wolfgang Schuster ha escrit: > >> after=\midaligned{\blackrule[width=7cm,height=\linewidth]} > > Thanks, perfect. > > But why (by default) it breaks the page and with simple \title does not

[NTG-context] [***SPAM***] Re: Strange page break before \title

2013-09-07 Thread Xan
On Fri, 6 Sep 2013 13:22:55 +0200 Wolfgang Schuster ha escrit: > after=\midaligned{\blackrule[width=7cm,height=\linewidth]} Thanks, perfect. But why (by default) it breaks the page and with simple \title does not do?

Re: [NTG-context] Strange page break before \title

2013-09-06 Thread Wolfgang Schuster
Am 06.09.2013 um 13:09 schrieb Xan : > Hi, > > I have this setuptitle: > > \setuphead[title][before={\page[no]}, >after={\startalignment[center] > {\dorecurse{30}~}\thinrule{\dorecurse{30}~}% \setuphead [title] [page=no, after=\midaligned{\blackrule[width=

[NTG-context] [***SPAM***] Re: [***SPAM***] How to reduce vertical spacing after this table

2013-07-08 Thread d.henman
ym][\m{\dagger},\m{*},\m{**},\m{***}] % footnote > > header symbols > > > > \starttext > > \subject{Subject Name} > >\blank > > \startlocalfootnotes % [conversion=set fnsym] > > \setupnotation[footnote][numberconversion=fnsym,rule=off] % change

Re: [NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread Wolfgang Schuster
ame} >\blank > \startlocalfootnotes % [conversion=set fnsym] > \setupnotation[footnote][numberconversion=fnsym,rule=off] % change footnote > symbols > \midaligned > { > \placetable[here,none][]{} >{ >\setuptables[bodyfont=10pt,after=\nowhitespace,s

[NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread hwitloc
e symbols \midaligned { \placetable[here,none][]{} { \setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none] \starttable[|c|c|c|c|c|c|c|c|c|] \HL \VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional Characters} \VL \VL$\oplus$ \note[hanzi]\VL

Re: [NTG-context] [***SPAM***] Placement of a table's footnotes

2013-07-05 Thread Wolfgang Schuster
Am 06.07.2013 um 07:40 schrieb d.henman : > > Here is a minimal example of my attempt to get a footnot(s) just below a > table. > > As it is the footnote is dislayed to the right of the table. > > Minimal example: > > %--- >

[NTG-context] [***SPAM***] Placement of a table's footnotes

2013-07-05 Thread d.henman
Here is a minimal example of my attempt to get a footnot(s) just below a table. As it is the footnote is dislayed to the right of the table. Minimal example: %--- \starttext \midaligned { \startlocalfootnotes % [conversion=set fnsym] \setupnotation

Re: [NTG-context] documents inside documents

2013-06-26 Thread Aditya Mahajan
={context:after}, ] \define[1]\ShowPDF {\midaligned{\externalfigure[#1][frame=on]}} \startbuffer[context:before] \mainlanguage[en] \setuplanguage[en][patterns={en,agr}] \definepapersize[mine][width=6in,height=2in] \setuppapersize[mine] \usemodule[simplefonts] \setmainfont[Dejavu

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Wolfgang Schuster
Am 26.06.2013 um 15:30 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > > On Wed, 26 Jun 2013 15:10:43 +0200, Wolfgang Schuster > wrote: > >> Use the solution in the following mail which deals with the same problem: >> http://www.ntg.nl/pipermail/ntg-context/2013/073795.html >>

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Wed, 26 Jun 2013 15:10:43 +0200, Wolfgang Schuster wrote: Use the solution in the following mail which deals with the same problem: http://www.ntg.nl/pipermail/ntg-context/2013/073795.html Wolfgang the following code seems to work: ... context.startplacetable({location

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Wolfgang Schuster
Am 26.06.2013 um 15:00 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > > thanks for explanation. > > I also wrote a sample code which should typeset a midaligned table via Lua > using "tabulate". > > But I'm not able to achieve the goal - w

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks for explanation. I also wrote a sample code which should typeset a midaligned table via Lua using "tabulate". But I'm not able to achieve the goal - what am I doing wrong? \starttext T \startluacode local f = function() context.starttabulate{&

Re: [NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Wolfgang Schuster
Am 26.06.2013 um 14:07 schrieb Procházka Lukáš Ing. - Pontex s. r. o. : > Hello, > > there are several similar commands to produce text (or another object) to be > centered on the line. > > What are differences (or intended usage) among \centerline, \midaligned, > \

[NTG-context] \centerline vs. \midaligned vs. \startalignment[middle]

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, there are several similar commands to produce text (or another object) to be centered on the line. What are differences (or intended usage) among \centerline, \midaligned, \startalignment[middle]? (NB: \centerline has no its-own page on wiki, but it is used at several places in wiki

Re: [NTG-context] Working with layers ... with example

2013-06-24 Thread Wolfgang Schuster
hem all in the \setupbackgrounds commands. \setupbackgrounds[page][background={document_logo,document_data}] 2. You can insert a certain numbers of empty lines in your document with \blank[*line]. 3. \startalignment makes no sense in a layer. 4. You can align single lines of text with \leftaligned, \midal

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Wolfgang Schuster
{\signalrightpage \doifrightpageelse\donetrue\donefalse \scratchdimen\nextboxht \hbox\bgroup \ifdone \midaligned{\flushnextbox}\rlap{\hskip\rightmargindistance\framed[frame=off,width=\rightmarginwidth,height=\scratchdimen]{\floatuserdataparameter{text}}}% \e

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-05-24 Thread Wolfgang Schuster
version 2012.10.20, which is about six months old now, > but I am hesitant to update as I have a lot of co-workers using the same > version and our configuration management processes dictate that we always > update together. > > Could you please help me out. You can replace \s

Re: [NTG-context] split natural table

2013-05-21 Thread Stephens, Kenny
\startoverlay {\leftaligned {Left}} {\midaligned {Middle}} {\rightaligned{Right}} \stopoverlay \egroup \stopsetups \setupheadertexts[\setups{header}] When you have a longer text for all three fields

Re: [NTG-context] split natural table

2013-05-21 Thread Wolfgang Schuster
% } > %\setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]% > % {\syllabusheader}}] > \startsetups[header] > \startframed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex] > \starto

Re: [NTG-context] split natural table

2013-05-21 Thread Stephens, Kenny
ight=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex] \startoverlay {\leftaligned {Left}} {\midaligned {Middle}} {\rightaligned{Right}} \stopoverlay \stopframed \stopsetups \setupheadertexts[\texse

Re: [NTG-context] split natural table

2013-05-21 Thread Wolfgang Schuster
e same result without these problems (it’s also faster). \startsetups[header] \startframed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex] \startoverlay {\leftaligned {Left}} {\midali

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
h > > colored background rather that the whole document. Here are some codes: > > \starttext% titlepage (yellow) > > \startmakeup[standard] > > \midaligned{How to make document} > > \stopmakeup > > % page1 (gray) > > Many \CONTEXT\ users $\ldots$ > > \

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Aditya Mahajan
On Tue, 23 Apr 2013, Tim Li wrote: Sometimes, I only want a single page, say, the titlepage or page 32, with colored background rather that the whole document. Here are some codes: \starttext% titlepage (yellow) \startmakeup[standard] \midaligned{How to make document} \stopmakeup % page1

[NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
Sometimes, I only want a single page, say, the titlepage or page 32, with colored background rather that the whole document. Here are some codes: \starttext% titlepage (yellow) \startmakeup[standard] \midaligned{How to make document} \stopmakeup % page1 (gray) Many \CONTEXT\ users $\ldots$ \page

[NTG-context] How to typeset the titlepage and its verso in ConTeXt?

2013-04-16 Thread Tim Li
[palatino] \setupbodyfont[palatino,12pt] \setuppagenumbering [location={footer,middle}, alternative=doublesided] \setupmakeup [standard] [pagestate=start] \starttext \startfrontmatter % titlepage \startmakeup[standard] %[doublesided=no] \vskip2in \midaligned

Re: [NTG-context] [***SPAM***] Changing the font of the TOC-Title

2013-04-15 Thread Tim Li
this by the following method: I think we'd better only change the label by \setupheadtext and chage its style by \setuphead. An example as follows \setupheadtext[content={CONTENTS}] \def\mytitle#1{% \midaligned{#1}} \setuphead [title] [style={\bfb}, color=red, before={}

Re: [NTG-context] [***SPAM***] Changing the font of the TOC-Title

2013-04-15 Thread Tim Li
I have achieved this by the following method: I think we'd better only change the label by \setupheadtext and chage its style by \setuphead. An example as follows \setupheadtext[content={CONTENTS}] \def\mytitle#1{% \midaligned{#1}} \setuphead [title] [style={\bfb}, color=red, b

Re: [NTG-context] eliminate blank page.

2013-03-30 Thread john Culleton
uld be followed on the next page (title verso) > > by the file copy.tex. but a blank page occurs between the two. Here > > is title.tex: > > > > --- > > > > \startstandardmakeup[doublesided=no] > > \vskip .75in

Re: [NTG-context] eliminate blank page.

2013-03-30 Thread Wolfgang Schuster
page occurs between the two. Here is title.tex: > > --- > > \startstandardmakeup[doublesided=no] > \vskip .75in > \midaligned{\tfd\ss\bf Inkscape} > \vskip .30in > \midaligned{\tfc\ss\bf for} > \vskip .30in > \midaligned{\tfd\ss\bf

[NTG-context] eliminate blank page.

2013-03-30 Thread john Culleton
: --- \startstandardmakeup[doublesided=no] \vskip .75in \midaligned{\tfd\ss\bf Inkscape} \vskip .30in \midaligned{\tfc\ss\bf for} \vskip .30in \midaligned{\tfd\ss\bf Book Cover Design} \vfil \midaligned{\tfb\ss\bf Open Source Solutions} \vskip .40in \midaligned{\tfb\ss\bf \authorname

Re: [NTG-context] Some questions

2013-01-25 Thread Alain Delmotte
he same line as the first. \leftaligned {\inframed[width=fit]{People in Hasselt}} \midaligned {\inframed[height=1.5cm,frame=off]{have a}} \rightaligned {\inframed[background=screen]{historic background}} In MkIV there's a new syntax you can use: \startlinealignment [left] \inframed[width=fi

Re: [NTG-context] Some questions

2013-01-25 Thread Marco Patzer
are in the process of completely re-writing the chemical macros. I don't know the current state. > - The boxes on page 45, second example are not at the right > position, particularly the second is on the same line as the first. > \leftaligned > {\inframed[width=fit]{People in Hassel

[NTG-context] Some questions

2013-01-25 Thread Alain Delmotte
I'll come back to that later on, but what is the manual about it? - The boxes on page 45, second example are not at the right position, particularly the second is on the same line as the first. \leftaligned {\inframed[width=fit]{People in Hasselt}} \midaligned {\inframed[height=1.5cm,fra

Re: [NTG-context] bookmark linebreak and indentation

2013-01-04 Thread Wolfgang Schuster
Am 04.01.2013 um 10:56 schrieb ShcO : > dear list, > > i have two problem need your help > 1. if use \\, there will show a '\' in bookmark, how to ignore it. > 2. if use \midaligned, the next pargraph's indentation will not work > properly. there is no problem

[NTG-context] bookmark linebreak and indentation

2013-01-04 Thread ShcO
dear list, i have two problem need your help 1. if use \\, there will show a '\' in bookmark, how to ignore it. 2. if use \midaligned, the next pargraph's indentation will not work properly. there is no problem with using \startalignment[middle]. ex: \setupinteract

Re: [NTG-context] Centered multiline chapter title

2012-12-18 Thread Wolfgang Schuster
Am 17.12.2012 um 21:29 schrieb ha...@wpb.cz: > Hello, > > I need to format my chapters in the following way: > > - The chapters are centered (midaligned). > > - Some chapters are long, so they have to be multilined. > > - The chapter title should be in

[NTG-context] Centered multiline chapter title

2012-12-18 Thread hanak
Hello, I need to format my chapters in the following way: - The chapters are centered (midaligned). - Some chapters are long, so they have to be multilined. - The chapter title should be in capital letters, but in the header should it be without capitalisation. - When the chapter

Re: [NTG-context] tabulate & \midaligned

2012-11-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks, it works! Best regards, Lukas On Thu, 29 Nov 2012 09:05:38 +0100, luigi scarso wrote: On Thu, Nov 29, 2012 at 8:11 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, the \start/stop-tabulate doesn't work inside \midaligned: \def\T{% \starttabulate[|r|l|]

Re: [NTG-context] tabulate & \midaligned

2012-11-29 Thread luigi scarso
On Thu, Nov 29, 2012 at 8:11 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: > Hello, > > the \start/stop-tabulate doesn't work inside \midaligned: > > > \def\T{% > \starttabulate[|r|l|] > \NC c \NC centered \NC \AR > \NC l \NC left aligned \NC \AR

[NTG-context] tabulate & \midaligned

2012-11-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the \start/stop-tabulate doesn't work inside \midaligned: \def\T{% \starttabulate[|r|l|] \NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned \NC \AR \stoptabulate } \starttext \T % This is OK \midaligned{\T} % This fails \sto

Re: [NTG-context] no footnote printed

2012-11-14 Thread Wolfgang Schuster
Am 14.11.2012 um 12:26 schrieb Philipp Gesang : > · > >> Am 13.11.12 13:36, schrieb Hans Hagen: >>> On 11/13/2012 11:05 AM, Bernd Militzer wrote: >>>> Hello, >>>> >>>> using midaligned no footnote is printed. >>>>

Re: [NTG-context] no footnote printed

2012-11-14 Thread Herbert Voss
Am 14.11.2012 12:18, schrieb Bernd Militzer: Am 13.11.12 13:36, schrieb Hans Hagen: On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank

Re: [NTG-context] no footnote printed

2012-11-14 Thread Philipp Gesang
· > Am 13.11.12 13:36, schrieb Hans Hagen: > >On 11/13/2012 11:05 AM, Bernd Militzer wrote: > >>Hello, > >> > >>using midaligned no footnote is printed. > >> > >>\starttext > >>% > >>\midaligned{§. 180.\footnote

Re: [NTG-context] no footnote printed

2012-11-14 Thread Bernd Militzer
Am 13.11.12 13:36, schrieb Hans Hagen: On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph

Re: [NTG-context] no footnote printed

2012-11-13 Thread Hans Hagen
On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla

[NTG-context] no footnote printed

2012-11-13 Thread Bernd Militzer
Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla bla bla % \stoptext tested with: ConTeXt ver

[NTG-context] no footnote printed

2012-11-12 Thread Bernd Militzer
Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla bla bla % \stoptext tested with: ConTeXt ver

[NTG-context] no footnote printed

2012-11-12 Thread Bernd Militzer
Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank \midaligned{§. 354.\footnote{Franz Joseph Schopf II.: a.a.O., S. 245}} \crlf Text bla bla bla % \stoptext tested with: ConTeXt ver

Re: [NTG-context] align and location in \setupcombination

2012-10-30 Thread Wolfgang Schuster
;> >> +1 > > I've added something for you to check. I found a typo: \unexpanded\def\leftaligned {\spac_align_wrapper_handle\v!left } -\unexpanded\def\midaligned {\spac_align_wrapper_handle\v!middle} +\unexpanded\def\middlealigned{\spac_align_wrapper_handle\v!middle} \unex

Re: [NTG-context] align and location in \setupcombination

2012-10-30 Thread Hans Hagen
remember for us who still know the \midaligned{} syntax, but I guess for new users it's confusing. Additionally, the difference between the commands is unclear. What about an interface like this: \startlinealignment [right|middle|left] FooBar \stoplinealignment +1 I've ad

Re: [NTG-context] align and location in \setupcombination

2012-10-30 Thread Wolfgang Schuster
Am 30.10.2012 um 13:36 schrieb Marco Patzer : > 2012-10-30 Wolfgang Schuster: > >>> \midaligned >>> {\startcombination[2*1] >>> {\externalfigure[dummy][]}{aa} >>> {\externalfigure[dummy][]}{bb} >>> \stopcombination} >> &

Re: [NTG-context] align and location in \setupcombination

2012-10-30 Thread Marco Patzer
2012-10-30 Wolfgang Schuster: > > \midaligned > > {\startcombination[2*1] > >{\externalfigure[dummy][]}{aa} > >{\externalfigure[dummy][]}{bb} > > \stopcombination} > > With the new beta you can replace > > \midalig

Re: [NTG-context] align and location in \setupcombination

2012-10-30 Thread Wolfgang Schuster
Am 28.10.2012 um 15:59 schrieb Marco Patzer : >> So I have to enclose \startcombination … \stopcombination in >> \placefigure[][]{}. >> How to locate the combined figures at the horizontal center? > > \midaligned > {\startcombination[2*1] >{\e

Re: [NTG-context] align and location in \setupcombination

2012-10-29 Thread Wolfgang Schuster
Am 29.10.2012 um 13:31 schrieb Jeong Dal : > Dear Marco and Wolfgang, > > Thank you for solutions. > > I have tried \startalignment … \stopalignment, but it is not working. > Does it work as same as \midaligned? No, both commands work different. With \startalignment you c

Re: [NTG-context] align and location in \setupcombination

2012-10-29 Thread Jeong Dal
Dear Marco and Wolfgang, Thank you for solutions. I have tried \startalignment … \stopalignment, but it is not working. Does it work as same as \midaligned? \startcontent … \stopcontent, \startcaption … \stopcaption seem to me a new commands. Is every command in ConTeXt changed as a form of

Re: [NTG-context] align and location in \setupcombination

2012-10-28 Thread Wolfgang Schuster
Am 28.10.2012 um 15:59 schrieb Marco Patzer : >> So I have to enclose \startcombination … \stopcombination in >> \placefigure[][]{}. >> How to locate the combined figures at the horizontal center? > > \midaligned > {\startcombination[2*1] >{\e

Re: [NTG-context] align and location in \setupcombination

2012-10-28 Thread Marco Patzer
\setupcombination [location=middle] \startcombination[2*1] {\externalfigure[dummy][height=1cm]}{aa} {\externalfigure[dummy][height=4cm]}{bb} \stopcombination > So I have to enclose \startcombination … \stopcombination in > \placefigure[][]{}. > How to locate the combined fi

Re: [NTG-context] Long table centered on every page

2012-09-20 Thread Wolfgang Schuster
d1 \eTH > \eTR >\eTABLEhead >% >\bTABLEbody > \dorecurse{40}{% >\bTR > \bTD body \eTD >\eTR > } >\eTABLEbody > \eTABLE > } > > \starttext > Table 1: > > \midaligned{\TAB} > > \page

[NTG-context] Long table centered on every page

2012-09-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
} \eTABLEbody \eTABLE } \starttext Table 1: \midaligned{\TAB} \page Table 2: \startalignment[middle] %\dontleavehmode% \TAB \stopalignment \stoptext Table 1 is centered in the page, however both parts of the table are placed next to each other (unwanted). If I

[NTG-context] A strange problem, probably with \startitemize[columns]

2012-07-28 Thread Marcin Borkowski
pchapter \startnotmode[nauczyciel] \page \setuppagenumber[state=stop] \midaligned{% \starttikzpicture[scale=1.8,rotate=-30] \hexboard{2}{10pt} \stoptikzpicture } \par\blank[6*big] \midaligned{% \starttikzpicture[scale=1.8,rotate=-30] \hexboard{3}{10pt} \stoptikzpicture } \pag

[NTG-context] imposition broken again

2012-07-09 Thread Henning Hraban Ramm
*4,doublesided] \def\Style{[2UP]} %{[2*2*4,doublesided]} \startbuffer[Fakepage] \strut \blank[force] \midaligned{\Style} \vfill \midaligned{This is page \recurselevel} \vfill \stopbuffer \setupheadertexts[\CONTEXT] \starttext % \showframe

Re: [NTG-context] Centering a figure vertically on a page

2012-07-03 Thread Marcin Borkowski
e, centered both > > horizontally and vertically. How can I achieve this? I already > > know that \setuppagenumber[state=stop] is a good idea, and > > \midaligned{...} gives me horizontal centering; what about > > vertical? The problem is that the figure is larger than t

Re: [NTG-context] Centering a figure vertically on a page

2012-07-03 Thread Wolfgang Schuster
t \setuppagenumber[state=stop] is a good idea, and \midaligned{...} > gives me horizontal centering; what about vertical? The problem is > that the figure is larger than the text area (and this doesn't bother > me, it's a game board and it may extend almost to the paper border

[NTG-context] Centering a figure vertically on a page

2012-07-03 Thread Marcin Borkowski
Hello, the subject line basically covers my problem: I have a large (tikz) figure, and I want to have it by itself on a page, centered both horizontally and vertically. How can I achieve this? I already know that \setuppagenumber[state=stop] is a good idea, and \midaligned{...} gives me

[NTG-context] Indenting problems

2012-06-08 Thread Bill Meahan
ign=middle]{#1}% \midaligned{#2}} \setuphead [chapter] [command=\ChapterCommand, after=\hairline\blank, header=empty, textstyle=\cgd, numberstyle=\sca] \definefontfeature[smallcaps][smallcaps][onum=yes] \definetypeface[mainface][rm][serif] [pagella] [default] \definetypefac

Re: [NTG-context] Confused again :-)

2012-06-07 Thread Bill Meahan
height=0.70\paperheight] \setuppagenumbering[alternative=doublesided] \setuplabeltext[en][chapter=Chapter ] \define[2]\ChapterCommand {\inright[][align=middle]{#1}% \midaligned{#2}} \setuphead [chapter] [command=\ChapterCommand, header=empty, textstyle=\cgd,

Re: [NTG-context] Confused again :-)

2012-06-07 Thread Wolfgang Schuster
ample: \setuplayout [ backspace=0.10\paperwidth, width=0.60\paperwidth, rightmargin=0.25\paperwidth, footer=0pt, topspace=0.10\paperheight, height=0.70\paperheight] \setuppagenumbering[alternative=doublesided] \setuplabeltext[en][chapter=Chapter ] \define[2]\Cha

Re: [NTG-context] alignment in a footer

2012-05-30 Thread Jan Pohanka
Thank you for answer, I have discovered, that \tbox does the job for me. \startoverlay {\leftaligned{nazev}} {\midaligned{\pagenumber /\totalnumberofpages}} {\rightaligned{\tbox{\externalfigure[jc_logo_small][width=4cm]}}} \stopoverlay regards Jan Dne Wed, 30 May 2012

Re: [NTG-context] alignment in a footer

2012-05-30 Thread Willi Egger
PANY with all rights reserved.} > \startoverlay > {\leftaligned{title}} > {\midaligned{1/1}} > {\rightaligned{\externalfigure[jc_logo_small][width=4cm]}} > \stopoverlay > > Unfortunately I have two problems with code above. I need to have the text > and figure in over

[NTG-context] alignment in a footer

2012-05-30 Thread Jan Pohanka
itten permission of COMPANY. This document is copyrighted by COMPANY with all rights reserved.} \startoverlay {\leftaligned{title}} {\midaligned{1/1}} {\rightaligned{\externalfigure[jc_logo_small][width=4cm]}} \stopoverlay Unfortunately I have two problems with code abo

Re: [NTG-context] imposition 2UP = empty pages

2012-05-17 Thread Henning Hraban Ramm
] \startbuffer[Fakepage] \strut \blank[force] \midaligned{2UP} \vfill \midaligned{This is page \recurselevel} \vfill \stopbuffer \setupheadertexts[\CONTEXT] \starttext \dorecurse{16}{\getbuffer[Fakepage]\page} \stoptext Greetlings, Hraban --- http

Re: [NTG-context] imposition 2UP = empty pages

2012-04-23 Thread Henning Hraban Ramm
] \midaligned{2UP} \vfill \midaligned{This is page \recurselevel} \vfill \stopbuffer \setupheadertexts[\CONTEXT] \starttext \dorecurse{16}{\getbuffer[Fakepage]\page} \stoptext Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net

[NTG-context] imposition 2UP = empty pages

2012-04-20 Thread Henning Hraban Ramm
=fit] \setupbackgrounds [text][text][background=screen,backgroundscreen=0.7] \setupcolors [state=start] \setuplayout [location=middle,marking=on] \setuparranging [2UP] %[2*2*4,doublesided] \startbuffer[Fakepage] \strut \blank[force] \midaligned{2UP} \vfill

Re: [NTG-context] Footnotes in formulas

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
? Best regards, Lukas On Thu, 15 Mar 2012 15:34:43 +0100, Wolfgang Schuster wrote: \starttext \midaligned {\startcombination[3*1] {A}{} {B}{} {C}{} \stopcombination} \stoptext Wolfgang -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:p

Re: [NTG-context] Footnotes in formulas

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
non-floats. Sorry for misunderstanding - my fault. \starttext \midaligned {\startcombination[3*1] {A}{} {B}{} {C}{} \stopcombination} \stoptext Wolfgang And thanks for the solution. Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex

<    1   2   3   4   5   6   >