[NTG-context] Re: ntg-context Digest, Vol 252, Issue 5

2025-08-07 Thread Wolfgang Schuster
Am 06.08.2025 um 23:37 schrieb Benjamin Buchmuller: Hi Mikael, Thanks for your suggestion. Unfortunately, both problems still persist. Regarding #2, I'm really curious why the scoping in framedtext doesn't work with \bgroup … \egroup. Forcing a \highlight with \direc

[NTG-context] Re: ntg-context Digest, Vol 252, Issue 5

2025-08-06 Thread Benjamin Buchmuller
Hi Mikael, Thanks for your suggestion. Unfortunately, both problems still persist. Regarding #2, I'm really curious why the scoping in framedtext doesn't work with \bgroup … \egroup. Forcing a \highlight with \directfontsetup (SomeSystemFont scaled at etc.), however works, but s

[NTG-context] Re: testing language tagging?

2025-07-29 Thread Hans Hagen via ntg-context
gr][goodies={lang-agr.llg}] % \setupbackend[format=pdf/ua-2,level=0] %\setuptagging[state=start] %\setupbackend[export=yes] %\setupbodyfont[pagella] highlight and startstop support it; we can add to more elements but when i looked at it very few made sense so in the end i commented the 'add to a

[NTG-context] testing language tagging?

2025-07-29 Thread Pablo Rodriguez via ntg-context
was: \setuptagging[state=start] \setupstructure[state=start] \setupbackend[format=pdf/ua-2] \starttext \startparagraph \doloopoverlist{agr, ua, deo, farsi, cn, kr, gr, es-la, mo} {\setuphighlight[whatever][language=\recursestring] \highlight[whatever] {testing language

[NTG-context] Re: Images and Accessibility (ConTeXt LMTX 2025.04.28)

2025-04-29 Thread Wolfgang Schuster
ument" }, documentpart = { pua = "ua1", pdf = "NonStruct" }, division = { pua = "ua1", pdf = "Part" }, paragraph = { pua = "ua1", pdf = "P" }, subparagraph = { pua = "ua1

[NTG-context] Re: Alternate text for images?

2025-04-09 Thread Pablo Rodriguez via ntg-context
pua = "ua1", pdf = "Document" }, documentpart = { pua = "ua1", pdf = "NonStruct" }, division = { pua = "ua1", pdf = "Part" }, paragraph = { pua = "ua1", pdf = "

[NTG-context] Re: automatic character comparison

2025-03-05 Thread Pablo Rodriguez via ntg-context
ht"); compare them using a script which then >> modifies the buffers to highlight the changes in red or green; >> and then \getbuffer the buffers from inside the columnset commands >> to print them. Many thanks for your reply, Bruce. I think this might be a a feasible approach

[NTG-context] Re: automatic character comparison

2025-03-04 Thread Bruce Horrocks
ot; > & "right"); compare them using a script which then modifies the buffers to > highlight the changes in red or green; and then \getbuffer the buffers from > inside the columnset commands to print them. > > There's a good discussion of comparison algorithms a

[NTG-context] Re: automatic character comparison

2025-03-04 Thread Bruce Horrocks
fferent, or > just missing or being added). I'm not aware of anything built-in. One way would be to use buffers: you enter your text into two buffers ("left" & "right"); compare them using a script which then modifies the buffers to highlight the changes in

[NTG-context] Re: [t-vim] doesn't load, can't find `module-catcodes`

2025-02-04 Thread Henning Hraban Ramm
Am 04.02.25 um 08:15 schrieb Kirill Davidov: Unfortunately, the issue hasn't been fixed. I tried compiling a test document that just loads the module and has some text and it fails on the `\usemodule`. The compilation log says that `vim` is loaded, `syntax-highlight` and `syntax-groups

[NTG-context] Re: [t-vim] doesn't load, can't find `module-catcodes`

2025-02-03 Thread Kirill Davidov
and it fails on the `\usemodule`. The compilation log says that `vim` is loaded, `syntax-highlight` and `syntax-groups` are loaded, but it could not find `filter` and `module-catcodes`. Should there perhaps be a `t-module-catcodes` (and/or `t-filter`) file somewhere within module files? I have

