tion as it breaks the page at position of this command.
I'd like to express rather: If there is no space for three lines, break the
page, but grab few previous lines (at least 2) together with me (according
to orphan/widow settings).
The current behaviour can be demonstrated using t
a ToC
> at the start of a document, there is no "current chapter" and so the
> head location for the chapter entry returns 0.
>
> Here is what I have so far:
>
>\startsetups [list:TOC]
>\starttabulate
>\currentlistentrypagenumber{}
ry returns 0.
Here is what I have so far:
\startsetups [list:TOC]
\starttabulate
\currentlistentrypagenumber{} \hskip 1em \NC \currentlistentrytitle{} \NR
\stoptabulate
\stopsetups
\definelistalternative
[TOC]
[renderingsetup=list:TOC]
% Format the
2014/1/23 Hans Hagen
> On 1/23/2014 10:03 PM, Wolfgang Schuster wrote:
>
>> 2014/1/23 Hans Hagen mailto:pra...@wxs.nl>>
>>
>>
>> we can do this:
>>
>> \startsetups[\??__listrenderings:abc]
>>
>> \endgraf % are we gro
we can do this:
\startsetups[\??listrenderings:abc]
\endgraf % are we grouped?
\advance\leftskip\listparameter\c!margin % after
\endgraf !
but it needs testing
I don’t think this is an option because it will chan
On 1/23/2014 10:03 PM, Wolfgang Schuster wrote:
2014/1/23 Hans Hagen mailto:pra...@wxs.nl>>
we can do this:
\startsetups[\??__listrenderings:abc]
\endgraf % are we grouped?
\advance\leftskip\__listparameter\c!margin % after \endgraf !
but it needs testi
2014/1/23 Hans Hagen
>
> we can do this:
>
> \startsetups[\??listrenderings:abc]
> \endgraf % are we grouped?
> \advance\leftskip\listparameter\c!margin % after \endgraf !
>
> but it needs testing
>
I don’t think this is an option because it will change th
entries in the TOC because this way you don’t
reset the margins added by \startnarrower.
Wolfgang
we can do this:
\startsetups[\??listrenderings:abc]
\endgraf % are we grouped?
\advance\leftskip\listparameter\c!margin % after \endgraf !
but it needs testing
Hans
ode changes so % is no longer %
Thanks for the hint. I have tried to do it like that (from Mojca
Miklavec's "My Way"):
\usemodule[database]
\unprotect
\startsetups Data:unix
\catcode`\%=\@@comment
\stopsetups
\protect
\defineseparatedlist [Data]
[
separator=tab,
before=\bTABLE, af
Am Tue, 21 Jan 2014 17:51:17 +0100
schrieb Hans Hagen :
> has to do with catcode changes so % is no longer %
Thanks for the hint. I have tried to do it like that (from Mojca
Miklavec's "My Way"):
\usemodule[database]
\unprotect
\startsetups Data:unix
\catcode`\%=\@@c
>
>> Could anyone explain what is wrong with the sample?
> [...]
> 2. You have to set the linespacing before all section entries are placed.
> \startsetups[placelist:section]
> \start
> \setupinterlinespace[line=2.8ex]
> \placelist[section][alternative=d
n what is wrong with the sample?
1. There is no option to use a separator between the entries, when you want one
you have to write your own list alternative.
2. You have to set the linespacing before all section entries are placed.
\setupinterlinespace[line=3.5ex]
\startsetups[placelist
manually. Can anything be done about
> > this? (Note: I'm using the latest beta. In some earlier versions,
> > \smash-ing didn't help, so it's not something of high priority for
> > me now. But if it's something easy to fix, I'd be thankful.)
&g
ng
> didn't help, so it's not something of high priority for me now. But
> if it's something easy to fix, I'd be thankful.)
You can increase the linespacing in the itemize.
\setupbodyfont[pagella]
\startsetups[itemize:before]
\blank
\begingroup
\setupinterli
question},
> headstyle={\bi},
> stopper={.}]
>
> \setupblock[question][before={\startquestion},after={\stopquestion}]
> \setupblock[hint][before={\starthint},after={\stophint}]
> \setupblock[answer][before={\startanswer},after={\stopanswer}]
> \keepblocks[question]
stion}]
\setupblock[hint][before={\starthint},after={\stophint}]
\setupblock[answer][before={\startanswer},after={\stopanswer}]
\keepblocks[question]
\hideblocks[hint]
\hideblocks[answer]
\startsetups examn:make
\resetnumber[answer]
\resetnumber[question]
\resetnumber[hint]
\page
\setco
>> % defining \startexo, \stopexo as an enumeration:
>> \startsetups style:simple
>> \defineenumeration[exo]
>> [alternative=hanging,
>> width=fit,
>> stopper={.},
>> text=Exercise,
>> %between=,
>>
\startexo, \stopexo as an enumeration:
\startsetups style:simple
\defineenumeration[exo]
[alternative=hanging,
width=fit,
stopper={.},
text=Exercise,
% between=,
before=,
after=\blank]
\stopsetups % style:simple
\startsetups style:textrule
, \stopexo as an enumeration:
\startsetups style:simple
\defineenumeration[exo]
[alternative=hanging,
width=fit,
stopper={.},
text=Exercise,
% between=,
before=,
after=\blank]
\stopsetups % style:simple
\startsetups style:textrule
\definenumber
table but there is a possibility for problems when you
> use xtables
> in your document which are split across pages.
>
> \startsetups[header:table]
>
> \startembeddedxtable[align={middle,lohi},strut=no]
> \startxrow
>
ched a screenshot of what the header looks like in Writer.
You can try to use a table but there is a possibility for problems when you use
xtables
in your document which are split across pages.
\startsetups[header:table]
\startembeddedxtable[align={middle,lohi},st
Hello,
this is not the same question as handling orphan and widows - because
you surely do not want some titles with only 2-3 lines of body text
after them.
I always use "\testpage[x]" to handle those issues, see your example
with testpage:
\setuppapersize[B5]
\starts
Dear All,
when grid is on, orphan and widows have to be eliminated using additional
penalty settings. Whereas it works fine for body text, section titles are
still sometimes left at the bottom of the page.
It can be reproduced using this example:
\setuppapersize[B5]
\startsetups[grid
ast* item on
>> the page. Here's the MWE:
>
> I changed the example a bit
>
> \setupbodyfont[dejavu]
>
> \definemarking[country]
>
> \startsetups myheader
>
> (\getmarking[country][1][top]\enspace\emdash\enspace\getmarking[country][1][bottom])
>
> \hf
ast* item on
>> the page. Here's the MWE:
>
> I changed the example a bit
>
> \setupbodyfont[dejavu]
>
> \definemarking[country]
>
> \startsetups myheader
>
> (\getmarking[country][1][top]\enspace\emdash\enspace\getmarking[country][1][bottom])
>
> \hf
a bit
\setupbodyfont[dejavu]
\definemarking[country]
\startsetups myheader
(\getmarking[country][1][top]\enspace\emdash\enspace\getmarking[country][1][bottom])
\hfill
(\getmarking[country][2][top]\enspace\emdash\enspace\getmarking[country][2][bottom])
\stopsetups
\setupheadertexts
[\setups{myh
gt; and accurate information.
>
> We have run many examples here, including the ones on the getmarking
> wiki page, trying to understand what these keywords mean.
> top/bottom do appear to do what we need in an MWE, but are not working
> for us in the real document, and knowing the
h=25mm]
\startsetups Test
\setbreakpoints[compound]
\stopsetups
\definetype[Test][lines=hyphenated, setups=Test, space=stretch]
\showframe
\starttext
hellohello hellohello % should break like this: hel- lohello (ok)
hellohello \Test{hel_lohello} % should break like this: hel_ lohello (
y only
>> horizontal lines (not vertical). I send a minimal example:
>>
>>
>> \starttext
>> \starttable[|c|c|]
>> \HL
>> \NC Letters \NC Numbers \SR % or \NC\AR
>> \HL
>> \NC A \NC 1 \AR
>> \NC B \NC 2 \AR
>> \NC C \NC 3 \AR
rizontal lines
(not vertical). I send a minimal example:
\starttext
\starttable[|c|c|]
\HL
\NC Letters \NC Numbers \SR % or \NC\AR
\HL
\NC A \NC 1 \AR
\NC B \NC 2 \AR
\NC C \NC 3 \AR
\HL
\stoptable
\stoptext
How I could "translate" to a "natural table " this code?
\startsetups[
tical). I send a minimal example:
>
>
> \starttext
> \starttable[|c|c|]
> \HL
> \NC Letters \NC Numbers \SR % or \NC\AR
> \HL
> \NC A \NC 1 \AR
> \NC B \NC 2 \AR
> \NC C \NC 3 \AR
> \HL
> \stoptable
> \stoptext
>
> How I could "translate" to a "na
Hello Hans,
Is it also possible, to break inside the \type{} only at well defined
characters and without hyphenation?
Example:
--8<---cut here---start->8---
\definebreakpoint[compound][_]
\setuplayout[width=25mm]
\startsetups Test
\setbreakpoints[co
Thanks for the code, the stretching is ok (can be hand-tuned) but I find
the positioning a bit odd. Look at the additions to your example:
--
\starttext
\useMPlibrary[txt]
\startsetups text-a
\startuseMPgraphic{followtokens}
path RotPath ; RotPath := reverse
g/upload/images/whp_in_general/determinants_of_health/determinants_of_health.jpg
> >
> >How can this achieved?
>
> a bit clumsy but workable
>
> \starttext
>
> \useMPlibrary[txt]
>
> \startsetups text-a
> \startuseMPgraphic{followtokens}
> pa
workable
\starttext
\useMPlibrary[txt]
\startsetups text-a
\startuseMPgraphic{followtokens}
path RotPath ; RotPath := reverse halfcircle xyscaled 5cm ;
draw RotPath ;
\stopuseMPgraphic
\followtokens{some text but not that long{\hskip1em}}
\stopsetups
\startsetups
after=\setups{document:after}]
\startsetups [document:after]
\startTEXpage
\externalfigure [cow]
\stopTEXpage
\stopsetups
\startdocument
\input knuth
\stopdocument
Marco
OK... But - is there a solution "more close" and "more Lua" to that mine?
The example is much s
]
>
> \setupdocument
> [after=\setups{document:after}]
>
> \startsetups [document:after]
> \startTEXpage
> \externalfigure [cow]
> \stopTEXpage
> \stopsetups
>
> \startdocument
> \input knuth
> \stopdocument
Even shorter:
\setupexterna
On 2013–10–08 Procházka Lukáš Ing. - Pontex s. r. o. wrote:
> I'm trying to hook commands.stoptext()...
There is already a hook for that. No need to tinker with Lua.
\setupexternalfigures
[location=default]
\setupdocument
[after=\setups{document:after}]
\startsetups [docume
ust after \bTABLE...
>\bTR \bTD bla \eTD \eTR
> \eTABLE
This isn’t good style and you would loose the option to use
\setupTABLE[textwidth=].
Better methods are
\setupTABLE[start][..,..=..,..]
\bTABLE
…
\eTBALE
or
\startsetups[table:format]
\setupTABLE[..,..=..,.
\chardef\characteralignmentmode=2
\chardef\characteralignmentmode\plustwo
%%% http://randomdeterminism.wordpress.com/2012/11/18/separation-of-content-and-presentation-for-tables-part-1/
\startsetups table:style
\setupTABLE[row][first][background=color, backgroundcolor=tablecolor, color=black, align={mi
18/separation-of-content-and-presentation-for-tables-part-1/
> \startsetups table:style
> \setupTABLE[row][first][background=color, backgroundcolor=tablecolor,
> color=black, align={middle,lohi},style=ss]
> \setupTABLE[column][1][align={right,lohi}]
>
> \setupTABLE[colum
It does not work with that:
%%% Per a què les taules se me puguin alinear amb les comes
\chardef\characteralignmentmode=2
\chardef\characteralignmentmode\plustwo
%%%
http://randomdeterminism.wordpress.com/2012/11/18/separation-of-content-and-presentation-for-tables-part-1/
\startsetups
Am 21.09.2013 um 16:22 schrieb Xan :
> Hi,
>
> I have this
>
> \startsetups table:style
> \setupTABLE[row][first][background=color, backgroundcolor=tablecolor,
> color=black, align={middle,lohi},style=ss]
> \setupTABLE[column][1][align={right,lohi}]
>
> \set
Hi,
I have this
\startsetups table:style
\setupTABLE[row][first][background=color, backgroundcolor=tablecolor,
color=black, align={middle,lohi},style=ss]
\setupTABLE[column][1][align={right,lohi}]
\setupTABLE[column][2][align={left,lohi},alignmentcharacter={,},aligncharacter=yes
ayout[rightmargindistance=1cm]
\setuphead[section][alternative=inmargin]
\showframe
\starttext
\dorecurse{16}{\section{Blah}
\input tufte}
\stoptext
\startsetups[\??headrenderings:\v!inmargin]
\vbox {
\headsetupspacing
\begstrut
\dontleavehmode
\ifcondit
t to entrust a big
production project to undocumented features, but at this point, if it
works, we'll probably go with it. I wonder if it's available in mkii as
well as in mkiv?
> \startsetups normal
> \setupinterlinespace[line=12pt]
> \stopsetups
>
> \startsetups tight
>
mkii, but it will be the main mkiv continuous multicolumn mode
(we keep the old columns around for a while) and in due time I will make
a new columnset implementation (must have some snippets of code
somewhere but never found time)
\startsetups normal
\setupinterlinespace[line=12pt]
\stopsetups
\sta
experience, mixing columnsets with text that is not in
columnsets is a bit tricky.
\startsetups normal
\setupinterlinespace[line=12pt]
\stopsetups
\startsetups tight
\setupinterlinespace[line=9.3pt]
\stopsetups
\setupmixedcolumns[distance=5mm, balance=yes]
\starttext
\section{Introduction
on{#2}
{\noindent \rm \sc #1} \noindent \endgraf \noindent
}
% Hlavička a patička
\setupheadertexts[]
\setupheadertexts[\setups{hlavicka}][][][\setups{hlavicka}]
\startsetups[hlavicka]
\zanrO{\getmarking[kochapter]}
\stopsetups
% Odstavce
\setupindenting[yes, small]
\setupheads[indentne
Am 01.09.2013 um 13:33 schrieb Peter Münster :
> On Mon, Mar 04 2013, Wolfgang Schuster wrote:
>
>> \usemodule[letter]
>>
>> \startsetups[letter:section:content]
>> \getbuffer[MyLetter]
>> \stopsetups
>>
>> \setuplettersection[cont
On Mon, Mar 04 2013, Wolfgang Schuster wrote:
> \usemodule[letter]
>
> \startsetups[letter:section:content]
> \getbuffer[MyLetter]
> \stopsetups
>
> \setuplettersection[content][alternative=setups]
>
> \def\StartLetter
> {\starttext
>\grabbufferdata[
!width=.4\textwidth] % or \listparameter\c!width
\startsetups[\??listrenderings:overview]
\doifboxelse{\overview}{\currentlistentrynumber}
{\listalternativeparameter\c!before
\startcurrentlistentrywrapper
\scale
[\c!width=\listalternativeparameter\c!widt
typing environment?
[...]
you shouldn't rely on \\ as it also starts a new line with content
\dorecurse{38}{line\par}
Hans,
I have adapted the sample to:
\starttext
\dorecurse{41}{line\par}
\starttyping
\setuplayout[setups=*lessstrict]
\startsetups[*lesss
n the typing environment?
> [...]
> you shouldn't rely on \\ as it also starts a new line with content
>
>\dorecurse{38}{line\par}
Hans,
I have adapted the sample to:
\starttext
\dorecurse{41}{line\par}
\starttyping
\setuplayout[setups=*lessst
see it in your document but without a example it’s not possible
to give a answer.
Wolfgang,
this is a sample that shows the issue I mentioned in my previous message:
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
document but without a example it’s not possible
> to give a answer.
Wolfgang,
this is a sample that shows the issue I mentioned in my previous message:
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenal
On 7/25/2013 3:24 AM, Andres Conrado Montoya wrote:
So, it seems that this configuration worked (more or less), to avoid:
Widows, Orphans, 3 or more consecutive hyphens, and final hyphens.
\startsetups[grid][correcto]
\setups[*reset]
\setpenalties\widowpenalties{1}{1
So, it seems that this configuration worked (more or less), to avoid:
Widows, Orphans, 3 or more consecutive hyphens, and final hyphens.
\startsetups[grid][correcto]
\setups[*reset]
\setpenalties\widowpenalties{1}{1}
\setpenalties\clubpenalties{1}{1}
\stopsetups
native[Qur][renderingsetup=annotation:Qur,alternative=vertical]
\startsetups[annotation:Qur]
\currentannotationcontent
\blank[4pt]
{\bf\annotationparameter{one}}\wordright{\tfx (Heiliger Qur'an
\annotationparameter{two}:\annotationparameter{three})}
\stopsetups
\setupindenting[yes,medi
rking with grid, and using a widow/orphan control macro
found here on this list:
\setupalign[verytolerant,stretch,lesshyphenation,hz,hanging]
\startsetups[grid][correcto]
\setups[*reset]
\setpenalties\widowpenalties{1}{1}
\setpenalties\cl
Am 13.07.2013 um 16:08 schrieb Pablo Rodríguez :
>\setuplayout[setups=*lessstrict]
>\startsetups[*lessstrict]
>\setup[reset]
>\widowpenalty=1
>\clubpenalty=1
>\brokenpenalty=1
>\stopsetups
\startsetups[lessstric
ont[TeX Gyre Pagella]
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=1
\stopsetups
\setupinterlinespace[line=3.2ex]
\setupnote[footnote][split=verystrict]
1. Do the widow lines only appear in certain cases, e.g. after a heading.
>
> 2. Use the context way to change the penalties:
>
> \startsetups [mypenalties]
>
> \setdefaultpenalties
>
> \setpenalties\widowpenalties{3}{1} % 3 == number of lines, 1
> == pen
e have suggestions
> about strategies to remedy this either in general or on a case by case basis?
> (I am not sure of how to generate an example of the problem or if that would
> even help.)
1. Do the widow lines only appear in certain cases, e.g. after a heading.
2. Use the context way to
u want the space.
Below is a modified version of the older code which uses the new MkIV
mechanism to create customized head layouts which gobbles also
the space for \startsection.
\defineheadalternative
[head:inleftmargin]
[alternative=horizontal,
renderingsetup=head:inleftmargin]
\startset
you have to enable them
> for the notes block.
> > Add the following lines to your document and it should work.
> >
> > \startsetups[footnote:french]
> > \setcharacterspacing[frenchpunctuation]
> > \stopsetups
> >
> > \setupnote[footnote][setups
t;
> > Any suggestions?
>
> ConTeXt resets a few features for the notes and you have to enable them
> for the notes block.
> Add the following lines to your document and it should work.
>
> \startsetups[footnote:fren
On Fri, Jun 28 2013, Wolfgang Schuster wrote:
> ConTeXt resets a few features for the notes and you have to enable them for
> the notes block.
> Add the following lines to your document and it should work.
>
> \startsetups[footnote:french]
> \setcharacterspacing
t; \stopcomponent
>
> I am running the latest standalone.
>
> Any suggestions?
ConTeXt resets a few features for the notes and you have to enable them for the
notes block.
Add the following lines to your document and it should work.
\startsetups[footnote:french]
\setcharacterspacing[
Dear list,
I have in a document in which I get a wrong page break
(http://www.ousia.tk/wrongpb.png) when I enable this code to avoid
widows and orphans:
\setuplayout[setups=*lessstrict,
cutspace=3cm,backspace=3cm]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty
:
\startsetups[setups:redcolor]
\setupbackgrounds[page][background=color,backgroundcolor=red]
\stopsetups
\startstandardmakeup[setups=setups:redcolor]
content
\stopstandardmakeup
why not just
\startstandardmakeup[align=middle]
content to be centered
\stopstandardmakeup
have tried with (what I understand from) setups:
\startsetups[setups:redcolor]
\setupbackgrounds[page][background=color,backgroundcolor=red]
\stopsetups
\startstandardmakeup[setups=setups:redcolor]
content
\stopstandardmakeup
But it didn't work.
Could you he
sed options> % process info
used options> \setupsystem[inputfile=bullet-problem.tex]
used options> \setupsystem[\c!n=1,\c!m=1]
used options> % modes
used options> % options (not that important)
used options> \startsetups *runtime:options
used options> \st
]
\definelayer
[extrafiguretextlayer:r]
[width=\overlaywidth,
height=\overlayheight,
corner={left,top},
location={left,bottom},
x=-1cm]
\startsetups extrafiguretext
\signalouterrealign
\setlayerframed
[extrafiguretextlayer
Am 16.06.2013 um 09:46 schrieb Pablo Rodríguez :
> Dear list,
>
> I have a document that contains a long poem and although it contains the
> following code:
>
> \setuplayout[setups=*lessstrict]
> \startsetups[*lessstrict]
>\setup[reset]
>\widowpenalty=10
Dear list,
I have a document that contains a long poem and although it contains the
following code:
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=1
\stopsetups
I'm afraid that I get widow
Has to be \defineheadalternative:
\defineheadalternative[mysection][renderingsetup=mysection]
\startsetups[mysection]
\vbox\bgroup
\headsetupspacing
\strut\headnumbercontent\par
\begstrut\headtextcontent\endstrut
\egroup
\stopsetups
\setuplabeltext[en][section={, Section
Am 11.06.2013 um 15:53 schrieb Jan Pohanka :
>
>> \definesectionalternative[mysection][renderingsetup=mysection]
>>
>> \startsetups[mysection]
>> \vbox\bgroup
>> \headsetupspacing
>> \strut\headnumbercontent\par
>> \begstrut\headtex
\definesectionalternative[mysection][renderingsetup=mysection]
\startsetups[mysection]
\vbox\bgroup
\headsetupspacing
\strut\headnumbercontent\par
\begstrut\headtextcontent\endstrut
\egroup
\stopsetups
\setuplabeltext[en][section={}{Section]
\setuphead[section][alternative
stion is what to do if I need to use the command key to apply more
> complex formating using \framed etc.
> At least I need to make \section{My section title} to print
>
> I. Section
> My section title
You can create your own section layout.
\definesectionalternative[mysect
more
advanced control is needed)
\defineheadalternative
[mymiddle]
[alternative=horizontal,
renderingsetup=head:mymiddle]
\startsetups[head:mymiddle]
\ruledvbox {
\headsetupspacing
\veryraggedcenter
\begstrut
\ifconditional\headshown
truhou 232/12, 234 20
Annie, Walter, Ostrava, Pod lipami 7, 321 54
\stoptest
\stoptext
Method 2:
\startsetups[test]
\starttabulate
\NC FIRSTNAME \EQ \getvariable{test}{firstname} \NC\NR
\NC SURNAME \EQ \getvariable{test}{surname} \NC\NR
\NC CITY \EQ \getvariable{test}{city
\stoptext
Method 2:
\startsetups[test]
\starttabulate
\NC FIRSTNAME \EQ \getvariable{test}{firstname} \NC\NR
\NC SURNAME \EQ \getvariable{test}{surname} \NC\NR
\NC CITY \EQ \getvariable{test}{city} \NC\NR
\NC STREET\EQ \getvariable{test}{street}\NC\NR
\NC POSTCODE
]
> [alternative=vertical,
>renderingsetup=headrenderings:middle_nolinebreak]
>
> \startsetups[headrenderings:middle_nolinebreak]
> \vbox {
> \headsetupspacing
> \veryraggedcenter
> \let\\\endgraf
> \let\crlf\endgraf
> \ifconditional\headshownumber
>
ion]
[alternative=middle_nolinebreak]
\defineheadalternative
[middle_nolinebreak]
[alternative=vertical,
renderingsetup=headrenderings:middle_nolinebreak]
\startsetups[headrenderings:middle_nolinebreak]
\vbox {
\headsetupspacing
\veryraggedcenter
\let\\\endgraf
\let\crlf\endg
Use the normal \framed command and replace \texsetup with \setups in
\setupheadertexts
and it will also work with your older version of context.
\startsetups[header]
\framed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex]\bgroup
% }
> %\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
r,height=\headerheight]%
{\syllabusheader}}]
This is a known problem when you use the same table environment in the body and
for the header,
you can use \framed to get the same result without these problems (it’s also
faster).
\startsetups[header]
\startframed[corner=09,width=max,he
Right \eTD \eTR
> \eTABLE
> }
> \setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]%
> {\syllabusheader}}]
This is a known problem when you use the same table environment in the body and
for the header,
you can use \framed to get th
Hi,
one more question to my arabic-german table environment. See this code:
\definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 11 pt] % or
amiri-regular.ttf
\define[1]\Arab{\setupalign[r2l]\amiri#1}
%\showgrid
\startsetups[arde]
\setupTABLE[c][1][rightframe=on]
\stopsetups
\def\startarde
; amiri-regular.ttf
> \define[1]\Arab{\setupalign[r2l]\amiri#1}
> %\showgrid
> \startsetups[arde]
> \setupTABLE[c][1][rightframe=on]
> \stopsetups
> \def\startarde
> {\bTABLE[frame=off,width=.5\textwidth,setups=arde,split=yes]}
> \def\stoparde
> {\eTABLE}
> \define[2]\ar
Hi,
the german-arabic-transliteration-environment becomes, with your kind
help, better and better. Next question, see this standard-code:
\definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 10 pt] % or
amiri-regular.ttf
\define[1]\Arab{\setupalign[r2l]\amiri#1}
%\showgrid
\startsetups[arde
On 5/13/2013 2:27 PM, "H. Özoguz" wrote:
Hi,
now the big problems with arabic fonts are solved, and other problems
arises, see this code:
\definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 13 pt] % or
amiri-regular.ttf
\define[1]\Arab{\setupalign[r2l]\amiri#1}
\showgrid
\starts
Hi,
now the big problems with arabic fonts are solved, and other problems
arises, see this code:
\definefont[amiri][file:UthmanTN1Ver10.ttf*arabic at 13 pt] % or
amiri-regular.ttf
\define[1]\Arab{\setupalign[r2l]\amiri#1}
\showgrid
\startsetups[arde]
\setupTABLE[c][1][rightframe=on
ion=section-8,number=no]
\defineheadalternative
[myheader]
[alternative=horizontal,
renderingsetup=setup:myheader]
\startsetups [setup:myheader]
\inouter{\headtextcontent}
\stopsetups
\setuplist[chapter][style=bold,before=\blank,alternative=b,width=1.5em,color=HeadColor]
\setuplist[section]
Am 07.05.2013 um 07:49 schrieb H. Özoguz :
>> You can avoid this when you put everything in a single table. You should
>> also avoid
>> to use brackets as delimiters for text, use normal braced arguments why can
>> be
>> grouped without problems.
>>
>>
You can avoid this when you put everything in a single table. You should also
avoid
to use brackets as delimiters for text, use normal braced arguments why can be
grouped without problems.
\startsetups[arde]
\setupTABLE[c][1][rightframe=on]
\stopsetups
\def\startarde
{\bTABLE[frame=off
put everything in a single table. You should also
avoid
to use brackets as delimiters for text, use normal braced arguments why can be
grouped without problems.
\startsetups[arde]
\setupTABLE[c][1][rightframe=on]
\stopsetups
\def\startarde
{\bTABLE[frame=off,width=.5\textwidth,setups=arde,spli
OK, now I see the difference between "no" and "empty"! Great.
Many thanks
Piotr
2013/5/2 Wolfgang Schuster :
>
> Am 02.05.2013 um 17:20 schrieb Piotr Kopszak :
>
>> OK, found a sufficiant solution
>>
>> \setuphead[chapter][placehead=no]
>> \
ve=myheader,
section=section-8]
\defineheadalternative
[myheader]
[alternative=horizontal,
renderingsetup=setup:myheader]
\startsetups [setup:myheader]
\inouter{\headtextcontent}
\stopsetups
\starttext
\inouter{Hasselt makes headlines}
\input tufte
\myheader{Hasselt makes he
801 - 900 of 1540 matches
Mail list logo