ch ... you can use
named setups here
should you provide a MWE? - I cannot find an example of usage setups for
setting column width; something like:
\startsetups MyXTable
% How to specify the width of the first column here?
\stopsetups
\startxtable[setup=MyXTable]
...
\stopxtable
Best regar
t; >[header]
> >[text]
> >[frame=off,
> > topframe=off,
> > bottomframe=on,
> > framecolor=,
> > rulethickness=1pt]
> >
> > \defineframed
> >[headerframed]
> >[frame=off,
> > height
> >[frame=off,
> > topframe=off,
> > bottomframe=on,
> > framecolor=,
> > rulethickness=1pt]
> >
> > \defineframed
> >[headerframed]
> >[frame=off,
> > height=fit,
> > width=fit]
> >
> > \startset
off,
> topframe=off,
> bottomframe=on,
> framecolor=,
> rulethickness=1pt]
>
> \defineframed
>[headerframed]
> [frame=off,
> height=fit,
> width=fit]
>
> \startsetups [headertext]
>
> \setupheadertexts
>[{
> \startfra
,
bottomframe=on,
framecolor=,
rulethickness=1pt]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\startsetups [headertext]
\setupheadertexts
[{
\startframed [headerframed] [foregroundstyle=bold]
\getvariable{headertext}{title}
n\high{o
Thanks, Hans!
With \setupdirections[bidi=global,method=three], the footers are placed
correctly. But the *left* footer still does not get RTL treatment. Adding
\setupdirections[bidi=global,method=three] inside startsetups does not help.
Method three has this "bug": a word with
}]
\startsetups L
%\setupdirections[bidi=on,method=one]
%\setupdirections[bidi=local,method=one]
\Ar%left
چپ
\stopsetups
\startsetups R
%\setupdirections[bidi=on,method=one]
\Ar%right
راست
\stopsetups
\starttext
Test
\stoptext
1. The right footer is placed over the left footer.
2. There's
ethickness=1pt]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\startsetups [headertext]
\setupheadertexts
[{
\startframed [headerframed] [foregroundstyle=bold]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{
\mainlanguage[fr]
\setupbackgrounds
[header]
[text]
[frame=off,
topframe=off,
bottomframe=on,
framecolor=,
rulethickness=1pt]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\startsetups [headertext
mframe=on,
> framecolor=,
> rulethickness=1pt]
>
> \defineframed
>[headerframed]
> [frame=off,
> height=fit,
> width=fit]
>
>\startsetups [headertext]
> \setupheadertexts
> [{
> \startframed [headerfr
]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\startsetups [headertext]
\setupheadertexts
[{
\startframed [headerframed] [foregroundstyle=bold]
\getvariable{headertext}{title}
n\high{o}\,\getvariable{headertext}{number
Kavian schrieb am 21.01.19 um 12:08:
> Hi Ursula,
>
> If you replace the \startsetups[chapter:before] with the following, you
> obtain a page without the page number:
>
> \startsetups [chapter:before]
>\doifoddpageelse
> {}
> {\pushbackground[page]
>
Otared Kavian schrieb am 21.01.19 um 12:08:
Hi Ursula,
If you replace the \startsetups[chapter:before] with the following, you obtain
a page without the page number:
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
\setuppagenumbering[state=stop
Ursula,
If you replace the \startsetups[chapter:before] with the following, you obtain
a page without the page number:
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
\setuppagenumbering[state=stop]
\setupbackgrounds[page][background=color
Hi Ursula,
If you replace the \startsetups[chapter:before] with the following, you obtain
a page without the page number:
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
\setuppagenumbering[state=stop]
\setupbackgrounds[page][background=color
to 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
Hi,
You can define your own white space and then attribute it to each item, as in
the following:
\setupwhitespace[big]
\startsetups[mywhitespace]
\setupwhitespace[small]
\setupblank[small]
\stopsetups
\setupitemize[each][inner=\directsetup{mywhitespace}]
\starttext
\input knuth
by hand.
Here is a example which shows how you can change the background color
of a empty page before the chapter title.
\setuppagenumbering
[alternative=doublesided]
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
\setupbackgrounds[page][b
gt;> new chapter.
>>>>>>
>>>>>> I would like to manipulate this blank even page.
>>>>>>
>>>>>> There are several things I would like to do, eg. having no headers and
>>>>>> footers, setting the background
ng
[alternative=doublesided]
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
\setupbackgrounds[page][background=color,backgroundcolor=black]
\page[empty,right]
\popbackground}
\stopsetups
\setuphead
[chapter]
[page=yes,
befo
o just delete page numbers
>> but to style the empty page in arbitrary ways.
>>
>> Maybe it is better to do this manually.
>>
>> I would let chapter open on even pages too and just insert a styled page
>> by hand.
>
> Here is a example which shows how you c
Jan U. Hasecke schrieb am 14.01.19 um 08:39:
Am 13.01.19 um 16:56 schrieb Wolfgang Schuster:
Here is a example which shows how you can change the background color
of a empty page before the chapter title.
\setuppagenumbering
[alternative=doublesided]
\startsetups [chapter:before
Am 13.01.19 um 16:56 schrieb Wolfgang Schuster:
> Here is a example which shows how you can change the background color
> of a empty page before the chapter title.
>
> \setuppagenumbering
> [alternative=doublesided]
>
> \startsetups [chapter:before]
on even pages too and just insert a styled page
by hand.
Here is a example which shows how you can change the background color
of a empty page before the chapter title.
\setuppagenumbering
[alternative=doublesided]
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page
,
aftersection={\vfill\vfill},
header=empty,
placehead=no,
]
%% The following always creates a verso page if there is an
%% epigraph to set or not.
\startsetups chapter:epigraph
]
[quotedatabase.buffer]
\definebtxrendering
[quotedb]
[group=quotes,
sorttype=cite,
numbering=no,
dataset=quotedb]
\setupbtx
[specification=quotedb,
authorconversion=normalshort,
dataset=quotedb]
\startsetups btx:quotedb:cite:attribnote
{\rm
is to create your own layout for the chapter etc.
title and pass the name of the graphic with the second argument
of the \startchapter command.
With this method you keep your document clean and all the magic
happens in the style file.
\startsetups [chapter:image]
\vbox {
\doifsomething
.
Thanks in advance
Tommaso
\defineuserdata [purecode] [alternative=purecode]
\defineuserdataalternative [purecode] [renderingsetup=userdata:purecode]
\startsetups [userdata:purecode]
\blank
\startembeddedxtable
[width=\textwidth,strut=no,offset=1ex,framecolor=black,rulethickness=0.5pt
Pablo Rodriguez schrieb am 30.11.18 um 19:36:
Dear list,
I have the following sample:
\setupwhitespace[big]
\startsetups[small:whitespace]
\setupwhitespace[small]
\stopsetups
\definedescription
[description]
[setups={small:whitespace
Dear list,
I have the following sample:
\setupwhitespace[big]
\startsetups[small:whitespace]
\setupwhitespace[small]
\stopsetups
\definedescription
[description]
[setups={small:whitespace},
inbetween={\directsetup[small:whitespace
ks if the token lists exists
>
> \starttokenlist [english]
> \setupitemgroup [itemize] [i]
> \stoptokenlist
>
> \starttokenlist [swedish]
> \setupitemgroup [itemize] [a]
> \stoptokenlist
>
> \startsetups [document:start]
>
> \doifdocumentva
]
\stoptokenlist
\starttokenlist [swedish]
\setupitemgroup [itemize] [a]
\stoptokenlist
\startsetups [document:start]
\doifdocumentvariable{language}{\mainlanguage[\documentvariable{language}]}
\startmodeset
[*en] {\gettokenlist[english]}
[*sv] {\gettokenlist[swedish]}
\stopmodeset
[*]
\startsetups [itemgroup:en]
\setupitemgroup [itemize] [i]
\stopsetups
\startsetups [itemgroup:sv]
\setupitemgroup [itemize] [a]
\stopsetups
\setuplanguage
[en]
[setups=itemgroup:en]
\setuplanguage
[sv]
[setups=itemgroup:sv]
\appendtoks
\doifdocumentvariable{language
Marco Patzer schrieb am 27.11.18 um 22:23:
On Tue, 27 Nov 2018 22:05:27 +0100
Wolfgang Schuster wrote:
But even your solution doesn't work here. Did you try it in the
example project file?
\startenvironment [*]
\startsetups [itemgroup:en]
\setupitemgroup [itemize] [i]
\stopsetups
On Tue, 27 Nov 2018 22:05:27 +0100
Wolfgang Schuster wrote:
> > But even your solution doesn't work here. Did you try it in the
> > example project file?
>
> \startenvironment [*]
>
> \startsetups [itemgroup:en]
> \setupitemgroup [itemize] [i]
> \stopsetups
&
}]}%
\to \everysetupdocument
That's basically what I've done in my project file (te-proj.tex). At
least the code is supposed to do exactly that.
But even your solution doesn't work here. Did you try it in the
example project file?
\startenvironment [*]
\startsetups [itemgroup:en]
\setupitemgroup [itemize
ber.
> > ... it's not a godo idea to use that hook to add content
> > I'm not adding content, it was just for the MWE. I'll post another
> > thread about what I intend to achieve.
>
> When you use \startdocument you can use
>
> \startsetups [document:start]
>
for the MWE. I'll post another
thread about what I intend to achieve.
When you use \startdocument you can use
\startsetups [document:start]
...
\stopsetups
to insert code at the begin of the document.
Wolfgang
to add \blank to
the setups block e.g.
\startsetups [userdata:purecode]
\blank
\startembeddedxtable
...
\stopembeddedxtable
\blank
\stopsetups
Wolfgang
___
If your question is of interest to others
[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] [option=tex
g88877.html>
>>
>> A logical follow up questions is if itemize can be combined with natural
>> tables that include modes like in the MWE below.
>>
>> MWE:
>>
>> \startsetups [table]
>> \setupTABLE [start] [frame=off,rulethickness=0
and
tabulate is not possible. Instead modes must be comined with natural
tables.
https://www.mail-archive.com/ntg-context@ntg.nl/msg88877.html
A logical follow up questions is if itemize can be combined with
natural tables that include modes like in the MWE below.
MWE:
\startsetups [table
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]
xt
\startbuffer[test]
some bold title
\stopbuffer
\xmlprocessbuffer{main}{test}{}
\stoptext
% END EXAMPLE
I know it would be simple to write e.g.
\startsetups xml:section
\section{\xmlflush{#1}}
\stopsetups
but I was aiming for a simple, clean-looking CLD as style setup of the XML
d
With the font key you can apply certain font features for a different
language
but you can’t use it to switch to a different font.
To switch to a different font for your greek texts use this method:
\startsetups [greekfont]
\switchtobodyfont [grcface]
\stopsetups
\setuplanguage[agr][setups
but
couldn’t get it to work.
\starttext
\startsetups [tablesetups]
\setupTABLE [start] [frame=off,rulethickness=0pt,offset=0pt]
\setupTABLE [column] [1] [width=6cm,align=flushleft]
\setupTABLE [column] [2] [width=3cm,align=flushleft]
\stopsetups
Calculate
Thank you again Wolfgang.
Yet another question:
I like to get rid of the \par and tried integrating it into the tablesetups
somehow. I've tried adding things like before={\blank} and before\par but
couldn’t get it to work.
\starttext
\startsetups [tablesetups]
\setupTABLE [start
of the 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
You can’t do this with tabulate but it’s possible with natural tables.
%\enablemode [BL]
\starttext
\startsetups [tablesetups]
\setupTABLE [start] [frame=off]
\setupTABLE [column] [1] [width=6cm,align=flushleft]
\setupTABLE [column] [2] [width=2cm,align=flushleft]
\stopsetups
and then clone it ...
\defineuserdata [rik] [name=Rik,alternative=rik]
\defineuserdataalternative [rik] [renderingsetup=userdata:rik]
\startsetups [userdata:rik]
\starttabulate[|l|p|]
\NC \userdataparameter{name} \NC \getuserdata \NC\NR
\stoptabulate
\stopsetups
\starttext
] [name=Rik,alternative=rik]
\defineuserdataalternative [rik] [renderingsetup=userdata:rik]
\startsetups [userdata:rik]
\starttabulate[|l|p|]
\NC \userdataparameter{name} \NC \getuserdata \NC\NR
\stoptabulate
\stopsetups
\starttext
\startuserdata [rik]
\samplefile{greenfield
here is an example of mine
\startsetups table:width
\setupTABLE[align={hyphenated,normal}]
\setupTABLE[column][1][width=0.3\textwidth]
\setupTABLE[column][2][width=0.4\textwidth]
\setupTABLE[column][3][width=0.3\textwidth]
\stopsetups
% table des patients
\startsetups table:style
Am 2018-07-29 um 13:36 schrieb Henning Hraban Ramm :
> Am 2018-07-28 um 11:09 schrieb Henning Hraban Ramm :
>
>>>> Or can I go via setups like \bTABLE[setups=mystyle] ?
>>>
>>> \startsetups mystyle
>>> \setupTABLE[frame=off]
>>> \setupT
Am 2018-07-28 um 11:09 schrieb Henning Hraban Ramm :
>>> Or can I go via setups like \bTABLE[setups=mystyle] ?
>>
>> \startsetups mystyle
>> \setupTABLE[frame=off]
>> \setupTABLE[row][first][topframe=on,bottomframe=on,style=bold]
>> \setupTABLE[row
[mystyle], and then \setupTABLE[mystyle][...] ?
>>
>> Or can I go via setups like \bTABLE[setups=mystyle] ?
>
> \startsetups mystyle
> \setupTABLE[frame=off]
> \setupTABLE[row][first][topframe=on,bottomframe=on,style=bold]
> \setupTABLE[row][last] [bottomframe=on]
e \bTABLE[setups=mystyle] ?
\startsetups mystyle
\setupTABLE[frame=off]
\setupTABLE[row][first][topframe=on,bottomframe=on,style=bold]
\setupTABLE[row][last] [bottomframe=on]
\stopsetups
\starttext
\bTABLE[setups=mystyle]
\bTR
\bTD Hello \eTD \bTD Hraban \eTD
\eTR
\bTR
\bTD Hel
That's perfect, thank you!
On 2018-07-23 06:32 PM, Hans Hagen wrote:
\startsetups btx:list:author:normalshort
\fastsetup{btx:list:author:concat}
\begingroup
\ctxluacode{document.CheckMeB("\currentbtxdataset","\currentbtxtag",\number\currentbtxautho
B(set,tag,aut)
local c = publications.getcasted(set,tag,"author")
if c[aut].surnames[1] == "Foo" then
context("\\bf")
end
end
\stopluacode
\startsetups btx:list:author:normalshort
\fastsetup{btx:list:author:concat}
\begingroup
\ctxlu
]
\definebtxrendering[ref][dataset=ref]
\setupbtx[default:cite]
[alternative=authoryear,
etallimit=1]
\starttexdefinition btx:customauthor
\startluacode
local text = context.btxflush('author')
-- tex.sprint(text) -- text remains nill
\stopluacode
\stopte
')
-- 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:default:year}
\removeunwantedspaces
dule[letter]
>> \useletterstyle[dinb]
>> \mainlanguage[de]
>> \starttext
>> \setupletter
>> [signature={Unterschrift},
>> fromname={Absender},
>> fromaddress={Straße\\Ort},
>> toname={An},
>> toaddress={Adresse}]
>> % correspondence.pdf, p. 73
>>
]
\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.pdf, p. 71
={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.pdf, p. 71
\startuseMPgraphic{dactylus}
draw unitsquare
.
On Thu, Jun 21, 2018 at 8:22 AM Idris Samawi Hamid ادريس سماوي حامد <
idris.ha...@colostate.edu> wrote:
> Salaam, Mohammad Hossein, Otared,
>
> On Wed, 20 Jun 2018 15:27:56 -0600, Mohammad Hossein Bateni
> wrote:
>
> > \startsetups[bidi:footnotes
Salaam, Mohammad Hossein, Otared,
On Wed, 20 Jun 2018 15:27:56 -0600, Mohammad Hossein Bateni
wrote:
\startsetups[bidi:footnotes]
\setupdirections[bidi=on]
\stopsetups
\setupnotes[footnote][setups=bidi:footnotes]
On Wed, 20 Jun 2018 22:31:05 -0600, Otared Kavian wrote:
% begin
Hello,
I know, that letting context to solve all widow/orphans automatically
is possible like:
\startsetups[grid][mypenalties]
\setdefaultpenalties
\setpenalties\widowpenalties{1}{1}
\setpenalties\clubpenalties{1}{1}
\stopsetups
\setuplayout[grid=yes, setups
Hi Idriss,
As Mohammad Hossein pointed out, adding a setups solves both problems you
mentioned (font declaration and bidi in footnotes):
% begin test-bidi-footnote.tex
\setupdirections[bidi=global]
\startsetups[bidi:footnotes]
\setupdirections[bidi=on]
\definedfont[file:almfixed.otf*arabic
maybe something like this would help:
\startsetups[bidi:footnotes]
\setupdirections[bidi=on]
\stopsetups
\setupnotes[footnote][setups=bidi:footnotes]
but I did not test it now.
On Wed, Jun 20, 2018 at 5:26 PM Idris Samawi Hamid ادريس سماوي حامد <
idris.ha...@colostate.edu> wrote:
is used by default with
% the before key of the \startdocument command
\startsetups [document:start]
\startmodeset
[**de]{This document is in german.\par}
[**en]{This document is in english.\par}
[default] {This document uses the default language.\par
alia, TL18.
\setuptagging [state=start]
\setupexternalfigures [location=default]
\definelayout [testpage]
\definelayer [testpage]
[width=\paperwidth,height=\paperheight]
\startsetups [testpage]
\setlayerframed [testpage]
[preset=rightbott
tate=start]
\setupexternalfigures [location=default]
\definelayout [testpage]
\definelayer [testpage]
[width=\paperwidth,height=\paperheight]
\startsetups [testpage]
\setlayerframed [testpage]
[preset=rightbottom,hoffset=.25in,voffset=.25in,
backgr
on=default]
\definelayout [testpage]
\definelayer [testpage]
[width=\paperwidth,height=\paperheight]
\startsetups [testpage]
\setlayerframed [testpage]
[preset=rightbottom,hoffset=.25in,voffset=.25in,
background=color,backgroundco
N. Raghavendra <mailto:nyraghu27...@gmail.com>
22. April 2018 um 17:23
I was wondering if it is alright to use underscores in the names of
macros, e.g, as in the following file. It looks like \startsetups, and
\def accept names with hyphens, underscores, and numerals, but
\starttexdefi
On 4/22/2018 5:23 PM, N. Raghavendra wrote:
I was wondering if it is alright to use underscores in the names of
macros, e.g, as in the following file. It looks like \startsetups, and
\def accept names with hyphens, underscores, and numerals, but
\starttexdefinition doesn't tolerate any of them
I was wondering if it is alright to use underscores in the names of
macros, e.g, as in the following file. It looks like \startsetups, and
\def accept names with hyphens, underscores, and numerals, but
\starttexdefinition doesn't tolerate any of them.
1. In general, what characters are allowed
LeftFooter{\FooterFrame{\BookNameFrame[90]\hfill}}
\startsetups Text
\setupheadertexts[text][\RightHeader][][][\LeftHeader]
% \setupfootertexts[text][\RightFooter][][][\LeftFooter]
\stopsetups
\startsetups Appendices
\def\RightAppendicesHeader{\HeaderFrame{\ssx\
some universal code that allows me to try out different table
mechanisms. Just to explain (don't spend time on this, I'm just playing
around): I collect my table settings like this:
\startsetups section_table
\setupframedtablecolumn [1] [width=0.7cm,align=left]
\setupTABLE [column] [1] [width
and is waiting there!
Regarding the setups for cite, I did not see where I should put the modified
block
\startsetups btx:cite:XXX
\stopsetups
As of now it doesn't seem necessary to modify anything for \cite: maybe this
can be done later on if necessary.
Best regards: OK
> On 20 Feb 2018, at 10
definitions in a
block
\startbtxrenderingdefinitions[otared]
...
\stopbtxrenderingdefinitions
You define two different sets of definitions: one for the citations in the text
(in the form \startsetups btx:cite:XXX), one for the list of references (in the
form \startsetups btx:list:XXX). Here you
tax! Another example could be
> "edition={second}" and "edition={2\high{nd}}". Of course, one could
> introduce conversion sets (like for months), but this gets complicated.
> How about "edition={second, revised with corrections}"?
>
>
> M
, then one needs to redefine a setup:
From publ-imp-authors.mkvi
\startsetups \s!btx:\s!list:\s!author:others
\ifcase\currentbtxoverflow \else
\btxparameter\c!otherstext
\fi
\stopsetups
(this gets called at the end of the author list construction). One could add at
the end
you want: " : " after the list
of authors or after each author? If you want this after the list of
authors, then one needs to redefine a setup:
From publ-imp-authors.mkvi
\startsetups \s!btx:\s!list:\s!author:others
\ifcase\currentbtxoverflow \else
\btxparameter\c!othe
additional
problems, is it unreasonable to request that labels be officially
supported in MKIV and not marked as MKII relicts?
Here is my latest test harness.
\defineconstructionalternative
[mylabel]
[renderingsetup=constructionrenderings:mylabel,
width=]
\startsetups
to this
requirement, or suggest an alternative mechanism, this request can be
rejected.)
two options:
\defineconstructionalternative
[mylabel]
[renderingsetup=constructionrenderings:mylabel,
width=]
\startsetups[constructionrenderings:mylabel]
\dontleavehmode
\flushconstructionheadbox
Further experimentation suggests that the problem is in the interaction
between footnotes and margin placement. Endnotes work fine.
\defineconstructionalternative
[mylabel]
[renderingsetup=constructionrenderings:mylabel,
width=]
\startsetups
mechanism, this request can be
rejected.)
two options:
\defineconstructionalternative
[mylabel]
[renderingsetup=constructionrenderings:mylabel,
width=]
\startsetups[constructionrenderings:mylabel]
\dontleavehmode
\flushconstructionheadbox
\stopsetups
\defineenumeration[two
.)
two options:
\defineconstructionalternative
[mylabel]
[renderingsetup=constructionrenderings:mylabel,
width=]
\startsetups[constructionrenderings:mylabel]
\dontleavehmode
\flushconstructionheadbox
\stopsetups
\defineenumeration[two][alternative=mylabel,display=no,before=,after
}[] shows no number and \in{Theorem}[]
shows ?? instead of numbers while \in{Exam}[] shows correctly.
Is there a way to show the numbers correctly?
% in cont-new.mkiv:
\unprotect
\defineconstructionalternative
[\v!empty]
[\c!renderingsetup=\??constructionrenderings:\v!empty]
\startsetups
startSectionEpigraph
\dostartbuffer [SectionEpigraph]
[startSectionEpigraph][stopSectionEpigraph]
\stoptexdefinition
\setuphead [chapter][
beforesection=\setups{chapter:epigraph}]
\startsetups chapter:epigraph
\page[yes,left]% same result with yes,header,footer,left
[chapter]}][]
\starttexdefinition unexpanded startSectionEpigraph
\dostartbuffer [SectionEpigraph]
[startSectionEpigraph][stopSectionEpigraph]
\stoptexdefinition
\setuphead [chapter][
beforesection=\setups{chapter:epigraph}]
\startsetups
=\pagewidth,height=\pageheight]
\define \Title {A Primer on Omphaloskepsis}
\startsetups [placeisbn]
\setlayer [isbn][preset=rightbottom,hoffset=5mm,voffset=5mm]
{\externalfigure[cow.pdf][width=3cm]}
\stopsetups
\starttext
makeup[cover4][page=left,doublesided=no]
\definelayer [isbn][width=\pagewidth,height=\pageheight]
\define \Title {A Primer on Omphaloskepsis}
\startsetups [placeisbn]
\setlayer [isbn][preset=rightbottom,hoffset=5mm,voffset=5mm]
{\external
\setuppapersize [A6]
> \setupexternalfigures[location=default]
> \definemakeup[cover4][page=left,doublesided=no]
> \definelayer [isbn][width=\pagewidth,height=\pageheight]
> \define \Title {A Primer on Omphaloskepsis}
> \startsetups [placeisbn]
> \setlay
\Title {A Primer on Omphaloskepsis}
\startsetups [placeisbn]
\setlayer [isbn][preset=rightbottom,hoffset=5mm,voffset=5mm]
{\externalfigure[cow.pdf][width=3cm]}
\stopsetups
\starttext
\setupbackgrounds [page][setups=placeisbn,background=isbn
;
> What would be the best way to achieve this?
>
> Here’s my setup:
>
> \setupbodyfont [alegreya,rm,11pt] % usual font size
>
> \startsetups[myQuotation]
> \setupwhitespace[none]
> \setupnarrower[left=2em,right=2em]
> \switchtobodyfont[rm,10pt]
>
some
sense.
What would be the best way to achieve this?
Here’s my setup:
\setupbodyfont [alegreya,rm,11pt] % usual font size
\startsetups[myQuotation]
\setupwhitespace[none]
\setupnarrower[left=2em,right=2em]
\switchtobodyfont[rm,10pt]
% I guess I should change the footnote number font
mbers that also would
> be a solution.
>
>
> \setuppapersize[A6]
> \setuppagenumbering
> [location=footer,
> alternative=doublesided,
> state=start]
>
> \startsetups paginaoff
> \setuppagenumbering[location=,] % doesn’t work
> \stopsetups
>
> \setupmak
of
a full page image on a layer.
If I could place the image layer on top of the page numbers that also would be
a solution.
\setuppapersize[A6]
\setuppagenumbering
[location=footer,
alternative=doublesided,
state=start]
\startsetups paginaoff
\setuppagenumbering[location=,] % doesn’t work
certainly nicer than what
I found on stackexchange. Perhaps there is still something better,
though?
\startsetups[letter:section:opening]
\correspondenceparameter{opening}
\blank
{\bf\correspondenceparameter{subject}}
\stopsetups
\startsetups[letter:secti
Hello,
How should the table be placed correctly ?
Thanks
Fabrice
\unexpanded\def\pcent#1{\math{#1\,\%}}
\startsetups [table:one]
\setupTABLE[start][align={middle,lohi},width=2.2cm,offset=0.8ex]
\setupTABLE[column][first][width=2cm,align={right}]
\setupTABLE[1][1][frame=off
401 - 500 of 1478 matches
Mail list logo