[NTG-context] Re: How to change the way one input file's data is displayed, depending on where it is in the document.

2024-09-25 Thread Bruce Horrocks
1}{desc}. The second animal I saw was a \datasetvariable{animals}{2}{name} which is \datasetvariable{animals}{2}{desc}. etc To mimic the \input{fileA} behaviour where you get the whole file included at that point, you can use \processdataset to iterate through the whole set. Unfortunately, it&

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-19 Thread Gerion Entrup
45 degree. > >>>>> > >>>>> It then would be beneficial to push together the rotated cells, so the > >>>>> text of one cell actually starts above the previous cell. > >>>>> Do you know, how to achieve that? > >>&

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-19 Thread Hans Hagen via ntg-context
together the rotated cells, so the text of one cell actually starts above the previous cell. Do you know, how to achieve that? Here is a minimal example: ``` \startsetups[table:rotated] \setupTABLE[frame=off] \setupTABLE[row][first][bottomframe=on, style=bf, align={center, low

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Mikael Sundqvist
> >> (I found some solutions for that) but 45 degree. > > >> > > >> It then would be beneficial to push together the rotated cells, so the > > >> text of one cell actually starts above the previous cell. > > >> Do you know, how to achieve that?

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Gerion Entrup
ficial to push together the rotated cells, so the > >> text of one cell actually starts above the previous cell. > >> Do you know, how to achieve that? > >> > >> Here is a minimal example: > >> ``` > >> \startsetups[table:rotated] > >

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Hans Hagen
? Here is a minimal example: ``` \startsetups[table:rotated] \setupTABLE[frame=off] \setupTABLE[row][first][bottomframe=on, style=bf, align={center, low}] \setupTABLE[row][2][align=flushright] \stopsetups \starttext \define\tablerotate{\dontleavehmode\rotate[rotation=-45, location=high

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Wolfgang Schuster
column headings but not 90 degrees (I found some solutions for that) but 45 degree. It then would be beneficial to push together the rotated cells, so the text of one cell actually starts above the previous cell. Do you know, how to achieve that? Here is a minimal example: ``` \startsetups

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Gerion Entrup
t 90 degrees (I > found some solutions for that) but 45 degree. > > It then would be beneficial to push together the rotated cells, so the text > of one cell actually starts above the previous cell. > Do you know, how to achieve that? > > Here is a minimal example

[NTG-context] Table and rotation: push together 45 degree rotated cells

