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. >>>> >>>

Re: [NTG-context] Placing extra bookmarks?

2020-12-02 Thread Hans Hagen
to the cover page. However there is no chapter title, or other built in style on the cover. I tried inserting \bookmark[chapter]{The Cover} but nothing happened - no error, no bookmark. Any suggestions please? There's no need to bookmark to a specific point - just going to page 1 would be enough

Re: [NTG-context] Placing extra bookmarks?

2020-12-01 Thread Bruce Horrocks
the >> cover page. However there is no chapter title, or other built in style on >> the cover. >> >> I tried inserting \bookmark[chapter]{The Cover} but nothing happened - no >> error, no bookmark. >> >> Any suggestions please? There's no need to bookmark to a sp

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Otared Kavian
;>>> Thanks Tomás! Indeed \jobname does the job :-) >>> In case you need the current component file in a project environment: >>> \currentcomponent > > In some case \inputfilename is the better choice, e.g. when you process xml > files with a

Re: [NTG-context] Getting the filename which is being typeset

2020-12-01 Thread Wolfgang Schuster
schrieb Otared Kavian : Thanks Tomás! Indeed \jobname does the job :-) In case you need the current component file in a project environment: \currentcomponent In some case \inputfilename is the better choice, e.g. when you process xml files with a environment file for the style and processing

Re: [NTG-context] Placing extra bookmarks?

