[NTG-context] Re: appendaction in "shipouts" "after" fails in the latest version

2024-09-22 Thread
Thanks! Best regards, Huang Fusyong On Sun, Sep 22, 2024 at 5:54 PM Hans Hagen wrote: > > On 9/22/2024 2:31 AM, 黄复雄 wrote: > > Sorry for re-asking this question by replying to myself; after many > > trials, I am sure this is a real problem. > > Any hints are much appr

[NTG-context] Re: appendaction in "shipouts" "after" fails in the latest version

2024-09-21 Thread
Sorry for re-asking this question by replying to myself; after many trials, I am sure this is a real problem. Any hints are much appreciated. Regards, 黄复雄(Huang Fusyong) On Mon, Sep 16, 2024 at 11:52 AM 黄复雄 wrote: > > Hello, dear Hans. > > I have a Lua module that doesn't w

[NTG-context] appendaction in "shipouts" "after" fails in the latest version

2024-09-15 Thread
e' ...n64/tex/texmf-context/tex/context/base/mkxl/node-tsk.lmt:231: in upvalue 'create' ...n64/tex/texmf-context/tex/context/base/mkxl/node-tsk.lmt:247: in upvalue 'actions' ...n64/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:38: in function <...n64/tex

[NTG-context] How to obtain the hbox's node when there is only one hbox for an entire paragraph?

2024-05-01 Thread
Dear list, What is the non-hacking way to obtain the hbox's node in a Lua hook when there is only one hbox for an entire paragraph? Best regards, Huang Fusyong (黄复雄) % start ConTeXt \startluacode Moduledata = Moduledata or {} Moduledata.jiazhu = Moduledata.jiazhu or {} ---[[ local fun

[NTG-context] Re: Best way to input UTF-8

2024-02-18 Thread
I recommend you to always show missing font markers in PDF documents with \replacemissingcharacters On Mon, Feb 19, 2024 at 12:46 AM Shiv Shankar Dayal wrote: > > Hi all, > > What is the best way to input UTF-8 in LuaMetaTex? If I use the UTF-8 > characters then do not come out in text with Mode

Re: [NTG-context] New c-o-w: The XMas gift for ConTeXt users

2022-12-27 Thread via ntg-context
Dear Zdeněk, Thanks for your prompt response. Yes, great, I got the right PDF now. Best regards 黄复雄(Huang Fysyong) Zdeněk Svoboda via ntg-context 于2022年12月28日周三 10:42写道: > > Hello Huang, > > This was probably an error on my side. > > Can you please try again now? I have t

Re: [NTG-context] New c-o-w: The XMas gift for ConTeXt users

