Good point, Wolfgang.
The Markdown is translated to XHTML then typeset as XML using the setups
listed here:
https://github.com/DaveJarvis/keenwrite-themes/tree/main/xhtml
Having an XML string replacement solution would be great. I suppose that
would help prevent substitutions within pre and code
Thangalin via ntg-context schrieb am 01.08.2022 um 21:58:
Hi list,
I'm looking to perform text replacements.
Please don't omit important information, on TeX SE you mentioned you
input is XML which means a lot more can be done than your simple TeX
based example demonstrates.
Wolfgang
Hi list,
I'm looking to perform text replacements.
\definereplacement[SubstPostmeridian][
match={[Pp].[Mm].]},
replace={\cap{pm}}
]
The \replaceword command doesn't handle periods well. The translate module
doesn't seem flexible enough to cover edge cases. Consider the following
example
receiving incremental file list
./
ctan.lsr
document-2.htm
download-1.htm
download-2.htm
logo-ade.png
logo-cts.png
logo-pod.png
rss.xml
show-fil.pdf
context/latest/
context/latest/cont-mpd.zip
context/latest/cont-ppc.zip
context/latest/cont-sci.zip
context/latest/cont-tmf.zip
Am 01.08.22 um 20:43 schrieb denis.ma...@unibe.ch:
Hi,
I have used more than one fallback, but each fallback is for a different
character range
Thank you.
I tried:
\definefontfallback[seguiFB]
[file:seguisym.ttf]
% [0x0-0xF]
[0x0007F-0xF]
[check=yes,force=no]
Hi,
I have used more than one fallback, but each fallback is for a different
character range
Denis
Von: ntg-context im Auftrag von Henning Hraban
Ramm via ntg-context
Gesendet: Montag, 1. August 2022 19:42:51
An: Henning Hraban Ramm via ntg-context
Cc:
Nobody?
I couldn’t find an example of more than one fallback, so I guess that’s
not supported?
Hraban
Am 30.07.22 um 15:51 schrieb Henning Hraban Ramm via ntg-context:
Hi,
I thought I could use more than one fallback font, but as soon as I list
fallbacks, they stop working.
In my example,
On 8/1/2022 2:29 AM, Thangalin via ntg-context wrote:
Got it working. Complete solution:
|\setupexternalfigures[ location={local,global,default},
width=\textwidth ] \defineexternalfigure[svg][width=1cm]
\defineexternalfigure[jpg][width=2cm]
\defineexternalfigure[png][width=4cm] % Won't be
Got it working. Complete solution:
\setupexternalfigures[
location={local,global,default},
width=\textwidth
]\defineexternalfigure[svg][width=1cm]\defineexternalfigure[jpg][width=2cm]\defineexternalfigure[png][width=4cm]
% Won't be applied because there's no process action.% Default