2024-09-17 Thread Gerion Entrup
together the rotated cells, so the text of one cell actually starts above the previous cell. Do you know, how to achieve that? Here is a minimal example: ``` \startsetups[table:rotated] \setupTABLE[frame=off] \setupTABLE[row][first][bottomframe=on, style=bf, align={center, low

[NTG-context] (ConTeXt LMTX 2.11.05) how do I make it so that sections, descriptions, and itemizations have just a space between some of the text that they produce

2024-09-16 Thread Felix
numbers, use this \setuphead[section][ sectionstopper={.}, % Add period after numbers conversion=R, before=, after=, style=sc, % Small caps style align=middle, % Center the section titles ] \startsetups document:start \centerline{\documentvariable{title}} \centerline

[NTG-context] Re: How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get an

2024-08-22 Thread Hraban Ramm
, % Center the section titles ] % it seems that when I make this into setupheads and delete the first square braket set it will not result in what I want \startsetups document:start \centerline{\documentvariable{title}} \centerline{\documentvariable{author}} \centerline{\docu

[NTG-context] How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get any re

2024-08-22 Thread Felix
] % it seems that when I make this into setupheads and delete the first square braket set it will not result in what I want \startsetups document:start \centerline{\documentvariable{title}} \centerline{\documentvariable{author}} \centerline{\documentvariable{date}} \blank[line

[NTG-context] Re: Probably a very simple question, but how do I get a page number to be centered, at the bottom and vertically in the middle whilst having my doc margins?

2024-08-19 Thread Felix
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

[NTG-context] Re: Complete novice, why does it seem that LuaLaTeX (Compiled via LaTeX Workshop with MikTeX and added packages on Windows) will generate a more compact result than ConTeXt?

2024-08-13 Thread Hans Hagen via ntg-context
running the LMTX version? (luametatex engine) \showframe \setuppapersize [letter] [letter] \setuplayout[ backspace=0.5in, topspace=0.5in, header=0in, % No headers footer=0in, % Space for the footer width=middle, height=middle, ] \setupbodyfont[termes,12pt] \mainlanguage[

[NTG-context] Re: Nāgarī for Academics

2024-08-10 Thread Jürgen Hanneder via ntg-context
fontfamily [Roman] [rm] [Minion Pro] \setupbodyfont [Roman] \definefontfamily [nagari] [rm] [Adishila] [features=devanagari-one] \usetransliteration[indic] \definetransliteration [MyDeva] [lang=sa,vector={iast to deva}] \startsetups [sanskrit] \settransliteration[MyDeva] \switchtobodyf

[NTG-context] Re: Nāgarī for Academics

2024-08-10 Thread Wolfgang Schuster
}] \startsetups [sanskrit] \settransliteration[MyDeva] \switchtobodyfont[nagari] \stopsetups \setuplanguage [sa] [setups=sanskrit] \starttext Example:   आनन्द। अपिच   % this comes out as it should, but since input is in Nagari there is no transliteration involved. test

[NTG-context] Re: Nāgarī for Academics

2024-08-10 Thread Jürgen Hanneder via ntg-context
[nagari] \usetransliteration[indic] \definetransliteration [MyDeva] [lang=sa,vector={iast to deva}] \startsetups [sanskrit] \settransliteration[MyDeva] \switchtobodyfont[nagari] \stopsetups \setuplanguage [sa] [setups=sanskrit] \starttext Example: आनन्द। अपिच % this comes out as it

[NTG-context] Re: Nāgarī for Academics

2024-08-08 Thread Wolfgang Schuster
] \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

[NTG-context] About a pagination

2024-07-23 Thread Fabrice Couvreur
ght] [\useMPgraphic{acframeright}] \defineframed [ACFRAMERIGHT] [frame=off, width=fit, height=1ex, background=acframeright, location=hanging, ] \setupheader[style=\tfx] \startsetups [header:leftpage] \setuplabeltext [fr] [chapter=\tfx Chapitre] \ACFRAMERIGHT{}

[NTG-context] Re: How to specify a default formatting for TABLE

2024-07-01 Thread Gerion Entrup
> by default (since a veee...eeery long time). > > 3. You can replace \bTD ... \eTD with \bTH ... \eTH for table headers to > get bold text. > > begin example > \startsetups[table:a] >\setupTABLE [each] [frame=off,width=1cm,height=1cm,align={middle,lohi}] >\s

[NTG-context] Re: How to specify a default formatting for TABLE

2024-07-01 Thread Wolfgang Schuster
need \setupcolors[state=start] because colors are enabled by default (since a veee...eeery long time). 3. You can replace \bTD ... \eTD with \bTH ... \eTH for table headers to get bold text. begin example \startsetups[table:a] \setupTABLE [each] [frame=off,width=1cm,height=1cm,align={middle

[NTG-context] Re: roman numerals frontpart

2024-06-25 Thread jbf
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

[NTG-context] Re: Specify separator within setupbtx for custom bibliography rendering

2024-06-21 Thread Gerion Entrup
ering=short] > \setupbtxlist[aps][ > alternative=b, > distance=.5em, > ] > > \definebtx[aps:cite:special][aps:cite][ > left={((}, > right={))}, > separator:2={sfd}, > separator:3={sfd}, > separator:4={sfd}, > ] > > \startsetups b

[NTG-context] Re: \brokenpenalties query

2024-06-20 Thread Mikael Sundqvist
But with the > > latest LMTX, when I run the file, I get the error message > > Error count has to be 1 for \brokenpenalties > > > > Any advice on how to fix the file would be most welcome. > > > > Alan > > > > > > Probably only

[NTG-context] Re: \brokenpenalties query

2024-06-19 Thread Hans Hagen via ntg-context
with the latest LMTX, when I run the file, I get the error message Error count has to be 1 for \brokenpenalties Any advice on how to fix the file would be most welcome. Alan Probably only Hans (or Wolfgang) can give a complete answer here. But \startsetups [*default]   \directset

[NTG-context] Re: \brokenpenalties query

2024-06-19 Thread Mikael Sundqvist
has to be 1 for \brokenpenalties > Any advice on how to fix the file would be most welcome. > > Alan > Probably only Hans (or Wolfgang) can give a complete answer here. But \startsetups [*default] \directsetup{*reset} \frozen\brokenpenalties 1 1\relax \stopsetups works here. /Mik

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-18 Thread Gerion Entrup
runaway error: end of file encountered > > mtx-context | fatal error: return code: 1 > > ``` > > > > Here is the MWE: > > ``` > > [...] > > > > \startsetups[my_chapter] > > \startlocalheadsetup > > \star

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Wolfgang Schuster
stops with: ``` close source> level 1, order 2, name './mwe.tex' tex error > runaway error: end of file encountered mtx-context | fatal error: return code: 1 ``` Here is the MWE: ``` [...] \startsetups[my_chapter] \startlocalheadsetup

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Gerion Entrup
Am Donnerstag, 6. Juni 2024, 16:34:03 MESZ schrieb Wolfgang Schuster: > \startsetups [userdata:extract] > \startnarrower > \setupindenting[next] > \getuserdata > \hairline > \dontleavehmode\wordright{\itx\userdataparameter{author}} &g

