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

Re: [NTG-context] How to improve visually a table

2021-02-16 Thread Wolfgang Schuster
][corner=07] \setupTABLE[last][last][corner=06] \setupTABLE[column][last][style={\setcharacterspacing[frenchpunctuation]}] \stopsetups \bTABLE[setups=tablesettings] %\bTABLEhead \bTR \bTH espéranto \eTH \bTH exemple \eTH \bTH équivalent en français \eTH \eTR %\eTABLEhead %\bTABLEbody

Re: [NTG-context] set fallback in \definefont

2021-02-16 Thread Wolfgang Schuster
Mohammad Hossein Bateni schrieb am 15.02.2021 um 22:31: Thanks for the quick response, Pablo.  I already use typescripts (\definetypeface, \definefontsynonym and \definefontfallback): https://github.com/bateni/dabeer/tree/master/texmf-local/tex/context/fonts/mkiv By arbitrary style, I meant

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Mohammad Hossein Bateni
Thanks for the quick response, Pablo. I already use typescripts (\definetypeface, \definefontsynonym and \definefontfallback): https://github.com/bateni/dabeer/tree/master/texmf-local/tex/context/fonts/mkiv By arbitrary style, I meant something like: \definefontfamily[myface][CUSTOM][TeX Gyre

[NTG-context] RE : Font issue with page header with latest LMTX beta 2021-02-12 18:48

2021-02-13 Thread Joseph
2021-02-12 18:48 Joseph schrieb am 13.02.2021 um 12:35:Dear list It seems that  \setupheader[style=\BigFont] Where \BigFont is defined with \definefont Does not have effect with latest LMTX. Page headers have same font as page body text (in my case it’s same font but larger in headers).Hi Joseph

Re: [NTG-context] Font issue with page header with latest LMTX beta 2021-02-12 18:48

2021-02-13 Thread Wolfgang Schuster
Joseph schrieb am 13.02.2021 um 12:35: Dear list It seems that \setupheader[style=\BigFont] Where \BigFont is defined with \definefont Does not have effect with latest LMTX. Page headers have same font as page body text (in my case it’s same font but larger in headers). Hi Joseph

[NTG-context] Font issue with page header with latest LMTX beta 2021-02-12 18:48

2021-02-13 Thread Joseph
Dear list It seems that  \setupheader[style=\BigFont] Where \BigFont is defined with \definefont Does not have effect with latest LMTX. Page headers have same font as page body text (in my case it’s same font but larger in headers). Will try to work out a MWE if needed.Thanks Best regards Joseph

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
On 2/13/21 12:33 AM, Hans Hagen wrote: > On 2/13/2021 12:13 AM, Pablo Rodriguez wrote: >> Dear Hans, >> >> I’m afraid that style doesn’t work for headings in current latest >> (2021.02.12 18:49): >> [...] > can you check again? Many thanks for your fast fix

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Hans Hagen
On 2/13/2021 12:13 AM, Pablo Rodriguez wrote: Dear Hans, I’m afraid that style doesn’t work for headings in current latest (2021.02.12 18:49): \setuphead[chapter][style=\it] \setuphead[section][style=\it] \starttext \chapter{Chapter} \section{Section} \input zapf \stoptext

Re: [NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
On 2/13/21 12:13 AM, Pablo Rodriguez wrote: > Dear Hans, > > I’m afraid that style doesn’t work for headings in current latest > (2021.02.12 18:49): Hans, it might be that the style option doesn’t work in other commands (or at all): \setuphead[section][style=\it] \setuplist[se

[NTG-context] style option not working for headings

2021-02-12 Thread Pablo Rodriguez
Dear Hans, I’m afraid that style doesn’t work for headings in current latest (2021.02.12 18:49): \setuphead[chapter][style=\it] \setuphead[section][style=\it] \starttext \chapter{Chapter} \section{Section} \input zapf \stoptext Many thanks for your help, Pablo -- http

Re: [NTG-context] Twenty One versus Twenty-one

2021-02-11 Thread jbf
things published. That's the background to my question! MWE \setuphead[chapter][ header=empty, alternative=middle, style={\ssd}, number=yes, conversion=Word, command=\MyChapterCommand, after={\blank[1cm]}, ] Problem is, when we get to chapter Twenty-one

Re: [NTG-context] Twenty One versus Twenty-one

2021-02-10 Thread Hans Hagen
][     header=empty,     alternative=middle,     style={\ssd},     number=yes,     conversion=Word,     command=\MyChapterCommand,     after={\blank[1cm]},     ] Problem is, when we get to chapter Twenty-one (which is the correct way to write it in English) it gives me 'Twenty One

[NTG-context] Twenty One versus Twenty-one

2021-02-10 Thread jbf
=middle,     style={\ssd},     number=yes,     conversion=Word,     command=\MyChapterCommand,     after={\blank[1cm]},     ] Problem is, when we get to chapter Twenty-one (which is the correct way to write it in English) it gives me 'Twenty One'. Is there a way, in my setup, that I can force

