[NTG-context] Re: Footnote style

2025-06-28 Thread John Was
; Am 24.06.2025 um 16:57 schrieb John Was: > > Hello. I haven't yet found options that would allow me to alter the > > style of footnote cues in the text (I would prefer slightly larger and > > slightly higher) or the positioning of the footnotes themselves: > > instead of t

[NTG-context] Re: Footnote style

2025-06-27 Thread Wolfgang Schuster
Am 24.06.2025 um 16:57 schrieb John Was: Hello.  I haven't yet found options that would allow me to alter the style of footnote cues in the text (I would prefer slightly larger and slightly higher) or the positioning of the footnotes themselves: instead of the note numberse standing o

[NTG-context] Re: Footnote style

2025-06-24 Thread Wolfgang Schuster
Am 24.06.2025 um 16:57 schrieb John Was: Hello.  I haven't yet found options that would allow me to alter the style of footnote cues in the text (I would prefer slightly larger and slightly higher) or the positioning of the footnotes themselves: instead of the note numberse standing o

[NTG-context] Footnote style

2025-06-24 Thread John Was
Hello. I haven't yet found options that would allow me to alter the style of footnote cues in the text (I would prefer slightly larger and slightly higher) or the positioning of the footnotes themselves: instead of the note numberse standing out to the left of the text area, my aim

[NTG-context] Re: Why is this code not creating "Ibid" style entries?

2025-04-18 Thread Hans Hagen via ntg-context
On 4/18/2025 2:52 AM, Joel via ntg-context wrote: I created this simple macro, for citing papers. Basically just use this format: \turabian{bibtextkey}{page range} or \turabian{smith1980}{10-23} ...and it places a citation. Now, one feature I needed was if the bibtextkey ever repeated, it s

[NTG-context] Why is this code not creating "Ibid" style entries?

2025-04-17 Thread Joel via ntg-context
I created this simple macro, for citing papers. Basically just use this format: \turabian{bibtextkey}{page range} or \turabian{smith1980}{10-23} ...and it places a citation. Now, one feature I needed was if the bibtextkey ever repeated, it should instead display "Ibid. p. 10-23" So if I have text

[NTG-context] Re: applying style to frame content

2024-05-14 Thread Wolfgang Schuster
ion up withshadecolors (red,blue); \stopMPcode \stoptexdefinition \starttext \Mystyle{hello} \stoptext but what is the proper way if i want to use this style as simple as \tfb in definition of this structures? such as: \defineframed[Myframe][frame=off,style=\tfb\Mystyle,] You can

[NTG-context] applying style to frame content

