Re: [NTG-context] minimum working example plus (output)

2021-11-14 Thread skyhorse--- via ntg-context
Hans Hagen via ntg-context wrote: > On 11/14/2021 12:26 AM, skyhorse--- via ntg-context wrote: > > Here is the minium example which I took from the > > Wikigarden a few minutes ago. > > > > \def\T#1{% > >\startitemize[#1,joinedup] > >

Re: [NTG-context] minimum working example plus (output)

2021-11-14 Thread Hans Hagen via ntg-context
On 11/14/2021 12:26 AM, skyhorse--- via ntg-context wrote: Here is the minium not-working example which I took from the Wikigarden a few minutes ago. \def\T#1{% \startitemize[#1,joinedup] \item This is a bullet of type #1. \stopitemize } \starttext \dorecurse{9}{\T

[NTG-context] minimum working example plus (output)

2021-11-13 Thread skyhorse--- via ntg-context
Here is the minium not-working example which I took from the Wikigarden a few minutes ago. \def\T#1{% \startitemize[#1,joinedup] \item This is a bullet of type #1. \stopitemize } \starttext \dorecurse{9}{\T\recurselevel} \stoptext Compiling this into a pdf file with context

Re: [NTG-context] issue importing metadata from PDF

2021-11-12 Thread Hans Hagen via ntg-context
tead of strings, after checking that with: \startluacode function document.transfer_metadata(name) local main_doc = lpdf.epdf.load(name) context(type(main_doc.Info.ModDate)) context(type(main_doc.Info.Title)) end \stopluacode Would it be possible that LMTX can deal with th

Re: [NTG-context] Problem with Google Font 'Vollkorn'

2021-11-12 Thread Henning Hraban Ramm via ntg-context
tem > ConTeXt ver: 2020.03.10 14:44 MKIV beta fmt: 2020.6.8 int: > english/english > > fonts > otf loading > loading > 'MYPATH/texmf/fonts/truetype/google/Vollkorn-Regular.ttf', hash > 'vollkorn-regular' > fonts > otf loadi

[NTG-context] issue importing metadata from PDF

2021-11-12 Thread Pablo Rodriguez via ntg-context
transfer_metadata(name) local main_doc = lpdf.epdf.load(name) context(type(main_doc.Info.ModDate)) context(type(main_doc.Info.Title)) end \stopluacode Would it be possible that LMTX can deal with these objects and import them as strings? Many thanks

[NTG-context] Problem with Google Font 'Vollkorn'

2021-11-12 Thread Michael Urban via ntg-context
fonts/truetype/google/Vollkorn-Regular.ttf', hash 'vollkorn-regular' fonts > otf loading > loading failed due to read error fonts > defining > forced type 'ttf' of 'Vollkorn-Regular' not found fonts > defining > font

Re: [NTG-context] Any initial thoughts on luau?

2021-11-08 Thread Ramkumar KB via ntg-context
t;>> Yesterday, Roblox announced - Luau - https://luau-lang.org/why > >>> <https://luau-lang.org/why> - mainly adding linting and > >>> type-checking features. > >>> > >>> Being compatible with Lua 5.1 is probably a bummer but nonetheless > &

Re: [NTG-context] Any initial thoughts on luau?

