he MWE below.
MWE:
\startsetups [table]
\setupTABLE [start] [frame=off,rulethickness=0pt,offset=0pt]
\setupTABLE [column] [1] [width=4cm,align=flushleft]
\setupTABLE [row][1] [toffset=5pt]
\setupTABLE [column] [2] [width=4cm,align=flushleft]
\stopsetups
\enablemode[test]
e] [i]
\stoptokenlist
\starttokenlist [swedish]
\setupitemgroup [itemize] [a]
\stoptokenlist
\startsetups [document:start]
\doifdocumentvariable{language}{\mainlanguage[\documentvariable{language}]}
\startmodeset
[*en] {\gettokenlist[english]}
[*sv] {\gettokenlist[swedish]}
\stopmo
show the effect on this wiki
\setuppapersize[A8][A5,landscape]
\setuppaper[nx=4, ny=2]
\setuplayout[page][location=middle, marking=on]
\setuparranging [XY]
\setupbodyfont[6pt]
% actual example starts here
\setuppagenumbering
[alternative=doublesided]
\startsetups [chapter:before
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
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]
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
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 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
! alone !)
>
> V
> Vamberk 18
> ...
> ...
>
>
> There are also few cases of orphans, but this is not so strange:
> ...
> ...
> Josef 29
>
> K
> Karel 69 (! alone !)
> (end page) -
>
On Wed, Apr 16, 2008 at 12:32 AM, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote:
> I have now:
>
> \unprotect
>
> \resetvalue{\??sw\v!chapter}
>
> \startsetups chapter:list
>
> \doifsomething{\sectionworldparameter\c!author}
>
Am 27.04.2008 um 23:45 schrieb Henning Hraban Ramm:
> Coming back to my old thread.
>
> Here's my latest chapter setup:
>
> --- >8 ---
>
> \unprotect
>
> \resetvalue{\??sw\v!chapter}
>
> \startsetups chapter:list
>
> \def\\{{\ \
le) and save it in your TeX directory where
ConTeXt could find the file.
> Some small things :
> — changing the interligne space dont change it in the « fromaddress »
\setupletterstyle[head][top={\setupinterlinespace[line=...]}]
or
\startsetups head:interlinespace
\setupinterlinespace[
ht,placehead=yes]
> > \setuplist [chapter] [alternative=d,before=\blank,after=\blank]
> > \setuplist [part][before=\blank,after=\blank]
> >
> > \starttext
> > \startsetups chapter
> >\blank \startnarrower[3*middle] \placecontent[criterium=local]
> > \stopnar
Thank you, Wolfgang, this works better.
Actually I need to use '%' in the condition and that fails:
---
...
\startrawsetups layer
% The value of 'n' is used here to set the appropriate background,
% = n-th page of a PDF, and also to draw a filled rectangle on
% the left or right side (depe
Am 15.02.2011 um 09:11 schrieb Daniel Lyons:
> Hi again,
>
> I have this in my environment
>
> \startsetups[sectioninfo]
> \ss
> \rlap{\userpagenumber}
> \hfill
> § \getmarking[sectionnumber][current]
> \emspace
> \bf \getmarking[section][current]
&
On 6/17/20 10:47 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 16.06.2020 um 22:17:
>> Dear list,
>>
>> I have the following sample:
>>
>>\startsetups[tinytiny]
>> \setupwhitespace[-2em]
>> \setupbodyfont[0.01pt]
>>
=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[style={\switchtobodyfont[9pt]},
width=\rightmarginwidth,
align={flushleft,broad},
stack=yes]
{\startframedtext[before=,after=,offset=0pt,width=max,frame=off]
\getinlineuserdata
of table mechanism. The wiki has an example
when using the (now deprecated) TaBlE macros
https://wiki.contextgarden.net/Table#Booktabs
The same effect is rather easy to achieve when using natural tables as well.
\startsetups booktabs
\setupTABLE[each][each][frame=off]
\setupTABLE[row][first]
> Btw, do you know whether there is any difference between \lastpagenumber
> > and \lastuserpagenumber mentioned both by Wolfgang and by the excursion
> > book <http://www.pragma-ade.com/general/manuals/ma-cb-en.pdf>?
>
> \defineconversionset [bodypart:pagenumber] [] [Rom
][renderingsetup=userdata:zzz]
\startsetups[userdata:zzz]
\hrule
\doifsomething{\userdataparameter{title}}
{\bold{\strut\userdataparameter{title}}
\blank}
\strut\getuserdata
\stopsetups
\starttext
\startuserdata[zzz]
\input weisman
\stopuserdata
\startuserdata[zzz][title=W
look at DejaVu Sans.
\definefont[ArabicFont][file:Amiri-Regular.ttf*arabic at 11pt]
\startsetups arabic
\setupalign[r2l]
\ArabicFont
\stopsetups
Julian
On 10/4/21 10:39 pm, Arthur Rosendahl wrote:
On Sat, Apr 10, 2021 at 09:05:37AM +1000, jbf wrote
se setups on the outer level (not on the inner), but that hardly
makes a difference (\setups{Header:Left} and \myleftheader are almost
equal).
\startsetups[header with logo]
\doifmodeelse
{twosided}
{\setupheadertexts
[\hbox{\kern-5mm\myheaderright}][]
[][\hbox{\myheaderleft\kern
area[one][left][x=1,y=1,nx=6,ny=6,state=start]
\setupcolumnsetareatext[one][left][\setup{test}]
\startsetups test
\placefigure[here][test]{test}{\externalfigure[cow]}
\stopsetups
\starttext
\startcolumnset[example]
\dorecurse{25}{\fakewords{50}{100}}
\stopcolumnset
\
On 30 May 2010, at 10:18, Bernhard Rosensteiner wrote:
> Hello,
>
> i have made a typescript which works. the only thing is that i have in my
> typescript something like:
>
> \startsetups [fallbackfonts]
> …
> \stopsetups
>
> \starttypescript
s the code :
%%==
\startsetups[myheader]
\bTABLE[setups=mytable-header]
\bTR
\bTD[nr=2]
\placefigure[here,force]{none}{\externalfigure[logo][width=22mm]}
don't use placefloat in a table, just
more semantically correct approach. Any help appreciated.
this sort of works
\startbuffer
some source code
some source code
some source code
\stopbuffer
\setuplinenumbering[style=\ttx,distance=0em,width=1em]
\startsetups algorithm
\startlinenumbering
\setuptyping[file][before=,after=]
\f
On 10-11-2010 6:50, Aditya Mahajan wrote:
Hi
I was trying to answer a question on tex.stackexchange
(http://tex.stackexchange.com/questions/5166/) when I noticed that
marking does not work the same way in MkIV as it did in MkII. Consider
the following minimal example:
\startsetups footer
Hi,
the frames are interfering in the following example. How to avoid
the 2pt-2-column bottom rule also be drawn at the top?
\startsetups table
\setupTABLE [frame=off]
\setupTABLE [row] [first] [topframe=on]
\setupTABLE [1] [first] [bottomframe=on, rulethickness=2pt]
\stopsetups
counter works in my xml files as well;
I had a second after= assignment which confused ConteXt. It's almost
perfect, but there's a spurious space creeping in somewhere. Reusing
my old example:
\startsetups section:after
\ifodd\namedheadnumber{section}\relax
\resetS
\setupinterlinespace
[line=2.8ex]}] \setupheader[style=\tfxx] % strut=yes
\setupheadertexts[chapter][section] % try this
% \setupheadertexts[\setups{head}] % or this
\startsetups[head]
\framed
[width=broad,strut=yes,height=\lineheight,framecolor=red]
{\getmarking[chapter]\hfill\getmarking[section
doable with:
\starttext
\startsetups whatever
\defineshortcut [b] [style=bold]
\defineshortcut [e] [style=slanted]
\stopsetups
\definestartstop[whatever][commands=\setups{whatever}]
\input tufte
oeps or
\startwhatever
oeps or
\stopwhatever
oeps or
\input tufte
\stoptext
Many
e this should be a nice example I could use myself
> > in the future (it's to easy to forgot many of the necessary settings).
>
> So the strategy is to use \startsetups. This worked beautifully! Thank
> you VERY much! :-)
The important thing is to change the header after th
oop
{\startbaselinecorrection
If you run your code with:
\startsetups[verydirtytrick]
\doglobal\increment\DirtyTrickCounter
\ifodd\realpageno\relax
\ifodd\DirtyTrickCounter
\hbox to \overlaywidth{1{\hskip0mm}\foregroundbox1}
\else
\hbox to \overlaywidth{2{\hskip-1.
accomplished with them?
you can put a layer in the background of the header area and that do
something:
\startsetups whatever
\setlayer[thatlayer][positioning...]{\the\pageno}
\stopsetups
\setupheadertexts[\setups{whatever}]
PS: Here is my current implementation:
\definelayer[navbar
inition
> ```
>
> Do I have to apply expansion control somewhere else or in some other way?
>
> Joey
>
> On Wed, Oct 6, 2021 at 2:35 PM Joey McCollum
> wrote:
>
>> All right, I think I see what I did wrong; I just needed to enclose the
>> whole \abbr
When the \subject line is included then the author name
disappears - there's just a blank space in the header.
MWE:
\setuppagenumbering
[ alternative=doublesided,
location={footer},
]
\definefont [stylePageHeader] [Serif at 10pt]
\startsetups ChapterSetup
\setupheadertexts
\someheadnumber[chapter][current]
\someheadnumber[chapter][last]
What’s the difference?
And even if I use \definecolor within a setup, I get the same color for
every chapter – how and where must I delay expansion?
\usemodule[visual]
\startsetups[MyChapterSetup]
\definecolor[MyChapterColor][h={360
=\vbox,align=middle,stack=yes]
\defineuserdata [margintext] [alternative=margintext]
\defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[
style={\switchtobodyfont[10pt]},
width=\rightmarginwidth
de [JA]
\setscript [nihongo]
\mainlanguage [ja]
\stopmode
but for documents which use multiple script/languages at the same time
replace the previous setup with
\startsetups [japanese]
\setscript [nihongo]
\stopsetups
\setuplanguage [ja] [setups=japanese]
a
Dear list,
typesetting the example below results in lines printed above each other?
Without the penalties, this doesn't happen. What am I missing here? How I can
use the penalties without the not wanted overprinting?
Best,
Denis
\startsetups[mypenalties]
\setdefaultpena
,section}]
\startsetups [SecToc]
\startframedtext [width=\textwidth, align=middle, frame=off]
\placelist [section]
[
criterium=chapter,
]
\stopframedtext
\stopsetups
While that produces a result, it is nothing like what I want above. Has
anyone put together a TOC of this kind and might be
tructureuservariable{intro})
> > }
>
> Stop there!
>
> Use \definehead to create your own variation of a heading - much more robust.
> Something like the following (untested):
>
> \startsetups PlaceSubTitleAndIntro
> % Set font and and style etc for the subtitle
ptext
```
I tried to misuse `inbetween` for that but `alternative=top` seems to make a
(not modifiable space) between the heading and the text body.
Use the \setupparagraphintro command to set the text which should appear
at the start of the question.
begin example
\startsetups[question:
I have found the problem, but am still seeking a little help:
I had created a setup to raise the page number in the footer. Calling
this setup resulted in the frontpart pages reverting to arabic instead
of roman:
\startsetups pnfooter
\setuppagenumbering[alternative=doublesided,location
]
\definetransliteration
[MyDeva]
[lang=sa,
vector={iast to deva}]
\startsetups [sanskrit]
\settransliteration[MyDeva]
\switchtobodyfont[nagari]
\stopsetups
\setuplanguage [sa] [setups=sanskrit]
\starttext
\subject{Some notes on Printing Sanskrit with lmtx}
\language[sa]{योग} -- That is the
section numbers, use this
\startsetups document:start
\centerline{\documentvariable{title}}
\centerline{\documentvariable{author}}
\centerline{\documentvariable{date}}
\blank[line]
\stopsetups
\startdocument[title=Title,author=Author,date=Date]
\stopdocument
```
I hope
explain why *both* commands are
needed? Toggling these two commands doesn't work.
\setupindenting[big,yes]
\startsetups[footnote:indenting]
\setupindenting[big,yes]
\stopsetups
\setupheads[indentnext=no]
\setupnote[footnote][setups=footnote:indenting]
\setupnotation[footnote][indentin
ing
> the layers functionality of context?
You can put the layer settings in a setups environment and flush the content
when the page backgrounds are applied
with the setups key for \setupbackground.
\definelayer[letterhead][width=\paperwidth,height=\paperheight]
\startsetups[letterhead]
dth,height=\overlayheight]
\defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
\startsetups pagenumber
\setlayerframed
[pagenumber]
[preset=rightbottom]
{p}
\stopsetups
\bTABLE
\setupTABLE[each][each][background=pagenumber]
\bTR
\bTD multiline \par text
have a minimal sample that shows the issue:
\showframe\showgrid
\setuppapersize[A5]
\setuplayout[setups=*lessstrict, topspace=4.5cm, height=middle]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty
)
> Your lack of a working minimal example makes it hard to give a solution
Sorry, I know, but I didn’t know to reproduce the situation.
> but adding changing the way how the frame is added should improve things.
>
> \startsetups[section:andrea]
> \ifconditional
et=0pt,
location=low,
width=\struttotal,
background=color,
backgroundcolor=darkred,
foregroundcolor=white,
forgroundstyle=bold]
\defineprocessor[ACPROCESSOR][command=\FRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]
\startsetups[table:initialize]
\setupTABLE[start]
anguage[de]
\starttext
\setupletter
[signature={Unterschrift},
fromname={Absender},
fromaddress={Straße\\Ort},
toname={An},
toaddress={Adresse}]
% correspondence.pdf, p. 73
\startsetups letter:head
\rightaligned{Seite \correspagenumber\ von \numberofcorrespages}
\stopsetups
% correspondence.
ext = context.btxflush('author')
-- tex.sprint(text) -- text remains nill
\stopluacode
\stoptexdefinition
\startsetups btx:default:list:article
\texdefinition{btx:customauthor}
\texdefinition{btx:default:title}
\texdefinition{btx:default:journal}
\texdefinition{btx
rdata [example] [alternative=example]
\defineuserdataalternative [example] [renderingsetup=userdata:example]
\startsetups [userdata:example]
\startembeddedxtable
[width=\textwidth,strut=no,offset=1ex,framecolor=red]
\startxrow [corner=03]
\startxcell
\typebuffer [userdata] [optio
pulate the page number. However I
> get an error:
>
>
> MWE:
>
> \setuppapersize [A6] [A6]
>
> \setuppagenumbering[location=none]
>
> \startsetups [Pagenumber]
> \doifrightpageelse
>{\cldcontext{"\letterpercent d",(\pagenumber+1)/2}}
>
language= {english},
hyphenation = {english}, % ignored
pagetotal = {206}, % ignored
pages = {206},
}
\stopbuffer
\usebtxdataset[bib.buffer]
\usebtxdefinitions[apa]
\setupbtx[apa:cite:authoryear][left={[},right={]}]
\startsetups btx:apa:list:book
\btxdoif {author} {
\definesectionalternative[mysection][renderingsetup=mysection]
\startsetups[mysection]
\vbox\bgroup
\headsetupspacing
\strut\headnumbercontent\par
\begstrut\headtextcontent\endstrut
\egroup
\stopsetups
\setuplabeltext[en][section={}{Section]
\setuphead[section][alternative
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
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
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
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
Hans,
many thanks for the fix in latest beta from 2014.11.08 15:07.
I still experience a bug that it wasn’t there before beta from
2014.11.06 14:55.
Here you have the sample:
\startsetups[placelist:section]
\start
\setupinterlinespace[line=2.8ex]
\placelist[section][alternative=d
Am 2008-04-15 um 10:03 schrieb Wolfgang Schuster:
> Try this.
>
> \unprotect
>
> \resetvalue{\??sw\v!chapter}
>
> \startsetups chapter:list
>
> \doifsomething{\sectionworldparameter\c!author}
> {\expanded{\writetolist[\v!chapter]
> {\sect
gt;> closing={Greetings from the Author}]
>>
>> \input knuth
>>
>> \stopletter
>>
>>
>> \stoptext
>> ---
>>
>> but couldn't see the backaddress line in the output. What do I have to
>> change?
>
> There is nothi
to use
a syntax like this:
\startsetups[verbatim:C]
\definestartstop[SnippetName][color=...,style=...]
\definestartstop[string][color=...,style=...]
\stopsetups
and then pass setups=verbatim:C to an appropriate \setup... command. That
will make it easy to share the same syntax highlighti
art] \setupcolors[state=start]
\setuphead [part][page=right,placehead=yes]
\setuplist [chapter] [alternative=d,before=\blank,after=\blank]
\setuplist [part][before=\blank,after=\blank]
\starttext
\startsetups chapter
\blank \startnarrower[3*middle] \placecontent[criterium=local] \stopnarro
LEbody
>> \bTR \bTD hello \eTD \eTR
>> \bTR \bTD world \eTD \eTR
>> \eTABLEbody
>> \eTABLE
>
> You mix too many setups, \bTH overwrites your setting for the row
> (\bTR[style=\tfx])
> and also your other setting (\setupTABLE[row][1][style=\bfx]). Here is one t
Layer,background=MyBg,state=start]
\starttext
\strut
\startsetups ALayer
\setlayerframed[MyBg]
[width=65mm,height=30mm,frame=off,hoffset=0mm,voffset=0mm,align=right]
{foo bar}
\stopsetups
\page
\stoptext
---
Versions:
This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) \write18
en
={{#2}}]
\startstandardmakeup
\setups{content}
\setups{decoration}
\stopstandardmakeup
}
\startsetups content
This is for \labeltext{name}%
\doifemptyelse{\labeltext{company}}{.}{, working for \labeltext{company}.}
\stopsetups
I have no problem changing the complete code and
On Wed, 28 Aug 2019, Fabrice Couvreur wrote:
Hello,
The date display is incorrect : I get day 28 instead of day 2.
Thank you
Fabrice
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\definecolor[ColorA][0.8(white)]
\startsetups [headertext
llowing sample:
>
> \showframe\showgrid
> \setuppapersize[A7]
> \setuplayout[setups=*lessstrict]
> \startsetups[*lessstrict]
> \widowpenalty=1000
> \clubpenalty=1000
> \brokenpenalty=1000
> \stopsetups
> \setupbodyfont[
ut it doesn't create
> new environment commands.
>
> \defineuserdata
>[zzz]
>[alternative=zzz,
> after={\blank[10mm]}]
>
> \defineuserdataalternative[zzz][renderingsetup=userdata:zzz]
>
> \startsetups[userdata:zzz]
> \hrule
>
code:
\setupheadertexts[\setups{text a}]
\startsetups[text a]
\rlap{\getmarking[section]}\hfill
\hfill
--center text here--
\hfill
\hfill\llap{\getmarking[subsection]}
\stopsetups
can place a center header text.
Is there a way to do both?
\setuplayout
[backspace=6cm,
width
\setupexternalfigures[location={local,global,default}]
\setuppagenumbering[alternative=doublesided]
\usemodule[visual]
\definecolumnset[example][n=3]
\definecolumnsetarea[one][left][x=1,y=1,nx=3,ny=16,state=start]
\setupcolumnsetareatext[one][lef
now I have a question: what am I doing wrong?
This works :
\starttext
\definelayer[lyr][width=\overlaywidth,height=\overlayheight]
\defineoverlay[ovl][{\directsetup{lyr}\tightlayer[lyr]}]
\startsetups lyr
\setlayer[lyr][preset=lefttop]{left top}
\setlayer[lyr][preset=righttop]{right top
ferably on the "Dummies" level, I'd prefer not to
> see the bowels of my ConTeXt, if I can avoid it.
going on on
http://wiki.contextgarden.net/Layers
you see
\definelayer
[pagenumber]
[width=\paperwidth,
height=\paperheight,
preset=middle]
\startsetups layer
\setlayer[pagenu
4}
A cleaner way to set the values for the title page is \setvariables:
\startsetups titlepage
\startstandardmakeup[style=sans]
\blank[50mm]
\rightaligned{\bfd\getvariable{titlepage}{company}}
\textrule
\rightaligned{\tfc\color[darkgray]{\getvariable{titlepage}{title}}}
\blank[1
ss}/2)
bottomenlarged (\frameddimension{bottomrulethickness}/2) ;
setbounds currentpicture to OverlayBox ;
\stopuseMPgraphic
\defineoverlay [tableborders] [\useMPgraphic{tableborders}]
\startsetups tableborders
\setupTABLE
[ background=tableborders,
frame=off,
backgroundo
Hi,
I fail to use \structureuservariable to print a value on the page
preceding a chapter. Example:
\setuphead [chapter]
[before=\setups{chap}, command=\myChap]
\startsetups chap
\startmakeup
setups\crlf
structureuservariable foo: \structureuservariable{foo}
\stopmakeup
lternative % new
[whatever]
[alternative=vertical,
renderingsetup=whatever]
\startsetups[whatever]
/\headnumbercontent/\headtextcontent/
\stopsetups
\setuphead[section][command=,alternative=whatever]
\section{test}
\stoptext
There are some helpers. T
\defineannotationalternative
> [myalternative]
> [renderingsetup=annotation:myalternative]
>
> \startsetups [annotation:myalternative]
> Content: \placeannotationcontent
> \stopsetups
>
> \starttext
>
> %% The annotation content should be placed here.
>
> \input ward \blank
>
gt;
> \defineseparatedlist
> [MyTable]
> [before=\bTABLE, after=\eTABLE,
> first=\bTR, last=\eTR,
> left=\bTD, right=\eTD,
> setups=my:table]
>
> \startsetups [my:table]
> \setupTABLE [split=yes, width=5cm, height=4cm, style=MyBigFont]
> \setupTABLE [each] [align=
rounds[page][background=figure]
>>
>>
>> \starttext
>>
>> \dorecurse{4}{\input knuth}
>>
>> \startsetups figure
>>
>> \setlayerframed[figure][x=.3\layerwidth,y=.2\layerheight]{\externalfigure[cow][width=3cm,height=4cm]}
>>
>> \setlayer
ript[Greek]
\definetypeface [My\initializegreekfont] [rm] [serif]
[\initializegreekfont] [default] [encoding=agr]
\stoptypescript
And once more for switching to this font:
\startsetups[enablegreek]
\catcode`~=\other
\catcode`|=\other
\catcode`'=\other
\language[greek]
\swit
[watermark]
[position=yes]\startsetups watermark \doifoddpageelse {\framed[frame=off,foregroundcolor=gray]{\scale[sx=10,sy=10]{\rotate[rotation=0.0]{forever {\framed[frame=off,foregroundcolor=gray]{\scale[sx=10,sy=10]{\rotate[rotation=
0.0]{together\stopset
stop working when I put the layer into the overlay?
Much thanks,
Paul
%output=pdf
\setuppagenumbering[alternative=doublesided]
\setupcolors[state=start]
\setupbackgrounds[page][background={WatermarkOverlay}]
\startsetups WatermarkSetup
\doifoddpageelse
{\framed[frame=off,
of the pages. Am I doing this in a resonable way? Why did the
> setupbackgrounds stop working when I put the layer into the overlay?
>
> Much thanks,
> Paul
>
> %output=pdf
> \setuppagenumbering[alternative=doublesided]
>
> \setupcolors[state=start]
>
> \se
]
\startsetups buildpage
\setlayer[pp][preset=lefttop]{\tightlayer[lt]}
\setlayer[pp][preset=righttop] {\tightlayer[rt]}
\setlayer[pp][preset=leftbottom] {\tightlayer[lb]}
\setlayer[pp][preset=rightbottom]{\tightlayer[rb]}
\startstandardmakeup \tightlayer[pp] \stopstandardmakeup
=start]
\setupbackgrounds
[page]
[background=thumbs]
\defineoverlay
[thumbs]
[\setups{thumbs}]
\def\NOfChapters{4} % i need to make this one available
\startsetups thumbs
\definemeasure[thumbheight][\dimexpr\paperheight/\NOfChapters\relax]
\vbox to \paperheight \bgroup
\vskip
Just continuing to talk my way through the inner workings of the ConTeXt
Publication modules. It looks like three "long" citation forms are defined
in publ-imp-cite.mkvi:
\startsetups btx:cite:listelement
\fastsetup{\s!btx:\s!cite:concat}
\fastsetup{\s!btx:\s!cite:lefttext
g nearly the same example for another time but it still
>>> does what you asked for.
>>>
>>>
>>> But it doesn't...
>>>
>>> You have a page for Volume 3 (which is made blank due to your
>>> \ifnum\structurelistsize=0):
>>>
>>
bid. tracking is eventually implemented, so you might
be able to use that as a template.
(4) To get the "inverted first author" authorconversion working, I had to
create new authorconversions for this. You can find this in the updated
publ-imp-author.mkvi file in my GitHub repo:
\start
files so that my setup for xml was very simple.
Here are my setups for the layout of the novels showing some trackers
that were used as well:
\definepapersize[pagee][width=5.06in,height=7.81in]
\setuppapersize[pagee]
% XML setups here
\startsetups[grid][mypenalties]
\setdefaultpenalties
table
varies. It is larger when using tabulate.
4. The vertical space between the lines in the table text also varies. It is
larger when using TABLE.
(I left out the modes in MWE below because I don’t think it is relevant here.)
\starttext
\setupwhitespace[big]
\startsetups [tablesetups
\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
}][][][\setups{textb}]
\startsetups[texta]
{\tfx\ss Editorial Antropofagia - www.eantropofagia.com.ar - [EMAIL PROTECTED]
\hfill {\bf Página \pagenumber}}
\stopsetups
\startsetups[textb]
{\tfx\ss{\bf Página \pagenumber}\hfill Editorial Antropofagia -
www.eantropofagia.com.ar - [EMAIL PROTECTED
ilebin.ca/xmupe
i'll have a look at it ... there is some leader bug in luatex itself
that might to be solved first
> 2. Is it possible to have the \blank[2*big] generated by the placecontent
> command? The default space generated after chapter seems fine, but I'd
>
gt; % modes
used options> % options (not that important)
used options> \startsetups *runtime:options
used options> \stopsetups
used options> % styles and modules
used options> \startsetups *runtime:modules
used options> \stopsetups
used options> % done
used
tables in the text, as again the results ain't pretty,
> to say the least.
>
> Here the ConTeXt to show what happens in that case
> (and using your suggestion for the page-head with natural tables)
>
> \setuppagenumbering[location=]
> \setupheadertexts[\setups{pa
901 - 1000 of 1528 matches
Mail list logo