[NTG-context] behaviour sy in externalfigure
The scaling in \externalfigure[][] with option sy=number seems to have a discrete change in behaviour between sy=1.0 and sy=(not 1.0).The MWE (see below, FIGURE REMOVED BECAUSE OTHERWISE MESSAGE TOO LARGE) shows that factor sy≠1.0 is applied to the original height of the figure, but for sy=1.0 the height is changed proportional to the reduction in width.Thus the series sy=0.999 sy=1.0 sy=1.001 has a discontinuity in the scaling of height.I would expect sy=1.0 to return the figure in the original height.Is this behaviour on purpose? With the current behaviour I must provide for sy=1.0 => sy=1.001 in order to get the original height. Although not to difficult with a jump to Lua code, I would prefer not.yours sincerelydr. Hans van der Meer\starttext\ConTeXt\space version \contextversion\blank\type{\externalfigure[testfile.jpg]} source figure\crlf\externalfigure[testfile.jpg]\crlf\type{\externalfigure[testfile.jpg][width=5cm]}\crlf\externalfigure[testfile.jpg][width=5cm]\crlfExplanation: height scaled proportional to the width reduction.\blank\type{\externalfigure[testfile.jpg][width=5cm,sy=0.999]}\crlf\externalfigure[testfile.jpg][width=5cm,sy=1.001]\crlfExplanation: sy different from 1.0 applies sy to original height.\blank\type{\externalfigure[testfile.jpg][width=5cm,sy=1.0]}\crlf\externalfigure[testfile.jpg][width=5cm,sy=1.0]\crlfExplanation: sy=1.0 exactly is ignored?\blank\type{\externalfigure[testfile.jpg][width=5cm,sy=1.001]}\crlf\externalfigure[testfile.jpg][width=5cm,sy=1.001]\crlfExplanation: sy different from 1.0 applies sy to original height.\blank\stoptext testsyscaling.pdf Description: Adobe PDF document met vriendelijke groet,dr. Hans van der MeerBurgemeester Rijnderslaan 244 ingang D1185 MC Amstelveentel. 020 6452701 / 06 53743629 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: Fwd: Re: Context lmtx for 32bit under LUBUNTU 18.04
On 2024-02-14 20:13, Henning Hraban Ramm wrote: I re-added the link to https://wiki.contextgarden.net/Installation Thank you so much! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: manuals
I add to the list the articles on ConTeXt that have appeared in TUGboat issues over the years. https://tug.org/TUGboat/Contents/listkeyword.html#CatTAGConTeXt Ciao Tommaso Il giorno gio 15 feb 2024 alle ore 17:39 Alain Delmotte < alain.delmo...@leliseron.org> ha scritto: > One could also have a look at > > https://www.lesfichesabebert.fr/TeX/TeX.html > > It is website introducing Context in French. > The author was using LaTeX, but he switched to Context for his work > maintaining a regular publication. > > Note: the site is now under reworking, but it is very interesting. > > Alain > Le 14-02-24 à 23:25, Hans Hagen via ntg-context a écrit : > > There's also: > > https://github.com/contextgarden/not-so-short-introduction-to-context > > Hans > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands >tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - > ___ > > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net > (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___ > > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
[NTG-context] Re: XML processing, unwanted indentation/alignment
> On 16 Feb 2024, at 00:34, Bruce Horrocks wrote: > > The extra space is because you have a space between {first_name} and > {\xmlatt... on line 9 of xml.tex. > >> On 15 Feb 2024, at 20:28, Michael Guravage >> wrote: >> >> Greetings, >> >> I'm typesetting an address book whose addresses are in XML. A typical entry >> has this structure: >> >> >> >> >> > mobile="" /> >> >> >> >> >> >> initials and birthday are required, first_name can be left blank and email, >> mobile and maiden_name are optional. >> >> I've written a macro (name) to compose the name, i.e. initials, first_name >> (maiden_name), and another macro (nameemaillink) to make the name a link >> associated with an email address. >> >> % Derive an individual's name >> \def\name#1% >> {\ifxmlattempty{#1}{first_name} {\xmlatt{#1}{initials}} \else >> {\xmlatt{#1}{initials}, \xmlatt{#1}{first_name}} \fi > Remove the space after {first_name} here >> \ifxmlattempty{#1}{maiden_name} {} \else { >> \tfxx(\xmlatt{#1}{maiden_name})} \fi} I am fairly certain the “ {} “ before the \else introduces spaces. >> >> % Create a mailto:link that associates a individual's name with their email >> address. >> \def\nameemaillink#1% >> {\ifxmlattempty{#1}{email} {\name{#1}} \else {\goto{\name{#1}} >> [url(mailto:\xmlatt{#1}{email})]} \fi} >> >> I thought I was done when I noticed that a composed name with an empty first >> name, with or without an email address, is slightly indented. In the mwe Moe >> and Curly, without first names, are indented; while Shemp and Michael aren't. >> >> That the undesired indentation/alignment is dependent on the presence of a >> first name is baffling. After this long description, if someone would look >> at the code and tell me where I've gone wrong I would be very grateful. The >> interesting bits begin on lines 8 and 12 in xml.tex. > > — > Bruce Horrocks > Hampshire, UK > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___ — Taco Hoekwater E: t...@bittext.nl genderfluid (all pronouns) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___