[NTG-context] Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Michael Guravage
.strut() context("\\vfill") context.startalign({"middle"}) context("\\bfa") context.labeltext(monthname) context("~") context(year) context.stopalign() context.blank() thirddata.diary.montht

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-14 Thread Gerion Entrup
Am Freitag, 14. Juni 2024, 11:51:28 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 14.06.2024 um 11:01: > > Am Donnerstag, 13. Juni 2024, 16:31:58 MESZ schrieb Wolfgang Schuster: > >> \startsetups[question:intro] > >> \setupparagraphintro[first][\bold

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-14 Thread Wolfgang Schuster
Gerion Entrup schrieb am 14.06.2024 um 11:01: Am Donnerstag, 13. Juni 2024, 16:31:58 MESZ schrieb Wolfgang Schuster: \startsetups[question:intro] \setupparagraphintro[first][\bold{Answer:} ] \blank \stopsetups \defineenumeration[question][ alternative=top, text

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-14 Thread Gerion Entrup
Am Donnerstag, 13. Juni 2024, 16:31:58 MESZ schrieb Wolfgang Schuster: > \startsetups[question:intro] >\setupparagraphintro[first][\bold{Answer:} ] >\blank > \stopsetups > > \defineenumeration[question][ > alternative=top, > text=Quest

[NTG-context] Re: Prefix the text in an enumeration.

2024-06-13 Thread Wolfgang Schuster
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:

[NTG-context] Re: Bibliography: separating different kinds of literature OR Sectioning bibliography by type

2024-06-09 Thread Ben Moon via ntg-context
] \definebtxrendering [mybib] [specification=mybib, numbering=yes] \stopbtxrenderingdefinitions \startsetups btx:mybib:list:link \btxdoifelse {title} {\btxflush{title}:\space} {No Title} \btxdoifelse {url} {\btxflush{url};\space} {} \btxdoifelse {date} {abgerufen \btxflush{date

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
gt; > \definedelimitedtext >[dextract] >[blockquote] >[leftmargin=1.5pc, > style=italic, > before=\setupindenting[next], > after=\setups{extract:whatever}] > > \definestartstop >[extract] >[arguments=yes, > before=\setup

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Gerion Entrup
rtalignment[flushright] > > \tfx\italic{\getcustomvariable{author}} \stopalignment}] > > > > \starttext > > \startextract[author=René Descartes] > > Cogito ergo sum. > > \stopextract > > \stoptext > > ``` > > > > Is there an easy way to a

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Hans Hagen via ntg-context
{\getcustomvariable{author}} \stopalignment}] \starttext \startextract[author=René Descartes] Cogito ergo sum. \stopextract \stoptext ``` Is there an easy way to achieve that? I tried with \structureuservariable (like possible in \startchapter) but it does not work. \startsetups

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Wolfgang Schuster
}] \starttext \startextract[author=René Descartes] Cogito ergo sum. \stopextract \stoptext ``` Is there an easy way to achieve that? I tried with \structureuservariable (like possible in \startchapter) but it does not work. \startsetups [userdata:extract] \startnarrower \setupindenting

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-06 Thread Hans Hagen via ntg-context
after=\setups{extract:stop}] \startsetups extract:start \startdextract \stopsetups \startsetups extract:stop \startstopparameter{author} \stopdextract \blank[1ex,samepage] \hrule \blank[1ex,samepage] \dontleavehmode \wordright{\itx\startstopparameter{author}} \stops

[NTG-context] Specify separator within setupbtx for custom bibliography rendering

2024-06-01 Thread Gerion Entrup
tor:4={sfd}, ] \startsetups btx:aps:cite:special % just a dummy \btxcitereference \currentbtxtag \stopsetups \setupbtx[aps:cite][ alternative=special, ] \starttext Both said something~\cite[knuth1, someother]. \placelistofpublications[bibrendering] \stoptext ```

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Bruce Horrocks
>> \define[2]\MyChapter{% >>> #1 #2: \structureuservariable{subtitle} (\structureuservariable{intro}) >>> } >> >> Stop there! >> >> Use \definehead to create your own variation of a heading - much more >> robust. Something like the followin

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
umber, title etc. > > begin example > \defineframed >[ChapterFrame] >[width=\textwidth, > align=flushright, > offset=0pt, > rulethickness=0pt] > > \startsetups [christian_dietrich] >\startlocalheadsetup > \startframed[ChapterFrame] &g

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Gerion Entrup
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

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Wolfgang Schuster
kness=0pt] \startsetups [christian_dietrich] \startlocalheadsetup \startframed[ChapterFrame] \blank[2cm] \startfont[Serif sa 8] \color[darkgray]{\headnumbercontent} \stopfont \blank[5mm] \startfont[SerifBold sa 2] \color[darkred]{\headtextco

[NTG-context] Re: setuphead in connection with the command argument

2024-05-30 Thread Bruce Horrocks
heading - much more robust. Something like the following (untested): \startsetups PlaceSubTitleAndIntro % Set font and and style etc for the subtitle here \structureuservariable(subtitle) % Set font and style etc for the intro text here \structureuservariable(intro) \stopsetups

[NTG-context] Re: simplify side by side Poems

2024-05-23 Thread Wolfgang Schuster
seyal.zav...@gmail.com schrieb am 23.05.2024 um 14:13: Hi all, i want to use tables for constructing poems structure this snippet of code works well: \startsetups tablepoem \setupTABLE[column][each][width=5cm] \stopsetups \starttext \bTABLE[setups=tablepoem] \bTR \bTD One one ons ksl \eTD

[NTG-context] simplify side by side Poems

2024-05-23 Thread seyal . zavira
Hi all, i want to use tables for constructing poems structure this snippet of code works well: \startsetups tablepoem \setupTABLE[column][each][width=5cm] \stopsetups \starttext \bTABLE[setups=tablepoem] \bTR \bTD One one ons ksl \eTD \bTD two gfjgfd oski kwo \eTD \eTR \bTR \bTD One wer s dft

[NTG-context] Re: Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-25 Thread Gerion Entrup
ag, variant = "short", righttext = righttext}) context("]") end \stopluacode \startsetups btx:aps:cite:special \btxcitereference \ctxlua{render_cite([==[\currentbtxdataset]==], [==[\currentbtxtag]==], [==[\currentbtxrighttext]==])} \stopsetups \setupbtx[ap

[NTG-context] Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-23 Thread Gerion Entrup
ot;[>" .. short .. "]") else context("[" .. short .. "]") end end \stopluacode \definebtx[aps:cite:special][aps:cite] \startsetups btx:aps:cite:special \btxcitereference \ctxlua{render_cite([==[\btxflush{year}]==], [==[\btxflush{

[NTG-context] \getmarking for top at the current page

2024-04-15 Thread Biblio--- via ntg-context
Dear list, I've got a problem. Not the first one, but the first one to contribute to the list. ;) system> ConTeXt  ver: 2024.04.01 08:59 LMTX  fmt: 2024.4.12  int: english/english system> 'cont-new.mkxl' loaded %== %== \definehead[Datum][subsubsubject] \s

[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
.) \definelistalternative[startendfmpages][renderingsetup=list:startendfmpages] \startsetups[list:startendfmpages] \structurelistuservariable{itemAuthor}\crlf \structurelistuservariable{itemTitle}\hfill% \at[\currentlistentrypagenumber]–\at[\lastpagenumber] \vglue1pc \stopsetups where I

[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
] [renderingsetup=list:startendpages] \startsetups[list:startendpages] {\ToCEntry} \vglue1pc \stopsetups \starttext {\tfa\bf Contents} \blank[line, fixed] \WORD{Sources} \blank[halfline, fixed] \placelist[SourceTitle][criterium=all] \blank[line, fixed] \WORD{Studies} \blank[halfline, fixed] \placelist

[NTG-context] Re: Use of marking

2024-03-21 Thread Thomas Meyer
Hi Pablo and Bruce, thank you very much for your two solutions. That helps me enormously now. Greetings Thomas Am 21.03.24 um 16:34 schrieb Bruce Horrocks: \startsetups[doc:header] \getmarking[chapternumber] \space - \space \getmarking[chapter] \space :: \space \getmarking

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
> On 20 Mar 2024, at 18:45, Andres Conrado Montoya > wrote: > > 2. As far as I have found, including the chapter/section number in the > marking is not really a trivial task. I usually hack something using > \headnumber and \getmarking, like so: You can do the follow

[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
cefigure. As stated in pagecolumns manual, everything is put on the top of next page. (BTW, there is a typo: «of aremoved») I don't know, whether this MWE helps is relevant, but just in case, here is what I did: * copy tugboat.mkxl to a new file p-bachotex.mkxl * changed p-bachotex.mkxl

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
upalign [hanging] \setupindenting [yes,1em] \setupinterlinespace [line=2\bodyfontsize, height=0.9, depth=0.1] \setupruby [style={\switchtobodyfont[6pt]}] \setuppagenumbering [alternative=doublesided, location=none] \setuphead [title,subject] [align=middle] \startsetup

[NTG-context] Re: \starttable questions

2024-01-25 Thread Jim
page which use vrules don't use tabulate >> to create the tables. >> Coincidence? I think not. :-) > Table which rely on rules to make the content readable have a serious > problem > (read Edward Tufte books how you can improve the visual style) but the > better > a

[NTG-context] Re: \starttable questions

2024-01-25 Thread Wolfgang Schuster
or extreme tables. Below is a example which uses the table like wrapper for natural tables which makes adding rules and changing the padding around text very simple because each table cell is a \framed block with all its options. \starttext \startsetups[ruledtable]   \setupTABLE [frame=off,ali

[NTG-context] Re: \setupitemgroup for footnotes

2023-09-25 Thread Henning Hraban Ramm
Am 25.09.23 um 17:52 schrieb Pablo Rodriguez: Dear list, I have the following sample (with current latest from 2023.09.18 21:13): \setuppapersize[A6] \starttext \startsetups[forfootnote] \setupitemgroup [itemize][1] [ before={\endgraf{\ttbf

[NTG-context] \setupitemgroup for footnotes

2023-09-25 Thread Pablo Rodriguez
Dear list, I have the following sample (with current latest from 2023.09.18 21:13): \setuppapersize[A6] \starttext \startsetups[forfootnote] \setupitemgroup [itemize][1] [ before={\endgraf{\ttbf[before]}\endgraf}, after={\endgraf

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
, alternative=setups, setups=frontispiz, color=white, background=color, backgroundcolor=Eifel, ] \startsetups[frontispiz] \starttransparent[tlumi]% \externalfigure[\structureuservariable{image}][ width=\measure{MaxWidth}, ]% \stoptransparent% \stopsetups \setuphead[chapter][ page

[NTG-context] TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-03 Thread jbf
,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

[NTG-context] Re: Better option for a macro with lots of arguments

2023-08-23 Thread Hans Hagen via ntg-context
nking something based in key=value assignments? setups? datasets? Not really sure, but If you know a better solution or point me in the direction of something I can use to replace that macro, it would be greatly appreciated. \startsetups [document:start] \doifdocumentvariable {englishabs

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread Hans Hagen
, 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] \setdefaultpenalties \setpena

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread denis.maier
> > 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 > > > > &g

[NTG-context] Enable interaction on custom apa cite variant

2023-08-19 Thread Jethro Djan
taset[ref.buffer] \usebtxdefinitions[apa] \definebtx [apa:cite:theorem] [apa:cite] \startsetups btx:apa:cite:theorem \btxflushauthorname{author} \btxcomma \btxflush{year} \fastsetup{btx:cite:righttext} \stopsetups \setupenumeration[ before={\blank[medium]}, after={\

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
Denis \startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwid

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-18 Thread Hans Hagen
Denis \startsetups[mypenalties] \setdefaultpenalties \setpenalties\clubpenalties{1}{150} \setpenalties\widowpenalties{1}{1} \setpenalties\displaywidowpenalties{1}{1} \stopsetups \setuplayout[setups=mypenalties] \starttext \starttabulate[|p(.15\textwid

[NTG-context] Penalties and overprinting in tabulate

2023-08-18 Thread denis.maier
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

[NTG-context] Re: breakpoints in verbatim text

2023-08-18 Thread Hans Hagen
red side effects but Hans suggestion to provide a hook which can be used to re-enable the feature, e.g.     \startsetups [typing:mine]         \setbreakpoints[compound]     \stopsetups     \setuptyping [CUSTOM] [setups=typing:mine] The only flaw I can see in the suggesti

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
\everyinitializeverbatim and then   \startsetups typing:mine   \setbreakpoints[compound]   \stopsetups with   \starttyping[lines=yes,setups=typing:mine] I need Wolfgang to check it for poss

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Hans Hagen
parameter \to \everyinitializeverbatim and then \startsetups typing:mine \setbreakpoints[compound] \stopsetups with \starttyping[lines=yes,setups=typing:mine] I need Wolfgang to check it for possible inter

[NTG-context] Re: Experiments with \doloopoverlist

2023-08-17 Thread Hans Hagen via ntg-context
mla=AOV7GLPWRTK-xooHNe0iQ3uubfcSbG__GY_Guy35FdaqDJA3OfLLtp01-E1kzjxUhltlsfj494MaoQFkk9U9hCFYSipoR8aX0Vu2E6sV}, ] There is no need to use userdata as intermediate: % \startsetups[userdata:idautor] % \dontleavehmode % \imghref % {\externalfigure[cvlac.pdf][logo]} % {\datasetvariable{autores}{\recurselevel}{vclac}} %

[NTG-context] Experiments with \doloopoverlist

2023-08-16 Thread Andres Conrado Montoya
OV7GLPWRTK-xooHNe0iQ3uubfcSbG__GY_Guy35FdaqDJA3OfLLtp01-E1kzjxUhltlsfj494MaoQFkk9U9hCFYSipoR8aX0Vu2E6sV } ] \defineuserdataalternative[idautor][renderingsetup=userdata:idautor] \startsetups[userdata:idautor] \dontleavehmode \imghref {\externalfigure[cvlac.pdf][logo]} {\userdataparameter{cvlac}} \quad \imghref {\externa

[NTG-context] Re: disable header for endnotes

2023-08-16 Thread Rik Kabel
Notes' on the recto page (or indeed be blank with no header), but I am currently getting the header that belongs to the main setup for headers, which happens to be: \startsetups[middle] \hfill \getmarking[section] \hfill \stopsetups \setupheadertexts [{\hfill\documentvariable{meta

[NTG-context] disable header for endnotes

2023-08-16 Thread jbf
indeed be blank with no header), but I am currently getting the header that belongs to the main setup for headers, which happens to be: \startsetups[middle] \hfill \getmarking[section] \hfill \stopsetups \setupheadertexts [{\hfill\documentvariable{metadata:title}\hfill}][] [\setups{middl

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
On Aug 12, 2023, 3:49 PM -0600, Hans Hagen , wrote: > you'll figure it out, right? I hope so and I'm working on it -- with your help -) > the demo shows both: x/.y scaling and 90/180/270 rotation Yes, here is what I have so far: == % % Hans' original tem

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hans Hagen
11 low-level manuals yesterday, not sure which one to focus on in this case -) \startsetups glyph:iTee \dontleavehmode\hpack\bgroup \setbox\scratchbox \ruledhbox \bgroup \glyphxscale 400 \glyphyscale 400 \getglyphstyled{Serif}{T}> choose a font here \egroup \scratchheight 2.75\ht\scrat

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
uot;YourFont" and map that one onto a > file (YourFont YourFontBold etc) > - more about these box manipulations in the low level manual Ok. Just discovered the 11 low-level manuals yesterday, not sure which one to focus on in this case -) > \startsetups glyph:iTee > \dontlea

[NTG-context] Re: Pass string into text background graphic

2023-08-12 Thread Hans Hagen via ntg-context
phic \definetextbackground[TextConcurrentFrame][ mp=GraphicConcurrent, frame=off, topoffset=1em, leftoffset=1em, before=\blank[2*big], after=\blank, location=paragraph, ] \startsetups concurrent:before \ConcurrentTextSet{% % Be sure to format "a.m." and other sp

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
it adapts - you have to replace "Serif" with "YourFont" and map that one onto a file (YourFont YourFontBold etc) - more about these box manipulations in the low level manual Ok. Just discovered the 11 low-level manuals yesterday, not sure which one to focus on in t

[NTG-context] Re: Pass string into text background graphic

2023-08-12 Thread Thangalin
ge boundaries. draw llcorner multipars[ index ] -- ulcorner multipars[ index ]; fi \stopuseMPgraphic \definetextbackground[TextConcurrentFrame][ mp=GraphicConcurrent, frame=off, topoffset=1em, leftoffset=1em, before=\blank[2*big], after=\blank, location=paragraph, ] \startsetups co

[NTG-context] Re: Scaling characters without font switching in CLD

2023-08-12 Thread Hans Hagen
variant so that it adapts - you have to replace "Serif" with "YourFont" and map that one onto a file (YourFont YourFontBold etc) - more about these box manipulations in the low level manual \startsetups glyph:iTee \dontleavehmode\hpack\bgroup \s

[NTG-context] Re: Pass string into text background graphic

2023-08-11 Thread Hans Hagen
d the before/after blanks here: \definetextbackground [TextConcurrentFrame] [mp=GraphicConcurrent, % mp=mpos:region:draw, method=mpos:region, frame=off, topoffset=1em, leftoffset=1em, before=\blank[2*big], after=\blank, location=paragraph] % And use setups to get a nicer definit

[NTG-context] Re: upload

2023-08-10 Thread Thangalin
o the user to decide to use {} (as before) or not but it is less > error prone. > > It is now also possible to nest setups as in > > \starttext > > \startsetups one > \startsetups [three] > HERE > \stopsetups > \stopsetups > > \startsetups t

[NTG-context] upload

2023-08-09 Thread Hans Hagen
decide to use {} (as before) or not but it is less error prone. It is now also possible to nest setups as in \starttext \startsetups one \startsetups [three] HERE \stopsetups \stopsetups \startsetups two \startsetups [three] THERE \stopsetups \stopsetups \setups

[NTG-context] Re: Par Builder Tests

2023-07-28 Thread Keith McKay
-context wrote: Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default]     \directsetup{*reset}     \frozen\widowpenalty    1     \frozen\clubpenalty 1     \frozen\displaywidowpenalty 1     \frozen\broke

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Keith McKay
Thanks Hans! I'll have a play and keep an eye on updates Best Wishes Keith On 21/07/2023 17:10, Hans Hagen via ntg-context wrote: Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default]     \directsetup{*reset}  

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen via ntg-context
Hi Keith, Here an example that Mikael made for such a book: \showframe % let's very strict \startsetups [*default] \directsetup{*reset} \frozen\widowpenalty1 \frozen\clubpenalty 1 \frozen\displaywidowpenalty 1 \frozen\brokenpenalty

[NTG-context] Re: Par Builder Tests

2023-07-21 Thread Hans Hagen
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

[NTG-context] Par Builder Tests

2023-07-21 Thread Keith McKay
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 \setpenalties\widowpenalties{1}{150

[NTG-context] definedocument, begin & closing

2023-07-06 Thread Henning Hraban Ramm
Hi, if I use \startdocument, the setups "document:start" and "document:stop" get inserted at the beginning and end. But if I define my own document, it doesn’t work. What’s wrong? """ \definedocument[presentation] \startsetups[presentation:start] {\bfd\d

Re: [NTG-context] right and left arrowfill

2023-06-23 Thread Carlos via ntg-context
thing on top or below, or where it can be a top or bottom accent. > > > a > > > > \vbox to 5pt{x\vrule\rightarrowfill \ x \leftarrowfill\vrule\ x} > > > > or > > > > x \rightarrowfill x > > x \leftarrowfill x > > > > or > > >

Re: [NTG-context] right and left arrowfill

2023-06-23 Thread Hans Hagen via ntg-context
ugh I bet he can figure them out himself). \starttext % \setupexternalfigures % [location={default,global}] % \startsetups adaptive:test % \setbox\usedadaptivebox\hbox to \usedadaptivewidth yoffset -\usedadaptivedepth \bgroup % \externalfigure % [cow.pdf] %

Re: [NTG-context] Chinese typesetting with macOS font. Which one is a good choice?

2023-06-03 Thread 李延瑞
Gerben Wierda via ntg-context 于2023年6月2日周五 19:37写道: > For Japanese I currently use > > \startsetups [japanese] > \setscript [nihongo] > \stopsetups > \setuplanguage [ja] [setups=japanese] > \definefallbackfamily > [archimate] > [ss] > [Hiragino Sans] >

[NTG-context] Chinese typesetting with macOS font. Which one is a good choice?

2023-06-02 Thread Gerben Wierda via ntg-context
For Japanese I currently use \startsetups [japanese] \setscript [nihongo] \stopsetups \setuplanguage [ja] [setups=japanese] \definefallbackfamily [archimate] [ss] [Hiragino Sans] [preset=range:japanese, tf=style:W3, it=style:W3, bf=style:W5, bi=style:W5, force=yes

Re: [NTG-context] Flushright problems with Japanese

2023-05-16 Thread Gerben Wierda via ntg-context
== > \definefallbackfamily > [archimate] > [ss] > [Hiragino Sans] > [preset=range:japanese, >tf=style:W3, >it=style:W3, >bf=style:W5, >bi=style:W5, >force=yes] > > \definefontfamily [archimate] [ss] [Optima] > > \

Re: [NTG-context] Flushright problems with Japanese

2023-05-15 Thread 李延瑞
> [Hiragino Sans] > [preset=range:japanese, >tf=style:W3, >it=style:W3, >bf=style:W5, >bi=style:W5, >force=yes] > > \definefontfamily [archimate] [ss] [Optima] > > \setupbodyfont[archimate] > > \startsetups [japanese] >

[NTG-context] Flushright problems with Japanese

2023-05-15 Thread Gerben Wierda via ntg-context
bi=style:W5, force=yes] \definefontfamily [archimate] [ss] [Optima] \setupbodyfont[archimate] \startsetups [japanese] \setscript [nihongo] \stopsetups \setuplanguage [ja] [setups=japanese] \mainlanguage [ja] \starttext \setupindenting[none] \setupindenting[no] \framed[width=\textwidth,fram

  1   2   3   4   5   6   7   8   9   10   >