2024-05-14 Thread seyal . zavira
xdefinition \starttext \Mystyle{hello} \stoptext but what is the proper way if i want to use this style as simple as \tfb in definition of this structures? such as: \defineframed[Myframe][frame=off,style=\tfb\Mystyle,] Thanks in advance. _

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 30.12.2023 um 09:40: I tried this for old style factorial, but it appears much below the line in which it is used. How can I bring it up? Replace the \inmframed command with \mcframed. \define[1]\oldfact   {\mcframed[frame=off,strut=no,leftframe=on,bottomframe=on

[NTG-context] Re: old style factorial symbol and theorems

2023-12-30 Thread Shiv Shankar Dayal
I tried this for old style factorial, but it appears much below the line in which it is used. How can I bring it up? On Wed, Dec 27, 2023 at 6:18 PM Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > > > A simple alternative to tikz is the usage of \framed. >>

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread lynx
By "old style" factorial, do you mean the inside corner notation (shaped like an L )? If so, Why? On 2023-12-27 05:01, Shiv Shankar Dayal wrote: > Hi, > > How can I typeset old style factorial symbol and theorems in ConTeXt. I found > https://www.ntg.nl/maps/36/09.pd

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Mikael Sundqvist
Hi! Not by computer, and I'm sure Hans (or Wolfgang) has already shown a way to do the old factorial with the actuarian mechanism when I'm back to the computer... /Mikael Den ons 27 dec. 2023 13:49Shiv Shankar Dayal skrev: > > > A simple alternative to tikz is the usage of \framed. >> >> \defi

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
A simple alternative to tikz is the usage of \framed. > > \define[1]\oldfact > {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}} > > \starttext > > \m{\oldfact{n}} > > \stoptext > > Wolfgang > > Thanks a lot. It should work nicely. -- Respect, Shiv Shankar Dayal _

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:31: What do you expect here to pass as argument to the oldfact command? I will pass something like n, 5, 10 etc. A simple alternative to tikz is the usage of \framed. \define[1]\oldfact   {\inmframed[frame=off,strut=no,leftframe=on,bottomfra

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
What do you expect here to pass as argument to the oldfact command? > I will pass something like n, 5, 10 etc. > > This works here: > > \defineenumeration > [proof] > [closesymbol={\mathematics{\square}}] > > \starttext > > \startproof > \samplefile{lorem} > \stopproof > > \stoptext > Thanks.

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
/maps/36/09.pdf page no. 28 then proof is defined as \defineenumeration [proof] [ text=Proof, number=no, headstyle=italic, title=no, %this is the default closesymbol={\mathematics{\square}}, style=normal] But the closessymbol does not work. I will create a minimum working example and post it as

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
, %this is the default closesymbol={\mathematics{\square}}, style=normal] But the closessymbol does not work. I will create a minimum working example and post it as soon as possible. On Wed, Dec 27, 2023 at 5:44 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Shi

[NTG-context] Re: old style factorial symbol and theorems

2023-12-27 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:01: Hi, How can I typeset old style factorial symbol and theorems in ConTeXt. I found https://www.ntg.nl/maps/36/09.pdf but it does not work. What adaptation should I do for it to work? Can you be more precise what you have tried and doesn&#

[NTG-context] old style factorial symbol and theorems

2023-12-27 Thread Shiv Shankar Dayal
Hi, How can I typeset old style factorial symbol and theorems in ConTeXt. I found https://www.ntg.nl/maps/36/09.pdf but it does not work. What adaptation should I do for it to work? -- Respect, Shiv Shankar Dayal

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Marco Patzer
On Fri, 1 Dec 2023 15:09:32 +0100 Wolfgang Schuster wrote: > You get the same error with Latin Modern as soon as you use a non > predefined font size in combination with bold math. True, thanks for pointing that out. I wasn't aware and frankly, that's rather unexpected behaviour. So to put it

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Wolfgang Schuster
Marco Patzer schrieb am 30.11.2023 um 22:23: On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: Use the \definetypeface command to load the math font. Math fonts always use special settings or load additional settings which are missing when you use \definefontfamily. \definetypeface

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: > Use the \definetypeface command to load the math font. Math fonts > always use special > settings or load additional settings which are missing when you use > \definefontfamily. > > \definetypeface [mainface] [mm] [math] [pagella] \

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: > > %% comment/remove this line and it works > > \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] > > Use the \definetypeface command to load the math font. That example was taken straight from https://wiki.contextgarden.

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Wolfgang Schuster
Marco Patzer schrieb am 30.11.2023 um 20:43: Hi! I have a strange issue when TeX Gyre Pagella Math is used together with bold text. MWE: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] %% comment/remove this line and it works \definefontf

[NTG-context] Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
ter 'subshiftdown' with id 48 in style 2 is not set \math_m_nop #1->\relax \ifmmode #1\else \normalstartimath \begingroup #1\endgroup \normalstopimath \fi \bold{\math{x_y} What is the issue here? Marco LMTX

Re: [NTG-context] font style and size interaction

2023-05-30 Thread Hans Hagen via ntg-context
On 5/30/2023 12:24 PM, Hans van der Meer via ntg-context wrote: Hans, I see this as a no with respect to changing the behaviour of \small and friends. Which I can well understand: changes on this level may trigger a lot of unwanted problems. But now I can program around it with a clear consci

