ried to fix it, it should
> hopefully work now.
>
> Sincerely,
> Zdeněk Svoboda
>
> Dne 28. 12. 22 v 3:01 黄复雄 via ntg-context napsal(a):
> >> You can probably test with uploading a font the the work directory.
> >>
> > Hans,
> > thanks for the tip.
>
>
> You can probably test with uploading a font the the work directory.
>
Hans,
thanks for the tip.
I uploaded a noto-cjk font file, NotoSerifCJKsc-Regular.otf, to the
root directory.
Also, my typography file, test.tex, is in the root directory, and it reads
```context
\definefont[myfont][file:N
Dear Zdeněk Svoboda.
I tried your platform, it's great and it will definitely help to
promote ConTeXt. Thanks for your work.
I am from China and I would like to know, does this platform support
CJK fonts (e.g. https://github.com/googlefonts/noto-cjk)?
if yes, then is there any examples of usage?
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 wrote:
> > Hi,
> >
Dear Max,
I am very grateful that you took the time to tweak and test my
non-running code snippet
and found the problem.
> local box = node.hpack(hss + b, "exactly", 0)
You are absolutely right, the cause of the problem was that I wasn't
using node.hpack().
Actually, I tried to use it, but used
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
> I noticed an issue with multiple glyphs but am not sure why ... (so we
> need very small examples to figure it out).
I have observed a phenomenon that
when the base text contains glues/spaces, an error occurs,
as in the following example. Coincidentally, when using \setscript[hanzi],
the macro w
> you can try this in scrp-cjk.lua (remake the format)
>
> local chinese_8 = {
> jami_initial = nobreak_shrink_break_stretch,
> korean = nobreak_autoshrink_break_stretch,
> chinese = stretch_break, -- nobreak_autoshrink_break_stretch,
> hiragana =
> > 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
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
-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
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
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}%
>
> > Dear Hans,
> >
> > I found that ConTeXt injected two infinity penalties between a close
> > punctuation and a open punctuation, for example between `”` and `“`, or
> > between `:` and `“`, so can not break at these places, as showed in
> > following doc. But actually, we may sometimes need to
I sent this email four days ago and it may not have been delivered?
---
Dear Hans,
I found that ConTeXt injected two infinity penalties between a close
punctuation and a open punctuation, for example between `”` a
Dear Hans,
I found that ConTeXt injected two infinity penalties between
a close punctuation and a open punctuation, for example
between `”“`, or `:“`, as showed in the following Chinese
document. But actually, we need to break between them sometime.
Please note that there is no space around full wi
Thanks, Hans.
My module works again now, with the help of tex.preparelinebreak().
For potential readers:
tex.preparelinebreak(list) modifyed my list for tex.linebreak(list) to:
# by user in advance, necessary
# by user in advance, necessary
...
# The last glue here, in the end of the list
Thanks, Hans
I modified my list to:
2873 : par vmodepar>
3113 : glue indentskip>
3119 : glue parinitleftskip>
2879 : glue parinitrightskip>
2891 : glyph unset>
...
639 : glyph unset>
3089 : kern userkern>
2334 : glue userskip>
3095 : rule normal>
3101 : glue spacesk
I mistakenly sent the following letter to lua...@tug.org yesterday. I hope
it won't cause anyone any trouble. Thanks to luigi for pointing out the
error.
-
Hi all,
I just updated my ConTeXt to
system > ConTeXt ver: 2022.07.06 21:42 LMTX f
19 matches
Mail list logo