2021-11-06 Thread Hans Hagen via ntg-context
inting and type-checking features. Being compatible with Lua 5.1 is probably a bummer but nonetheless would be interesting to hear about this from this community. for sure i need more than an email to give a real answer (and some can be read between the lines of the history documents / articles t

Re: [NTG-context] Any initial thoughts on luau?

2021-11-06 Thread Michal Vlasák via ntg-context
On Fri Nov 5, 2021 at 9:14 PM CET, Hans Hagen via ntg-context wrote: > On 11/5/2021 6:23 PM, Ramkumar KB via ntg-context wrote: > > Hello, > > > > Yesterday, Roblox announced - Luau - https://luau-lang.org/why > > <https://luau-lang.org/why> - mainly adding linti

Re: [NTG-context] Any initial thoughts on luau?

2021-11-05 Thread Hans Hagen via ntg-context
On 11/5/2021 6:23 PM, Ramkumar KB via ntg-context wrote: Hello, Yesterday, Roblox announced - Luau - https://luau-lang.org/why <https://luau-lang.org/why> - mainly adding linting and type-checking features. Being compatible with Lua 5.1 is probably a bummer but nonetheless wou

[NTG-context] Any initial thoughts on luau?

2021-11-05 Thread Ramkumar KB via ntg-context
Hello, Yesterday, Roblox announced - Luau - https://luau-lang.org/why - mainly adding linting and type-checking features. Being compatible with Lua 5.1 is probably a bummer but nonetheless would be interesting to hear about this from this community. Thank you. best regards, Ramkumar

Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-24 Thread Wolfgang Schuster via ntg-context
th of them to test if everything works as expected. Wolfgang %D \module %D [ file=type-imp-kurier, %Dversion=2021.10.24, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Kurier, %D author=Hans Hagen, %D date=\currentdate, %D copyright={

Re: [NTG-context] upload

2021-10-22 Thread Michal Vlasák via ntg-context
^-1 +* Cg(Cc("sec") * (n + Cc( 0)))^-1 + *(Cg(Cc("tzsgn") * sign) +* Cg(Cc("tzh") * (n + Cc( 0))) * P(":")^-1 +* Cg(Cc("tzm") * (n + Cc( 0^-1 , rawset) function converters.totime(s) @@ -1987,7 +1992,

Re: [NTG-context] Reading ConTeXt metadata values into Lua

2021-10-17 Thread Ramkumar KB via ntg-context
ate() > > \stopluacode > > \stopbuffer > > > > \starttext > > > > \dorecurse > > {\randomnumber{5}{10}} > > {\getbuffer[pagenumber] > > \page} > > > > \stoptext > > As addendum ... The problem in general with macros is th

Re: [NTG-context] Reading ConTeXt metadata values into Lua

2021-10-16 Thread Hans Hagen via ntg-context
. The problem in general with macros is that one doesn't really knows by looking at the name what actually happens when it expands, which can be a lot. Now, because \totalnumberofpages is supposed to 'return' a number and not typeset something styled (which itself involved macro ex

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-12 Thread Rudd, Kevin via ntg-context
pect that there's an easy way either in MP or ConTeXt, but I haven't found it yet. % \OutlinedText[glyph][outline]{text} \def\OutlinedText{\dodoubleempty\doOutlinedText} \def\doOutlinedText[#1][#2]#3% {% % \type{#1}::\type{#2}::\type{#3

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-08 Thread Rudd, Kevin via ntg-context
e]{text} \def\OutlinedText{\dodoubleempty\doOutlinedText} \def\doOutlinedText[#1][#2]#3% {% % \type{#1}::\type{#2}::\type{#3} \ifsecondargument \makeOutlinedText{#1}{#2}{#3}% \else\iffirstargument \makeOutlinedText{#1}{black}{#3}% \else

Re: [NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-08 Thread Hans Hagen via ntg-context
%%% % \OutlinedText[glyph][outline]{text} \def\OutlinedText{\dodoubleempty\doOutlinedText} \def\doOutlinedText[#1][#2]#3% {%     % \type{#1}::\type{#2}::\type{#3}     \ifsecondargument         \makeOutlinedText{#1}{#2}{#3}%     \else\iffirstargument         \makeOutlinedText{#1}{blac

[NTG-context] Outlined text (from MP) inline in ConText has incorrect baseline (i.e. no depth)

2021-10-07 Thread Rudd, Kevin via ntg-context
inedText{\dodoubleempty\doOutlinedText} \def\doOutlinedText[#1][#2]#3% {% % \type{#1}::\type{#2}::\type{#3} \ifsecondargument \makeOutlinedText{#1}{#2}{#3}% \else\iffirstargument \makeOutlinedText{#1}{black}{#3}% \else \makeOutlinedText{white}{black}{#

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
argument of \abbreviation, then > it works as expected: > > ``` > \expanded{\abbreviation[\currentbtxtag]{\btxdoif{shorthand}{\doifinsetelse{\btxflush{type}}{plainttitle, > plainshorthand}{\btxflush{shorthand}}{\btxstartstyleandcolor[sbl:\s!list:title:\currentbtxcategory]\btxusecomm

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
Interestingly, if I remove the contents of the btx:sbl:inline:shorthand command and paste them inline as the third argument of \abbreviation, then it works as expected: ``` \expanded{\abbreviation[\currentbtxtag]{\btxdoif{shorthand}{\doifinsetelse{\btxflush{type}}{plainttitle, plainshorthand

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
:shorthand \btxdoif {shorthand} { % If the entry is of type plaintitle or plainshorthand, then do not apply formatting to its shorthand \doifinsetelse{\btxflush{type}}{plainttitle, plainshorthand} { \btxflush{shorthand} } { \btxstartstyleandcolor[sbl:\s!list:title:\currentb

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
ups btx:sbl:cite:short > ... > \btxdoif {shorthand} { > \abbreviation[\currentbtxtag]{\btxflush{shorthand}}{\btxflush{title}} > } > ... > \stopsetups > ``` > > But even if I invoke \placelistofabbreviations with the "criterium=all" > option, noth

Re: [NTG-context] Short forms and abbreviations in bibliography

2021-10-06 Thread Joey McCollum via ntg-context
ations with the "criterium=all" option, nothing appears in the list. In some ways, this issue is related to the now-resolved issue "Which way to type greek letters in synonym list?" from 2010. The problem is that in this case, I have to use a macro even in the first input to \abb

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

2021-09-26 Thread Wolfgang Schuster via ntg-context
] \starttext {\em abc {\em def} ghi}: \type{\em} \emph{abc {\emph def} ghi}: \type{\emph} \emEm{abc {\emEm def} ghi}: \type{\emEm \definehighlight[style=\em]} \emIf{abc {\emIf def} ghi}: \type{\emIf \definehighlight[style=italicface]} \hairline \emIt{abc {\emIt def} ghi

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

2021-09-26 Thread Rik Kabel via ntg-context
with italic for this example \definehighlight     [emIt]     [style=italic] \definehighlight     [emIf]     [style=italicface] \definehighlight     [emEm]     [style=\em] \starttext {\em abc {\em def} ghi}: \type{\em} \emph

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

2021-09-26 Thread Wolfgang Schuster via ntg-context
    [emIt]     [style=italic] \definehighlight     [emIf]     [style=italicface] \definehighlight     [emEm]     [style=\em] \starttext {\em abc {\em def} ghi}: \type{\em} \emph{abc {\emph def} ghi}: \type{\emph} \emEm{abc {\emEm def

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

2021-09-26 Thread Rik Kabel via ntg-context
    [emIf]     [style=italicface] \definehighlight     [emEm]     [style=\em] \starttext {\em abc {\em def} ghi}: \type{\em} \emph{abc {\emph def} ghi}: \type{\emph} \emEm{abc {\emEm def} ghi}: \type{\emEm \definehighlight[style=\em]} \emIf{abc {\emIf

Re: [NTG-context] Exclude bibliographic entries from list even when cited with \cite

2021-09-16 Thread Hans Hagen via ntg-context
r publication information should be specified for the current citation or subcitation \let\btxcurrentsubcitetype\empty% the type of subcitation we're invoking here \def\btxsblordinal is better, but as you're using protection, even better is \def\btx_sbl_ordinal i also wonder abo

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Joey McCollum via ntg-context
txauthor" function could populate a "combiners" array of length "max" >> > with a specific authorconversion for each author in the split; for most >> > authorconversions, all entries in this array would be the same, but for >> > authorconversions like "invertedfir

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Joey McCollum via ntg-context
r" function could just > > reference combiners[i] instead of combiner. > > > > Joey > > > > On Fri, Sep 3, 2021 at 10:48 PM Joey McCollum > > mailto:jmccollum20140...@gmail.com>> > wrote: > > > > Hi, > > > > I mentio

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-15 Thread Hans Hagen via ntg-context
detail. I'd like to define a new authorconversion that renders the first author in a list differently than the remaining authors in the list. Specifically, I'd like to use the "inverted" authorconversion for the first author and the "normal" auth

Re: [NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-14 Thread Joey McCollum via ntg-context
hors in the list. Specifically, I'd like to use the > "inverted" authorconversion for the first author and the "normal" > authorconversion for the rest. > > In the newer bibl-bib.lua file, I can see what I might have to modify to > accomplish this (I added the

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread kauśika cittūr via ntg-context
connect = true, > >color = "darkblue", > >close = true, > >points = {data.csv}, > >labels = {"•"}, > > > > ] > > > >}, > > > >] withpen pen

Re: [NTG-context] Axis macro in MetaFun

2021-09-11 Thread Hans Hagen via ntg-context
rue, points = {data.csv}, labels = {"•"}, ] }, ] withpen pencircle scaled 0.5mm; \stopMPcode It depends on how one has data in the csv, You can patch mlib-scn.lmt (line 659) if type(v) == "table" then retu

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hans Hagen via ntg-context
i once played with this (context speak): \def\textbf#1{\type{}#1\type{}} so, you define all the commands that you use (normally a subset of what a macro package provides, you just ignore what doesn't make sense) then you define a very large page (say A1) that you use completely then you ty

[NTG-context] io.loaddata() or buffer.assigns()

2021-09-08 Thread Thierry Horsin via ntg-context
Hi everybody Are there any type of files that is required by io.loaddata or/and buffers.assign ? The following code works pretty well if there is no compilation problem by g++. But it fails, i.e. \typebuffer[Mybuffer], does not produce anything if g++ fails (due to some errors in the cpp) I

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-08 Thread Axel Kielhorn via ntg-context
imp-zint) mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman12-regular.otf, dejavusansmono.ttf mkiv lua stats > font engine: otf 3.119, afm 1.513, tfm 1.000, 8 instances, 3 shared in backend, 3 common vecto

[NTG-context] error: (nodes): fuzzy token cleanup in whatsit node

2021-09-07 Thread Sylvain Hubert via ntg-context
onts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded backend > xmp > using file '/home/me/apps/texlive/2021/texmf-dist/tex/context/base/mkiv/lpdf-pdx.xml' pages > flushing re

[NTG-context] error: (nodes): fuzzy token cleanup in whatsit node ...

2021-09-06 Thread Sylvain Hubert via ntg-context
\stopchoice \item 0 \startchoice \item 0 \item 0 \item 0 \item 0 \stopchoice \item 0 \startchoice \item 0 \item 0 \item 0 \item 0 \stopchoice \stopitemize \stoptext % ! error: (nodes): fuzzy token cleanup in whatsit node with type whatsit and subtype 29mtx-context | fatal error: return code: 256

Re: [NTG-context] zint barcode module on LMTX/MacOS

2021-09-06 Thread Henning Hraban Ramm via ntg-context
s: latinmodern-math.otf, lmroman12-regular.otf, dejavusansmono.ttf mkiv lua stats > font engine: otf 3.119, afm 1.513, tfm 1.000, 8 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.228 seconds mkiv lua stats > result saved in file: /Users/hraban/lmtx/tex/t

Re: [NTG-context] getting line numbers

2021-09-04 Thread thierry horsin via ntg-context
To: mailing list for ConTeXt users Cc: Thierry Horsin Subject: Re: [NTG-context] getting line numbers Message-ID: <807e4b7c-97ae-e20e-3207-28393544c...@xs4all.nl> Content-Type: text/plain; charset=utf-8; format=flowed in this case, thinking a bit different is easier ... \sta

[NTG-context] Implementing a custom authorconversion for bibliographies

2021-09-03 Thread Joey McCollum via ntg-context
at(author,combiner,what,settings) if type(combiner) == "string" then combiner = authors[combiner or "normal"] or authors.normal end local split = splitauthors(author) local setting = settings[what] local etallimit, etaldisplay, etaltext = 1000, 1000, &qu

[NTG-context] No formula in the pdf

2021-09-01 Thread Ursula Hermann via ntg-context
slevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.111, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common v

[NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-29 Thread Benjamin Buchmuller via ntg-context
preparing a MWE, I further realized that I get the correct output when between \startTEXpage ... \stopTEXpage \starttext Embedded via \type{\externalfigure} PNG \externalfigure[drawing.png][width=72.631mm,height=21.702mm] \blank[big] PDF \externalfigure[drawing.pdf] \startTEXpage % this

Re: [NTG-context] Handling of negative values in the statistical-charts?

2021-08-28 Thread Ramkumar KB via ntg-context
Hi, I have added an 'advanced' type for line & bar graphs to handle the use case for -ve y-values / 4th quadrant graphs. It works similar to 'basic' but works for -ve y-values (i.e. for the 4th quadrant). PFA the amended lua file (zip file) and sample of line graph. \

[NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-08-27 Thread Joey McCollum via ntg-context
few commands defined in publ-imp-ini.mkiv that can help conditionally render author fields according to cite parameters rather than list parameters. The first, \btxflushauthornormal{author} (where author can be replaced by another name-type field, if I understand correctly), will flush the

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Joey McCollum via ntg-context
tor" field: if the > editor occurs in the "author" position (i.e., at the start of the citation, > which happens when a book has an editor but no author), then the > authorconversion should be inverted, but if the editor occurs after the > author position (which happens

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-27 Thread Ágoston Volcz via ntg-context
ormalshort. The publ-imp-chicago.lua file >> addresses this by specifying an "ineditor" set containing only the "editor" >> field (essentially making it an alias to be used later), and then >> publ-imp-chicago.mkvi defines a style specifically for this field. I cou

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
t; publ-imp-chicago.mkvi defines a style specifically for this field. I could > solve the authorconversion, etallimit, and etaldisplay problems using an > "entryauthor" field, but is this actually the recommended way to do this? > Using this approach, I would have to have dup

Re: [NTG-context] Different author rendering in entry citation vs. list

2021-08-26 Thread Joey McCollum via ntg-context
ally for this field. I could solve the authorconversion, etallimit, and etaldisplay problems using an "entryauthor" field, but is this actually the recommended way to do this? Using this approach, I would have to have duplicate sets for nearly all "author"-type fields to ensure that

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Adam Reviczky via ntg-context
MTX and > MKIV). > > The easy way is to create a new heading for the appendices (e.g. > \extrachapter) and set the label you want to use in the list. > > \setuplist [chapter] [label=chapter] > \setuplist [extrachapter] [label=appendix] > > > A co

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Wolfgang Schuster via ntg-context
want to use in the list. \setuplist [chapter] [label=chapter] \setuplist [extrachapter] [label=appendix] A complexer solution where you can keep \chapter in the appendices can be achieved with a customized number type and the use of the processor mechanism to set the

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Benjamin Buchmuller via ntg-context
me=on, framecolor=black, background=, location=paragraph, ] \definevimtyping[vimR] [ syntax=r, space=off, lines=split, numbering=yes, numberstep=5, alternative=pscolor, margin=.5em, style={\switchtobodyfont

[NTG-context] pgfplots module needs update from December

2021-08-20 Thread Gavin via ntg-context
\begin {axis}[#1,data cs=polar,axis type=polar] ] This bug was described and fixed on the pgfplots GitHub repository in December (https://github.com/pgf-tikz/pgfplots/pull/382). I fixed the bug on my personal installation, but when I update the modules using the wiki instructions, the bug r

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-12 Thread Pablo Rodriguez via ntg-context
On 8/12/21 3:02 AM, Michal Vlasák via ntg-context wrote: > On Thu Aug 12, 2021 at 12:55 AM CEST, Hans Hagen via ntg-context wrote: >> Hi >> >>> -Type = pdfconstant(MediaPermissions), >>> +Type = pdfconstant("MediaPermi

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Michal Vlasák via ntg-context
On Thu Aug 12, 2021 at 12:55 AM CEST, Hans Hagen via ntg-context wrote: > Hi > > > -Type = pdfconstant(MediaPermissions), > > +Type = pdfconstant("MediaPermissions"), > That's an interesting one ... easilly goes unnoticed ...

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Hans Hagen via ntg-context
Hi -Type = pdfconstant(MediaPermissions), +Type = pdfconstant("MediaPermissions"), That's an interesting one ... easilly goes unnoticed .

Re: [NTG-context] JavaScript in multimedia PDF

2021-08-11 Thread Michal Vlasák via ntg-context
C = bc, AA = actions, @@ -693,7 +694,7 @@ local function insertrendering(specification) -- } -- } local parameters = pdfdictionary { - Type = pdfconstant(MediaPermissions), + Type = pdfconstant(&q

[NTG-context] Both pdfinfo & exiftool have trouble with 1.0.4 but works with 1.0.3

2021-08-09 Thread Ramkumar KB via ntg-context
08:10 10:19:52+08:00 File Permissions : -rwxr-x--- File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.7 Linearized : No Warning : Error reading stream data ~/exiftool/Image-Exi

Re: [NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Wolfgang Schuster via ntg-context
is? A fix is needed in layo-ini.lmt, maybe not in the same way as below but the value has to be stored in canvas.copies. function layouts.setupcanvas(specification) [...] -- local copies = specification.copies if type(copies) == "number" and copies < 2 then

Re: [NTG-context] Additional font variants

2021-08-01 Thread Hans Hagen via ntg-context
hanis is rather complex also because we need to retain performance; some of thsn is still present in mkiv/lmtx unless we drop old-school type 1 setups (again it's the design sizes that complicate that but only cm had that so in the end we can as well drop that bit too) compact fonts on the oth

Re: [NTG-context] ligature exceptions

2021-07-28 Thread Hans Hagen via ntg-context
follow up on a question by Alan about special treatment of dropped caps I wonder -- if I can make this one more clever (probably in a few more dev steps). For instance -- injecting nodes or replacing nodes. It's a prelude to a kind of lpeg for nodes, -- although (given experiences so far) w

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-26 Thread Hans Hagen via ntg-context
se one. a more philosophical: do "standards" or "formats" guarantee fuiture usage .. is investing time in some formats worth the effort The support for video and audio in Okular and Evince is based on Gstreamer. Explaining Gstreamer is tricky, but essentially it allows the

[NTG-context] Multimedia, PDF and ConTeXt

2021-07-26 Thread Michal Vlasák via ntg-context
limited. For example, while the multimedia mechanism supports JavaScript, (AFAIK) only Acrobat Reader supports that, this further limits the viewer support or available features, choose one. The support for video and audio in Okular and Evince is based on Gstreamer. Explaining Gstreamer is tricky,

Re: [NTG-context] ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,

2021-07-21 Thread Rudd, Kevin
enting most of my documents from compiling. Is there solution that restores \, (and friends) for abbreviated spacing in text mode that doesn't require bulk changes to all of my documents (and making the source documents hard to type/read)? I appreciate using the more verbose \thinspace in m

Re: [NTG-context] ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,

2021-07-21 Thread Hans Hagen
spacing in text mode that doesn't require bulk changes to all of my documents (and making the source documents hard to type/read)? I appreciate using the more verbose \thinspace in macros but the abbreviations have real value in bulk text, especially when heavily used. I have many

Re: [NTG-context] ntg-context Digest, Vol 205, Issue 1 // log: use \thinspace instead of \,

2021-07-21 Thread Rudd, Kevin
quire bulk changes to all of my documents (and making the source documents hard to type/read)? I appreciate using the more verbose \thinspace in macros but the abbreviations have real value in bulk text, especially when heavily used. I have many uses throughout my documents where I need a thin

Re: [NTG-context] drop cap (initial) and indentation

2021-07-19 Thread Pablo Rodriguez
uth \stoptext Sectioning commands never indent next paragraph by default. You have to type either \setuphead[chapter][indentnext=yes] or \setupheads[indentnext=yes] to enable it. If every chapter starts with an initial, \setuphead[chapter][after={\blank[2*big]\placeinitial}] enables this automaticall

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

2021-07-14 Thread Joaquín Ataz López
ConTeXt than I have. In fact I am going to study it carefully. Thank you very much, Garulfo. It would be desirable that through initiatives of this type we manage to generate a good introductory literature to this fantastic text composition system that is ConTeXt. El 14/7/21 a las 23:51, G

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

2021-07-13 Thread Joaquín Ataz López
nts. To whom should I send them? Personally for a introductory manual I would prefer the presentation of Joaquín with less colours and a little bigger type. The notes would be better at the bottom of the page, like in Joaquín document, because they are very long. But the translation is

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

2021-07-13 Thread Alain Delmotte
ry manual I would prefer the presentation of Joaquín with less colours and a little bigger type. The notes would be better at the bottom of the page, like in Joaquín document, because they are very long. But the translation is really needed fo

Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-11 Thread Ramkumar KB
Anyway, the wasy font symbol setup was never converted to mkiv so > attached is a draft. > > Up to you to complete it. From CTAN, download the type one package and > put the afm and pfb files under (e.g.) texmf-fonts/fonts/data/wasy (no > need for subdirs) and run "mtxrun --generate&quo

Re: [NTG-context] Missing symb-imp-was.mkiv ?

2021-07-10 Thread Hans Hagen
ol setup was never converted to mkiv so attached is a draft. Up to you to complete it. From CTAN, download the type one package and put the afm and pfb files under (e.g.) texmf-fonts/fonts/data/wasy (no need for subdirs) and run "mtxrun --generate" to update the file database. You can

Re: [NTG-context] names of cached images

2021-07-02 Thread Jano Kula
, only when some conversion > > is used. I'd like to cache images without any transformation. Is there > any > > conversion which doesn't alter the figure, just caches it? Is new > > conversion type needed? Or is there other way to force caching without > > conv

Re: [NTG-context] names of cached images

2021-07-02 Thread Aditya Mahajan
irectory has mkiv syntax with m_k_i_v_ > prefix. > > *Third figure* > The images are cached to a specified directory, only when some conversion > is used. I'd like to cache images without any transformation. Is there any > conversion which doesn't alter the figure, jus

Re: [NTG-context] names of cached images

2021-07-02 Thread Jano Kula
some conversion is used. I'd like to cache images without any transformation. Is there any conversion which doesn't alter the figure, just caches it? Is new conversion type needed? Or is there other way to force caching without conversion? Thank you, Jano On Wed, Jun 9, 2021 at 3:23 PM

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
ush{series} \btxflush{volume})}\btxperiod > > \stopsetups > > > > ``` > > In the setup and definition, the fields I defined do get into the > > citation correctly, but the authorconversion remains 'normal'. If I > > comment out the lines which se

Re: [NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Alan Braslau
`` In the setup and definition, the fields I defined do get into the citation correctly, but the authorconversion remains 'normal'. If I comment out the lines which set up 'normal' authorconversion for the list, everything, including the bibliography and 'entry' typ

[NTG-context] Different authorconversion for citation alternatives and bibliographic entries

2021-06-30 Thread Ágoston Volcz
ush{series} \btxflush{volume})}\btxperiod \stopsetups ``` In the setup and definition, the fields I defined do get into the citation correctly, but the authorconversion remains 'normal'. If I comment out the lines which set up 'normal' authorconversion for the list, everything, inc

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-24 Thread Hans Hagen
x is a bit more sophisticated when we pass colors, numerics, dimensions there is some guess work going on wrt the type of the variable and on the average that works ok but in lmtx we can also fetch variables so here is a basic setup for you (not much animation but it shows the idea \unpro

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Hans Hagen
a particular tool chain. YMMV. A deeper solution allows users to type the correctly curled quotes directly into the document. As with may things today this quote is rather english language centered .. tex operates in a multi lingual domain and quotes have always been dealt with using macros so th

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Thangalin
he document should be presented is best avoided, so as to keep the document decoupled from a particular tool chain. YMMV. A deeper solution allows users to type the correctly curled quotes directly into the document. ___ If yo

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-18 Thread Henning Hraban Ramm
> Am 18.06.2021 um 04:08 schrieb Thangalin : > > Hraban, > > > In what kind of workflows does your program make sense? > > Have you looked around the web lately? > > KeenWrite (https://github.com/DaveJarvis/keenwrite), my plain text editor, > can neither con

[NTG-context] Functionnames disappearing (sometimes)

2021-06-18 Thread Mikael Sundqvist
, together with the output and the typescript file. I use the latest ConTeXt version and I have cleared the cache, but no change. Maybe I'm overlooking something, but what? /Mikael functions.pdf Description: Adobe PDF document type-imp-concrete-euler.mkxl Description: Binary data functions

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-17 Thread Hans Hagen
nvert nor easily type curly quotes into the application. Recently, I added ConTeXt integration for exporting to PDF files. ConTeXt doesn't curl the quotes, which I found a little surprising (because LaTeX has a quote curling package). Not seeing an obvious solution, I coded my own library because

Re: [NTG-context] Straight Quotes / Curly Quotes

2021-06-17 Thread Thangalin
Hraban, > In what kind of workflows does your program make sense? Have you looked around the web lately? KeenWrite (https://github.com/DaveJarvis/keenwrite), my plain text editor, can neither convert nor easily type curly quotes into the application. Recently, I added ConTeXt integration

Re: [NTG-context] Trouble with using predefined typescript files

2021-06-15 Thread Hans Hagen
On 6/15/2021 6:56 AM, mastermind_ x wrote: Hello everyone, I am reading the ConTexT manual’s chapter on Typography. I want to achieve a Palatino-like small font which is bolder than the default provided by ConTeXt like in some math textbooks. So I loaded the typescript files ie type-xxx

[NTG-context] Trouble with using predefined typescript files

2021-06-14 Thread mastermind_ x
Hello everyone, I am reading the ConTexT manual’s chapter on Typography. I want to achieve a Palatino-like small font which is bolder than the default provided by ConTeXt like in some math textbooks. So I loaded the typescript files ie type-xxx stated in the chapter in turns no matter the type

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Pablo Rodriguez
the issue: --- context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-newcomputermodern.mkiv 2021-06-11 16:58:53.742990586 +0200 +++ type-imp-newcomputermodern.mkiv 2021-06-11 16:51:57.861274985 +0200 @@ -46,7 +46,7 @@ \definefontsynonym [\s!MonoItalic] [\s!file:newcmmono10-itali

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Fabrice Couvreur
> latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './hans-33.tex' open source > level 2, order 3, name '/home/viserion/LMTX/tex/texmf-context/tex/context/fonts/mkiv/type-imp-newcom

[NTG-context] yscale not working

2021-06-05 Thread Hans van der Meer
.\starttextTest \tex{externalfigure} scaling - \ConTeXt\ \contextversion\blank\type{\externalfigure[test][width=0.50\textwidth]}\crlf\externalfigure[test][width=0.50\textwidth]\blank\type{\externalfigure[test][width=0.50\textwidth,yscale=2000]}\crlf\externalfigure[test][width=0.50\textwidth,yscale=2000]\stoptext

[NTG-context] new upload

2021-05-31 Thread Hans Hagen
. The alternative interface discussed here is a bit simpler and has (at least now) less commands and, combined with local name spaces, can be easier to use in more local situations. It's also integrated in the frequently used \type {\framed} commands and has basic support at the \METAFUN

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

2021-05-28 Thread Rik Kabel
s them. But then, there might be alternatives for when one does not need to adhere to those styles. Does ConTeXt (LMTX) currently provide anything else besides apa and aps? I have read the BibTeX manual looong time ago, but I remember that there were mandatory and optional fields for each reference

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

2021-05-28 Thread Alan Braslau
and I am all > for enforcing constraints if a given bibliographic style requires > them. But then, there might be alternatives for when one does not > need to adhere to those styles. Does ConTeXt (LMTX) currently provide > anything else besides apa and aps? > > I have read the BibTeX man

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

2021-05-28 Thread Nicola
adhere to those styles. Does ConTeXt (LMTX) currently provide anything else besides apa and aps? I have read the BibTeX manual looong time ago, but I remember that there were mandatory and optional fields for each reference type. My memory may fail me, but I think that Editor and Publisher were not m

Re: [NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
solve this would be much appreciated. > > > > Hi Michael, > > Try renaming it to type-imp-DollyPro.tex (and then of course > \usetypescriptfile[type-imp-DollyPro]), that should help. This changed a > couple of months ago and was announced on the list, so shame on you for not

Re: [NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Thomas A. Schmitz
> On 28. May 2021, at 18:40, Michael Guravage > wrote: > > Any encouragement in how to resolve this would be much appreciated. > Hi Michael, Try renaming it to type-imp-DollyPro.tex (and then of course \usetypescriptfile[type-imp-DollyPro]), that should help. This chang

[NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
wgrid; the result of which I see in the typeset results. Regardless of whether a typescript files, e.g. type-DollyPro.tex, is in the texmf-tree or in the same directory as the ConTeXt source file, evoking \usetypescriptfile[type-DollyPro] fails. The log says: fonts > typescripts > unkn

<    1   2   3   4   5   6   7   8   9   10   >