2022-12-27 Thread via ntg-context
s not found fonts > defining > using source file 'NotoSerifCJKsc-Regular.otf' due to cache mismatch .. mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman12-regular.otf, notoserifcjksc-regular.otf .. ``` Any further hints? Best regards, 黄复雄(H

Re: [NTG-context] New c-o-w: The XMas gift for ConTeXt users

2022-12-26 Thread via ntg-context
usage? or have any plans to support them? Best regards, 黄复雄(Huang Fusyong) Zdeněk Svoboda via ntg-context 于2022年12月27日周二 07:58写道: > > Hello ConTeXt community! > > I'm Zdeněk Svoboda, a master degree student at Mendel university in > Brno. I've been using ConTeXt for a

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread via ntg-context
Hans, thank you. By your and Max's answers, I understand that there must be box.glueset for the glues in the box.list to actually work. Best regards Huang Fusyong(黄复雄) Hans Hagen via ntg-context 于2022年11月11日周五 18:52写道: > > On 11/11/2022 10:53 AM, Max Chernoff via ntg-context wr

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread via ntg-context
g it relative. Best regards Huang Fusyong(黄复雄) Max Chernoff via ntg-context 于2022年11月11日周五 17:55写道: > > Hi, > > > I want to simulate \hss in lua end in ConTeXt/luametatex environment. > > For example, > > > > ```ConTeXt > > a{\raise 1.5ex\hbox to 0pt{\hss b}

[NTG-context] how to simulate \hss in luametatex?

2022-11-10 Thread via ntg-context
Hi list, I want to simulate \hss in lua end in ConTeXt/luametatex environment. For example, ```ConTeXt a{\raise 1.5ex\hbox to 0pt{\hss b}}c ``` should get 'b' on top of 'a', as follows: ```pdf b ac ``` and in lua, I see a before "b" node, width width:0, stretch:65536, shrink:65536, stretchord

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-09-03 Thread via ntg-context
macro will inject glue between Chinese, and I will get the same error. %%%begin example \starttext \ruby{a a}{b} \stoptext %%%end example Best Regards, 黄复雄(Huang Fuysong) ___ I

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-09-03 Thread via ntg-context
ces were commented. If you need to mark all the places, please let me know and I'll mark all the changes. As I've said last time, what I've done may be a bit reckless, please check and correct it. Though I've done some testing, but obviously it is not very compreh

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-09-02 Thread via ntg-context
> > doc for example: > > > > ```lmtx > > \setscript[hanzi] > > \usetypescriptfile[mscore] > > \usebodyfont [mschinese,20pt] > > can you upgrade the chiese section in that file for windows 10+ as the > old fonts are gone > > (i tested with \definedfont[file:mingliu.ttc*chinese @ 10pt]) I adapted

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread via ntg-context
e project policy. Your comments and guidance are very welcome. Best regards, Huang Fusyong(黄复雄) Hans Hagen via ntg-context 于2022年8月22日周一 00:20写道: > > On 8/21/2022 12:10 PM, Wolfgang Schuster via ntg-context wrote: > > 黄复雄 via ntg-context schrieb am 21.08.2022 um 10:24

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread via ntg-context
-win64/tex/texmf-context/tex/..."]:38: in function <[string "D:/venvs/context-win64/tex/texmf-context/tex/..."]:37> (...tail calls...) 1 >> \setscript[hanzi] …… %%%end error Best regards, Huang Fusyong(黄复雄) Wolfgang Schuster via ntg-contex

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread via ntg-context
context/tex/..."]:38: in function <[string "D:/venvs/context-win64/tex/texmf-context/tex/..."]:37> (...tail calls...) 1 >> \setscript[hanzi] 2 3 \usetypescriptfile[mscore] 4 \usebodyfont [mschinese,20pt] 5 % 6 \definefont[pinyinfont][name:ahpinying*defa

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread via ntg-context
Currently, the ruby module does not seem to support cjk fonts? I have a preliminary implementation of furigana(pinyin in Chinese) as: ```lmtx % define the pinyin font \definefont[pinyinfont][name:ahpinying*default at 9pt] % define the pinyin command \define[2]\pinyin{% \setbox1 = \hbox{#1}%

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread via ntg-context
one are you referring to? to scrp-cjk.lua?( yes, I will upgrade it.) or to my lmtx doc for testing?(It work fine in my Windows 10.) or to type-imp-mscore.mkiv? (It work fine in my Windows 10, and no mingliu.ttc in it.) Thanks. Huang Fusyong(黄复雄) -

[NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread via ntg-context
0 0 655500 1 0 655500 0 so nowhere to linebreak. Thanks. Huang Fusyong(黄复雄) ___ If your question is of interest to others as well

[NTG-context] Can't no break between a close punctuation and a open punctuation

2022-07-29 Thread via ntg-context
0 655500 0 so nowhere to linebreak. Huang Fusyong(黄复雄) watch_sys_actions.lua Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : n

Re: [NTG-context] linebreak error: no leftinit or rightinit or leftfill or rigthfill expected

2022-07-29 Thread via ntg-context
list, is removed # as same as parfillrightskip 黄复雄 于2022年7月16日周六 10:02写道: > Thanks, Hans > > I modified my list to: > >2873 : par vmodepar> >3113 : glue indentskip> >3119 : glue parinitleftskip> >2879 : glue parinitrightskip> >2891 : gly

Re: [NTG-context] linebreak error: no leftinit or rightinit or leftfill or rigthfill expected

2022-07-15 Thread via ntg-context
eak(), and observe it's work for more details. Huang Fusyong(黄复雄) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman

[NTG-context] linebreak error: no leftinit or rightinit or leftfill or rigthfill expected

2022-07-15 Thread via ntg-context
3107 : penalty userpenalty> nil : glue userskip> My question is: Which of them is necessary, and How can I node.new() one and Where should it go in the list? Any hint would be appreciated, Huang Fusyong(黄复雄) _