Re: [NTG-context] composing commands

2021-02-09 Thread Otared Kavian
singcharacters \enabletrackers[fonts.missing=replace] > \handlemissingcharacters \enabletrackers[fonts.missing={decompose,replace}] > > the last one will inject decomposed characters into the list when font lacks > the real thing. The replacements visualize similar to MKIV but adapt to

Re: [NTG-context] composing commands

2021-02-08 Thread Richard Mahoney
lemissingcharacters \enabl etrackers[fonts.missing={decompose,replace}] the last one will inject decomposed characters into the list when font lacks the real thing. The replacements visualize similar to MKIV but ad

Re: [NTG-context] composing commands

2021-02-08 Thread Hans Hagen
letrackers[fonts.missing=replace] \handlemissingcharacters \enabletrackers[fonts.missing={decompose,replace}] the last one will inject decomposed characters into the list when font lacks the real thing. The replacements visualize similar to MKIV but adapt to the style. Hans (no

Re: [NTG-context] externalizing TikZ graphics

2021-01-25 Thread Hans Hagen
buffer[foo] % maybe include a style / enviroment \usemodule[tikz] \usetikzlibrary[patterns] \startTEXpage \starttikzpicture \draw[pattern color=red,pattern=bricks] (0,0) circle (1cm); \stoptikzpicture \stopTEXpage \stopbuffer \framed[offset=overlay]{\typ

Re: [NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Pablo Rodriguez
\overloadmode=4 (which can be interesting as it > might reveal issues in a style) the run will quit with an error ... this > is a fix: > > \def\strc_floats_set_page_variant >{\bgroup > \strc_floats_set_local_hsize > \ifcase\c_strc_floats_rotation\else

Re: [NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Hans Hagen
afraid I don’t have any experience rotating tables. The code is not different from mkiv but instead we swap dimens using a primitive. When you set \overloadmode=4 (which can be interesting as it might reveal issues in a style) the run will quit with an error ... this is a fix: \def

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-11 Thread Ivan Pešić
: > Date: Wed, 06 Jan 2021 08:17:41 +0100 > Subject: Re: [NTG-context] A not so short introduction to ConTeXt Mark IV > Hi Joaquín, > > Here is a small suggestion, which would have a few different uses. The > following link, which I copied from the index, should take

[NTG-context] squeezed

2021-01-08 Thread Hans Hagen
Hi, Another example: \definetweakedfont[squeezed] [xscale=0.90] \bTABLE \bTR \bTD foo \eTD \bTD[style=\squeezed] $x = 1$ \eTD \eTR \bTR \bTD oof \eTD \bTD[style=\squeezed] $x = 2$ \eTD \eTR \eTABLE \bTABLE[style=squeezed] \bTR \bTD $x = 1$ \eTD \bTD $x

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
lternative? Cordially, Jairo El jue, 7 de ene. de 2021 a la(s) 18:01, jbf (roma83...@gmail.com <mailto:roma83...@gmail.com>) escribió: Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something el

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
@gmail.com) escribió: > Thanks Jairo, with some tweaking I now have it working ( I had \placeindex > instead of \placemyindex! And altered the 'style' name to something else as > you hinted I should). > > Now, this might be asking too much of ConTeXt, but some Newspaper names > don

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Hi. In latest LMTX (2021.01.07 16:59), your example works as expected: \defineregister[myindex] \defineprocessor[style][style=italic]%Isn't another name available? \starttext In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018 \placemyindex% \stoptext Jairo El jue, 7 de

[NTG-context] styling part of an index entry

2021-01-07 Thread jbf
. The Observer MWE \defineregister[myindex] \defineprocessor[style][style=italic] \starttext In \myindex{style->Observer, The} {\em The Observer} of 31 July 2018 \stoptext The only result I am getting is: ->Observer, The   223 But what I want is /Observer, The/ (in other words, in i

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-05 Thread Augusto Stoffel
t; I understand that and it is all well and good. I am wondering if there already is *another* text which presupposes basic knowledge of TeX and general knowledge of LaTeX, perhaps in a by-topic style. > I think this relates to the question how someone comes to tex and then to context. Are tex m

[NTG-context] Migrating from LaTeX (was: A not so short introduction to ConTeXt Mark IV)

2021-01-04 Thread BPJ
oses basic knowledge of TeX and > general knowledge of LaTeX, perhaps in a by-topic style. > > I think this relates to the question how someone comes to tex and then > to context. Are tex macro packages used alongside and such? Are there 'from > word/office to tex' or reverse manuals? What coul

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread Henning Hraban Ramm
> Am 03.01.2021 um 22:24 schrieb Hans Hagen : > > On 1/3/2021 10:02 PM, BPJ wrote: >> I understand that and it is all well and good. I am wondering if there >> already is *another* text which presupposes basic knowledge of TeX and >> general knowledge of LaTeX, perha

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread Hans Hagen
On 1/3/2021 10:02 PM, BPJ wrote: I understand that and it is all well and good. I am wondering if there already is *another* text which presupposes basic knowledge of TeX and general knowledge of LaTeX, perhaps in a by-topic style. I think this relates to the question how someone comes to tex

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread denis.maier
: Re: [NTG-context] A not so short introduction to ConTeXt Mark IV I understand that and it is all well and good. I am wondering if there already is *another* text which presupposes basic knowledge of TeX and general knowledge of LaTeX, perhaps in a by-topic style. -- Better --help|less than hel

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-03 Thread BPJ
I understand that and it is all well and good. I am wondering if there already is *another* text which presupposes basic knowledge of TeX and general knowledge of LaTeX, perhaps in a by-topic style. -- Better --help|less than helpless Den sön 3 jan. 2021 20:04Joaquín Ataz López skrev: > I

[NTG-context] Protruding quotation marks obviate narrowed quotations

2020-12-30 Thread Michael Guravage
hanging punctuation, less severe style \definefontfeature [default] [default] [protrusion=punctuation,expansion=quality] \setupalign[hz,hanging] % Provide protrusion for quotations. \setupquotation[method=font] % Toggle this line to see the effect. \setupquote[method=font] \starttext

Re: [NTG-context] Problem with \dfrac{}{} with lmtx updated

2020-12-24 Thread Hans Hagen
e 2 in file ./hans_21.tex: Math error: parameter 'fractionnumup' in style 2 is not set \math_m_nop #1->\relax \ifmmode #1\else \normalstartimath #1\normalstopimath     \fi \m{f(x)=\dfrac{a + b\ln(x)}{x}} 1     \starttext 2 >>  \m{f(x)=\dfrac{a + b\ln(x)}{x}} 3     \stoptext

[NTG-context] Problem with \dfrac{}{} with lmtx updated

2020-12-24 Thread Fabrice Couvreur
ter 'fractionnumup' in style 2 is not set \math_m_nop #1->\relax \ifmmode #1\else \normalstartimath #1\normalstopimath \fi \m{f(x)=\dfrac{a + b\ln(x)}{x}} 1 \starttext 2 >> \m{f(x)=\dfrac{a + b\ln(x)}{x}} 3 \stoptext Sorry, but I can't typeset math unless various parameters h

Re: [NTG-context] efficiently scaling fonts

2020-12-24 Thread Pablo Rodriguez
\stopbuffer and \getbuffer, such as in: \setuplayout[topspace=1cm,header=1cm] \setuplayout[middle] \setupbodyfont[pagella,10pt] \setupalign[verytolerant,stretch] \setupwhitespace[big] \starttext \startbuffer \definescaledfont[bfe][xscale=2000,yscale=6000,style=bf] \setuphead[chapter

[NTG-context] efficiently scaling fonts

2020-12-24 Thread Hans Hagen
\definescaledfont[bfe][xscale=2000,yscale=6000,style=bf] \setuphead[chapter][style=\bfe] \dostepwiserecurse {10} {2020} {10} { \title{Here we go #1!} \start \glyphxscale#1\relax \glyphyscale#1\relax \setupinterlinespace \samplefile{ward}% \start \bf \samplefile

Re: [NTG-context] new font trickery

2020-12-23 Thread Hans Hagen
can still keep the abstraction because we can define sizes, think of: \definescaledfont[bfe][xscale=2000,yscale=6000,style=bf] (just made this feature work in two directions, not yet uploaded). But you're right, we have to educate users in this. Actually, I was wondering iif this could

[NTG-context] new font trickery

2020-12-22 Thread Hans Hagen
\setuplayout[middle] \setupbodyfont[pagella,10pt] \setupalign[verytolerant,stretch] \setupwhitespace[big] \starttext \startbuffer \definescaledfont[bfe][scale=2000,style=bf] \setuphead[chapter][style=\bfe] \dostepwiserecurse {10} {2020} {10} { \title{Here we go #1!} \start

Re: [NTG-context] Placing extra bookmarks?

2020-12-02 Thread Bruce Horrocks
bookmarks[chapter] in my doc and all is fine except that I'd >>>> like to force an extra bookmark at the top of the list that jumps to the >>>> cover page. However there is no chapter title, or other built in style on >>>> the cover. >>>> >>>

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