Re: [NTG-context] font style and size interaction

2023-05-30 Thread Hans van der Meer via ntg-context
ans Hagen via ntg-context > wrote: > > On 5/30/2023 10:18 AM, Hans van der Meer via ntg-context wrote: >> There is -- in my perception -- a problem with the interaction between font >> style and font size changes. >> The order of calling for example \it\small matters be

Re: [NTG-context] font style and size interaction

2023-05-30 Thread Hans Hagen via ntg-context
On 5/30/2023 10:18 AM, Hans van der Meer via ntg-context wrote: There is -- in my perception -- a problem with the interaction between font style and font size changes. The order of calling for example \it\small matters because \small\it leads to a different result. I would however reason

[NTG-context] font style and size interaction

2023-05-30 Thread Hans van der Meer via ntg-context
There is -- in my perception -- a problem with the interaction between font style and font size changes. The order of calling for example \it\small matters because \small\it leads to a different result. I would however reason that size and style changes should be in orthogonal spaces, that is

Re: [NTG-context] font size and style

2023-05-26 Thread Wolfgang Schuster via ntg-context
Hans van der Meer via ntg-context schrieb am 26.05.2023 um 21:38: Calling "\bf\tfa  TEXT" for example leaves the TEXT not in bold because \tfa does not respect the current style. As does \small, etc. Shown by looking at the meaning of for example \small: \small=prote

[NTG-context] font size and style

2023-05-26 Thread Hans van der Meer via ntg-context
Calling "\bf\tfa TEXT" for example leaves the TEXT not in bold because \tfa does not respect the current style. As does \small, etc. Shown by looking at the meaning of for example \small: \small=protected macro:\triggergroupedcommand {\setsmallbodyfont \tf } and \tx=prote

Re: [NTG-context] Sentence breaks for "English-style" (TeX default in English language) spacing regime

2023-02-14 Thread Pablo Rodriguez via ntg-context
On 2/5/23 13:44, Hans Hagen via ntg-context wrote: > On 2/4/2023 10:10 AM, Pablo Rodriguez via ntg-context wrote: >>> https://wiki.contextgarden.net/French_spacing Not helpful alas. >> >> Would you be so kind to update the wiki? >> >> I hope it helps, > Assuming that you document it I'll add > > t

Re: [NTG-context] Sentence breaks for "English-style" (TeX default in English language) spacing regime

2023-02-05 Thread Hans Hagen via ntg-context
On 2/4/2023 10:10 AM, Pablo Rodriguez via ntg-context wrote: On 2/3/23 19:11, Henry House via ntg-context wrote: List: What method should one use to code whitespace after a period as being sentence-ending, not midsentence, when not employing French spacing? Hi Henry, not sure I’m getting your

Re: [NTG-context] Sentence breaks for "English-style" (TeX default in English language) spacing regime

2023-02-04 Thread Pablo Rodriguez via ntg-context
On 2/3/23 19:11, Henry House via ntg-context wrote: > List: What method should one use to code whitespace after a period as > being sentence-ending, not midsentence, when not employing French > spacing? Hi Henry, not sure I’m getting your point, since this is also a question of perspective. What

[NTG-context] Sentence breaks for "English-style" (TeX default in English language) spacing regime

