[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
features are given on demand ! > Best regards: Otared > > On 10 Mar 2024, at 17:43, Emanuel Han via ntg-context > > wrote: > > > > Hi all, > > > > I added > > https://wiki.contextgarden.net/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements

[NTG-context] Re: update

2024-03-11 Thread Emanuel Han via ntg-context
Dear developers, thanks for your hard work! Thank you Wolfgang for the Japanese line break rule fix in line 831 of scrp-cjk.lua: full_width_open = stretch_break, -- WS, was: nobreak_stretch_break_shrink, Emanuel On März 11 2024, at 7:23 pm, Pablo Rodriguez via ntg-context wrote: > On 3/11/24

[NTG-context] Re: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
Hi all, I added https://wiki.contextgarden.net/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements_for_Japanese_Text_Layout with attached working example code and to-do list. Thanks for any contributions! The working example code is still a work in progress. Its text layout output

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
setting (see Figure 5 (https://www.w3.org/TR/jlreq/#fig1_8)). I made manual corrections to scrp-cjk.lua, but with no effect to the ConTeXt output of my example. Do I have to recompile ConTeXt first? Emanuel On März 1 2024, at 2:59 pm, Wolfgang Schuster wrote: > Emanuel Han via ntg-context schrieb

[NTG-context] Re: Japanese

2024-03-01 Thread Emanuel Han via ntg-context
be the realm and position of headings which seem complicated and for which I have no ideas. Best regards Emanuel On März 1 2024, at 8:04 am, luigi scarso wrote: > > > On Wed, 28 Feb 2024 at 20:53, Emanuel Han via ntg-context (mailto:ntg-context@ntg.nl)> wrote: > > Thank you all fo

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
Thank you all for your suggestions and contributions to the wiki. I don't intend to nag, but when looking at what ConTeXt is producing, I need to state that the result is still far away from a properly typeset Japanese text. So the nihongo script which comes with ConTeXt handles line breaks /

[NTG-context] Re: Japanese

2024-02-26 Thread Emanuel Han via ntg-context
Unfortunately vertical typesetting is not supported by ConTeXt. That's a big pity. If horizontal typesetting is fine, this little working example with furigana might give you some hints. Hiragino Mincho Pro should be installed by Default on MacOS. \enableregime[utf] % enable unicoded input

[NTG-context] Re: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
On Feb. 19 2024, at 2:39 pm, Mikael Sundqvist wrote: > Hi, > > Try > \startTEXpage[pagestate=start] > /Mikael > On Mon, Feb 19, 2024 at 2:31 PM Emanuel Han via ntg-context > wrote: > > > >  I just made a strange observation in the output pdf of the attached >

[NTG-context] Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
with the output pdf of the attached multipage_metapost_mwe-very_simple.tex. How can I change my code to have proper consecutive page numbering in a pdf viewer?On Feb. 17 2024, at 11:03 am, Emanuel Han via ntg-context wrote:I think I could solve all the problems. Attached the finalized working example. I

[NTG-context] Re: Working with layer sets with Metapost

2024-02-17 Thread Emanuel Han via ntg-context
ikael > On Fri, Feb 16, 2024 at 6:54 AM Emanuel Han via ntg-context > wrote: > > > > Resp. the solution should be such that each generated PDF page has the same > > dimension, the same background colour and a page number and the metapost > > content on each page has t

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
Resp. the solution should be such that each generated PDF page has the same dimension, the same background colour and a page number and the metapost content on each page has the same scaling factor. On Feb. 15 2024, at 11:10 pm, Emanuel Han via ntg-context wrote: > Dear Mikael, > > I

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
eMPgraphic{layerset1} etc. inside the \dorecurse, assuming I name my layersets "layerset1", "layerset2", "layerset3" etc.? Emanuel On Feb. 15 2024, at 10:07 pm, Emanuel Han via ntg-context wrote: > Dear Mikael, > thanks a lot! > this seems to be the solution

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
t 1:03 AM Emanuel Han via ntg-context > wrote: > > > > Dear list, > > > > the attached .tex file is the minimal working example we discussed today in > > the online meeting. > > > > I realized that the approach of looping through k of p[k] is not f

[NTG-context] Working with layer sets with Metapost

2024-02-14 Thread Emanuel Han via ntg-context
Dear list, the attached .tex file is the minimal working example we discussed today in the online meeting. I realized that the approach of looping through k of p[k] is not fitting my needs, because it's not flexible enough. I need another approach, one which works with layer sets. I would stop

[NTG-context] Re: Metapost: draw only subpath; changing thickness of line

2024-01-06 Thread Emanuel Han via ntg-context
o 100: > draw (subpath((i-1)/100*lH, i/100* lH) of H) withcolor red withpen (pencircle > scaled(abs(abs(i-50)-50)/10)) ; > endfor; > > \stopMPcode > > > On 5 Jan 2024, at 09:56, Emanuel Han via ntg-context > > wrote: > > > > Hi all, > > > > I have

[NTG-context] Re: multipage metapost output from ConTeXt

2024-01-06 Thread Emanuel Han via ntg-context
o p[k]; endfor > setbounds currentpicture to TheFrame ; > > desiredformat := 1080;% In pixels (will be converted by default at 72dpi) > currentpicture := currentpicture xysized (desiredformat ,desiredformat ); > \stopMPpage > } > > \stoptext > /Mikael > On Sat, Dec 2, 20

[NTG-context] Metapost: draw only subpath; changing thickness of line

2024-01-05 Thread Emanuel Han via ntg-context
Hi all, I have this MWE. Now I want to draw only the subpath of S between gong6 and gong7 with a red line which is narrower at the two ends and thicker in the middle part. How to achieve this? Thanks! Emanuel \setuppapersize[A4,landscape] \starttext \startMPcode numeric u; u=1cm; %equiangular

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
toptext > > > > On Dez. 2 2023, at 5:22 pm, Mikael Sundqvist wrote: > > > > Hi Emanuel, > > > > I am not sure I understand your question, and since you use fonts that > > i do not have, I cannot test your example as is. But, maybe, if you >

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
t. Could one have a _very > simple_ example showing only that problem and no other problem? > > On Sat, Dec 2, 2023 at 12:58 PM fv leung wrote: > > > > You didn't specify the color of path A in p2 and p4. So it's drawn in black. > > The other issue, I can't help.

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
So is there a way to circumvent these issues? Or an explanation for this behavior, so that I can try to find a solution by myself? Thanks Emanuel On Nov. 29 2023, at 12:25 pm, Emanuel Han via ntg-context wrote: > Dear Aditya and Fabrice, > thanks for your responses. > > I i

[NTG-context] Re: multipage metapost output from ConTeXt

2023-11-29 Thread Emanuel Han via ntg-context
Dear Aditya and Fabrice, thanks for your responses. I included some of Fabrice's code into mine for testing purpose, and indeed the multipage works now. What is bizarre is that issues appear now that didn't appear before: Path A is drawn with color red on page 1, and in color black on all

[NTG-context] multipage metapost output from ConTeXt

2023-11-27 Thread Emanuel Han via ntg-context
How can I achieve multipage metapost output from ConTeXt? The result should be a multipage pdf. It contains just a metapost graphic per page. The graphic has always the same bounding box and evolves from page to page: Some elements to be drawn are added, and some others would ideally also be

[NTG-context] Re: Metapost label text surrounded by white border

2023-11-20 Thread Emanuel Han via ntg-context
Thanks Hraban. This indeed helped. It‘s my first reply in this mailing list. Hope I do it right by „replying to all“. > Am 19.11.2023 um 19:37 schrieb Henning Hraban Ramm : > > Am 19.11.23 um 16:41 schrieb Emanuel Han via ntg-context: >> I'd like to surround black text with a

[NTG-context] Metapost label text surrounded by white border

2023-11-19 Thread Emanuel Han via ntg-context
I'd like to surround black text with a white 1mm thick border in a Metapost label. Here is my code, which doesn't draw the border at all and which draws the text in white instead of black (I'm using mkiv and mkxl version 2023.09.26 18:19 on osx-arm6): beginfig(1); % Define the text and colors

[NTG-context] How to switch back to default font size after having used \tfa

2023-06-05 Thread Emanuel Han via ntg-context
\tf doesn't work. version used: 2023.06.04 18:58 MWE: \starttext a\tfa a \tf a\stoptext should make default size a followed by 1.2 sized a followed by default size a but instead, it's default size a followed by 1.2 sized a followed by 1.2 sized a Thanks