Thanks again for that, Hans! Much appreciated!
On Thu, 24 Jul 2025, 13:09 Hans Hagen via ntg-context,
wrote:
> On 7/22/2025 2:25 PM, Florent Michel wrote:
> > Hi again,
> >
> > In case someone else is wondering, it looks
> > like \setupalign[stretch,fullhz] prevents
Hi again,
In case someone else is wondering, it looks
like \setupalign[stretch,fullhz] prevents breaks after hyphens in the
examples I've tried.
Cheers,
Florent
Le mar. 22 juil. 2025 à 08:54, Florent Michel a
écrit :
> Hi,
>
> Thanks a lot Hans and everyone who has worked on
Hi,
Thanks a lot Hans and everyone who has worked on it for the new upload!
>From what I can tell from my few projects, math in HTML export seems to
have significantly improved.
I have just noticed what seems to be a small issue with hyphenated words in
the HTML export: an extra space is added wh
Hi,
I have encountered another issue with columns: it seems that in some cases
the height of the content is not entirely accounted for. From the small
experiments I made, the problem seems to only occur when the content of the
left column is larger than the content of the right one by a fraction o
Hi Mikael,
Thanks a lot for your reply! Yes, using \startboxedcolumns ...
\stopboxedcolums gives (as far as I can see) a consistent alignment.
Cheers,
Florent
On Tue, 15 Jul 2025, 12:14 Mikael Sundqvist, wrote:
> Hi,
>
> Just guessing: Does \startboxedcolumns ... \stopboxedcolumns work?
>
> /
Hi!
I've encountered a (to me) unexpected behaviour with the columns
environment: the vertical alignment looks slightly different depending on
whether the text fits on a single column or not. The following example
demonstrates this behaviour (ConTeXt LMTX version 2025.07.08 17:48 on a
64-bits Linu
Thanks a lot Wolfgang and Hans for your replies!
Your suggested change seems to solve the issue on my side (64-bits Linux
system).
Best regards,
Florent
Le mar. 8 juil. 2025 à 15:51, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
> Am 08.07.2025 um 15:57 schrieb Flore
> Le mar. 8 juil. 2025 à 14:39, Hans Hagen via ntg-context <
ntg-context@ntg.nl> a écrit :
> On 7/8/2025 5:48 AM, jbf wrote:
> > Strange issue that has just happened. I updated the latest ConTeXt
> > [ConTeXt ver: 2025.07.07 23:34 LMTX fmt: 2025.7.8 ] and for some
> > reason \placecombinedlist[c
Ah, indeed that's much more practical than computing the ratios explicitly!
Thank you Wolfgang!
On Wed, 2 Jul 2025, 18:50 Wolfgang Schuster, <
wolfgang.schuster.li...@gmail.com> wrote:
> Am 02.07.2025 um 14:50 schrieb Florent Michel:
> > Hi,
> >
> > In addition to
Hi,
In addition to Mikael's solution, defining the color using the ConTeXt
function \definecolor seems to work:
\starttext
\definecolor[rose_color_ctx][r=.99609375,g=.796875,b=.99609375]
\startMPcode
color rose_color; rose_color = 1/256(255,204,255);
%now working
draw lmt_text [text
="\framed
Thanks a lot Hans for the explanation!
Cheers,
Florent
Le jeu. 24 avr. 2025 à 10:53, Hans Hagen a écrit :
> On 4/24/2025 11:27 AM, Florent Michel wrote:
>
> > \starttext
> >$T^a_b^c$
> >$T^a{}_b{}^c{}$
> > \stoptext
> >
> > produces (unles
tion 2.7 in
> https://www.pragma-ade.com/general/manuals/mathincontext-screen.pdf
> help you?
>
> /Mikael
>
> On Thu, Apr 24, 2025 at 11:29 AM Florent Michel
> wrote:
> >
> > Hi,
> >
> > I was going through the ‘Mathematics/Mathematical glyphs’ sectio
Hi,
I was going through the ‘Mathematics/Mathematical glyphs’ section of the
wiki. Unless I am missing something, the first method proposed in the
section ‘Subscript and superscript’ (
https://wiki.contextgarden.net/Mathematics/Mathematical_glyphs#Subscript_and_superscript)
to align sub- and super
Hi Hans,
Thanks a lot for that! I confirm that these methods, along with the change
in mlib-fnt.lmt you suggested, work perfectly.
Cheers,
Florent
Le jeu. 20 févr. 2025 à 08:42, Hans Hagen a écrit :
> On 2/19/2025 10:23 PM, Florent Michel wrote:
> > Hi,
> > When experimenting w
Hi,
When experimenting with outlinetext, I found it generally works well for
both text and equations but seems to fail for fractions or square roots.
The code below demonstrates the issue:
\startMPpage
draw outlinetext("$\frac{1}{\sqrt{2}}$");
\stopMPpage
__
févr. 2025 à 21:39, Florent Michel a
écrit :
> Hi,
>
> It seems (unless I am missing something) that hyperlinks in the table of
> contents for the exported html are incorrect when `reference` is set.
>
> Minimal(-ish) working example:
> _
Hi,
It seems (unless I am missing something) that hyperlinks in the table of
contents for the exported html are incorrect when `reference` is set.
Minimal(-ish) working example:
_
\setupbackend[export=yes]
\setupinteraction[state=start]
\starttext
\placecontent
kael
>
> On Fri, Feb 7, 2025 at 10:34 AM Florent Michel
> wrote:
>
>> Hi,
>>
>> On a related note, the second example from
>> https://wiki.contextgarden.net/Command/startuniqueMPgraphic seems to
>> have a similar issue, although it seems to work fine after
Hi,
On a related note, the second example from
https://wiki.contextgarden.net/Command/startuniqueMPgraphic seems to have a
similar issue, although it seems to work fine after replacing
xyscaled (\overlaywidth, \overlayheight)
with
xyscaled (OverlayWidth, OverlayHeight)
Best regards,
Floren
t;
>
>
> Am 06.02.2025 um 13:06 schrieb Steffen Wolfrum :
>
> When running the test with an older (2022.07.06 21:42) LMTX
> and opening the PDF with Acrobat Reader, checking the Document Properties
> “Tagged PDF?” it says “Yes”!
>
> Steffen
>
>
> Am 06.02.2025 um
er and checking the Document
> Properties “Tagged PDF?” it says “No”.
> (Even though it is recognised as PDF/A)
>
> Steffen
>
>
> Am 04.02.2025 um 16:40 schrieb Florent Michel :
>
> Hi,
>
> It seems that the accessibility page has moved here:
> https://wiki.cont
Hi,
It seems that the accessibility page has moved here:
https://wiki.contextgarden.net/Input_and_compilation/Accessibility .
Maybe the last example is suitable?
(It seems to correctly embed the alt text in the pdf; this can be checked
by using the `--nocompression` flag and opening the resulting
effect in MetaPost?
Here are two screenshots to whos the difference: https://imgur.com/a/SlJ4BiE
Thank you also for pointing me to the test suite! It seems to have many
useful examples!
Cheers,
Florent
On Fri, Jan 10, 2025, 00:17 Hans Hagen wrote:
> On 1/9/2025 10:44 PM, Florent Michel
Hi,
I was trying to see if I could use MetaFun / MetaPost as my main tool for
generating figures. I really like its close integration with ConTeXt,
speed, and expressivity making it, even for a beginner like me, a pleasure
to work with.
One difficulty I encountered is for generating 2D functiona
Dear Dalyoung,
I am not sure what the issue is; but as a workaround it seems that using
\ctxlua works:
___
\starttext
\startluacode
function makeHead(a)
local n = #a
context.HL()
for i = 1, n do
context.NC() context(a[i])
Hi,
It seems to work when defining a color as described in
https://wiki.contextgarden.net/Color_in_MetaPost , if that's an option:
\startMPcode
color MyColor ;
MyColor = (.5, .25, .25) ;
fill fullsquare xyscaled (40mm, 15mm) withcolor MyColor ;
fill
\NC\AR
\HL
\stoptabulate
}
\stoptext
_
Best regards,
Florent
Le dim. 29 déc. 2024 à 09:58, Jeong Dal via ntg-context
a écrit :
> Dear Florent Michel,
>
> Thank you for the checking.
> As you said, using \starttabulate … \sto
Hi,
Not sure whether that's the best solution or not, but your example seems to
work on my side if I replace \starttable with
\starttabulate and \stoptable with \stoptabulate as follows:
_
\startuseMPgraphic{recBox}{w,h,sx,sy,lColor
Hi,
I'm not sure whether the following is an issue with ConTeXt or with the
epub readers I'm using; my apologies for the noise if it's not relevant to
this list!
I was experimenting creating ebooks with ConTeXt, and found it works
very well on most epub readers (except with Calibre, as was previo
Hi,
I was experimenting with variable fonts in ConTeXt. While all seems to work
well when using a ttf font (like Recursive_VF_1.085.ttf), I am struggling
to use .otf ones, like the Source Code Pro (downloaded from
https://github.com/adobe-fonts/source-code-pro/releases/tag/2.042R-u%2F1.062R-i%2F1.
you will be fine. There is something to read about it here:
>
> https://wiki.contextgarden.net/Unexpected_behavior
>
> /Mikael
>
> On Fri, Nov 29, 2024 at 10:11 AM Florent Michel
> wrote:
> >
> > Hi,
> >
> > I have just encountered a (to me) slightly
Hi,
I have just encountered a (to me) slightly surprising behaviour in ConTeXt
LMTX 2024.10.31: there seems to be an automatic line break after a Metapost
picture if it is at the start of a paragraph. Here is a simple example
showing this behaviour:
---
Le mer. 20 nov. 2024 à 17:09, Henning Hraban Ramm a écrit :
> Why don’t use use a mode?
> \startmode[export]
> \setupbackend[export=yes]
> \stopmode
>
> Then you can call "context --mode=export" etc.
>
Thanks a lot for that, Henning! It indeed works perfectly!
Le mer. 20 nov. 2024 à 17:15, Wolf
Hi,
I'm having issues generating PDF files with a coloured background when
export is set to ‘yes’.
Minimal example:
\setupbackend[export=yes]
\setupbackgrounds [page] [background=color,backgroundcolor=black]
\starttext
\startcolor[white]
test
\stoptext
This example seems to work as expected whe
Thank you Rik! I confirm this works, both on my minimal example and longer
document.
On Fri, Nov 8, 2024, 02:51 Rik Kabel wrote:
> On 2024-11-07 17:56, Florent Michel wrote:
>
> Apologies for the double email.
>
> I raised just after sending the previous one that using the
Apologies for the double email.
I raised just after sending the previous one that using the ‘proper’ utf-8
hyphen character (0x2010) instead of 0x002d solves the issue.
I'd be interested to hear if someone has an easier-to-type solution, though.
Le jeu. 7 nov. 2024 à 22:35, Florent Mich
Hello,
Is there a way to preserve hyphenated words in the html export?
When exporting a document with ConTeXt, hyphens in the middle of words seem
to be replaced by soft hyphens, which are not displayed by my web browser.
Minimal example:
\setupbackend[export=yes]
\starttext
co-worker
\stoptext
Hi,
Out of curiosity, I tried compiling the followingup manual with ConTeXt
LMTX 2024.09.25. I did not check the whole manual, but section 6 seems to
render fine as far as I can tell, up to two small issues (not sure whether
they are due to changes in ConTeXt or to font issues on my side):
* I ha
Wed, Sep 25, 2024 at 3:52 AM Florent Michel
> wrote:
> >
> > Hi,
> >
> > After looking at it a bit more, one solution can be found in the
> accepted answer to this question:
> https://tex.stackexchange.com/questions/108676/page-numbers-roman-number-and-arabi
19:50, Florent Michel a
écrit :
> Hi,
>
> I do not know how to do that properly (if someone has a solution, I'd also
> be interested), but here is something which seems to give a partial
> solution:
>
> ```
> \usemodule[ipsum]
>
> \starttext
>
> \placecontent
>
Hi,
I do not know how to do that properly (if someone has a solution, I'd also
be interested), but here is something which seems to give a partial
solution:
```
\usemodule[ipsum]
\starttext
\placecontent
\section{Section 1}
\dorecurse {6} \ipsum
\pagebreak
\section{Section 2}
\def\romanpag
Apologies for the double email. Seems I slightly misunderstood what you
aimed for - the corrected (assuming there is no other misunderstanding from
me) is:
\startMPpage
pair A,B;
path p, psubPath, asPathEnvelope;
A = (0cm,0cm);B = (5cm,0cm);
p = A{dir 60} .. B;
fill fullsquare scaled 12cm withcolo
Hi,
It's probably not the best solution as it uses the ‘old’ shading method,
but seems to give the result you were expecting:
\startMPpage
pair A,B;
path p, psubPath, asPathEnvelope;
A = (0cm,0cm);B = (5cm,0cm);
p = A{dir 60} .. B;
fill fullsquare scaled 12cm withcolor 0.5[blue,white];
for i = 0
Hello,
Thanks Hans and everyone who has worked on it for the new upload!
I have noticed a change which seems to break XML/html export for inline
equations; although I don't know if the issue is with the new version or
with how I'm using it.
Minimal example:
```
\setupbackend[export=yes]
\setupex
oject or a future one!
Best regards,
Florent
Le lun. 16 sept. 2024 à 13:08, Bruce Horrocks a écrit :
> On 16 Sep 2024, at 12:15, Henning Hraban Ramm wrote:
> >
> > Am 16.09.24 um 12:59 schrieb Bruce Horrocks:
> >>> On 15 Sep 2024, at 22:11, Florent Michel
> wrote
:
>
>
> > On 14 Sep 2024, at 21:46, Florent Michel wrote:
> >
> > TL;DR: Could building LuaMetaTeX with the `-fPIC` flag for the Lua
> library have negative consequences? Is there a better way to be able to
> call external C functions from ConTeXt?
>
> Thi
Thank you Wofgang for the clarification and information!
(And indeed using 4ex makes more sense than my 2em! I must be too used to
systems which don't define ex...)
Best regards,
Florent
Le dim. 15 sept. 2024 à 18:14, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :
Hello,
It's probably not the best solution, but it seems to work on my side if I
replace `big` by `2em`; see code below.
```
\startdocument
\setupinterlinespace[2em]
\input dijkstra
\starttabulate[|k0r|k0xp|][EQ={---}]
\NC Word \EQ definition; \NC\AR
\NC Important word \EQ \input dijkstra \NC
Hello,
TL;DR: Could building LuaMetaTeX with the `-fPIC` flag for the Lua library
have negative consequences? Is there a better way to be able to call
external C functions from ConTeXt?
I am working on a small project where it would be convenient to call
functions written in C (possibly pre-compi
Thank you very much Hans for your clear and detailed reply!
I can confirm that this resolves my issue - and I really
like the flexibility that this syntax provides!
Best regards,
Florent
Le dim. 11 août 2024 à 12:18, Hans Hagen via ntg-context
a écrit :
> On 8/11/2024 11:24 AM, Florent Mic
Hi,
I am trying to reproduce the behaviour of the tcolorbox LaTeX package, more
specifically breakable boxes (as illustrated here:
https://tex.stackexchange.com/a/676607/123770). It works nicely out of the
box (pun intended) using `\definetextbackground` and drawing the frame with
MetaPost, using
51 matches
Mail list logo