Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
finehspace[tnumber][0.5em] \startsetups [fheader] \startframed[width=max,frame=off] \startoverlay {\leftaligned{\framedtext[location=top,frame=off,width=fit,offset=0ex]{„ДОЛИНА” Д.О.О. Београд\\ ПЈ за прераду меса\\ ПИБ: СР 100029284\\ МБ: 06434517\\ Текући рачун: 205-15795

Re: [NTG-context] Calling in chapter number in list={}

2022-03-17 Thread Henning Hraban Ramm via ntg-context
[1]\SectionTocEntry{% \leftaligned{#1}\par% title. \leftaligned is needed \hskip1cm\relax\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% } \setuphead[chapter] of course includes number=no. \setuplist[chapter] is currently set as: [label=yes,distance=1.2cm

[NTG-context] Calling in chapter number in list={}

2022-03-16 Thread jbf via ntg-context
]\SectionTocEntry{% \leftaligned{#1}\par% title. \leftaligned is needed \hskip1cm\relax\doifnot{\structurelistuservariable{author}}{}{\structurelistuservariable{author}}% } \setuphead[chapter] of course includes number=no. \setuplist[chapter] is currently set as: [label=yes,distance=1.2cm,style=normal

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Wolfgang Schuster
[part]}][] \setuppagenumbering [alternative=doublesided] \setupfootertexts [margin] [\leftaligned {A}] [\rightaligned{B}] [\leftaligned {C}] [\rightaligned{D}] \setuplayout [backspace=4cm, width=12cm] \showframe \starttext \dorecurse{4}{\dontleavehmode\page} \stoptext

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
else I can substitute it for? D'oh! Sorry - completely forgot about the indent. Best I can come up with at the moment is this - but I'm not sure how to get leading dots. \starttext \define[3]\SectionToCEntry{ #2\crlf \leftaligned \bgroup \hskip 0.5cm

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Bruce Horrocks
> } > > But the \hskip is ignored at the beginning of a line. I wonder if there is > something else I can substitute it for? D'oh! Sorry - completely forgot about the indent. Best I can come up with at the moment is this - but I'm not sure how to get leading dots. \startt

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Henning Hraban Ramm
I need to create my own links somehow? >> >> Example: >> >> \setupinteraction[state=start] >> \setupinteractionscreen[option=bookmark] >> >> \define[3]\SectionListEntry >> {\par \leftaligned\bgroup >> \hbox to 2em{#3}% >>

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Wolfgang Schuster
[option=bookmark] \define[3]\SectionListEntry {\par \leftaligned\bgroup \hbox to 2em{#3}% \hskip 1em \vtop{\hsize\dimexpr\textwidth-3em\relax#2} \egroup \par} % Comment out this next line to regain section hyperlinks in the ToC \setuplist[section][alternative

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Henning Hraban Ramm
etupinteraction[state=start] > \setupinteractionscreen[option=bookmark] > > \define[3]\SectionListEntry > {\par \leftaligned\bgroup > \hbox to 2em{#3}% > \hskip 1em > \vtop{\hsize\dimexpr\textwidth-3em\relax#2} > \egroup \par} > > % Comment o

[NTG-context] Custom list layout with PDF bookmarks

2020-05-15 Thread Bruce Horrocks
{\par \leftaligned\bgroup \hbox to 2em{#3}% \hskip 1em \vtop{\hsize\dimexpr\textwidth-3em\relax#2} \egroup \par} % Comment out this next line to regain section hyperlinks in the ToC \setuplist[section][alternative=command,command=\SectionListEntry] \starttext Table

[NTG-context] Reviewing old messages

2016-05-16 Thread Meer, Hans van der
ut:\verbatim{\vbox{\hbox{abc}\hbox{xyz}}}\crlf \vbox{\hbox{abc}\hbox{xyz}}\blank \setupframed[width=0.7\textwidth] \leftaligned{these are in the command reference}\blank input:\verbatim{\framed[align=OPTION]{\hbox{abc}\hbox{xyz}}}\blank inner:\crlf \framed[align=inner]{\hbox{abc}\hbox{xyz}}\bla

Re: [NTG-context] Bug: RTL \framed when aligned

2016-01-21 Thread Hans Hagen
On 1/20/2016 4:27 PM, Mohammad Hossein Bateni wrote: Hello, There seems to be a bug in RTL documents when \framed goes in \leftaligned, \midaligned, or \rightaligned AND corner=round option is used. (I don't know what other options trigger the bug.) Here is the MWE (verified in ConTeXt ver

[NTG-context] Bug: RTL \framed when aligned

2016-01-20 Thread Mohammad Hossein Bateni
Hello, There seems to be a bug in RTL documents when \framed goes in \leftaligned, \midaligned, or \rightaligned AND corner=round option is used. (I don't know what other options trigger the bug.) Here is the MWE (verified in ConTeXt ver: 2016.01.18 22:21 MKIV beta fmt: 2016.1.19 int: english

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
initial prd_book.tex === \startproduct prd_book \project project_cataoia \starttext \start \startstandardmakeup[doublesided=no] \ss \hairline \start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Chess}% \blank[line] \leftaligned{and the Art of}% \blank[line

[NTG-context] How to place text to the right of a brace

2015-02-01 Thread Fabrice Couvreur
= (-71,-1125) ; z22 = (-97,-1106) ; z23 = (-143,-1031) ; z24 = (-199,-673) ; z25 = (-155,-211) ; z26 = (-220,-22) ; fill z1 for i=2 upto 14: .. z[i] endfor z14 for j=15 upto 26: .. z[j] endfor .. z1 cycle withcolor red ; \stopuseMPgraphic \defineoverlay[leftbrace] [\leftaligned {\scale[height

[NTG-context] Table and framedtext

2014-12-05 Thread Fabrice Couvreur
, background=color, backgroundcolor=mycolor] \leftaligned{\color[red]{PROPRIÉTÉ}} \blank[big] Deux plans ${\cal P}_1$ et ${\cal P}_2$ de l'espace sont soit sécants, soit parallèles. \blank[big] \bTABLE[align={middle,lohi}] \setupTABLE[column][first][width=0.3\textwidth] \setupTABLE[column][two][width=0.7

[NTG-context] Trying to force a particular page sequence

2014-11-26 Thread Gerben Wierda
\start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Foo}% \blank[line] \leftaligned{bar bar bar bar}% \blank[line] \leftaligned{Foo}% \stop \hairline \blank[line] \leftaligned{Foo bar foo bar bar bar bar}% \hairline \blank[line]\rightaligned{Gerben Wierda}% \blank[6cm]\start\leftskip=10cm

Re: [NTG-context] Trying to force a particular page sequence

2014-11-26 Thread Gerben Wierda
with statement Right page with page number on top This is what I have in my prd_book.tex. What is a cleaner way to do this and also one that works? ;-): \starttext \start \startstandardmakeup \ss \hairline \start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Foo}% \blank[line

Re: [NTG-context] Bug with custom TOC

2014-11-08 Thread Wolfgang Schuster
Am 07.11.2014 um 15:04 schrieb Michał Goliński golin...@amu.edu.pl: The following example is taken from the wiki (http://wiki.contextgarden.net/Command/setuplist): \define[3]\SectionToCEntry{ \leftaligned\bgroup \hbox to 2em{#3}% \hskip 1em \vtop{\hsize\dimexpr\textwidth

[NTG-context] Bug with custom TOC

2014-11-07 Thread Michał Goliński
The following example is taken from the wiki (http://wiki.contextgarden.net/Command/setuplist): \define[3]\SectionToCEntry{ \leftaligned\bgroup \hbox to 2em{#3}% \hskip 1em \vtop{\hsize\dimexpr\textwidth-3em\relax#2}% \egroup } \setuplist [part] [alternative=interactive

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

2014-07-27 Thread Joshua Krämer
[alternative=doublesided] \setuplayout[backspace=4cm,width=12cm] \definemeasure[Widetext][\textwidth+\rightmargindistance+\rightmarginwidth] \define\WideFloatCommand {\dowithnextbox {\signalrightpage \ifdim\nextboxwd\textwidth \doifrightpageelse{\leftaligned{\flushnextbox

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

2014-07-25 Thread Hans Hagen
to the width of the text are, when the figure is wider then the available space use the \leftaligned or \rightaligned commands to let the content protrude to the outer margins. \setuppagenumbering[alternative=doublesided] \setuplayout[backspace=4cm,width=12cm] \definemeasure[Widefigure][\textwidth

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

2014-07-25 Thread Rik Kabel
are, when the figure is wider then the available space use the \leftaligned or \rightaligned commands to let the content protrude to the outer margins. \setuppagenumbering[alternative=doublesided] \setuplayout[backspace=4cm,width=12cm] \definemeasure[Widefigure][\textwidth+\rightmargindistance

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

2014-07-25 Thread Hans Hagen
and compare the width to the width of the text are, when the figure is wider then the available space use the \leftaligned or \rightaligned commands to let the content protrude to the outer margins. \setuppagenumbering[alternative=doublesided] \setuplayout[backspace=4cm,width=12cm] \definemeasure

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

2014-07-24 Thread Wolfgang Schuster
are, when the figure is wider then the available space use the \leftaligned or \rightaligned commands to let the content protrude to the outer margins. \setuppagenumbering[alternative=doublesided] \setuplayout[backspace=4cm,width=12cm] \definemeasure[Widefigure][\textwidth+\rightmargindistance

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

2014-07-24 Thread Keith J. Schultz
the figure is wider then the available space use the \leftaligned or \rightaligned commands to let the content protrude to the outer margins. \setuppagenumbering[alternative=doublesided] \setuplayout[backspace=4cm,width=12cm] \definemeasure[Widefigure][\textwidth+\rightmargindistance

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

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

Re: [NTG-context] Text and figure side by side

2014-04-25 Thread Fabrice
, ] \mainlanguage[fr] \usemodule[tikz] \usetikzlibrary[calc] \starttext \blank[small] \leftaligned{\bf Partie A} \blank[small] \startitemize[n][stopper=),style=bold] \item \input knuth \item \input knuth \stopitemize \startcolumns \blank[small] \leftaligned{\bf Partie B} \blank[small] \startitemize[n

[NTG-context] Feature Request: ToC page number alternative

2014-02-26 Thread Thangalin
,] \setupcombinedlist[content][interaction=all,] \unprotect \define[3]\SectionToCEntry{% \hbox \strc_lists_get_reference_attribute\v!all{% \par \leftaligned\bgroup \hbox to 2em{#3}% \hskip 1em \vtop{\hsize\dimexpr\textwidth-3em\relax#2} \egroup \par% } } \protect

Re: [NTG-context] Feature Request: ToC page number alternative

2014-02-26 Thread Wolfgang Schuster
title would be useful. \unprotect \define[3]\SectionToCEntry{% \hbox \strc_lists_get_reference_attribute\v!all{% \par \leftaligned\bgroup \hbox to 2em{#3}% \hskip 1em \vtop{\hsize\dimexpr\textwidth-3em\relax#2} \egroup \par% } } \protect \setuplist

Re: [NTG-context] Rearrange Table of Contents section page numbers

2014-02-01 Thread Wolfgang Schuster
\leftaligned\bgroup \hbox to 2em{\color[red]{#3}}% \hskip 1em \vtop{\hsize\dimexpr\textwidth-3em\relax#2} \egroup \par} \setuplist[chapter][headnumber=no,pagenumber=no,style=\bfc] \setuplist[section][alternative=command,command=\SectionListEntry] \starttext

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

2014-01-22 Thread Rudolf Bahr
[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 TOC stopped after the 5th

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

2014-01-22 Thread Wolfgang Schuster
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\hsize\completecontent[pageboundaries

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

2013-06-26 Thread Wolfgang Schuster
.) The three commands - \leftline, - \rightline and - \centerline are copied from plain TeX and allow you to center short text which fits on a single line but it isn’t recommended to use them because ConTeXt has it’s own alternative for them. The replacement commands are - \leftaligned

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

2013-06-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
on a single line but it isn’t recommended to use them because ConTeXt has it’s own alternative for them. The replacement commands are - \leftaligned, - \rightaligned and - \midaligned. Even though each command is only meant for short text you use the \\ command to put text into several lines

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

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

Re: [NTG-context] split natural table

2013-05-21 Thread Wolfgang Schuster
=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex] \startoverlay {\leftaligned {Left}} {\midaligned {Middle}} {\rightaligned{Right}} \stopoverlay \stopframed \stopsetups

Re: [NTG-context] split natural table

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

Re: [NTG-context] split natural table

2013-05-21 Thread Wolfgang Schuster
[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] \startoverlay {\leftaligned {Left}} {\midaligned {Middle

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

[NTG-context] Some questions

2013-01-25 Thread Alain Delmotte
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,frame=off]{have a}} \rightaligned {\inframed[background

Re: [NTG-context] Some questions

2013-01-25 Thread Marco Patzer
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 Hasselt}} \midaligned {\inframed[height=1.5cm,frame=off]{have

Re: [NTG-context] Some questions

2013-01-25 Thread Alain Delmotte
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=fit]{People in Hasselt

Re: [NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Wolfgang Schuster
: \setuppagenumbering[alternative=doublesided,location=] \setupheadertexts [margin] [][\rightaligned{\bf\userpagenumber}] [\leftaligned{\bf\userpagenumber}][] \setupheader[margin][align=outer] \starttext \showframe \dorecurse{10}{\dontleavehmode\page} \stoptext Wolfgang

Re: [NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Marco Patzer
=\PageNumberCommand] \starttexdefinition PageNumberCommand #pageno \signalrightpage \doifrightpageelse {\rightaligned{#pageno}} {\leftaligned{#pageno}} \stoptexdefinition Marco signature.asc Description: Digital signature

Re: [NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Wolfgang Schuster
=doublesided, location={header, margin}, style=bold, command=\PageNumberCommand] \starttexdefinition PageNumberCommand #pageno \signalrightpage \doifrightpageelse {\rightaligned{#pageno}} {\leftaligned{#pageno}} \stoptexdefinition Marco When you’re in the header you can just

Re: [NTG-context] Page Numbers on Outer Edge of Outer Margin

2013-01-12 Thread Malte Stien
to be numbers? Here is what worked in the end: \setuppagenumbering[ alternative=doublesided, location={header, margin}, style=bold, command=\PageNumberCommand ] \starttexdefinition PageNumberCommand #1 \doifoddpageelse {\rightaligned{#1}} {\leftaligned{#1

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

2012-10-30 Thread Wolfgang Schuster
: \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} \unexpanded\def\rightaligned {\spac_align_wrapper_handle\v!right } \unexpanded\def\maxaligned

[NTG-context] even odd page condition

2012-06-06 Thread Pavel Dohnal
Hello, is it possible to find if you’re on an odd or an even page in context? I want to do something like this: \def\makemytext#1{ %if page is even \rightaligned{#1} %else \leftaligned{#1} } Thanks for the answer. Pavel Dohnal

Re: [NTG-context] even odd page condition

2012-06-06 Thread Wolfgang Schuster
Am 06.06.2012 um 17:13 schrieb Pavel Dohnal: Hello, is it possible to find if you’re on an odd or an even page in context? I want to do something like this: \def\makemytext#1{ %if page is even \rightaligned{#1} %else \leftaligned{#1} } \defineframed[noframed

Re: [NTG-context] even odd page condition

2012-06-06 Thread Aditya Mahajan
On Wed, 6 Jun 2012, Wolfgang Schuster wrote: \define[1]\AlignOuter {\doifoddpageelse\rightaligned\leftaligned{#1}} you can simplify this to: \define\AlignOuter {\doifoddpageelse\rightaligned\leftaligned} Aditya

Re: [NTG-context] even odd page condition

2012-06-06 Thread Hans Hagen
On 6-6-2012 17:40, Aditya Mahajan wrote: On Wed, 6 Jun 2012, Wolfgang Schuster wrote: \define[1]\AlignOuter {\doifoddpageelse\rightaligned\leftaligned{#1}} you can simplify this to: \define\AlignOuter {\doifoddpageelse\rightaligned\leftaligned} there's also the pair: \signalrightpage

Re: [NTG-context] alignment in a footer

2012-05-31 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
{\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 overlay top aligned and also the text in the frame should have

Re: [NTG-context] standardmakeup...

2012-01-17 Thread Willi Egger
\setupmakeup[standard][bottom=,top=] to \setupmakeup[standard][bottom=,top=,page=yes] BTW: The makeup environment has a align key (you can use this to get rid of all the \centerline and \leftaligned settings) and the font command (\bf, \bs etc.) don’t take argument and you can

Re: [NTG-context] standardmakeup...

2012-01-16 Thread Wolfgang Schuster
environment has a align key (you can use this to get rid of all the \centerline and \leftaligned settings) and the font command (\bf, \bs etc.) don’t take argument and you can remove the braces. Wolfgang ___ If your question

[NTG-context] color conversion causes error with MPgraphic

2012-01-08 Thread Steffen Wolfrum
Hi, when I run this example ... \setupcolors[state=stop,conversion=never]%needed for specific reason in project \startuseMPgraphic{Test} z1 = (-233,0) ; z2 = (-220,22) ; fill z1 for i=2 upto 2: .. z[i] endfor .. z1 cycle ; \stopuseMPgraphic \defineoverlay[TTest] [\leftaligned {\scale

Re: [NTG-context] How can I align characters vertically middle and not align on baseline ?

2011-10-12 Thread Wolfgang Schuster
=no] \starttext \leftaligned{\centerframe{\tfa } \centerframe{\vi AAA}} \dontleavehmode\centerframe{\tfa } \centerframe{\vi AAA} \stoptext Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] How can I align characters vertically middle and not align on baseline ?

2011-10-12 Thread Stéphane Klein
[centerframe][frame=off,location=middle,strut=no] \starttext \leftaligned{\centerframe{\tfa } \centerframe{\vi AAA}} \dontleavehmode\centerframe{\tfa } \centerframe{\vi AAA} \stoptext Thanks for your help. It's work. Another question, where have you found \defineframed documentation

Re: [NTG-context] Multipages registers

2011-09-19 Thread Aditya Mahajan
I want to use the following macro taken from the ConTeXt garden : \define[1]\SlideTitle{\framed[height=1.5\lineheight,frame=off, bottomframe=on, topframe=on, width=broad]{\leftaligned{\tfb \chapter {#1}}\pagenumber}} Ouch. There is no need to resort to such macros. A nicer definition

Re: [NTG-context] Multipages registers

2011-09-18 Thread Pierre-François Bonnefoi
I want to use the following macro taken from the ConTeXt garden : \define[1]\SlideTitle{\framed[height=1.5\lineheight,frame=off, bottomframe=on, topframe=on, width=broad]{\leftaligned{\tfb \chapter {#1}}\pagenumber}} On 18 sept. 2011, at 20:34, Wolfgang Schuster wrote: Am 18.09.2011 um 20:29

[NTG-context] right and left alignment in header w/ linebreak sign

2011-07-17 Thread Peter Schorsch
Hi, I am trying to have the header text aligned at the outer border of margin. At the moment I have \setupheadertexts[margin][][\rightaligned{\CurrentChapter}][\leftaligned{\CurrentChapter}][] and in the text \chapter{A very, very long long heading} and it works like I

[NTG-context] Letter module : \enableregime for accents not working within the letter environment

2011-06-19 Thread Mathieu Dupont
Hi, In the following example, accents between \startletter and \stopletter only are not working. How could this be fixed ? Thank you in advance ! \usemodule[letter] \enableregime[il1] \setupletterstyle[reference][list=reference]\setupletter[reference=\leftaligned{Montréal}] \setupletter

Re: [NTG-context] writing the name of the section on all the pages

2011-06-15 Thread Julian Becker
replace \setupbackgrounds [state=repeat] \defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}] \setupbackgrounds [text] [rightmargin] [background=side] with \setuptexttexts [margin] [][\rightaligned{\rotate[rotation=90]{\getmarking[section]}}] [\leftaligned{\rotate[rotation=90

Re: [NTG-context] Automatic landscape figure rotation

2011-06-14 Thread Wolfgang Schuster
{\leftaligned {\rotate[rotation=90] {...}}} {\rightaligned{\rotate[rotation=270]{...}}} 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] Automatic landscape figure rotation

2011-06-14 Thread Hans Hagen
for all these things: \doifoddpageelse {\leftaligned {\rotate[rotation=90] {...}}} {\rightaligned{\rotate[rotation=270]{...}}} since a few days the beta also has rotation=left|right|inner|outer per request by taco (although no final word yet on if i need to swap 'm) Hans

Re: [NTG-context] writing the name of the section on all the pages

2011-05-20 Thread Wolfgang Schuster
] with \setuptexttexts [margin] [][\rightaligned{\rotate[rotation=90]{\getmarking[section]}}] [\leftaligned{\rotate[rotation=90]{\getmarking[section]}}][] Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] about JS(Walk_Field{})

2011-05-17 Thread Jeong Dalyoung
Dear Wolfgang, Your animation module works really fine. It reduces a lot of work to set the fieldstack. I'd like to ask you a few more small things. 1) Is it possible to set the duration time in the case of autoplay? 2) The location of buttons is leftaligned when [menu=yes]. Is it what you want

Re: [NTG-context] about JS(Walk_Field{})

2011-05-17 Thread Wolfgang Schuster
in the case of autoplay? I’ll add a key to change this. 2) The location of buttons is leftaligned when [menu=yes]. Is it what you want or I did something wrong? Will be fixed. 3) What is the meaning of \start and \stop in animation-1.tex? I added them to keep the \startMPinitializations settings

Re: [NTG-context] withdots framing (sharing an example)

2011-03-23 Thread Wolfgang Schuster
% {% \externalfigure[#1][width=3in]% }% \hss% }% }% }% }% \def\Picture#1#2#3% {\placefigure [][#3]{#2}% {\leftaligned{\externalfigure[#1][width=3in,background=Label,backgroundoffset=1ex]}}} or \def\Picture#1#2#3% {\placefigure [][#3]{#2}% {\framed

Re: [NTG-context] Left and centered text on the same line

2011-03-05 Thread Wolfgang Schuster
Am 05.03.2011 um 23:01 schrieb C.: Good evening, How can I place left aligned and centered text on one line? So that the centered text is in the same place as with \startaligned[middle] \starttext \startoverlay {\leftaligned{left}} {\midaligned{middle}} % {\rightaligned{right

[NTG-context] What has happened to externalfigure command?

2011-01-06 Thread Verhaag, G.C.H.M.
. The ConTeXt source file contains the command: \setupexternalfigures [directory={/home/somewhere}] in the preamble. The image file is called using: \leftaligned{\externalfigure[someplot.1][scale=100]} But no image is presented in the generated pdf-file! However, all jpg-type of images that I

Re: [NTG-context] mkiv/luatex bug

2010-11-28 Thread Wolfgang Schuster
is correct: \setuphead [section,subject] [style={\ss\bfa}, before={\blank[2*big]}, after={\blank[nowhite]}] and \setuphead [title] [ style={\ss\bfd}, before={\begingroup\switchtobodyfont[14.4pt]}, after={\leftaligned{\ss\tfa A. U. Thor $\langle$\from[author-email]$\rangle$}\blank[2

Re: [NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-27 Thread Otared Kavian
[subsection][style=,command=\SubsectionCommand] \define[2]\SectionCommand {\inleftmargin{\leftaligned{\structuretitle}}% \blackrule [ width=\textwidth, height=+.3\lineheight, depth=-.2\lineheight]} \define[2]\SubsectionCommand {\vbox\bgroup \inleftmargin{\leftaligned{\em

Re: [NTG-context] \inmargin / full textwidth line interaction (was Toward the use of inleft…)

2010-11-26 Thread Wolfgang Schuster
] \setuphead[subsection][style=,command=\SubsectionCommand] \define[2]\SectionCommand {\inleftmargin{\leftaligned{\structuretitle}}% \blackrule [ width=\textwidth, height=+.3\lineheight, depth=-.2\lineheight]} \define[2]\SubsectionCommand {\vbox\bgroup \inleftmargin

[NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
{\leftaligned{\structuretitle}}% \blackrule [ width=\textwidth, height=+.3\lineheight, depth=-.2\lineheight]} \define[2]\SubsectionCommand {\vbox\bgroup \inleftmargin{\leftaligned{\em\structureuservariable{date}}}% {\bfa\structuretitle}\wordright{\tfx

Re: [NTG-context] BUG? Strange behavior (vertical space added!!!) with accentuated letters (was \inmargin / full textwidth line interaction)

2010-11-26 Thread Renaud AUBIN
{\inleftmargin{\leftaligned{\structuretitle}}% \blackrule [ width=\textwidth, height=+.3\lineheight, depth=-.2\lineheight]} \define[2]\SubsectionCommand {\vbox\bgroup \inleftmargin{\leftaligned{\em\structureuservariable{date}}}% {\bfa\structuretitle

[NTG-context] Perfecting my checkbox functionalities

2010-09-10 Thread Cecil Westerhof
\startcheckbox[#1]{ \blank \leftaligned{#1} \startitemize[packed, intro, joinedup][margin=\CheckBoxMargin, symbol=CheckBox, width=\CheckBoxWidth, distance=\CheckBoxDistance] } \def\stopcheckbox{ \stopitemize \blank \crlf

Re: [NTG-context] Perfecting my checkbox functionalities

2010-09-10 Thread Wolfgang Schuster
]{ \blank \leftaligned{#1} \startitemize[packed, intro, joinedup][margin=\CheckBoxMargin, symbol=CheckBox, width=\CheckBoxWidth, distance=\CheckBoxDistance] } \def\stopcheckbox{ \stopitemize \blank \crlf } Brr, latex

Re: [NTG-context] Making checkboxes

2010-09-07 Thread Wolfgang Schuster
[ ]No [ ]A little bit \definesymbol[checkbox][{[~~~]}] \starttext \def\startcheckbox {\dosingleempty\dostartcheckbox} \def\dostartcheckbox[#1]% {\blank \doifsomething{#1}{\leftaligned{#1}}% \startitemize[packed,intro,joinedup,columns,three][margin=2.5em,symbol=checkbox,width=1.5em,distance=.5em

Re: [NTG-context] Making checkboxes

2010-09-07 Thread luigi scarso
       [  ] No        [  ] A little bit but I get:            title        [  ]Yes        [  ]No        [  ]A little bit \definesymbol[checkbox][{[~~~]}] \starttext \def\startcheckbox  {\dosingleempty\dostartcheckbox} \def\dostartcheckbox[#1]%  {\blank   \doifsomething{#1}{\leftaligned{#1}}%   \startitemize

Re: [NTG-context] Different printing positions on cards

2010-07-23 Thread Jaroslav Hajtmar
[Front] \leftaligned{\recurselevel\ - Front}% \stopbuffer \startbuffer[Back] \leftaligned{\recurselevel\ - Back}% \stopbuffer \def\printactionpageone{% \setupbackgrounds [page][background={pozadifront}]% \getbuffer[Front]\page% }% \def\printactionpagetwo{% \setupbackgrounds [page][background

Re: [NTG-context] Different printing positions on cards

2010-07-23 Thread Jaroslav Hajtmar
] \leftaligned{\recurselevel\ - Front}% \stopbuffer \startbuffer[Back] \leftaligned{\recurselevel\ - Back}% \stopbuffer \def\printactionpageone{% \setupbackgrounds [page][background={pozadifront}]% \getbuffer[Front]\page% }% \def\printactionpagetwo{% \setupbackgrounds [page][background={pozadiback

[NTG-context] Different printing positions on cards

2010-07-22 Thread Jaroslav Hajtmar
.jpg][width=\cardwidth,height=\cardheight]}] \startbuffer[Front] \leftaligned{\recurselevel\ - Front}% \stopbuffer \startbuffer[Back] \leftaligned{\recurselevel\ - Back}% \stopbuffer \def\printactionpageone{% \setupbackgrounds [page][background={pozadifront}]% \getbuffer[Front]\page% }% \def

Re: [NTG-context] Different printing positions on cards

2010-07-22 Thread Jaroslav Hajtmar
=doublesided,location=, state=stop] \defineoverlay[pozadifront][{\externalfigure[file1.jpg][width=\cardwidth,height=\cardheight]}] \defineoverlay[pozadiback][{\externalfigure[file2.jpg][width=\cardwidth,height=\cardheight]}] \startbuffer[Front] \leftaligned{\recurselevel\ - Front

Re: [NTG-context] How to place a (right) brace in a TABLE?

2010-05-20 Thread Wolfgang Schuster
{$\left.\vrule height .5\vsize depth .5\vsize width 0pt\relax\right\}$}% \leftaligned{\hbox to .5\wd\scratchbox{\hss\raise\dp\scratchbox\box\scratchbox}}} \defineoverlay[linkeklammer] [\linkeklammer] \defineoverlay[rechteklammer][\rechteklammer] \starttext \bTABLE \bTR[align={middle,middle

Re: [NTG-context] How to place a (right) brace in a TABLE?

2010-05-20 Thread Vladimir Lomov
}}} \def\rechteklammer {\setbox\scratchbox\hbox{$\left.\vrule height .5\vsize depth .5\vsize width 0pt\relax\right\}$}% \leftaligned{\hbox to .5\wd\scratchbox{\hss\raise\dp\scratchbox\box\scratchbox}}} \defineoverlay[linkeklammer] [\linkeklammer] \defineoverlay[rechteklammer

Re: [NTG-context] three problems

2010-03-24 Thread Wolfgang Schuster
=middle] \setupheadertexts [margin] [\leftaligned{very long leftmargin text}] [\rightaligned{very long rightmargin text}] \setupheadertexts[text in the middle] \showframe \starttext \input knuth \stoptext or \setuplayout [backspace=6cm, width=middle] \setupheader [margin

Re: [NTG-context] One interline space setup trouble

2010-02-17 Thread Wolfgang Schuster
cause of my problem. Change the height/depth ratio of the interlinespace. \showboxes \starttext \setupinterlinespace[line=12pt] \leftaligned{(gplQT} \setupinterlinespace[line=18pt] \leftaligned{(gplQT} \setupinterlinespace[line=28pt] \leftaligned{(gplQT} \page \setupinterlinespace[height

Re: [NTG-context] Rotated footnotes?

2010-02-07 Thread Steffen Wolfrum
\raise.385em\hbox{\txx#1}} \leftaligned{% \rotate[rotation=90]{\externalfigure[abb_12_d][frame=on,width=\dimexpr(\textheight-05pt)]\kern2.5pt\strut}% \rotate[rotation=90]{\framed[frame=off,height=1cm,width=\dimexpr(\textheight-05pt)]{\vskip2pt Abbildung 12:\pagereference[Abb_12]{\enskip} Regelungen

Re: [NTG-context] local footnotes

2009-02-23 Thread Albrecht Kauffmann
} {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution

Re: [NTG-context] local footnotes

2009-02-20 Thread Thomas Floeren
\eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has

[NTG-context] local footnotes

2009-02-20 Thread Albrecht Kauffmann
centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht

[NTG-context] local footnotes

2009-02-13 Thread Albrecht Kauffmann
centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht

Re: [NTG-context] local footnotes

2009-02-13 Thread Thomas Floeren
this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht Hi, maybe like this: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion

[NTG-context] End notes and compile per chapter question

2008-07-21 Thread Gerben Wierda
I have a book project with a structure I copied a few years ago from some instructional page. The product file looks like this: \startproduct prd_book \project project_teoada \starttext \start \startstandardmakeup \ss \hairline \start \switchtobodyfont[20pt]\bf \leftaligned{Test

Re: [NTG-context] frames and columns

2008-05-20 Thread Hans van der Meer
. For \startcolumns .. \stopcolumns this is not a solution: an error message about \prevdepth appears. \starttext % bare columns \leftaligned{\em simplecolumns:}\blank \startsimplecolumns[n=2] COLUMN 1\crlf COLUMN 1.1\crlf \column COLUMN 2\crlf \stopsimplecolumns \blank % this does not work

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

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

  1   2   >