2023-02-03 Thread Henry House via ntg-context
List: What method should one use to code whitespace after a period as being sentence-ending, not midsentence, when not employing French spacing? For example, if one writes "... John Doe, PhD. Next sentence x y z ... ." the space in "PhD. Next". In LaTeX, we have "\@. " (code whitespace followi

Re: [NTG-context] Is the Society of Biblical Literature (SBL) style files for ConTeXt incompatible with \setupinteraction[state=start]?

2023-01-15 Thread Pablo Rodriguez via ntg-context
On 1/15/23 17:57, Joel via ntg-context wrote: > When I am using the SBL ConTeXt files for citations, if I add a line > `\setupinteraction[state=start` my code starts complaining: > [...] > Is this package incompatible with interaction? Hi Joel, unless I’m missing your point, https://github.com/jj

[NTG-context] Is the Society of Biblical Literature (SBL) style files for ConTeXt incompatible with \setupinteraction[state=start]?

2023-01-15 Thread Joel via ntg-context
When I am using the SBL ConTeXt files for citations, if I add a line `\setupinteraction[state=start` my code starts complaining: Undefined control sequence \currentbtxloctext \16>:btx:sbl:cite:inline     #1->\fastsetup {\s!btx :\s!cite :concat}\fastsetup {btx:sbl:cite:lefttext}\begingroup \le

Re: [NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-20 Thread Susanne G. Loeber via ntg-context
> > Dear list, > > Years ago I stumbled upon the work of Jean-Luc Doumont. He typesets all his documents using TeX, although his modified Version > called Quantum. The whole idea of his fascinating approach is that the page > is quantized in 2 dimensions and that all positioning, even graphical >

Re: [NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-16 Thread Aditya Mahajan via ntg-context
On Mon, 16 May 2022, Stefan Nedeljkovic via ntg-context wrote: > Dear list, > > Years ago I stumbled upon the work of Jean-Luc Doumont. He typesets all his > documents using TeX, although his modified Version called Quantum. His documents are really beautifully typeset. In the book, "Theorems,

[NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-16 Thread Stefan Nedeljkovic via ntg-context
Dear list, Years ago I stumbled upon the work of Jean-Luc Doumont. He typesets all his documents using TeX, although his modified Version called Quantum. The whole idea of his fascinating approach is that the page is quantized in 2 dimensions and that all positioning, even graphical elements stick

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Thangalin via ntg-context
ed to call out to sanitize the file, plus introducing more error handling for when sanitizing goes wrong. Cleaning up the input document feels more like a band-aid than solving the underlying problem, which is to relax the regex ConTeXt uses to parse the style attribute. I'm pretty sure I can

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Heinrich Paeßens via ntg-context
rent SVG generators. >> Renjin uses JFreeSVG when exporting as SVG. As you pointed out, there are no >> issues with R because it will export an SVG file without any double >> semicolons. >> >> In other words, try this: >> >> \startbuffer[svg] >> >&g

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Thangalin via ntg-context
> gsed ’s/;;/;/g' in.svg > out.svg If a user has an SVG text element where ";;" goes into the document, then that'd make for an awfully awkward user experience and obscure bug to fix. For example: plot(rnorm(5), xlab=";;") Meaning, the document must be

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Heinrich Paeßens via ntg-context
words, try this: > > \startbuffer[svg] > >style="stroke:rgb(0,0,0);;fill:none" /> > > \stopbuffer > > \starttext > \placefigure{}{\includesvgbuffer[svg][conversion=mp]} > \stoptext > > If you get a black square, that's the bug.

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Thangalin via ntg-context
Hi Heinrich, Use the SVG I provided. R and Renjin use two different SVG generators. Renjin uses JFreeSVG when exporting as SVG. As you pointed out, there are no issues with R because it will export an SVG file without any double semicolons. In other words, try this: \startbuffer[svg] \stopb

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Heinrich Paeßens via ntg-context
Hi thereI can compile your example without any tweaks, hence could not reproduce any error.cheersHeinrich———R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"Copyright (C) 2022 The R Foundation for Statistical ComputingPlatform: x86_64-apple-darwin17.0 (64-bit)[R.app GUI 1.78 (8075) x86_64-app

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-08 Thread Thangalin via ntg-context
Here's a screenshot comparing ConTeXt's PDF output (left) with KeenWrite's preview for the same SVG document: https://i.ibb.co/68nqwrg/render-r-plot.png I've filed a bug against Renjin's SVG exporter. Any guidance on how to fix this is greatly appreciated. ___

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-08 Thread Thangalin via ntg-context
show up in the output, even when running with --debug. Any hints on how to sprinkle debug info into the code? Or was I barking up the wrong source file? Cheers! On Sun, May 8, 2022 at 1:33 AM Thangalin wrote: > Hey hey, > > The following produces a filled square, rather than an empty one: &

[NTG-context] SVG style ignored after double semicolon

2022-05-08 Thread Thangalin via ntg-context
Hey hey, The following produces a filled square, rather than an empty one: \startbuffer[svg] \stopbuffer \starttext \placefigure{}{\includesvgbuffer[svg][conversion=mp]} \stoptext Remove the extra semicolon to get the expected result: It appears that a style immediately following

[NTG-context] How to get \placenotes to place footnote-style citations at the end of my content?

2022-01-24 Thread Joel via ntg-context
I'm spinning this question off another post, as my previous  question was very specific, but it was possibly discovered a more general bug exists? I'm creating some lecture slides that have footnote citations throughout. The problem is, the slides themselves already don't have much screen space,

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2022-01-03 Thread Youssef Cherem via ntg-context
Hi again, As a follow-up, I just found some weird behavior when typesetting local/text notes using columns. The code below describes the issue. (As the notes are counted by page I really didn't need to use localnotes, so the problem of footnotes disappearing is solved.) \definenote[afiliação]%[nu

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Youssef Cherem via ntg-context
Marco Thanks a lot. It works. Such a solution had briefly crossed my mind but I had left it aside, hoping there was some feature I had missed. Em qua., 29 de dez. de 2021 10:40, Marco Patzer via ntg-context < ntg-context@ntg.nl> escreveu: > On Wed, 29 Dec 2021 08:29:34 -0300 > Youssef Cherem vi

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Marco Patzer via ntg-context
On Wed, 29 Dec 2021 08:29:34 -0300 Youssef Cherem via ntg-context wrote: > I've tried to implement some sort of affiliation description with > local notes. I'd like them to be either in a single paragraph or in > columns (e.g., 3), but the options `serried` or `n=3` don't seem to > work for text

[NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Youssef Cherem via ntg-context
I've tried to implement some sort of affiliation description with local notes. I'd like them to be either in a single paragraph or in columns (e.g., 3), but the options `serried` or `n=3` don't seem to work for text notes (they do work for notes at the bottom). Any help would be much appreciated.

Re: [NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joey McCollum via ntg-context
Joel, I've attempted to incorporate most of these features for the SBL citation style (which derives most of the same rules from Chicago) for ConTeXt. You can use my code in https://github.com/jjmccollum/context-sbl as a template for now, if you'd like; we're still waiting for

Re: [NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 21.12.2021 um 18:51: [...] \define[3]\ifisempty{%         \setbox0=\hbox{#1\unskip}%         \ifdim\wd0=0pt             #2%         \else             #3%         \fi }% No need for your own command because ConTeXt already provides \doifemptyelse which do

[NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joel via ntg-context
I could not find any existing solution for using Chicago-Turabian "note" style in ConTeXt, so I have started my own attempt. Chicago-Turabian uses footnotes to display the author's details on the same page, but also uses a bibliography to display an alphabetical list of the s

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-24 Thread Wolfgang Schuster via ntg-context
mmand (the \sc column is the fallback style). \swapface is unchanged and I'm not sure about its output because it uses the \em code for italic and slanted which means \setupbodyfontenvironment[default][em=blue] affects also the \swapface results. Thank you very much for attacking and clar

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Henning Hraban Ramm via ntg-context
t; > Attached is the output from a modified version of the styling command (the > \sc column is the fallback style). \swapface is unchanged and I'm not sure > about its output because it uses the \em code for italic and slanted which > means \setupbodyfontenvironment[default][e

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Wolfgang Schuster via ntg-context
ren't predictable and a fix is needed but the same applies also to \boldface, \slantedface and \typeface. Attached is the output from a modified version of the styling command (the \sc column is the fallback style). \swapface is unchanged and I'm not sure about its output because it uses t

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
always give an italic or roman result. -- Rik On 9/26/2021 18:37, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20: So, I am asking whether, in places where folks often use style=italic, it might be better to consider style=italicface. Bug

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20: On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I expected to see no difference in the line before and line after the

[NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Rik Kabel via ntg-context
Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic. I note a difference when I define highlighting. I expected to see no difference in the line before and line after the hairline the example below, but see that italicface adapts

Re: [NTG-context] Changing the style of author’s surname in a custom bibliographical style

2021-09-15 Thread Tomáš V via ntg-context
I’ve found an answer to my first problem. The functions, that print out the names in the list, are defined in publ-imp-author.mkvi. I copied the responsible function to publ-imp-iso690.mkiv, edited one line (see code below) and everything works as intended. Tomáš % publ-imp-iso690.mkiv \start

[NTG-context] Changing the style of author’s surname in a custom bibliographical style

2021-09-11 Thread Tomáš V via ntg-context
Greetings, I am trying to make a bibliographical style that would comply to the ISO 690 standard and I have a few questions: 1) The name of the author need to be written in the inverted format (e.g. Knuth, Donald). It is also customary to write the surname either in uppercase or in small

Re: [NTG-context] Create an enumeration style

2021-08-27 Thread Rudolf Bahr via ntg-context
On Fri, Aug 27, 2021 at 11:26:47AM +0200, Vincent Hennebert via ntg-context wrote: > On Wed, 2021-08-11 at 10:23 +0200, Hans Hagen via ntg-context wrote: > > On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: > > > > > > > > > > On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context

Re: [NTG-context] Create an enumeration style

2021-08-27 Thread Vincent Hennebert via ntg-context
On Wed, 2021-08-11 at 10:23 +0200, Hans Hagen via ntg-context wrote: > On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: > > > > > > > On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context > > cont...@ntg.nl> wrote: > > > (…) > > > core-con.lua (line 1155): > > > > > > local ordi

Re: [NTG-context] Create an enumeration style

2021-08-13 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 11.08.2021 um 12:57: I forgot this : how to reduce the font size for the exponents "er", "e" ? The exponents are placed with \high and you can change the style with     \setuphigh[style=...] but this affects all texts which

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Otared Kavian via ntg-context
> On 11 Aug 2021, at 10:19, Thomas A. Schmitz via ntg-context > wrote: > > >> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context >> wrote: >> >> Thanks for the example and the fix, but I would rather think that the « >> french » part of ordinals should be >> >> french = function

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Fabrice Couvreur via ntg-context
I forgot this : how to reduce the font size for the exponents "er", "e" ? Thanks Fabrice Le mer. 11 août 2021 à 12:41, Fabrice Couvreur a écrit : > Hi Wolfgang, > Many thanks > Fabrice > > Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context < > ntg-context@ntg.nl> a écrit : > >> On 8/11/202

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Many thanks Fabrice Le mer. 11 août 2021 à 10:23, Hans Hagen via ntg-context a écrit : > On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: > > > > > >> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context < > ntg-context@ntg.nl> wrote: > >> (…) > >> core-con.lua (lin

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Hans Hagen via ntg-context
On 8/11/2021 10:09 AM, Otared Kavian via ntg-context wrote: On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context wrote: (…) core-con.lua (line 1155): local ordinals = { [...] french = function(n) if n == 1 then return "er" + else + retur

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Thomas A. Schmitz via ntg-context
> On 11. Aug 2021, at 10:09, Otared Kavian via ntg-context > wrote: > > Thanks for the example and the fix, but I would rather think that the « > french » part of ordinals should be > > french = function(n) > if n == 1 then > return « er" >

Re: [NTG-context] Create an enumeration style

2021-08-11 Thread Otared Kavian via ntg-context
> On 9 Aug 2021, at 18:10, Wolfgang Schuster via ntg-context > wrote: > (…) > core-con.lua (line 1155): > > local ordinals = { > [...] > french = function(n) > if n == 1 then > return "er" > + else > + return "e" > end > end, > } Hi Wolf

Re: [NTG-context] Harvard bibliography style

2021-08-10 Thread Thomas A. Schmitz via ntg-context
To get you started: the APA standards are defined in publ-imp-apa.mkvi and publ-imp-apa.lua. You could try and copy these files to different names (beginning with publ-imp-) and then make changes. You’ll have to replace the “apa:” prefix with the name you give your own style. From my experience

Re: [NTG-context] Harvard bibliography style

2021-08-10 Thread Jorge Manuel via ntg-context
Alan, Sorry for the insistence, but I need some help in setting up my bibliography. I want to continue to use context, but there is no out-of-the-box solution for bibliographic references that are based on the harvard agsm style (this is the standard in my country). 1. Parenthetical citations

Re: [NTG-context] Create an enumeration style

2021-08-09 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur schrieb am 09.08.2021 um 14:16: Hi Wolfgang, Thank you for your suggestion. I tested the code and the result is not what I expected from the second item : "2 exemple" instead of "2^{e} exemple", "3 exemple" instead of "3^{e} exemple" ... core-con.lua (line 1155): local ordin

Re: [NTG-context] Create an enumeration style

2021-08-08 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 08.08.2021 um 17:47: Hello, Is it possible to create an enumeration style to get this : 1 ^ {er} exemple 2 ^ {e} exemple 3 ^ {e} exemple The conversion needs a fix but this is how you can do it. \defineenumeration   [test]   [text

[NTG-context] Create an enumeration style

2021-08-08 Thread Fabrice Couvreur via ntg-context
Hello, Is it possible to create an enumeration style to get this : 1 ^ {er} exemple 2 ^ {e} exemple 3 ^ {e} exemple Thanks Fabrice ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] \setupinitial: style Parameter resets size

2021-07-25 Thread Axel Kielhorn
Hi, since the lettrine module does not work with LMTX, I’ve looked into \setupinitial. (There is a different thread about this.) There is a „style“ parameter to change the style, but whenever I change the style, the font size is reset. This is not what I expected. This was the case in context

Re: [NTG-context] Harvard bibliography style

2021-07-16 Thread Jorge Manuel
Alan, Thanks for your reply and support. I have found some diferences (I’m still search for more) APA.   -> Harvard Citation: (Author, year) -> (Author year) (No comma) Bibliography: APA: Preston, N. (2014). Understanding ethics (4th ed.). The Federation Press. HARVARD: Preston, N 2014, Under

Re: [NTG-context] Harvard bibliography style

2021-07-16 Thread Alan Braslau
On 16/07/21 20:05, Jorge Manuel wrote: Dear Sirs Is there a way to set my bibliography style to Harvard specifications? Tanks four your support Have a nice day Jorge Magalhães There is no Harvard bibliography specification, but the system is designed to be totally configurable. What is

[NTG-context] Harvard bibliography style

2021-07-16 Thread Jorge Manuel
Dear Sirs Is there a way to set my bibliography style to Harvard specifications? Tanks four your support Have a nice day Jorge Magalhães ___ If your question is of interest to others as well, please add an entry

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

2021-05-28 Thread Rik Kabel
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, thoug

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

2021-05-28 Thread Alan Braslau
xplains 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 purpose

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 rea

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 us

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

2021-05-28 Thread Alan Braslau
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 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 "unkno

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, Bar}

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

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

2021-05-24 Thread Rik Kabel
in the 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 wit

[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] 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 rendered

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

[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 c

  1   2   3   4   5   6   7   8   >