[NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
Hi there, My university has special requirements for the theses I submit. Layout, fonts etc. are pretty straightforward to set up in ConTeXt. The one part I'm struggling with is citations / bibliography. I have to use the german citation style with footnotes. Essentially the first time I cite

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-28 Thread denis.maier
]{#2}% } \setuphead [section] [ style=\bfe, %style={\bfe\setupinterlinespace[line=17.5pt]}, style={\bfe\setuplocalinterlinespace[line=17.5pt]}, after=, before=, command=\section_command, ] \protect \defineframed[myframed][ width=\textwidth,

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-27 Thread denis.maier
Thanks, Garulfo. I don't use \definedfont in my real document so I should be able to port it to my use case. And now I've learned about foregroundstyle. (I was already a bit perplexed that \framed has no style key.) Just out of curiousity, perhaps someone (Hans? Wolfgang?) knows more about

Re: [NTG-context] Soft-hyphen in Antykwa.

2021-06-26 Thread Rik Kabel
remove the line, and the hyphen appears. 2. When HeadFont is libertinus, there is no problem. Sample document: \definefontfamily [HeadFont] [rm] [Antykwa Torunska Cond] \setuphead [chapter] [style=\HeadFont\tfa] \setuphead [s

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
et=0pt, loffset=-0pt, before=, location=top, align=flushleft,]{#2}% } \setuphead [section] [ style=\bfe, after=, before={\blank[1*line]}, command=\section_command, ] \protect \defineframed[myframed][ width=\tex

Re: [NTG-context] First line of larger font paragraph on grid

2021-06-26 Thread Garulfo
, offset=0pt, loffset=-0pt, before=, location=top, align=flushleft,]{#2}% } \setuphead [section] [ style={\BigFont}, after=, before={\blank[1*line]}, command=\section_command, ] \protect \definefontsize[e

Re: [NTG-context] ntg-context Digest, Vol 204, Issue 76

2021-06-26 Thread Kirkham, Robin (Mineral Resources, Clayton)
thing like this > > \setupfootertexts > [margin] > [] > [\pagenumber] > [\pagenumber] > [] > > I want to align the number inside of this area to the right or the left > respectively. > > I only found setuplayouttext to style the area, except that there

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
this \setupfootertexts [margin] [] [\pagenumber] [\pagenumber] [] I want to align the number inside of this area to the right or the left respectively. I only found setuplayouttext to style the area, except that there is no key "align&qu

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
mething like this > > > > \setupfootertexts > >[margin] > >[] > > [\pagenumber] > >[\pagenumber] > >[] > > > > I want to align the number inside of this area to the right or the > > left respectively. > > > > I o

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread denis.maier
t; In fact it is something like this > > \setupfootertexts >[margin] >[] >[\pagenumber] >[\pagenumber] >[] > > I want to align the number inside of this area to the right or the left > respectively

[NTG-context] First line of larger font paragraph on grid

2021-06-25 Thread denis.maier
] [ style={\BigFont}, after=, before={\blank[1*line]}, command=\section_command, ] \protect \defineframed[myframed][ width=\textwidth, frame=off, rulethickness=0pt, offset=0pt, loffset=-0pt

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Hans Hagen
net/Simple_Typescript_Example> Not meant as a criticism - just a naive question from someone who is puzzled. Yes, you could also abuse \sc for another style. Small caps are a bit special though, nowadays they’re often contained in fonts and you address them via OpenType features.

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Henning Hraban Ramm
aive question from someone who is puzzled. Yes, you could also abuse \sc for another style. Small caps are a bit special though, nowadays they’re often contained in fonts and you address them via OpenType features. Hraban __

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Wolfgang Schuster
pass just a name to \definefontfamily and some font is chosen for each style but this can fail because all depends on the information in the font files. When you use a typescript each alternative is associated with a certain font file and almost no guess work is required. Then, for fonts used

Re: [NTG-context] the --path option

2021-06-22 Thread juh
the script. Everything works fine. But now I would like to use a second path variable in a style file instead of this long relative path: \setupexternalfigures[directory={../../../hs.pub.bilder},local] Any idea how to achieve this? TIA Jan Ulrich Hasecke -- Autoren-Homepage:

Re: [NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-06-17 Thread Garulfo
for part I, and II, and I am starting with Part III... Thanks. The visual style does look nice. One question about the translation. Does it make sense to introduce the French interface as well (\demarretexte ... \stoppetexte, etc.

Re: [NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-06-16 Thread Aditya Mahajan
On Wed, 16 Jun 2021, Garulfo wrote: > Hi all, Joaquín > > I hope your are doing well. > > To keep you informed of my progress on the French version of "a not so > short introduction to ConTeXt", I am done for part I, and II, and I am > starting with Part III...

Re: [NTG-context] new upload

2021-06-14 Thread Hans Hagen
thanks for the new latest, Hans. I have compiled the sample from page-ffl.mkxl: \starttext \definefacingfloat [whatever] \setupfacingfloat [whatever] [style=bold, width=frame, offset=10pt, color=white] \setupfacingfloat [whatever:left] [background=color

Re: [NTG-context] new upload

2021-06-14 Thread Pablo Rodriguez
new latest, Hans. I have compiled the sample from page-ffl.mkxl: \starttext \definefacingfloat [whatever] \setupfacingfloat [whatever] [style=bold, width=frame, offset=10pt, color=white] \setupfacingfloat [whatever:left] [background=color, backgroundcolor=red]

Re: [NTG-context] dictionary example

2021-06-13 Thread Hans Hagen
simplifies each dictionary entry: \definehead[entry][subsubject] \setuphead [entry]    [ number=no, textdistance=3pt, alternative=text, align=raggedright, style=\bf, before={\vskip 0.5\lineheight

Re: [NTG-context] dictionary example

2021-06-13 Thread jbf
: \definehead[entry][subsubject] \setuphead [entry]    [ number=no, textdistance=3pt, alternative=text, align=raggedright, style=\bf, before={\vskip 0.5\lineheight}   ] 2nd, note the before={\vskip 0.5

[NTG-context] dictionary example

2021-06-12 Thread jbf
[{\getmarking[subsubject][top]–\getmarking[subsubject][bottom]}][][{\getmarking[subsubject][top]–\getmarking[subsubject][bottom]}][] \setupcolumns[n=2,align=raggedright,balance=no,tolerance={verytolerant,stretch}] \definedescription[des][headstyle=bold,style=normal,alternative=serried, width=fit

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Fabrice Couvreur
ing > unable to define 'newcmmath-regular' as 'newcomputermodern-12pt-mm-mb--1' tex error > tex error on line 12 in file ./hans-33.tex: Math error: parameter 'quad' in style 0 is not set \p_distance \endgroup \stopimath \p_distance \stopforceddisplaymath \egroup \d_strc_mat

Re: [NTG-context] Calculating Best Box Width?

2021-06-09 Thread Hans Hagen
the width, and repeatedly try .5, .333, .25 of the hbox width until it fits in the allocated space)? How to go about this? \defineblank[EpigraphDistance][3pt] \definestartstop[EpigraphText][ style=\ssa, before={\blank[EpigraphDistance] \setupnarrower[left=.25\textwidth,right=0pt

[NTG-context] Calculating Best Box Width?

2021-06-09 Thread Michael Urban
of the hbox width until it fits in the allocated space)? How to go about this? \defineblank[EpigraphDistance][3pt] \definestartstop[EpigraphText][ style=\ssa, before={\blank[EpigraphDistance] \setupnarrower[left=.25\textwidth,right=0pt] \startnarrower[left,right] \setupalign

Re: [NTG-context] randomizer line-breaking

2021-06-08 Thread Steffen Wolfrum
>>>> file_name-tuc-03.tmp >>>> file_name-tuc-04.tmp >>>> file_name-tuc-05.tmp >>>> Is this right? >>> indeed and you can compare them to get some clue about what changes >>> >>> normally you get one so your sty

Re: [NTG-context] randomizer line-breaking

2021-06-08 Thread Hans Hagen
that create some oscillation. Ok. Each run now creates 4 additional files: file_name-tuc-02.tmp file_name-tuc-03.tmp file_name-tuc-04.tmp file_name-tuc-05.tmp Is this right? indeed and you can compare them to get some clue about what changes normally you get one so your style somehow triggers differences

Re: [NTG-context] randomizer line-breaking

2021-06-08 Thread Steffen Wolfrum
tuc file that create some oscillation. >> Ok. Each run now creates 4 additional files: >> file_name-tuc-02.tmp >> file_name-tuc-03.tmp >> file_name-tuc-04.tmp >> file_name-tuc-05.tmp >> Is this right? > indeed and you can compare them to get some clue abo

Re: [NTG-context] randomizer line-breaking

2021-06-07 Thread Hans Hagen
file_name-tuc-03.tmp file_name-tuc-04.tmp file_name-tuc-05.tmp Is this right? indeed and you can compare them to get some clue about what changes normally you get one so your style somehow triggers differences

Re: [NTG-context] new upload

2021-06-01 Thread Hans Hagen
und-matrix-elements) or even the nath style `\wall` macro (see pg 11 of https://texdoc.org/serve/nathguide.pdf/0) ... Of course, I mean this in terms of the visual effect and not the interface. Like this ... I'll think about taking some size into account (a bit like hpos does). Yes! If we can take si

Re: [NTG-context] new upload

2021-05-31 Thread Aditya Mahajan
; > in matrices (e.g., > > https://tex.stackexchange.com/questions/333011/draw-a-box-around-matrix-elements) > > or even the nath style `\wall` macro (see pg 11 of > > https://texdoc.org/serve/nathguide.pdf/0) ... Of course, I mean this in > > terms of the visual effect and n

Re: [NTG-context] new upload

2021-05-31 Thread Hans Hagen
replace the old \hpos{...} class of macros? This also gives many interesting possibilities for math drawing "boxes" in matrices (e.g., https://tex.stackexchange.com/questions/333011/draw-a-box-around-matrix-elements) or even the nath style `\wall` macro (see pg 11 of https://texdoc

Re: [NTG-context] new upload

2021-05-31 Thread Hans Hagen
x-elements) or even the nath style `\wall` macro (see pg 11 of https://texdoc.org/serve/nathguide.pdf/0) ... Of course, I mean this in terms of the visual effect and not the interface. ah ... http://www.tug.org/tug2003/preprints/Bilotta/bilotta2

Re: [NTG-context] new upload

2021-05-31 Thread Aditya Mahajan
of macros? This also gives many interesting possibilities for math drawing "boxes" in matrices (e.g., https://tex.stackexchange.com/questions/333011/draw-a-box-around-matrix-elements) or even the nath style `\wall` macro (see pg 11 of https://texdoc.org/serve/nathguide.pdf/0) ..

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Rik Kabel
, that explains the output I was obtaining. So, I am using the wrong bibliographic style for my purposes. In practice, at least in Computer Science, publishers (and also editors) are often omitted in references (it's more a "don't care", rather than a "don't know" thing, though). If a publ

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Alan Braslau
at explains the output I was obtaining. So, I am using the > wrong bibliographic style for my purposes. In practice, at least in > Computer Science, publishers (and also editors) are often omitted in > references (it's more a "don't care", rather than a "don't know" &

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Nicola
; If there is no publisher, then @unpublished is a better category. APA > explicitly, and for good reason, accounts for self-publishing, > indicating that the Author was the publisher. Ah ok, that explains the output I was obtaining. So, I am using the wrong bibliographic style for my purposes. In

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Alan Braslau
On Fri, 28 May 2021 13:02:10 -0400 (EDT) Aditya Mahajan wrote: > > If you have not defined a publisher, how should ANY format place the > > undefined publisher's name? > > Simply leave it blank? If there is no publisher, then @unpublished is a better category. APA explicitly, and for good

[NTG-context] styling references

2021-05-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize \dorecurse{15} {\item[\recurselevel]whatever} \stopitemize As exposed in \in{item}[9]... \stoptext How can I add style to the item reference (9)? I mean, how can I get “As exposed in item {\em 9}”? Many thanks

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Aditya Mahajan
a publisher have the text "Author" > > instead of the publisher's name. > > > > I must say that I have no requirement to use the APA style > > specifically; I do it only because it uses the format (Name, Year) > > for the citation. I guess that I could use ano

[NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
Yesterday I installed a new LMTX instance *ex nihilo*. Unfortunately, the new instance will not load my typescripts. My several commercial fonts and the typescripts I wrote for them reside in the texmf-project tree, along with a style file that loads them. I load the style file in my source files

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Alan Braslau
e. > > I must say that I have no requirement to use the APA style > specifically; I do it only because it uses the format (Name, Year) > for the citation. I guess that I could use another style (aps seems > fine) and just customize the citation format. I have tried with > >

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-27 Thread Nicola
it as unknown or >> /sine nomine/, as appropriate, to avoid the infelicity of having the >> author's name just stuck in there. > > I sent a simple fix to Hans that handles the missing editor, silently. > Someone who would want "Anonymous" or "unknown&qu

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-25 Thread Alan Braslau
On Mon, 24 May 2021 23:10:34 -0400 Rik Kabel wrote: > > On 5/24/2021 22:12, Alan Braslau wrote: > > On Mon, 24 May 2021 17:53:49 -0400 > > Rik Kabel wrote: > > > >> This is intended. Or rather, it is a side-effect of the intended > >> behavior. > >> > >> If you add an editor ("editor={Baz,

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Rik Kabel
On 5/24/2021 22:12, Alan Braslau wrote: On Mon, 24 May 2021 17:53:49 -0400 Rik Kabel wrote: This is intended. Or rather, it is a side-effect of the intended behavior. If you add an editor ("editor={Baz, Bar}") you will get something like: Foo, B. (1983). Title of the paper. In B. Baz

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Alan Braslau
On Mon, 24 May 2021 17:53:49 -0400 Rik Kabel wrote: > This is intended. Or rather, it is a side-effect of the intended > behavior. > > If you add an editor ("editor={Baz, Bar}") you will get something > like: > > Foo, B. (1983). Title of the paper. In B. Baz (Ed.), /Booktitle/. >

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Rik Kabel
e case of a missing editor should not be done. The behavior has not been changed in last the two years.) You should take careful note of the following from page 29 of that manual: /A note on the APA style: /We get the strong impression that the APA bibliography style standard was made with the

[NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Nicola
I don't know if this is restricted to inproceedings entries, but consider the following test.bib: @inproceedings{Foo:1983, author = {Foo, Bar}, booktitle = {Booktitle}, pages = {34--39}, title = {Title of the paper}, year = {1983} } When this is typeset:

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-24 Thread Eduardo Bohoyo
[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora, vosotros que amáis, dejadme que os formule una pregunta: ¿quién sufre más por  ello,  Arcite  o  Palamón? ¿El  que  ve  a  su  dama  diariamente,  pero  está

Re: [NTG-context] Luatex format error

2021-05-24 Thread Hans Åberg
ive/2021/texmf-dist/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2021.03.05 19:11 % which context /usr/local/texlive/2021/bin/universal-darwin/context > Does that file have \starttext ... \stoptext ? Yes, the example from another thread on math style. \starttext \m{f

Re: [NTG-context] One chapter with different heading settings

2021-05-23 Thread Rik Kabel
On 5/23/2021 07:43, Jeroen wrote: In the preamble I have the following setup for the chapter header setup. There is one chapter I want to have a different heading setup with some less spacing, what would be the easiest way to achieve this? \setuphead [section] [style=bold, before={\vskip4mm

[NTG-context] One chapter with different heading settings

2021-05-23 Thread Jeroen
In the preamble I have the following setup for the chapter header setup. There is one chapter I want to have a different heading setup with some less spacing, what would be the easiest way to achieve this? \setuphead [section] [style=bold, before={\vskip 4mm}, after={\vskip 1.5mm

Re: [NTG-context] Special layouts don't recognise placeinitial

2021-05-23 Thread Hans Hagen
works fine as long as it stays within the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora

[NTG-context] Special layouts don't recognise placeinitial

2021-05-22 Thread Eduardo Bohoyo
the general layout. This is the code I'm referring to: \startmakeup[standard][doublesided=yes] \setuplayout[backspace=176pt,width=194pt] \setupinterlinespace[line=22pt] \style[tfa] \startalignment[hanging,flushleft,nothyphenated] \placeinitial Ahora, vosotros que amáis, dejadme que os formule una

Re: [NTG-context] Hand Style Sketching in Metapost

2021-05-21 Thread Jeroen
I have updated LMTX and indeed seems to be working now Thanks Op do 20 mei 2021 om 21:05 schreef Aditya Mahajan : > On Thu, 20 May 2021, Jeroen wrote: > > > I have the following working example with hatching. This works fine, but > > when I uncomment the sketching commands, no figure is

[NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-21 Thread Nicola
\definevimtyping[foo][ style={\switchtobodyfont[16pt,tt]}, directory=code/, syntax=foo, alternative=pscolor, vimrc=foo, ] \starttext \startfoo let while endwhile \stopfoo \stoptext The ~/foo/ directory contains ftdetect/foo.vim: au BufRead,BufNewFile

Re: [NTG-context] Hand Style Sketching in Metapost

2021-05-20 Thread Aditya Mahajan
On Thu, 20 May 2021, Jeroen wrote: > I have the following working example with hatching. This works fine, but > when I uncomment the sketching commands, no figure is rendered. Is the > mp-sketch macro still working? Seems to be working here with LMTX ver. 2021.04.29. See attached. Aditya

[NTG-context] Hand Style Sketching in Metapost

2021-05-20 Thread Jeroen
I have the following working example with hatching. This works fine, but when I uncomment the sketching commands, no figure is rendered. Is the mp-sketch macro still working? \starttext \startMPcode input hatching; %input mp-sketch; %sketchypaths; %sketch_amount := 2bp; u := 1cm; path

Re: [NTG-context] TeX capacity exceeded

2021-05-19 Thread Hans Hagen
\ss BB}\par \dorecurse{1000}{ \char1234 } \stoptext You can set up a list of 'quick and dirty fallback' fonts (you can set a sequence for each style). This doesn't replace the normal fallback mechanisms but can be handy as catch. H

Re: [NTG-context] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
66b63b338abbe38ed839fac9f2022ebbfa7d59 > (and MKIV 2021-05-09 17:14:00) I get an input stack overflow: > > simpleslides> loading style Boxed > system > command '\NormalHeight' is already defined > system > command '\NormalWidth' is already defined

[NTG-context] simpleslides gives 'input stack overflow'

2021-05-09 Thread Adam Reviczky
Hi, With the latest luatex change from https://github.com/TeX-Live/luatex/commit/1566b63b338abbe38ed839fac9f2022ebbfa7d59 (and MKIV 2021-05-09 17:14:00) I get an input stack overflow: simpleslides> loading style Boxed system > command '\NormalHeight' is already defined

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
da,latex,generic,}// TEXINPUTS.eomega= $TEXMFDOTDIR;$TEXMF/tex/{plain,generic,latex,}// TEXINPUTS.lambda= $TEXMFDOTDIR;$TEXMF/tex/{lambda,latex,generic,}// TEXINPUTS.lamed = $TEXMFDOTDIR;$TEXMF/tex/{lambda,latex,generic,}// TEXINPUTS.omega = $TEXMFDOTDIR;$TEXMF/tex/

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-28 Thread denis.maier
in for stretch !=0, no matter how small \setupalign[height] \setupinterlinespace[stretch=0.001] % vertical stretching seems to kick in for stretch !=0, no matter how small \setupdelimitedtext[blockquote] [style={\switchtobodyfont[x

Re: [NTG-context] Style options and setupinterlinespace

2021-04-27 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Aditya > Mahajan > Gesendet: Dienstag, 27. April 2021 05:49 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Style options and setupinterlinespace > > On Mon, 26 Apr 2021, denis

Re: [NTG-context] Style options and setupinterlinespace

2021-04-27 Thread Hans Hagen
ee that I have been using "\tfc $+$" in some of my tikz code for about 4 years. So, it appears to be a old feature. I am thinking of changing the wiki from: These quick font switches are meant for changing the font style, alternative, or size of a few words: they do not change the bod

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Aditya Mahajan
uot; in some of my tikz code for about 4 years. So, it appears to be a old feature. I am thinking of changing the wiki from: These quick font switches are meant for changing the font style, alternative, or size of a few words: they do not change the bodyfont, so they don't affect interline spa

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
Wikified, as per Aditya's suggestion. Denis > -Ursprüngliche Nachricht- > Von: Maier, Denis Christian (UB) > Gesendet: Montag, 26. April 2021 22:50 > An: mailing list for ConTeXt users > Betreff: AW: [NTG-context] Style options and setupinterlinespace > > Tha

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
Betreff: Re: [NTG-context] Style options and setupinterlinespace > > Aditya Mahajan schrieb am 26.04.2021 um 18:02: > >> Von: Maier, Denis Christian (UB) > >> Gesendet: Donnerstag, 22. April 2021 15:15 > >> An: 'mailing list for ConTeXt users' > >>

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 26.04.2021 um 18:02: Von: Maier, Denis Christian (UB) Gesendet: Donnerstag, 22. April 2021 15:15 An: 'mailing list for ConTeXt users' Betreff: Style options and setupinterlinespace Hi, the wiki (https://wiki.contextgarden.net/Font_Switching) currently says

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Pablo Rodriguez
.contextgarden.net/Font_Switching) currently says: > >> These quick font switches are meant for changing the font style, >> alternative, or size of a few words: they do not change the bodyfont, so >> they don't affect interline spacing or math font sizes. So, if you want >> t

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Aditya Mahajan
> Von: Maier, Denis Christian (UB) > Gesendet: Donnerstag, 22. April 2021 15:15 > An: 'mailing list for ConTeXt users' > Betreff: Style options and setupinterlinespace > > Hi, > > the wiki (https://wiki.contextgarden.net/Font_Switching) currently says: > >

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
Hi again, should I change the wiki or is the current behaviour a bug (that will eventually be corrected)? Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Donnerstag, 22. April 2021 15:15 An: 'mailing list for ConTeXt users' Betreff: Style options and setupinterlinespace Hi, the wiki

Re: [NTG-context] How to write readable source files?

2021-04-25 Thread juh
Hi Nicola, Am Sat, Apr 24, 2021 at 07:25:27PM - schrieb Nicola: > I maintain the ConTeXt plugin for Vim. Currently, there are no > indentation rules (except for embedded MetaPost code), and that is > intentional: as the examples above show, there is no commonly accepted > inden

Re: [NTG-context] How to write readable source files?

2021-04-24 Thread Nicola
On 2021-04-24, juh wrote: > Am Sat, Apr 24, 2021 at 01:55:28PM +0200 schrieb Henning Hraban Ramm: >> I guess many of us adhere to Hans’ style, as shown in the sources. >> >> i.e. e.g. >> \setupsomething >> [name] >> [key=value, >>otherkey=value

Re: [NTG-context] How to write readable source files?

2021-04-24 Thread juh
Am Sat, Apr 24, 2021 at 01:55:28PM +0200 schrieb Henning Hraban Ramm: > I guess many of us adhere to Hans’ style, as shown in the sources. > > i.e. e.g. > \setupsomething > [name] > [key=value, >otherkey=value] > > while I prefer: > > \setupsomething[n

Re: [NTG-context] How to write readable source files?

2021-04-24 Thread Hans van der Meer
t; > >> Am 24.04.2021 um 11:45 schrieb Jan U. Hasecke : >> >> Do you know of any prettifying tool? > > I don’t know one. > >> Is there a best practice for ConTeXt source files, at all? > > I guess many of us adhere to Hans’ style, as shown in the sourc

Re: [NTG-context] How to write readable source files?

2021-04-24 Thread Henning Hraban Ramm
> Am 24.04.2021 um 11:45 schrieb Jan U. Hasecke : > > Do you know of any prettifying tool? I don’t know one. > Is there a best practice for ConTeXt source files, at all? I guess many of us adhere to Hans’ style, as shown in the sources. i.e. e.g. \setupsomething [name]

[NTG-context] Style options and setupinterlinespace

2021-04-22 Thread denis.maier
Hi, the wiki (https://wiki.contextgarden.net/Font_Switching) currently says: > These quick font switches are meant for changing the font style, alternative, > or size of a few words: they do not change the bodyfont, so they don't affect > interline spacing or math font sizes. So, if

Re: [NTG-context] Macro to write a letter with \ mathscript{}

2021-04-18 Thread Fabrice Couvreur
more information or a better example there is nothing which can be > done. > > It's possible you have multiple definitions for the command in your style > file, > you can also try if adding \usebodyfont[stixtwo] (or > \definebodyfont[...pt] when > you use

Re: [NTG-context] Macro to write a letter with \ mathscript{}

2021-04-17 Thread Wolfgang Schuster
code yes.Thank you for your possible help. Without more information or a better example there is nothing which can be done. It's possible you have multiple definitions for the command in your style file, you can also try if adding \usebodyfont[stixtwo] (or \definebodyfont[...pt] when you use

[NTG-context] Macro to write a letter with \ mathscript{}

2021-04-17 Thread Fabrice Couvreur
] [text=Définition, number=no, headcommand=\groupedcommand{}{}, style=slanted] \setupmathematics[stylealternative=calligraphic] \unexpanded\def\CScript#1#2{\start\switchtobodyfont[stixtwo]\m{{\mathscript{#1}}_{#2}}\stop} \unexpanded\def\cscript#1{\start\switchtobodyfont[stixtwo]\m

[NTG-context] Alignment with an enumeration

2021-04-12 Thread Fabrice Couvreur
Hi, Is it possible that the first item is on the baseline of the definition environment title ? Thank you. Fabrice \define\ItemCommand {\hskip\zeropoint\relax\autoinsertnextspace} \setupitemgroup [itemize] [color=darkred, style=bold, distance=\spaceamount] \setupitemgroup

Re: [NTG-context] SVG comments, transparency, and extended font styles

2021-04-03 Thread Hans Hagen
r[svg][conversion=mp]} \stoptext % EOF Expected: Light cyan rectangle, no border (it's transparent). Actual: Light cyan rectangle with visible border. i'll check it .. if I forget, remind me. 3. Inkscape font specification We discussed this previously: Inkscape extends the SVG specification with

[NTG-context] SVG comments, transparency, and extended font styles

2021-04-03 Thread Thangalin
gle with visible border. 3. Inkscape font specification We discussed this previously: Inkscape extends the SVG specification with a custom style class ("-inkscape-font-specification") that allows its users to refine font styles. % SOF \startbuffer[svg] http://www.w3.org/2000/svg; viewBox=&

Re: [NTG-context] issue field in bibliography

2021-03-29 Thread Thomas A. Schmitz
mment a better place? Are you asking about the ConTeXt implementation you want to implement or about the actual bibliographic representation you want on the page? If the former, we need more information: what style are you using for the list, what citation style? Show us some code, make a MWE. In

[NTG-context] Grid typesetting, blockquotes in smaller font across pagebreaks

2021-03-25 Thread denis.maier
] [ style=\tfx, %style=\tfx\setupinterlinespace, % this breaks grid snapping spacebefore=halfline

[NTG-context] Multiple Layouts

2021-03-13 Thread Jeroen
=3mm, height=middle, footerdistance=5mm, footer=9mm, bottomspace=11mm] \setuphead [chapter] [style={\bfb}, before={\vskip 0mm}, after={\vskip-\parskip}] \setuphead [section] [style=bold, before={\vskip 6mm}, after={\vskip 2mm}] \setuppagenumbering [alternative

[NTG-context] (no subject)

2021-03-13 Thread Jeroen
=3mm, height=middle, footerdistance=5mm, footer=9mm, bottomspace=11mm] \setuphead [chapter] [style={\bfb}, before={\vskip 0mm}, after={\vskip-\parskip}] \setuphead [section] [style=bold, before={\vskip 6mm}, after={\vskip 2mm}] \setuppagenumbering [alternative

Re: [NTG-context] Write to tuc file

2021-03-07 Thread Pablo Rodriguez
On 3/6/21 2:35 PM, Hans Hagen wrote: > On 3/6/2021 1:56 PM, Pablo Rodriguez wrote: >> [...] >> The select style could generate from start-identifier and >> stop-identifier, the result "identifier.pdf". > \startchapter[reference=whatever,title=foo] > \stopchapt

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Hans Hagen
or proper refs for chapters you can use the reported values and feed them into whatever i could add something to the select style but i guess then there is no uniformity in how users do this Many thanks for the new stuff, Hans. This could be an approach: \starttext \completecontent \dorecurse

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Pablo Rodriguez
ters > you can use the reported values and feed them into whatever > > i could add something to the select style but i guess then there is no > uniformity in how users do this Many thanks for the new stuff, Hans. This could be an approach: \starttext \completecontent \dorecurse{10}

Re: [NTG-context] Center a text (Metafun)

2021-03-06 Thread Wolfgang Schuster
ou Fabrice \definecolor[MyBlue][c=0.2 , m=0.03, y=0.00, k=0.00] \definecolor[maincolor] [b=.5] \defineframedtext    [MyFrame]    [frame=off,     background=MyFrame,     width=fit,     height=fit,     style=small] \startuseMPgraphic{MyFrame}      path b;      picture p;      p := textex

[NTG-context] Center a text (Metafun)

2021-03-06 Thread Fabrice Couvreur
00, k=0.00] \definecolor[maincolor] [b=.5] \defineframedtext [MyFrame] [frame=off, background=MyFrame, width=fit, height=fit, style=small] \startuseMPgraphic{MyFrame} path b; picture p; p := textext.rt("\tfx\bf\white\framedtextparameter{Title}");

Re: [NTG-context] Write to tuc file

2021-03-05 Thread Hans Hagen
could add something to the select style but i guess then there is no uniformity in how users do this Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

[NTG-context] Incorrect css reference in exported html file

2021-02-27 Thread Aditya Mahajan
lows. The t-vim module includes a pre-generated css file which provides the color and style values for the default color schemes. The module provides a macro \vimcssfile, which is the complete path of the file (basically the value of `resolvers.resolve("full:vimtyping-default.css")`). Th

Re: [NTG-context] Questions for eTABLE

2021-02-23 Thread Alain Delmotte
s in Swahilli are in bold? Use \bTD ... \eTD for the cells. The \bTH ... \eTH pair is for header lines and changes the style to bold. If for the table I use \setupTABLE[c]1,2,3][width= 5cm, align=left] the texts are aligned to the right, if I sa

Re: [NTG-context] Questions for eTABLE

2021-02-22 Thread Wolfgang Schuster
} \input zapf \stoptext I do not understand why the lines in Swahilli are in bold? Use \bTD ... \eTD for the cells. The \bTH ... \eTH pair is for header lines and changes the style to bold. If for the table I use \setupTABLE[c]1,2,3][width= 5cm, align=left] the texts

Re: [NTG-context] Lua code and table

2021-02-17 Thread Bruce Horrocks
> On 17 Feb 2021, at 17:40, Fabrice Couvreur > wrote: > > Hi, The code works, but is it possible to make it shorter ? > Thank you > Fabrice > You can reduce the size of the test by storing the pattern in a table: \startluacode local background_one = { align

Re: [NTG-context] Lua code and table

2021-02-17 Thread Tomas Hala
   \NC\NR #  \stoptabulate #} #\starttext #\startluacode #  local background_one = { #   align = "middle", #    style = "type", #   background = "DiagonalRule", #  } # #  local letters_1 = { "A", "B", "C

[NTG-context] Lua code and table

2021-02-17 Thread Fabrice Couvreur
\NC \bf #1 \NC\NC\NR \stoptabulate } \starttext \startluacode local background_one = { align = "middle", style = "type", background = "DiagonalRule", } local letters_1 = { "A", "B", "C", "D", "E

<    3   4   5   6   7   8   9   10   11   12   >