[NTG-context] syntax highlighting: pandoc uses Kate

2024-09-16 Thread Henning Hraban Ramm
rently, it can switch contexts to Lua, XML, MetaPost etc. But the list of commands is quite short. In case the author (Philipp A.) is listening: Is this intentional (“not necessary, highlight everything that starts with a backslash”)? Otherwise it probably would make sense to read in the interface

[NTG-context] Re: How to hide any content?

2024-07-29 Thread Joel via ntg-context
> In this case, something that should not be displayed (the footnote > mark), is not displayed, but it still creates an extra vertical space. > If you highlight the text, you can see there is a blank text space > created there. > > Throwing % signs everywhere doesn't he

[NTG-context] Re: How to hide any content?

2024-07-29 Thread Hans Hagen via ntg-context
, something that should not be displayed (the footnote mark), is not displayed, but it still creates an extra vertical space. If you highlight the text, you can see there is a blank text space created there. Throwing % signs everywhere doesn't help at all: \starttext% % \chapter{test}\starteffect[h

[NTG-context] Re: How to hide any content?

2024-07-29 Thread Joel via ntg-context
), is not displayed, but it still creates an extra vertical space. If you highlight the text, you can see there is a blank text space created there. Throwing % signs everywhere doesn't help at all: \starttext% % \chapter{test}\starteffect[hidden]\footnote{here is footnote text}\stopeffect% \

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-28 Thread Gerion Entrup
t;>> wanted to simplify the code in the same move. > >>>>> I discovered headcommand for that, but struggled to set the text in an > >>>>> highlight _and_ make a colon at the end. > >>>> Not sure what exactly you want, but how about: >

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-27 Thread Wolfgang Schuster
process to convert an itemize part to a description and wanted to simplify the code in the same move. I discovered headcommand for that, but struggled to set the text in an highlight _and_ make a colon at the end. Not sure what exactly you want, but how about: \definehighlight[hl][style={\m

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight (now: \definestartstop)

2024-06-24 Thread Gerion Entrup
t;>> > >>> I was in the process to convert an itemize part to a description and > >>> wanted to simplify the code in the same move. > >>> I discovered headcommand for that, but struggled to set the text in an > >>> highlight _and_ make a colon at th

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Wolfgang Schuster
headcommand for that, but struggled to set the text in an highlight _and_ make a colon at the end. Not sure what exactly you want, but how about: \definehighlight[hl][style={\m{>}\,\switchtobodyfont[tt]}] % This is the wrong way to define such a command as '>' is not part of the style.

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Gerion Entrup
discovered headcommand for that, but struggled to set the text in an > > highlight _and_ make a colon at the end. > > Not sure what exactly you want, but how about: > > \definehighlight[hl][style={\m{>}\,\switchtobodyfont[tt]}] > % This is the wrong way to define such a

[NTG-context] Re: Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Aditya Mahajan
On Mon, 24 Jun 2024, Gerion Entrup wrote: > Hi, > > I was in the process to convert an itemize part to a description and wanted > to simplify the code in the same move. > I discovered headcommand for that, but struggled to set the text in an > highlight _and_ make a colon at

[NTG-context] Use headcommand in \definedescription together with \definehighlight

2024-06-24 Thread Gerion Entrup
Hi, I was in the process to convert an itemize part to a description and wanted to simplify the code in the same move. I discovered headcommand for that, but struggled to set the text in an highlight _and_ make a colon at the end. Do you know, if this is possible? Here is a MWE

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

2024-04-25 Thread Gerion Entrup
some specification for your short tag-based citation style? > > > > biblatex implements this with the "alphabetic" style. I'm not aware of > > a specification, though. Does the "short" form in ConTeXt exist for a > > specific rea

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

2024-04-23 Thread Gerion Entrup
customize a cite format in a bibliography. Currently, > > > I'm using the aps style which fits so far, except of the plain number > > > as reference. In concrete, I want to change the following: > > > - Use the first letter of the last name and the year as reference &g

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Gerion Entrup
cite format in a bibliography. Currently, > > I'm using the aps style which fits so far, except of the plain number > > as reference. In concrete, I want to change the following: > > - Use the first letter of the last name and the year as reference > > (this should b

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Alan Braslau via ntg-context
me and the year as reference > (this should be exactly the short form). It is more less also > described here [1]. > - Highlight publications of a certain author with an extra char (e.g. > '>') > > Here is a minimal example (lets assume, every occurrence of Knuth &g

[NTG-context] Customize citation format of a bibliography (use the short form as reference format)

2024-04-15 Thread Gerion Entrup
xactly the short form). It is more less also described here [1]. - Highlight publications of a certain author with an extra char (e.g. '>') Here is a minimal example (lets assume, every occurrence of Knuth should be highlighted): ``` \setupinteraction[state=start] \startbuffer

[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
mmand/ help Command/ high Command/ highlight Command/ label Command/ labellanguage Command/ labeltext Command/ labeltexts Command/ language Command/ leftlabeltext Command/ linenote Command/ low Command/ lowhigh Command/ lowmidhigh Command/ margindata Command/ mathcommand Command/ mathdoubleextensibl

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Hans Hagen via ntg-context
ct, thanks! The "\definebar[...][inlined]" doesn't look quite right though -- the issue that I'm having is that I can't figure out how to highlight across both sides of an \alignhere without any questionable hacks. Unless the new "inlined" does work across an \alignh

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Mikael Sundqvist
! > > The "\definebar[...][inlined]" doesn't look quite right though -- the > issue that I'm having is that I can't figure out how to highlight across > both sides of an \alignhere without any questionable hacks. Unless the > new "inlined" does work across a

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Max Chernoff
t I'm having is that I can't figure out how to highlight across both sides of an \alignhere without any questionable hacks. Unless the new "inlined" does work across an \alignhere and I'm just not seeing it in the example. Thanks again, -- Max _

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Hans Hagen
I've managed to find a "solution" for this, although I'd prefer something a bit less hacky. Any ideas? Also, is there a way to highlight an equation across an \alignhere? Once again, I've found a "solution", but like before, it's pretty hacky. Example file

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Hans Hagen
I've managed to find a "solution" for this, although I'd prefer something a bit less hacky. Any ideas? Also, is there a way to highlight an equation across an \alignhere? Once again, I've found a "solution", but like before, it's pretty hacky. Example fi

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
ution" for this, although I'd prefer something a bit less hacky. Any ideas? Also, is there a way to highlight an equation across an \alignhere? Once again, I've found a "solution", but like before, it's pretty hacky. Example files are attached. Thanks, -- Max \setupind

[NTG-context] Re: vim syntax highlighting bug?

2024-01-09 Thread Gerion Entrup
xt and > makes Vim stay in Lua mode when it should go back to ConTeXt mode (I’m > not too savvy of the details). > > The maintainer came up with a workaround [1] to force returning to > ConTeXt mode, although the parenthesis remains highlighted as an error. > > That highli

[NTG-context] Re: vim syntax highlighting bug?

2024-01-08 Thread Vincent Hennebert
error. That highlight bothers me, so my own workaround is to copy the lua.vim file in my own .vim/syntax folder and comment out the ‘syn match luaParenError ")"’ line (l.61 in my Vim version). Maybe playing with the ‘contained’ keyword (in lua.vim) could lead to a proper solutio

[NTG-context] Re: vim syntax highlighting bug?

2024-01-06 Thread Christian Prim via ntg-context
ersion 9.0... Hope it helps Christian Am Sa., 6. Jan. 2024 um 13:04 Uhr schrieb Damien Thiriet via ntg-context < ntg-context@ntg.nl>: > Hello, > > > Happy New Year! > > I got into a bug in my Vim syntax highlighting version. > Highlight stays in lua mode after ctxlua ma

[NTG-context] vim syntax highlighting bug?

2024-01-06 Thread Damien Thiriet via ntg-context
Hello, Happy New Year! I got into a bug in my Vim syntax highlighting version. Highlight stays in lua mode after ctxlua macro is closed. Here is a MWE, where «this should not be highlitghted as a comment indeed is. \starttext Hello! \ctxlua{context("does the parser work?")} -- t

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

2023-08-19 Thread Jethro Djan
s not interactive like it would be if I used apa:cite:authoryear and just removed the parentheses in the options. How do I get it to highlight blue and be interactive like the default behaviour when you turn on interaction? Also this is probably overkill so if there is a better way to achieve

[NTG-context] Re: Custom highlight ConTeXt syntax in AUCTEX

2023-07-19 Thread skrantajanneman
It does not highlight e.g \starttext keyword by default. The colorscheme seems adapted to LaTeX mode so I managed to fix this now for all \start - \stop commands with this code put in ~/.emacs.d/init.el (add-hook ’ConTeXt-mode-hook (lambda () (font-lock-add-keywords nil

[NTG-context] Re: Custom highlight ConTeXt syntax in AUCTEX

2023-07-19 Thread Henning Hraban Ramm
Am 19.07.23 um 15:38 schrieb Jan-Erik Hägglöf: Dear All! I've been using emacs AUCTEX for quite a while and found it very convenient to work with. One issue is the lack of syntax highlighting. https://wiki.contextgarden.net/Text_Editors says, Emacs has ConTeXt support including syntax highl

[NTG-context] Custom highlight ConTeXt syntax in AUCTEX

2023-07-19 Thread Jan-Erik Hägglöf
() (font-lock-add-keywords nil '(("\\(starttext\\)\\>" 1 font-lock-warning-face t) ("\\(stoptext\\)\\>" 1 font-lock-warning-face t) and it seems to highlight the start-st

[NTG-context] ConTeXt features in pandoc 3

2023-01-20 Thread Albert Krewinkel via ntg-context
ct to highlight source code. This already worked with HTML, LaTeX, and formats like docx, and is now also supported for ConTeXt. - *Inline code*: older versions of pandoc had some weird behavior wrt inline code in ConTeXt, switching between `\type` and `\mono`, which made it difficult to cust

Re: [NTG-context] bottlenecks

2022-12-16 Thread Henning Hraban Ramm via ntg-context
.57895496379132 mkiv lua stats > v-node processing time: 1.464 seconds mkiv lua stats > loaded tex modules: 10 requested, all found (*-filter *-libs-imp-zint *-module-catcodes *-s-fonts-show *-s-symbols-show *-scite *-syntax-groups *-syntax-highlight *-vim *-visual) mkiv lua stats > l

Re: [NTG-context] synctex problem

2022-10-15 Thread Gavin via ntg-context
useAlternatePath > % !TEX useConTeXtSyncParser >\setupsynctex[state=start, method=max] > > Syncing works well enough—though I can see no difference between method =min > and method=max, both highlight only a few words and not the entire text to be > synced, but perhaps m

[NTG-context] synctex problem

2022-10-15 Thread Alan Bowen via ntg-context
between method =min and method=max, both highlight only a few words and not the entire text to be synced, but perhaps my expectations are out of line. When I have these lines at the top of a component file and typeset the product file, I get a rootfile.synctex file, but syncing itself goes awry. Nothing

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Bruce Horrocks via ntg-context
or replace it with something that > will highlight indexed items in the text where they occur, e.g. change their > colour. > > I could do this with a global find and replace (across many files) to replace > \index with \MyIndex, say, and then define a \MyIndex that understands the

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Mikael Sundqvist via ntg-context
y, 4 September 2022 06:51 > > My own fault for not thinking head :-) but I have a largeish text with a > lot of \index{...} entries. To make life easier for the proofreader I would > like to temporarily redefine \index to wrap it or replace it with something > that will highlight indexed i

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Richard Mahoney via ntg-context
redefine \index to wrap it or replace it with something that will highlight indexed items in the text where they occur, e.g. change their colour. I could do this with a global find and replace (across many files) to replace \index with \MyIndex, say, and then define a \MyIndex that understands

[NTG-context] Quick way to proofread / check index entries?

2022-09-03 Thread Bruce Horrocks via ntg-context
My own fault for not thinking head :-) but I have a largeish text with a lot of \index{...} entries. To make life easier for the proofreader I would like to temporarily redefine \index to wrap it or replace it with something that will highlight indexed items in the text where they occur, e.g

Re: [NTG-context] MetaPost label font size

2022-07-06 Thread Hans Hagen via ntg-context
re out what struts, line distances, spacing, either of not adapt to current situation, delayed vs immediate inclusion, etc ... you can't have both worlds if course you can make some macro (or define a highl

[NTG-context] textbackground for text of different size

2021-09-12 Thread Sylvain Hubert via ntg-context
Dear List, the red highlight block in the following example is not covering the two 40pt characters: \definetextbackground[important][frame=no,background=color,backgroundcolor=red] \starttext abc\important{123{\switchtobodyfont[40pt]45}xy}z \stoptext Is there an option that fixes this? Thanks

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

2021-07-14 Thread Joaquín Ataz López
it "main flow" and "complements to main flow"    in order to    - again help the reader to tidy up concepts / ideas    - highlight the fact that complements are usually used to enrich the main flow with "non-linearity" 3/ clearly split "general/global" and

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

2021-07-14 Thread Garulfo
low" and "complements to main flow" in order to - again help the reader to tidy up concepts / ideas - highlight the fact that complements are usually used to enrich the main flow with "non-linearity" 3/ clearly split "general/global" and "specific

Re: [NTG-context] weekend upload

2021-07-12 Thread Jeong Dal
B("\boxframed{Box B}"); boxit.C("\boxframed{Box C}"); defaultdx := 0pt; defaultdy := 0pt; A.c = origin; B.w - A.e = (1cm, 0); 0.5[ A.s, B.s ] - C.n = (0, 1cm); stacking := 0; drawunboxed(A,B,C); stacking := 1; drawarrow A.s +- C.w ; drawarrow B.s +-

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
rigin;    B.w - A.e = (1cm, 0);    0.5[ A.s, B.s ] - C.n = (0, 1cm);    draw image (drawunboxed(A,B,C)) withstacking 2;    drawarrow A.s +- C.w withstacking 3 ;    drawarrow B.s +- C.e withstacking 4 ;    newpath highlight;    highlight := (A.sw -- B.se -- B.ne -- A.nw) enlarged EmWidt

Re: [NTG-context] weekend upload

2021-07-12 Thread Floris van Manen
.5[ A.s, B.s ] - C.n = (0, 1cm);   draw image (drawunboxed(A,B,C)) withstacking 2;   drawarrow A.s +- C.w withstacking 3 ;   drawarrow B.s +- C.e withstacking 4 ;   newpath highlight;   highlight := (A.sw -- B.se -- B.ne -- A.nw) enlarged EmWidth;   fill highlight withcolor "dar

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
al program. Consider the diagram shown in page 1 of the attached PDF. Suppose I want to "highlight" boxes A and B by drawing a square around them. That is easy; simply determine the bounding box of A, B (I do that manually here), and expand it a bit and draw it. Simple. See page 2. Now, supp

Re: [NTG-context] weekend upload

2021-07-12 Thread Hans Hagen
al program. Consider the diagram shown in page 1 of the attached PDF. Suppose I want to "highlight" boxes A and B by drawing a square around them. That is easy; simply determine the bounding box of A, B (I do that manually here), and expand it a bit and draw it. Simple. See page 2. Now, supp

Re: [NTG-context] weekend upload

2021-07-11 Thread Aditya Mahajan
ical program. Consider the diagram shown in page 1 of the attached PDF. Suppose I want to "highlight" boxes A and B by drawing a square around them. That is easy; simply determine the bounding box of A, B (I do that manually here), and expand it a bit and draw it. Simple. See page 2. N

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

2021-05-27 Thread Nicola
urce > level 4, order 5, name '/Users/me/Applications/context-osx-64/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.mkiv' loading > Module Catcodes (ver: 2018.04.16) close source> level 4, order 5, name '/Users/me/Applications/context-osx-64/te

Re: [NTG-context] [formatting verbatim text]

2021-04-26 Thread Floris van Manen
to include a highlight definition with white font on black background with an inframed, but that doesn't seem to work (in my definitions that is) ___ If your question is of interest to others as well, please a

Re: [NTG-context] [formatting verbatim text]

2021-04-26 Thread Hans Hagen
On 4/26/2021 10:25 AM, Floris van Manen wrote: What is the easiest way, if possible, to highlight some sections of verbatim text? given: \starttyping one two three four five six seven eight nine \stoptyping i'd like to color the word 'five' in red, or italic. \starttext \sta

[NTG-context] [formatting verbatim text]

2021-04-26 Thread Floris van Manen
What is the easiest way, if possible, to highlight some sections of verbatim text? given: \starttyping one two three four five six seven eight nine \stoptyping i'd like to color the word 'five' in red, or it

[NTG-context] Bug in generating the highlight colour in the rules-mkiv document

2020-12-06 Thread Ivan Čukić
Hi all, When compiling the rules-mkiv.tex (context/sources/general/manuals/rules) file, the highlight lines that use mp graphics are rendered in black instead of the colour defined by the file. This is visible on the three test sentences on the top of the third page "test test me and te

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

2020-11-24 Thread Aditya Mahajan
ive in its own way - and certainly acts as a visual > highlight - just not quite what I was expecting. ;-) Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

[NTG-context] Unexpected underbar behaviour in sections

2020-11-24 Thread Bruce Horrocks
.. \stopHeading and for subsections, which is where I first noticed it.) It looks quite attractive in its own way - and certainly acts as a visual highlight - just not quite what I was expecting. ;-) version 2020.11.24 00:41 -- Bruce Horrocks Hampshire, UK

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

2020-10-08 Thread Denis Maier
0 um 10:34 schrieb 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

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

Re: [NTG-context] Bar within math (amended)

2020-06-15 Thread Henning Hraban Ramm
> Am 11.06.2020 um 13:41 schrieb Axel Kielhorn : > >> Am 09.06.2020 um 20:41 schrieb Wolfgang Schuster >> : >> >> Use a textbackground to highlight parts of your text. >> >> \definetextbackground >> [Highlight] >> [frame=off, >> bac

Re: [NTG-context] Bar within math (amended)

2020-06-11 Thread Axel Kielhorn
> Am 09.06.2020 um 20:41 schrieb Wolfgang Schuster > : > > Use a textbackground to highlight parts of your text. > > \definetextbackground > [Highlight] > [frame=off, > background=color, > backgroundcolor=yellow] > > \starttext > > \m{1

Re: [NTG-context] Bar within math (amended)

2020-06-09 Thread Wolfgang Schuster
hat I can use \inframed to get background filled fully, but anyway - how about usage of "bar" for this? Use a textbackground to highlight parts of your text. \definetextbackground [Highlight] [frame=off, background=color, backgroundcolor=yellow] \starttext \m{1 + 2 = \unit{3 kilo

Re: [NTG-context] wiki update - status

2020-06-08 Thread Marcus Vinicius Mesquita
Lua from TeX" and "Calling TeX from Lua" > (section +links) in a same page > - Tools: >- segregate "core tools" and "additional tools" >- highlight existence of mtxrun and context scripts pages > - Remove former "manually made links

Re: [NTG-context] wiki update - status

2020-06-08 Thread Hans Hagen
rework the "Further reading section", add PDF links and so on - Programming & DB:   - Gather "Calling Lua from TeX" and "Calling TeX from Lua"     (section +links) in a same page - Tools:   - segregate "core tools" and "additional tools"   -

[NTG-context] wiki update - status

2020-06-07 Thread Garulfo
;, add PDF links and so on - Programming & DB: - Gather "Calling Lua from TeX" and "Calling TeX from Lua" (section +links) in a same page - Tools: - segregate "core tools" and "additional tools" - highlight existence of mtxrun and context scrip

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Wolfgang Schuster
ich can be used. Example: \setupbuffer [before=\blank\blackrule\startnarrower\BufferStyle, after=\stopnarrower\blackrule\blank] [...] \definehighlight [BufferStyle] [style=smallitalic, color=blue] Use the highlight-environment or create a new startstop-environment to apply style

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Aditya Mahajan
erride these defaults by using ":highlight" commands after sourcing the "syntax.vim" file." All three `Function`, `Delimiter` and `String` are minor groups, so they get mapped to the preferred groups, which are `Identifier`, `Special`, and `Constant`, respectively. Most co

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Aditya Mahajan
is a bug. Could you provide a complete MWE. Please find a MWE at the bottom of this post. The expected behaviour is that the keyword `function` in the JavaScript snippet and `foobar` in the Ruby snippet should be colored and in italics, as comments are. The respective Vim highlight group

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Aditya Mahajan
e MWE. Please find a MWE at the bottom of this post. The expected behaviour is that the keyword `function` in the JavaScript snippet and `foobar` in the Ruby snippet should be colored and in italics, as comments are. The respective Vim highlight groups are `javaScriptFunction` and `rubyMethodName`,

Re: [NTG-context] Custom color schemes in t-vim

2020-05-16 Thread Nicola
ease find a MWE at the bottom of this post. The expected behaviour is that the keyword `function` in the JavaScript snippet and `foobar` in the Ruby snippet should be colored and in italics, as comments are. The respective Vim highlight groups are `javaScriptFunction` and `rubyMethodName`, which bot

[NTG-context] left protruding quotations

2020-05-14 Thread Michael Guravage
,11pt] \setupbodyfontenvironment[default][em=italic] \showframe \starttext \input tufte \quotation{We thrive in information||thick worlds} because of our marvelous and everyday capacity to select, edit, single out, structure, highlight, group, pair, merge, harmonize, synthesize, focus

Re: [NTG-context] Quotation dash issues with semantic markup

2020-01-17 Thread Wolfgang Schuster
yond being non-breaking) while the others do; try switching the commented lines and re-rendering. The quotation dash itself only \emph{looks} as I want it; when I highlight and copy the text or export it to the \cap{XML} backend, it's still two dashes next to each other.  Instead, I'd l

Re: [NTG-context] Quotation dash issues with semantic markup

2019-12-30 Thread Hans Hagen
breaking) while the others do; try switching the commented lines and re-rendering. The quotation dash itself only \emph{looks} as I want it; when I highlight and copy the text or export it to the \cap{XML} backend, it's still two dashes next to each other. Instead, I'd like it to be the Uni

[NTG-context] Quotation dash issues with semantic markup

2019-12-29 Thread Sam May
doesn't require either of the explicit spacing instructions (beyond being non-breaking) while the others do. The quotation dash itself only /looks/ as I want it; when I highlight and copy the text or export it to the XML backend, it's still two dashes next to each other. Instead, I&#x

Re: [NTG-context] radiobuttons

2019-08-15 Thread Hans Hagen
forms -> highlight color -> show border hover color it badly interfering with these widgets ... there seems to be no way to turn that off (forms made with acrobat suffer a bit less because they use a funny mix of appearances and border settings and ... because they make these buttons from

Re: [NTG-context] radiobuttons

2019-08-14 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 05.08.2019 um 15:10: Of course the behaviour depends on the PDF viewer… :-( In Acrobat Pro 9 the radiobuttons work while I highlight form fields; if I switch that off, all options are checked. In Adobe Reader DC you can’t switch off form field highlighting

Re: [NTG-context] radiobuttons

2019-08-05 Thread Henning Hraban Ramm
Of course the behaviour depends on the PDF viewer… :-( In Acrobat Pro 9 the radiobuttons work while I highlight form fields; if I switch that off, all options are checked. In Adobe Reader DC you can’t switch off form field highlighting. Preview.app only highlights on mouseover and checks all

Re: [NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
P (or for other programming languages) # ># >available. # ># # ># 1. Use the scite module which provides additional styles (e.g. cpp # ># or json) but php is still missing. # ># # ># 2. Use Aditya's vim module which uses vim to highlight source code. # ># # ># Wolfgan

Re: [NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
other programming languages) # ># >available. # ># # 1. Use the scite module which provides additional styles (e.g. # >cpp # ># or json) but php is still missing. # ># # 2. Use Aditya's vim module which uses vim to highlight source # >code. # ># # Wolfgang # > # >

Re: [NTG-context] pretty printers

2019-05-08 Thread Wolfgang Schuster
# or json) but php is still missing. # # 2. Use Aditya's vim module which uses vim to highlight source code. # # Wolfgang Maybe it is a misunderstanding but how can use these modules in ConTeXt? I had in mind typesetting the code in ConTeXt like \startTEX etc. 1. Scite module \usemodule [scite]

Re: [NTG-context] pretty printers

2019-05-08 Thread Aditya Mahajan
n) but php is still missing. # # 2. Use Aditya's vim module which uses vim to highlight source code. # # Wolfgang Maybe it is a misunderstanding but how can use these modules in ConTeXt? I had in mind typesetting the code in ConTeXt like \startTEX etc. Here is an example with

Re: [NTG-context] pretty printers

2019-05-08 Thread Tomas Hala
e Aditya's vim module which uses vim to highlight source code. # # Wolfgang Maybe it is a misunderstanding but how can use these modules in ConTeXt? I had in mind typesetting the code in ConTeXt like \startTEX etc. Tomáš ___

Re: [NTG-context] pretty printers

2019-05-08 Thread Wolfgang Schuster
for PHP (or for other programming languages) available. 1. Use the scite module which provides additional styles (e.g. cpp or json) but php is still missing. 2. Use Aditya's vim module which uses vim to highlight source code. Wol

Re: [NTG-context] New logo proposal

2019-01-30 Thread Procházka Lukáš Ing .
also keep the hexagonal shape, associating chemistry; and it would also indicate or highlight relation to "TeX". But keep my notion or feeling just personal; the new logo is "nice enough" as published on wiki. Best regards, Lukas On Tue, 29 Jan 2019 19:58:40 +0100, Paul Schalck

Re: [NTG-context] style=underbar output in export

2018-10-03 Thread Wolfgang Schuster
Rik Kabel schrieb am 04.10.18 um 00:01: List, With recent betas, since a fix for tagged elements in tables, underbar processing seems to have changed (or perhaps I just noticed it after that fix). Previously, the following highlight definition worked for both pdf and export outputs

[NTG-context] style=underbar output in export

2018-10-03 Thread Rik Kabel
List, With recent betas, since a fix for tagged elements in tables, underbar processing seems to have changed (or perhaps I just noticed it after that fix). Previously, the following highlight definition worked for both pdf and export outputs: \definehighlight [Term][style={{\underbar

[NTG-context] vim \page highlight

2018-09-19 Thread Damien Thiriet
Hello list, Do you know what should I add to my ftplugin/context.vim to have \page highlighted when using ViM ? I tried to understand context.vim color syntax but this is magic to me (mapping is ok, but offtopic). Thanks, Damien Thiriet _

Re: [NTG-context] Emacs + latest beta

2018-08-30 Thread Fabrice Couvreur
ompresslevel 3 > > mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf, > > lmroman10-bold.otf, lmroman10-regular.otf, lmroman12-regular.otf > > mkiv lua stats > font engine: otf 3.104, afm 1.513, tfm 1.000, 9 > > instances, 3 shared in backend, 3 c

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Vladimir Lomov
t; mtx-context | purged files: vladimir.log, vladimir.tuc > system | total runtime: 2.525 seconds > > > TeX Output finished at Wed Aug 29 11:54:03 So no error this time, how about the resulted PDF file? >> Could you show in full your ~/.emacs file? Do you use AUCTeX

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Fabrice Couvreur
uot;) '(TeX-command-extra-options "-shell-escape") '(ansi-color-faces-vector [default default default italic underline success warning error]) '(ansi-color-names-vector ["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2&qu

  1   2   3   4   >