2020-12-01 Thread Henning Hraban Ramm
> Am 01.12.2020 um 15:36 schrieb Bruce Horrocks : > > I have \placebookmarks[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

[NTG-context] Placing extra bookmarks?

2020-12-01 Thread Bruce Horrocks
I have \placebookmarks[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. I tried inserting \bookmark[chapter]{The Cover} but nothing

[NTG-context] Bug in lmtx bibliography (numerals in entry?)

2020-12-01 Thread Damien Thiriet
Hello, My bibliography files compiles fine in mkiv, but hangs in lmtx Here is the error message: tex error > tex error on line 30 in file ./Nation_rev_empire.mkiv: Use of \btxshowentryinline doesn't match its definition \btxflushlisttext ...tyleandcolor \c!style \c!co

Re: [NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Bruce Horrocks
> On 24 Nov 2020, at 22:26, Aditya Mahajan wrote: > > On Tue, 24 Nov 2020, Bruce Horrocks wrote: > >> The following is giving me a section title with triple underbars instead of >> single. >> >> \definehead [Heading] [section] >> \setuphead

Re: [NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Aditya Mahajan
On Tue, 24 Nov 2020, Bruce Horrocks wrote: > The following is giving me a section title with triple underbars instead of > single. > > \definehead [Heading] [section] > \setuphead [Heading] [style={\underbar}] Change this to: \setuphead [Heading] [textcommand={\underbar}

[NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Bruce Horrocks
The following is giving me a section title with triple underbars instead of single. \definehead [Heading] [section] \setuphead [Heading] [style={\underbar}] \starttext \Heading{First level section heading} \underbar{This is single underlined as expected} \stoptext (Same with \startHeading

[NTG-context] startCSV Wiki, Natural Table

2020-11-24 Thread Fabrice L
} \def\TBLline#1{\bTR\processcommalist[#1]\TBLentry} \def\dostartCSV#1\stopCSV{% \bTABLE \ProcessLines\TBLline{#1}% \eTABLE \egroup } % some additional settings for the table may be made as well \setupTABLE[c][2][style=\tt] \setupTABLE[c][3][align=middle] \setupTABLE[r][1][style=bold

Re: [NTG-context] Piecewise margin line

2020-11-20 Thread Johann Birnick
On Fri, 2020-11-20 at 08:17 +0100, mf wrote: > Il 20/11/20 02:06, Johann Birnick ha scritto: > > On Thu, 2020-11-19 at 11:25 +0100, mf wrote: > > > Il 19/11/20 10:39, Johann Birnick ha scritto: > > > > Hello, > > > > > > > > I want to setup

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread mf
Il 20/11/20 02:06, Johann Birnick ha scritto: On Thu, 2020-11-19 at 11:25 +0100, mf wrote: Il 19/11/20 10:39, Johann Birnick ha scritto: Hello, I want to setup some fancy theorem style for my math notes. For this I want to have a colored margin line next to my theorems. It should look like

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Otared Kavian
, background=color, backgroundcolor=white, ] %%% \defineenumeration[proclaim] [text=, before={\starttextbackground[leftbartext]}, after={\stoptextbackground}, style=slanted, title=yes, titleleft=, titleright

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Johann Birnick
On Thu, 2020-11-19 at 11:25 +0100, mf wrote: > Il 19/11/20 10:39, Johann Birnick ha scritto: > > Hello, > > > > I want to setup some fancy theorem style for my math notes. For this I want > > to > > have a colored margin line next to my theorems. It shou

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread mf
Il 19/11/20 10:39, Johann Birnick ha scritto: Hello, I want to setup some fancy theorem style for my math notes. For this I want to have a colored margin line next to my theorems. It should look like this: https://i.ibb.co/F6L59pD/idea.png The line should stretch over the whole theorem

[NTG-context] Piecewise margin line

2020-11-19 Thread Johann Birnick
Hello, I want to setup some fancy theorem style for my math notes. For this I want to have a colored margin line next to my theorems. It should look like this: https://i.ibb.co/F6L59pD/idea.png The line should stretch over the whole theorem, not just the first line. (But the latter would

Re: [NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Willi Egger
Hi Garulfo! Now! — You managed do do a nice job! :-) Willi > On 15 Nov 2020, at 19:53, Garulfo wrote: > > Hi, > > finally I made some progress and uploaded files to the wiki in "Reports and > articles" Samples section (https://wiki.contextgarden.net/Sample_documents) > > Initial PDF

Re: [NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Pablo Rodriguez
On 11/15/20 7:53 PM, Garulfo wrote: > [...] > Initial PDF document: > https://www.hautconseilclimat.fr/wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf > [...] > ConTeXt output : >

Re: [NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-15 Thread Garulfo
Hi, finally I made some progress and uploaded files to the wiki in "Reports and articles" Samples section (https://wiki.contextgarden.net/Sample_documents) Initial PDF document: >

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Sylvain Hubert
Hi Andrés, You could probably put the notes inside a \start...\stopxtablefoot Sylvain On Tue, 10 Nov 2020 at 21:49, Andres Conrado Montoya < andresconr...@gmail.com> wrote: > MWE (sorry for the long table, I hadn't anything else at hand): > > > \definehig

[NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
MWE (sorry for the long table, I hadn't anything else at hand): \definehighlight[emph][style={\em}] \definehighlight[strong][style={\bf}] \setupfloat[table][default={here}] \definereferenceformat[figura][text={Figura~}] \definereferenceformat[tabla][text={Tabla

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Wolfgang Schuster
ade New' for typeface 'mainface' style 'rm' was ignored because no files where found. And yet Scheherazade New sits beside Scheherazade (which 2020.09.20 finds) in ~/Fonts. Does ConTeXt list the font in its database? mtxrun --script fonts --list --all scheherazadenew* Wolfg

Re: [NTG-context] Scheherazade New loading issue

2020-11-07 Thread Alan Bowen
Thanks, Pablo. I ran the script but it made no difference. Scheherazade New was loaded with ver: 2020.11.07 12:47 but not with ver: 2020.09.20 23:02 The console file for the latter shows: selectfont > the requested fallback font 'Scheherazade New' for typeface 'mainface' style

[NTG-context] specify column-width, with option=stretch

2020-11-04 Thread Peter Münster
Hi, I would like to specify the column-width of the first column to 5mm: --8<---cut here---start->8--- \starttext \setupTABLE[textwidth=99mm, option=stretch] \setupTABLE[c][each][align={lohi, middle}] \setupTABLE[c][1][height=5mm, style=\tfxx] \framed

[NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-03 Thread Garulfo
Hi, I would like to learn "how to ConTeXt" complex titles styles like the one seen in the following document: - https://wiki.contextgarden.net/images/f/f1/Screenshot_20201103_220818.png - source document:

[NTG-context] How to reproduce a particular head/title style

2020-11-03 Thread Garulfo
Hi, I would like to learn "how to ConTeXt" complex titles styles like the one seen in the following document: https://wiki.contextgarden.net/images/f/f1/Screenshot_20201103_220818.png original document:

[NTG-context] troubles with \enablemode

2020-10-30 Thread Damien Thiriet
Hi @list, I don't fully understand the \enablemode mechanism. Given this MWE: \startmode[test] \setupframedtext [foregroundcolor=white,style={\tfa}] \stopmode \starttext \startframedtext ceci est un texte \stopframedtext \enablemode [test] \startframedtext ceci est un texte \stopframedtext

Re: [NTG-context] troubles with \enablemode

2020-10-30 Thread Aditya Mahajan
On Fri, 30 Oct 2020, Damien Thiriet wrote: > Hi @list, > > > I don't fully understand the \enablemode mechanism. Given this MWE: > > > \startmode[test] > \setupframedtext [foregroundcolor=white,style={\tfa}] > \stopmode > > > \starttext &g

Re: [NTG-context] troubles with \enablemode

2020-10-30 Thread Henning Hraban Ramm
> Am 30.10.2020 um 19:26 schrieb Damien Thiriet : > I don't fully understand the \enablemode mechanism. Given this MWE: > > \startmode[test] > \setupframedtext [foregroundcolor=white,style={\tfa}] > \stopmode > > > \starttext > \startframedtext > ce

Re: [NTG-context] font rendering in bibliography

2020-10-28 Thread Xenos Athenaios
\setuplanguage[fr][patterns={fr,agr}] \mainlanguage[fr] \setcharacterspacing[frenchpunctuation] \setuplayout [backspace=40mm] \setuppagenumbering[alternative=doublesided, location={header, inmargin}] \setupmargindata[inmargin][location=inner, style={\ssx\setupinterlinespace[line=2.8ex

Re: [NTG-context] xtable row number trouble

2020-10-27 Thread Oleg
ith \convertedcounter you have always the option to change the style of > the value, > e.g. number conversion, prefixes etc. > > > What's about \newcount&\advance variant? Why it not work? > > Short answer: expansion > > You're using advance in a place where it is ju

Re: [NTG-context] xtable row number trouble

2020-10-26 Thread Wolfgang Schuster
you have always the option to change the style of the value, e.g. number conversion, prefixes etc. What's about \newcount&\advance variant? Why it not work? Short answer: expansion You're using advance in a place where it is just ignored, there are ways to get rid of these limi

Re: [NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-24 Thread Jairo A. del Rio
https://wiki.contextgarden.net] [] [\MyUrl{ConTeXt > > Garden}] \starttext Testing links to same page\footnote{This should > > create links to same page} and an external link: \from[aurl]. \stoptext > > > > | > > > > |When one tries to use `

Re: [NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-24 Thread Wolfgang Schuster
] [] [\MyUrl{ConTeXt Garden}] \starttext Testing links to same page\footnote{This should create links to same page} and an external link: \from[aurl]. \stoptext | |When one tries to use `\setupinteraction[...style=\MyUrl...]` either it doesn't work or displays a background which doesn't break well

[NTG-context] Concerning text backgrounds (and further tuning) in references

2020-10-23 Thread Jairo A. del Rio
\footnote{This should create links to same page} and an external link: \from[aurl].\stoptext When one tries to use `\setupinteraction[...style=\MyUrl...]` either it doesn't work or displays a background which doesn't break well across lines. Is there a workaround or another method? Maybe a feature

[NTG-context] lmts status

2020-10-22 Thread Hans Hagen
they decide to fix the style, simply because they figure that they did something wrong). You're warned. So, when the next lmtx hits the web, make sure that you keep the old tree because one never knows where I mess up. I don't know when I'll upload. After all Wolfgang and I need to come

Re: [NTG-context] The correct way to add emphasis to text using italics

2020-10-21 Thread Aditya Mahajan
e **Before you start...** section on that page: https://wiki.contextgarden.net/Font_Switching#Before_you_start_... > If you go to *Export*, it says: "Also note that switches like \em don’t > translate into output structure, you need to > \definehighlight[emph][style={\em}] and use as \

[NTG-context] The correct way to add emphasis to text using italics

2020-10-21 Thread Andres Conrado Montoya
ehighlight[emph][style={\em}] and use as \emph{emphasized}." This is what I'm currently using. Other parts of the Wiki show a similar solution, but using style=italic, or style={\it}; I've seen others, but now I can't find them. Could you please guide me as to where is this documented in the m

[NTG-context] index issues

2020-10-14 Thread Henning Hraban Ramm
suppose you’ll remember; I left out the Lua table lookup for unified entries): \defineprocessor[kursiv][style=italicface] \define[1]\nIndex{\doifmodeelse{*footnote}{% \expanded{\index[kursiv->]{#1}}}% }{% \expanded{\index{#1}}}% }} (2) Can I avoid linebreaking of page ranges in \placein

Re: [NTG-context] Beamer --> ConTeXt (sample)

2020-10-10 Thread Henning Hraban Ramm
/Drop_shadows > > Also, there’s a number of presentation styles in the distribution. > The wiki page https://wiki.contextgarden.net/Presentation_Styles is outdated > but might give you some hints. > Feel free to update it. BTW here’s a very wide presentation style I made for the

Re: [NTG-context] Hyphenation patterns

2020-10-09 Thread Denis Maier
s-so-ciates dec-li-na-tion oblig-a-tory phil-an-thropic present presents project projects reci-procity re-cog-ni-zance ref-or-ma-tion ret-ri-bu-tion ta-ble",    ["length"]=168,    ["n"]=14,   }, Would it be possible to add more exceptions to that list as they come

Re: [NTG-context] Hyphenation patterns

2020-10-09 Thread Hans Hagen
s-so-ciate as-so-ciates dec-li-na-tion oblig-a-tory phil-an-thropic present presents project projects reci-procity re-cog-ni-zance ref-or-ma-tion ret-ri-bu-tion ta-ble",   ["length"]=168,   ["n"]=14,  }, Would it be possible to add more exceptions to that list as they com

Re: [NTG-context] Hyperref-style borders around clickable links

2020-10-08 Thread Pablo Rodriguez
On 10/8/20 12:03 PM, Denis Maier wrote: > Am 08.10.2020 um 11:49 schrieb Henning Hraban Ramm: >> [...] >> And that this is PDF (viewer) styling, not TeX/MP, so there’s >> probably no further interface, even if it’s possible to set several >> properties of link borders in e.g. Acrobat. > > Anyplace

Re: [NTG-context] Hyperref-style borders around clickable links

2020-10-08 Thread Pablo Rodriguez
eraction[state=start] >>> \enabledirectives[references.border] >>> >>> does that. But how do I configure the borders? Color? Style and so? >>> Couldn't find anything on the Wiki. >> \setupinteraction[color=,contrastcolor=,] >> lets all links use

Re: [NTG-context] Hyperref-style borders around clickable links

2020-10-08 Thread Denis Maier
Am 08.10.2020 um 11:49 schrieb Henning Hraban Ramm: Am 08.10.2020 um 11:40 schrieb Denis Maier : Am 08.10.2020 um 11:36 schrieb Henning Hraban Ramm: Am 08.10.2020 um 10:41 schrieb Denis Maier : Ok, found a (partial) solution myself in Pablo's question from yesterday...

Re: [NTG-context] Hyperref-style borders around clickable links

2020-10-08 Thread Denis Maier
the borders? Color? Style and so? Couldn't find anything on the Wiki. \setupinteraction[color=,contrastcolor=,] lets all links use the basic text color (usually black). You can also set the style. Yep, I have that already in my settings. The frames are meant for debugging, probably you can redefine

Re: [NTG-context] Hyperref-style borders around clickable links

2020-10-08 Thread Henning Hraban Ramm
> Am 08.10.2020 um 10:41 schrieb Denis Maier : > > Ok, found a (partial) solution myself in Pablo's question from yesterday... > > \setupinteraction[state=start] > \enabledirectives[references.border] > > does that. But how do I configure the borders? Color

Re: [NTG-context] Hyperref-style borders around clickable links

2020-10-08 Thread Denis Maier
Ok, found a (partial) solution myself in Pablo's question from yesterday...     \setupinteraction[state=start]     \enabledirectives[references.border] does that. But how do I configure the borders? Color? Style and so? Couldn't find anything on the Wiki. Best, Denis Am 08.10.2020 um 10:34

[NTG-context] Hyperref-style borders around clickable links

2020-10-08 Thread Denis Maier
Hi, I prefer links to be styled as normal text, but I'd nevertheless to highlight them somehow on screen. The LaTeX package Hyperref adds red frames to clickable content. Is something like that possible with ConTeXt? Best, Denis

Re: [NTG-context] Citeproc

2020-10-06 Thread Taco Hoekwater
and > citations should be rendered. As Aditya has pointed out it's quite similar to > the role of bst style files for bibtex. So, a citeproc will take a style file > (in xml) and apply it to the metadata (based on the items actually cited in a > document). I recall discussing this ide

Re: [NTG-context] Citeproc

2020-10-05 Thread Denis Maier
to the role of bst style files for bibtex. So, a citeproc will take a style file (in xml) and apply it to the metadata (based on the items actually cited in a document). Denis ___ If your question is of interest to others

Re: [NTG-context] Citeproc

2020-10-05 Thread Hans Hagen
On 10/5/2020 2:55 PM, Denis Maier wrote: Am 05.10.2020 um 02:47 schrieb Aditya Mahajan: John MacFarlane, the developper of Pandoc, has released a new Citeproc that generates citations and bibliographies using CSL style files (CSL= citation style language). While it is written in Haskell

Re: [NTG-context] Citeproc

2020-10-05 Thread Aditya Mahajan
On Mon, 5 Oct 2020, Hans Hagen wrote: > On 10/5/2020 2:47 AM, Aditya Mahajan wrote: > > > John MacFarlane, the developper of Pandoc, has released a new Citeproc > > > that generates citations and bibliographies using CSL style files (CSL= > > > citation style

Re: [NTG-context] Citeproc

2020-10-05 Thread Denis Maier
Am 05.10.2020 um 02:47 schrieb Aditya Mahajan: John MacFarlane, the developper of Pandoc, has released a new Citeproc that generates citations and bibliographies using CSL style files (CSL= citation style language). While it is written in Haskell and while it's primarily intended for use

Re: [NTG-context] Citeproc

2020-10-05 Thread Denis Maier
Am 05.10.2020 um 14:02 schrieb Hans Hagen: i have no clue what csl is but I assume it's just some key / value thing as the bib module itself should to the logic Sorry, I should have provided more background information. CSL = Citation Style Language; see https://citationstyles.org

Re: [NTG-context] Citeproc

2020-10-05 Thread Hans Hagen
On 10/5/2020 2:47 AM, Aditya Mahajan wrote: John MacFarlane, the developper of Pandoc, has released a new Citeproc that generates citations and bibliographies using CSL style files (CSL= citation style language). While it is written in Haskell and while it's primarily intended for use

[NTG-context] Citeproc

2020-10-04 Thread Denis Maier
Hi, John MacFarlane, the developper of Pandoc, has released a new Citeproc that generates citations and bibliographies using CSL style files (CSL= citation style language). While it is written in Haskell and while it's primarily intended for use with Pandoc, it can also be used in other

Re: [NTG-context] Citeproc

2020-10-04 Thread Aditya Mahajan
> John MacFarlane, the developper of Pandoc, has released a new Citeproc > that generates citations and bibliographies using CSL style files (CSL= > citation style language). While it is written in Haskell and while it's > primarily intended for use with Pandoc, it can also be u

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