[NTG-context] \startcolumnset ... \stopcolumnset is working.

2022-09-14 Thread Jeong Dal via ntg-context
\defineoverlay [verticalrule] [\useMPgraphic{verticalrule3}] \definecolumnset [exam] [n=2, background=verticalrule] \setuplayout[width=19cm, height=26cm, header=1cm, footer=.5cm,backspace=1cm] \setupheader[before=\vfil, after=\vfil] \setupbackgrounds[header][text][frame=off, background

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Hans Hagen via ntg-context
] \chapter{通用规} \placefigure [left,none] {汉字表} {\framed [width=4cm, height=2\lineheight, frame=off, backgroundcolor=darkgreen, foregroundcolor=white, background=color] {汉字表}} \dorecurse{40}{% 通用规\ruby{范

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-18 Thread amano.kenji via ntg-context
I really don't understand how TexLive is installed. On Gentoo Linux, the code that handles TexLive installation is complex. I can't reuse code that I don't understand. I came from LaTeX background. I got sick of handling incompatible modules in LaTeX and decided to try ConTeXt. I had used

Re: [NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-13 Thread Mojca Miklavec via ntg-context
[before={ \startnarrow[left=1cm,before={\blank[10pt]}] \switchtobodyfont[8pt] \startframed [align=flushleft, background=color, backgroundcolor=gray, frame=off, leftframe=on, rulethickness=2pt,

Re: [NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-13 Thread Mojca Miklavec via ntg-context
make \startnarrow[middle=1cm] (or left=... for that matter) produce any offset on the left. I was playing with the following example, but the frame refuses to be shifted to the right \setupvimtyping [before={ \startnarrow[left=1cm,before={\blank[10pt]}] \switchtobodyfont[8pt]

Re: [NTG-context] image with rounded corners

2022-08-12 Thread Wolfgang Schuster via ntg-context
][{%   \externalfigure[mill][width=\overlaywidth] }] \framed[background=Mill,width=3cm,height=4cm, corner=round,radius=1cm, backgroundcorner=round,backgroundradius=1cm, offset=overlay]{} \setupexternalfigures[location=default] \starttext \startMPclip{rounded corner} clip currentpicture

[NTG-context] image with rounded corners

2022-08-12 Thread Henning Hraban Ramm via ntg-context
Hi, can ConTeXt make rounded image corners? Both of my approaches don’t work: \externalfigure[mill][ width=3cm, frame=on, corner=round,radius=1cm, backgroundcorner=round,backgroundradius=1cm, ] \defineoverlay[Mill][{% \externalfigure[mill][width=\overlaywidth] }] \framed[background

Re: [NTG-context] MP scratch counter

2022-07-13 Thread Hans Hagen via ntg-context
ted (i*5pt, 0pt)    withcolor if i < PageNumber : red else :  black fi ; endfor ; StopPage ; \stopuseMPgraphic \defineoverlay[background:ornament][\useMPgraphic{MP:ornament}] \setupbackgrounds[page][background={background:ornament}] \set

[NTG-context] MP scratch counter

2022-07-13 Thread Henning Hraban Ramm via ntg-context
else : black fi ; endfor ; StopPage ; \stopuseMPgraphic \defineoverlay[background:ornament][\useMPgraphic{MP:ornament}] \setupbackgrounds[page][background={background:ornament}] \setupbodyfont[ss,18pt] \starttext \dorecurse{10}{ \strut\par

Re: [NTG-context] Two minor questions

2022-06-06 Thread Stefan Nedeljkovic via ntg-context
imexpr2bp I get an error. How should I add these 2bp? > > (Untested) > > \dimexpr\measure{base}+2bp\relax > > or > > \dimexpr\measured{base}+2bp\relax > > should work. > > > 2. I have an mp graphic defined in the file "graphic.mp" which has the > >

Re: [NTG-context] Two minor questions

2022-06-06 Thread Aditya Mahajan via ntg-context
lax or \dimexpr\measured{base}+2bp\relax should work. > 2. I have an mp graphic defined in the file "graphic.mp" which has the > exact same dimensions as my page. I'd like to set that graphic as a > background. How do I do this? (Again, untested) \startuseMPgraphic

Re: [NTG-context] Two minor questions

2022-06-06 Thread Wolfgang Schuster via ntg-context
. I have an mp graphic defined in the file "graphic.mp <http://graphic.mp>" which has the exact same dimensions as my page. I'd like to set that graphic as a background. How do I do this? \startreusableMPgraphic{backgroundgraphic}     input graphic.mp; \stopreusableMPgraphic

[NTG-context] Two minor questions

2022-06-05 Thread Stefan Nedeljkovic via ntg-context
at graphic as a background. How do I do this? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpa

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Albert Krewinkel via ntg-context
othering, or do you >>see adding the extra environment by default as an acceptable >>practice? > > A similiary question came up in the org-mode mailinglist some weeks ago. > > (Background: Org-mode is a markup used with Emacs to make single source > publishing poss

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Denis Maier via ntg-context
ceptable > >practice? > > A similiary question came up in the org-mode mailinglist some weeks ago. > > (Background: Org-mode is a markup used with Emacs to make single source > publishing possible) > > Someone who maintains an export progr

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread juh via ntg-context
e >practice? A similiary question came up in the org-mode mailinglist some weeks ago. (Background: Org-mode is a markup used with Emacs to make single source publishing possible) Someone who maintains an export programme for ConTeXt uses sectionlevels. You get the incremental subsections and

Re: [NTG-context] Pull quote between two column - trial

2022-05-28 Thread Garulfo via ntg-context
} % \startshapetext[mytest1,mytest2] \strut\samplefile{douglas} \stopshapetext \MyBigFrame{% \MyFrame[background=myOL1]{\getshapetext}% \hfill% \MyFrame[background=myOL2]{\getshapetext}} {\bf Between} % \startshapetext

[NTG-context] Pull quote between two column - trial

2022-05-21 Thread Garulfo via ntg-context
] [background=color, backgroundcolor=transparentred, width=0.3\textwidth, after=\dontleavehmode] % \definelayer % used to display the pull quote on the page [test] [x=0mm, y=0mm, width=\paperwidth, height=\paperheight

[NTG-context] MetaFun manual's "texvar" is not working for me

2022-05-21 Thread Gavin via ntg-context
\setupbackgrounds [page] [background={backgraphics,foreground,foregraphics}] \defineoverlay [backgraphics] [\positionoverlay{backgraphics}] \defineoverlay [foregraphics] [\positionoverlay{foregraphics}] \setupMPvariables [mpos:box] [linecolor=blue, linewidth=\linewidth, fillcolor

[NTG-context] overthinking overprinting

2022-05-19 Thread Henning Hraban Ramm via ntg-context
the background, these might work with \startknockout etc. When I try my example: \useMPlibrary[dum] \setupcolors[ rgb=no,cmyk=yes, intent=overprint,% or knockout ] \setupbodyfont[modern,ss,18pt] \starttext \definecollector[Test] \setcollector [Test] {\externalfigure[none][width=8cm,height

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Willi Egger via ntg-context
lt;--really big chapter number > === <-- there is a border created by a background image between these >How to keep <--chapter title >fish > > This is the article <-- the article begins > about how to keep > fish > - > > \definefontsiz

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Taco Hoekwater via ntg-context
t;> Von: ntg-context im Auftrag von Joel via ntg- >> context >> Gesendet: Sonntag, 8. Mai 2022 04:49:32 >> An: ntg-context@ntg.nl >> Cc: Joel >> Betreff: [NTG-context] How to place "Content" and other chapter-level titles >> the same vertical di

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Denis Maier via ntg-context
uot;Content" and other chapter-level titles > the same vertical distance from the top? > > I created a chapter title style with a large number telling the chapter > number, > and below it the title of the chapter. > > It looks like this: > > - >

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-08 Thread Denis Maier via ntg-context
title of the chapter. It looks like this: - 1 <--really big chapter number === <-- there is a border created by a background image between these How to keep <--chapter title fish This is the article <-- the artic

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-08 Thread Denis Maier via ntg-context
<--really big chapter number === <-- there is a border created by a background image between these How to keep <--chapter title fish This is the article <-- the article begins about how to keep fish - \definefontsize[a]% \definefontsize

[NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-07 Thread Joel via ntg-context
I created a chapter title style with a large number telling the chapter number, and below it the title of the chapter. It looks like this: -    1   <--really big chapter number=== <-- there is a border created by a background image b

Re: [NTG-context] Crediting copyright on photographs

2022-05-04 Thread Adam Reviczky via ntg-context
][{\directsetup{figure}\tightlayer[figure]}] \startsetups figure \setlayerframed[figure][frame=off,preset=rightbottom]{\copyright\ 2022} \stopsetups \externalfigure[cow][background={foreground,figure}] \stoptext \starttext \definecollector[example] \setcollector [example] {\externalfigure[cow

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Denis Maier via ntg-context
{{, }}, and-2={{ und }}] % 1, 2 und 3 > \setuplabeltext [hr] [and-1={{, }}, and-2={{ i }}]% 1, 2 i 3 > > maybe wikify I've just checked, \commalistsentence is already on the wiki, but you have to know it exists. (I'll check whether I can link to that page from somewhere.) But there's

Re: [NTG-context] placing (on) layers

2022-04-16 Thread Pablo Rodriguez via ntg-context
ere. The layer is relative to the page, not to the paper in this case. And the state is an option for the layer (in \definelayer), not for the background, being "start" its default value. Just in case it might help, Pablo \setupexternalfigures [location={default,global}] \

Re: [NTG-context] placing (on) layers

2022-04-16 Thread Henning Hraban Ramm via ntg-context
of the \setlayerframed command . — What would be possible is to attach the layer as a background to one of the different areas of the paper. I hope this gives you a hint how to proceed.. Willi On 15 Apr 2022, at 21:51, Henning Hraban Ramm via ntg-context wrote: Hi again, I’m always struggling

Re: [NTG-context] placing (on) layers

2022-04-16 Thread Willi Egger via ntg-context
be possible is to attach the layer as a background to one of the different areas of the paper. I hope this gives you a hint how to proceed.. Willi > On 15 Apr 2022, at 21:51, Henning Hraban Ramm via ntg-context > wrote: > > Hi again, > > I’m always struggling with putti

[NTG-context] placing (on) layers

2022-04-15 Thread Henning Hraban Ramm via ntg-context
}\relax}] \definelayer[papier][ preset=lefttop, %x=0mm,y=0mm, width=\paperwidth, height=\paperheight, ] \setupbackgrounds[paper][background=cover,state=start] \starttext \showframe TEST \setlayerframed[papier][ preset=lefttop, %x=-\measure{Bleed}, %y=-\measure{Bleed}, offset

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-07 Thread Thangalin via ntg-context
). \defineoverlay[TextBubbleRxOverlay][\useMPgraphic{TextBubble}{side=0}] \defineframedtext[TextBubbleRxFrame][TextBubbleFrame][ background=TextBubbleRxOverlay, location=left, ] % Send text (right-facing). \defineoverlay[TextBubbleTxOverlay][\useMPgraphic{TextBubble}{side=1}] \defineframedtext

Re: [NTG-context] processdatabasefile styling of table cells

2022-04-06 Thread Bruce Horrocks via ntg-context
eader=repeat, option=stretch, > loffset=.5ex,roffset=.5ex] > > \setupTABLE [row] [odd] > [background=color,backgroundcolor=hs-hellblau,] > > \setupTABLE [start] [spaceinbetween=25pt] > > \defineseparatedlist > [preislistecsv] > [separator={;}, % tab >befor

[NTG-context] processdatabasefile styling of table cells

2022-04-06 Thread juh+ntg-context--- via ntg-context
Hi all, I include tables via csv files like this \processdatabasefile[test][test.csv] I was able to style the tables with this: \setupTABLE [ split=yes, header=repeat, option=stretch, loffset=.5ex,roffset=.5ex] \setupTABLE [row] [odd] [background=color,backgroundcolor=hs-hellblau

Re: [NTG-context] Chapter number retrieval

2022-03-23 Thread Willi Egger via ntg-context
;>> I see a comment by yourself back in 2011 at >>>> https://wiki.contextgarden.net/Last_Head_Number >>>> >>>> I wonder if this helps? >>>> >>>> Julian >>>> >>>> On 22/3/22 07:47, Willi Egger via ntg-context wr

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Adam Reviczky via ntg-context
>> > > >> I see a comment by yourself back in 2011 at > https://wiki.contextgarden.net/Last_Head_Number > > >> > > >> I wonder if this helps? > > &g

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Willi Egger via ntg-context
ntg-context wrote: > >>> Hello everybody! > >>> > >>> > >>> I would like to typeset the chapter title without number in the text. — > >>> However I still would need to retrieve the number for a calculation in a > >>> MetaFun graphic. I assum

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Willi Egger via ntg-context
lli Egger via ntg-context wrote: >> I would like to typeset the chapter title without number in the text. — >> However I still would need to retrieve the number for a calculation in a >> MetaFun graphic. I assume, that even though this number is not typeset, it >> is kept i

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread śrīrāma via ntg-context
t typeset, it is > kept in the background. How to retrieve it? > Hi, On Tuesday, March 22, 2022 2:17 AM Willi Egger via ntg-context wrote: > > I would like to typeset the chapter title without number in the text. — > However I still would need to retrieve the number for a calculation

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread Adam Reviczky via ntg-context
er via ntg-context wrote: > >>> Hello everybody! > >>> > >>> > >>> I would like to typeset the chapter title without number in the text. > — However I still would need to retrieve the number for a calculation in a > MetaFun graphic. I assume, that ev

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread jbf via ntg-context
graphic. I assume, that even though this number is not typeset, it is kept in the background. How to retrieve it? Kind regards Willi ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread Willi Egger via ntg-context
without number in the text. — >> However I still would need to retrieve the number for a calculation in a >> MetaFun graphic. I assume, that even though this number is not typeset, it >> is kept in the background. How to retrieve it? >> >> Kind regards >> >> W

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread jbf via ntg-context
would need to retrieve the number for a calculation in a MetaFun graphic. I assume, that even though this number is not typeset, it is kept in the background. How to retrieve it? Kind regards Willi ___ If your

[NTG-context] Chapter number retrieval

2022-03-21 Thread Willi Egger via ntg-context
Hello everybody! I would like to typeset the chapter title without number in the text. — However I still would need to retrieve the number for a calculation in a MetaFun graphic. I assume, that even though this number is not typeset, it is kept in the background. How to retrieve it? Kind

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-21 Thread Willi Egger via ntg-context
o you use \startfrontmatter and \startbodymatter in your document to > create blocks? > > 2. Is you installation up-to-date? > > Attached is a slightly modified version of your example, the only thing which > has to be local to the bodypart is the

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
in your document to create blocks? 2. Is you installation up-to-date? Attached is a slightly modified version of your example, the only thing which has to be local to the bodypart is the background setting to enable the thumb pictures. Wolfgang \definecolor [chap_frame] [black] \definecolor

[NTG-context] Metafun, difficulty with graphical element in the margin, again.

2022-03-19 Thread Willi Egger via ntg-context
, lacking the background of the implementation… So here follows the section of the log with the error: metafun > log > metafun > log > error: Transform components aren't all known metafun > log > metapost> trace > (0,0,mfun_page_h

[NTG-context] Errors compiling the MetaFun manual

2022-03-12 Thread Marco Patzer via ntg-context
wn string ta %% metafun > log > %% metafun > log > error: Equation cannot be performed (unknown string=vacuous) \setupbackgrounds [page] [background={foreground,foregraphics}] \defineoverlay [foregraphics] [\positionoverlay{foregraphics}] \starttext \startMPpo

Re: [NTG-context] help with facing page image

2022-03-07 Thread jbf via ntg-context
ddpageelse{} {\pushbackground[page] \resetlayer[chapCover] \setlayer [chapCover] {\determineheadnumber[chapter] \externalfigure [chap-cover-\currentheadnumber] [width=\paperwidth]} \setupbackgrounds[page][background=chapCover] \

Re: [NTG-context] help with facing page image

2022-03-07 Thread jbf via ntg-context
\externalfigure [chap-cover-\currentheadnumber] [width=\paperwidth]} \setupbackgrounds[page][background=chapCover] \page[empty] \popbackground} \stopsetups \startsetups chapter:after \doifoddpageelse{} {\page[empty]} \stopsetups \set

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
tartsetups chapter:before \doifoddpageelse{} {\pushbackground[page] \resetlayer[chapCover] \setlayer [chapCover] {\determineheadnumber[chapter] \externalfigure [chap-cover-\currentheadnumber] [width=\paperwidth]} \setupbackgrounds[page][background=cha

Re: [NTG-context] help with facing page image

2022-03-06 Thread jbf via ntg-context
layer[mill]{\externalfigure[mill][width=\paperwidth]} \startsetups chapter:before \doifoddpageelse{} {\pushbackground[page] \setupbackgrounds[page][background=mill] \page[empty] \popbackground} \stopsetups \startsetups chapter:after \doifoddpageelse{} {\page[empty]} \

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
[x=0mm, y=0mm, width=\paperwidth, height=\paperheight,repeat=yes] \setlayer [mill] {\externalfigure[mill][width=\paperwidth]} \startsetups chapter:before \doifoddpageelse{} {\pushbackground[page] \setupbackgrounds[page][background=mill] \p

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
perwidth,height=\paperheight,repeat=yes] \setlayer[mill]{\externalfigure[mill][width=\paperwidth]} \startsetups chapter:before \doifoddpageelse{} {\pushbackground[page] \setupbackgrounds[page][background=mill] \page[empty] \popbackground} \stopsetups \startsetup

[NTG-context] help with facing page image

2022-03-06 Thread jbf via ntg-context
\textwidth]} \doifoddpageelse {} {\pushbackground[page] \setupbackgrounds[page]%[background=color,backgroundcolor=red] [background=mylayer] \page[empty] \popbackground} \startchapter[title={Prelude}] etc. This correctly places the Chapter1.jpg on the facing page to Chapter 1. My problem comes

[NTG-context] Double-sided documents with MetaFun's Field[Text][Text]

2022-02-06 Thread śrīrāma via ntg-context
}] \setupbackgrounds[page][background=page] \starttext \dorecurse{10}{\input knuth \page} \stoptext %%% EOF In the resulting PDF the Field[Text][Text] path is not positioned (/computed?) correctly, while the manually positioned Area[Text][Text] path is as expected. So, it seems

Re: [NTG-context] doublesided margin page number

2022-01-31 Thread Wolfgang Schuster via ntg-context
Youssef Cherem via ntg-context schrieb am 24.01.2022 um 02:28: I've managed to put double-sided page numbers -- but numbers are restarting after two, though. What's going on? Add     \setupbackgrounds[state=repeat] to your setups to ensure the text background is refreshed. Wolfgang

Re: [NTG-context] doublesided margin page number

2022-01-31 Thread Pablo Rodriguez via ntg-context
works: \setupbackgrounds[page] [setups=setpagenumber, background=pgnumber] Of course, you have to place the layer properly. Just in case it might help, Pablo ___ If your question is of interest to others as well, please add an

[NTG-context] doublesided margin page number

2022-01-23 Thread Youssef Cherem via ntg-context
[pagenumber] [ width=\paperwidth, height=\paperheight, % preset=rightbottom, voffset=.3\paperheight ] %\setupbackgrounds[page][background=pagenumber, setups=setpagenumber] \setupbackgrounds[text] [rightmargin] [background=pagenumber, setups=setpagenumber] %isso aqui é o que funciona para

Re: [NTG-context] new upload

2022-01-23 Thread Arthur Rosendahl via ntg-context
On Sat, Jan 22, 2022 at 06:01:42PM +0530, kauśika via ntg-context wrote: > Recently when we were troubled by incorrect rendering of certain conjuncts in > malayalam, Hans added a new font-feature. More below*, but first some > background: from my testing, the main reason for the

Re: [NTG-context] new upload

2022-01-23 Thread kauśika via ntg-context
ts (what works, what doesn't, fixes, hacks, etc). But mostly it is in a very usable state (for the most part). I am very much a non-expert and helping in very little ways. It is Hans in the background who is doing all the really important things with the code, design and engineering of the

Re: [NTG-context] new upload

2022-01-22 Thread Richard Mahoney via ntg-context
ort .. recent indic (font) > experiences and transliteration tricks will be eplained by kauśika Recently when we were troubled by incorrect rendering of certain conjuncts in malayalam, Hans added a new font-feature. More below*, but first some background: from my testing, the main reason for the pr

Re: [NTG-context] new upload

2022-01-22 Thread kauśika via ntg-context
juncts in malayalam, Hans added a new font-feature. More below*, but first some background: from my testing, the main reason for the problems with fonts seems to come from the varied interpretations and/or implementations of OTF specification. To add to this complexity there are two script tags (

[NTG-context] XML, dealing with whitespace

2022-01-15 Thread Denis Maier via ntg-context
, Denis P.S. Background: I convert docx files with pandoc to jats xml. Pandoc does quite a decent job, but I need to tweak a few things with xslt. The actual transformation that I need works ok, but the transformation also causes other problems. This is the original markdown file

Re: [NTG-context] Conditional text appearing in a fixed vertical space

2022-01-11 Thread Fabrice L via ntg-context
we can not see the text; but of course, if you change the background, you see the hidden text. So there is another step to the process (I usually do this only once a term); open the file in Acrobat, and find the option to delete hidden text. The text for which the color is the same as the back

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Jean-Pierre Delange via ntg-context
post - it might become quickly useless. As long as we have enough nerds who can and will do the necessary work privately, we are safe. Maybe the wrong approach is that studies in humanities don’t need a strong background in computer science (programming). In that case, it is really hard to use

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Pablo Rodriguez via ntg-context
e occasional updates from our normal > budget (the DFG had decreed that no further funding for this project > was possible) and after my retirement - I have no great hopes for a > continuation of my post - it might become quickly useless. As long > as we have enough nerds who can

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Youssef Cherem via ntg-context
; > How can one go about implementing a ruler around the page/text area > > (such as a background) like the one provided by the latex package > > fgruler? https://www.ctan.org/tex-archive/macros/latex/contrib/fgruler > > <https://www.ctan.org/tex-archive/macros/l

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Hans Hagen via ntg-context
On 1/1/2022 11:46 AM, Youssef Cherem via ntg-context wrote: Dear list users, How can one go about implementing a ruler around the page/text area (such as a background) like the one provided by the latex package fgruler? https://www.ctan.org/tex-archive/macros/latex/contrib/fgruler <ht

[NTG-context] measure layer/ ruler

2022-01-01 Thread Youssef Cherem via ntg-context
Dear list users, How can one go about implementing a ruler around the page/text area (such as a background) like the one provided by the latex package fgruler? https://www.ctan.org/tex-archive/macros/latex/contrib/fgruler or koma script's \layercontentsmeasure

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Hans Hagen via ntg-context
On 12/24/2021 5:45 PM, Jason Ross via ntg-context wrote: Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org, users can specify the number

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Bruce Horrocks via ntg-context
> On 24 Dec 2021, at 16:45, Jason Ross via ntg-context > wrote: > > Dear list, > > Is it possible to set the maximum table of contents depth to a number rather > than providing an explicit list of section names? > > > Background: > > I am develop

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
r list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org,

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
names? Background: I am developing an exporter for Org mode. In Org, users can specify the number of levels they want in the table of contents with a number. I currently do this by having the sectioning commands be known to the ex

[NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org, users can specify the number of levels they want in the table of contents with a number. I

Re: [NTG-context] How to use a variable in a macro agrument

2021-12-18 Thread Wolfgang Schuster via ntg-context
not working for me. Here is my MWE: \define[]\logofile{an_image_file.png} % Here defining the variable with the filename to use. \definelayer[stillimage] \setlayer[stillimage]{\externalfigure[\logofile]} % Here trying to use the \logofile macro. \setupbackgrounds[page][background

Re: [NTG-context] How to use a variable in a macro agrument

2021-12-18 Thread Willi Egger via ntg-context
y MWE: > > > > \define[]\logofile{an_image_file.png} % Here defining the variable with the > filename to use. > > \definelayer[stillimage] > \setlayer[stillimage]{\externalfigure[\logofile]} % Here trying to use the > \logofile macro. > \setupbackground

[NTG-context] How to use a variable in a macro agrument

2021-12-18 Thread skyhorse--- via ntg-context
[]\logofile{an_image_file.png} % Here defining the variable with the filename to use. \definelayer[stillimage] \setlayer[stillimage]{\externalfigure[\logofile]} % Here trying to use the \logofile macro. \setupbackgrounds[page][background=stillimage] \starttext \input knuth \stoptext What's

Re: [NTG-context] Extra shift with ornament

2021-12-17 Thread Mikael Sundqvist via ntg-context
r} >{\framed > [offset=overlay, > align=normal, > width=\textwidth, > height=2cm]{foo}} > > works but maybe you want this instead: > > \defineoverlay >[MyOrn] >[\MyOrn > {\framedtextparameter{MyTitle}} > {\novrule wi

Re: [NTG-context] Extra shift with ornament

2021-12-17 Thread Hans Hagen via ntg-context
] [background=MyOrn,width=\textwidth,height=2cm] \startMyText[MyTitle={oeps}] foo \stopMyText Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands

[NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11

2021-12-16 Thread Jeong Dal via ntg-context
set [exam] [n=2, background=verticalrule] \setuplayout[width=19cm, height=26cm, header=1cm, footer=.5cm,backspace=1cm] \setupheader[before=\vfil, after=\vfil] \setupbackgrounds[header][text][frame=off, background=headerBox, align=lohi]%topframe= \setupbackgrounds[footer][text][frame=

[NTG-context] using the newcolumnsets module

2021-12-09 Thread Jeong Dal via ntg-context
set [exam] [n=2, background=verticalrule] \setuplayout[width=19cm, height=26cm, header=1cm, footer=.5cm,backspace=1cm] \setupheader[before=\vfil, after=\vfil] \setupbackgrounds[header][text][frame=off, background=headerBox, align=lohi]%topframe= \setupbackgrounds[footer][text][frame=

Re: [NTG-context] Sum and mathalignment

2021-11-30 Thread Bruce Horrocks via ntg-context
> On 30 Nov 2021, at 19:34, Alexandre Christe via ntg-context > wrote: > > Dear list, > > > > What I've done is to play with mathalignment and \framed. Here is a MWE: > > \starttext > \defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}] > &g

[NTG-context] Sum and mathalignment

2021-11-30 Thread Alexandre Christe via ntg-context
Dear list, [image: image.png] What I've done is to play with mathalignment and \framed. Here is a MWE: \starttext \defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}] \framed[frame=off,background=midrule,boffset=.65cm]{\startformula \startmathalignment[n=12,align={middle,middle

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-29 Thread Fabrice L via ntg-context
fineblock[Complement] \setupblock[Complement][ before={\page[yes]\setuppagenumber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]}, after={\page[yes]\setuppagenumber[state=start]}] \starttext % Let's process the summar

Re: [NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
\defineblock[ComplementTwo] \defineblock[ComplementThree] \setupblock[ComplementTwo,ComplementThree][ before={\page[yes]\setuppagenumber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]}, after={\page[yes]\setuppagenumber[state=start]}] \startte

[NTG-context] Blocks inside a conditional mode.

2021-11-28 Thread Fabrice L via ntg-context
ber[state=stop]\setupheadertexts[]\setupbackgrounds[page][background=color,backgroundcolor=red]}, after={\page[yes]\setuppagenumber[state=start]}] \doifallmodes{Professor} { \keepblocks[Complement] } \starttext page 1 \beginComplement A complement

Re: [NTG-context] font problems

2021-11-26 Thread jdh via ntg-context
; > \setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery > > Font Here } > > \setupbackgrounds[page][background=mwe] > > > > \starttext > > Normal font text goes here. \blank[4*big] > > { \switchtobodyfo

Re: [NTG-context] font problems

2021-11-26 Thread Hans Hagen via ntg-context
] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery Font Here } \setupbackgrounds[page][background=mwe] \starttext Normal font text goes here. \blank[4*big] { \switchtobodyfont[chancery] This should be Chancery here to. But isn't. } \blank[2*big]Note

[NTG-context] font problems

2021-11-26 Thread jdh via ntg-context
Font Here } \setupbackgrounds[page][background=mwe] \starttext Normal font text goes here. \blank[4*big] { \switchtobodyfont[chancery] This should be Chancery here to. But isn't. } \blank[2*big]Note that if I comment out the \type{setlayer[mwe

[NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
the number? It probably involves neither of the approaches I have used here, but I am not sure just what approach to take, other than using a background layer... and maybe that is what I need to do. Julian \define[2]\MyChapterCommand% {\framed[frame=on,bottomframe=off,leftframe=off,rightframe

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread jbf via ntg-context
, this is what you want: \startsectionblockenvironment[bodypart] \setupbackgrounds [rightpage] [background=butterfly] \stopsectionblockenvironment \startbodymatter \setupbackgrounds  [rightpage]  [background=butterfly] \startchapter[title={Chapter title

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread Pablo Rodriguez via ntg-context
ully; the layer repeats for every page > at the moment. I must have omitted something). Hi Julian, this is what you want: \startsectionblockenvironment[bodypart] \setupbackgrounds [rightpage] [background=butterfly] \stopsectionblockenvironment > \startbodymatter

[NTG-context] repeat layer recto pages

2021-11-08 Thread jbf via ntg-context
something). \startbodymatter \setupbackgrounds  [rightpage]  [background=butterfly] \startchapter[title={Chapter title}] \definelayer[butterfly]     [x=0mm, y=0mm,repeat=yes,width=\paperwidth, height=\paperheight] \setlayer[butterfly]     [hoffset=.99\textwidth, voffset=1cm]     {\externalfigure

Re: [NTG-context] To prepare the online meeting of Tuesday

2021-11-06 Thread Hans Hagen via ntg-context
On 11/6/2021 12:37 PM, Alain Delmotte via ntg-context wrote: Hi, I asked to discuss or have some suggestions about installing and using Scite for ConTeXt. If it is possible OK, but it is not urgent. To give some background: I use Windows 10 and lmtx (in its own folder). I installed Scite

[NTG-context] To prepare the online meeting of Tuesday

2021-11-06 Thread Alain Delmotte via ntg-context
Hi, I asked to discuss or have some suggestions about installing and using Scite for ConTeXt. If it is possible OK, but it is not urgent. To give some background: I use Windows 10 and lmtx (in its own folder). I installed Scite in c:\wscite

Re: [NTG-context] XML-processing: Error with hyphenatedurl

2021-10-27 Thread Pablo Rodriguez via ntg-context
this will work in your real-world document) might be using \xmlpure instead of \xmlflush as in: \goto{\hyphenatedurl{\xmlflush{#1}}}[url(\xmlpure{#1})] The background for both commands can be found on https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=103. I hope it helps, P

Re: [NTG-context] svg conversion=mp renders wrong background

2021-10-22 Thread juh via ntg-context
Hi all, I found a minimal example. Am Fri, Oct 22, 2021 at 03:11:41PM +0200 schrieb juh via ntg-context: > in a minimal example > > \starttext > \externalfigure[test.svg][conversion=mp] > \stoptext > > renders fine. > > I my real world project white background i

[NTG-context] svg conversion=mp renders wrong background

2021-10-22 Thread juh via ntg-context
Hi all, in a minimal example \starttext \externalfigure[test.svg][conversion=mp] \stoptext renders fine. I my real world project white background is rendered black. Any hints where I can start to debug? juh -- Autoren-Homepage: . http://literatur.hasecke.com Satiren & Es

<    1   2   3   4   5   6   7   8   9   10   >