seyal.zav...@gmail.com schrieb am 23.05.2024 um 14:13:
Hi all,
i want to use tables for constructing poems structure
this snippet of code works well:
\startsetups tablepoem
\setupTABLE[column][each][width=5cm]
\stopsetups
\starttext
\bTABLE[setups=tablepoem]
\bTR \bTD One one ons ksl \eTD
Hi all,
i want to use tables for constructing poems structure
this snippet of code works well:
\startsetups tablepoem
\setupTABLE[column][each][width=5cm]
\stopsetups
\starttext
\bTABLE[setups=tablepoem]
\bTR \bTD One one ons ksl \eTD \bTD two gfjgfd oski kwo \eTD \eTR
\bTR \bTD One wer s dft
code!
"""
\starttypescriptcollection[CustomFontSelection]
\starttypescript [serif] [CustomFontSelection] [name]
\setups[font:fallback:serif]
\definefontsynonym [Serif]
% [file:font/Lora-Regular.ttf]
[file:font/Lora-Medium.ttf]
[features=default,
criptcollection[CustomFontSelection]
\starttypescript [serif] [CustomFontSelection] [name]
\setups[font:fallback:serif]
\definefontsynonym [Serif]
% [file:font/Lora-Regular.ttf]
[file:font/Lora-Medium.ttf]
[features=default,fallbacks=Serif]
\definefontsyn
and the
frames aline to the margin ok.
I tried to put something before the first frame (noindentation, dontleavehmode)
because I sometimes read it solves problems, but not the case here.
so Why is the first frame protruding and only the first?
[...]
Include only setups in your examples which
a way to inherit their options but the "framed"
and "counter" mechanism supports it.
To use the framed mechanism with your own command replace
\installcommandhandler with \installframedcommandhandler. This creates a
command named \inherited...framed which can be customi
]
Pr=(\getmarking[Datum][previous])~
Nx=(\getmarking[Datum][next])~
Fi=(\getmarking[Datum][first])~
La=(\getmarking[Datum][last])~
Tp=(\getmarking[Datum][top])~
Bt=(\getmarking[Datum][bottom])~
Cu=(\getmarking[Datum][current])~
\stopsetups
\setupheadertexts[text]
[\setup
[kinohanmen:a4])
for each paper size,
2. you can put the fontsize etc. settings in a setups block and
load the one needed for each paper size and
3. you can put all of them in a module which can be loaded when
writing documents in japanese, the paper size can be passed as argument
in principle all the setups
and definitions must be before the body of your document which begns with
\starttext. Another point i sthat instead of using \par you can leave a blank
line, which makes the document more readable. And you don’t need to break the
lines by « hand », since ConTeXt does
]
\enforced\let\\\endgraf
\setups[tugboat:abstract:setup]
\startAbstracts[title={Abstract}]
\stopAbstracts
}
\stopStreszczenia
\stopDane}
\stopplacefigure
\stopsetups
\startsetups
Am 04.03.24 um 10:43 schrieb Denis Maier via ntg-context:
Hi,
Aren’t environments used for setups (and not for textual content). Maybe
a buffer may be what you want ?
https://wiki.contextgarden.net/Command/startbuffer
Yes, buffers are the way to go for (textual) contents, while setups
Hi,
Aren’t environments used for setups (and not for textual content). Maybe a
buffer may be what you want ?
https://wiki.contextgarden.net/Command/startbuffer
Best,
Denis
Von: Jeroen
Gesendet: Montag, 4. März 2024 06:15
An: mailing list for ConTeXt users
Betreff: [NTG-context
> >>[ it={style:regular,features:{*,slanted}},
> >>sl={style:regular,features:{*,slanted}},
> >>bi={style:bold,features:{*,slanted}},force=yes]
> >>
> >> \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math]
> >> %\defin
family[JapaneseFont][math][Tex Gyre Pagella Math]
> >> %\definefontfamily[JapaneseFont][math][Tex Gyre Aventor]
> >>
> >>
> >>
> >> \setupbodyfont[JapaneseFont,12pt]
> >> \setupruby[location=top,voffset=-2ex]
> >> \setupwhitespace[big]
>
] for Korean.
I don’t know if the setups for Chinese and Korean are still valid, I
just removed \setencoding.
Hraban
___
If your question is of interest to others as well, please add an entry
to the Wiki!
maillist : ntg
\mainlanguage[ja], I added it, also
\mainlanguage[kr] for Korean.
I don’t know if the setups for Chinese and Korean are still valid, I
just removed \setencoding.
Hraban
___
If your question is of interest to others as well
it isn't expected to have any frames at all.
>
> Note that each unique table is defined inside a macro.
>
> How can I make these table settings only apply to the a specific table?
Use setups, one for each of your 40 variations:
e.g:
\startsetup formatA
\setupTABLE[r][1][align=ragged
Just use a group (\start ... \stop, \bgroup ... \egroup or {} ) around
the setup commands and their table, or use \startsetup mytable ...
\stopsetup and \startTABLE[setups=mytable] if you need the same settings
for several tables.
HR
Am 27.01.24 um 22:29 schrieb Joel via ntg-context:
I have
ase are either natural tables or extreme tables.
> Below is a example which uses the table like wrapper for natural tables
> which makes adding rules and changing the padding around text very
> simple because each table cell is a \framed block with all its options.
> \starttext
&g
em,roffset=.5em]
\setupTABLE [column] [each] [leftframe=on,rightframe=on]
\setupTABLE [row] [first]
[topframe=on,bottomframe=on,foregroundstyle=bold]
\setupTABLE [row] [last] [bottomframe=on]
\stopsetups
\startTABLE[setups=ruledtable]
\NC Year \NC Citizens \NC\NR
\NC 1675 \NC ˜428
ween
>> paragraphs. Are you suggesting that is uncommon, or (showing my
>> Context-noobness) is \setupwhitespace not the usual ConTeXt way to do this?
> Yes, it’s common, and \setupwhitespace is right.
OK, thanks for the confirmation.
> I just don’t remember all the setups
above has whitespace between
paragraphs. Are you suggesting that is uncommon, or (showing my
Context-noobness) is \setupwhitespace not the usual ConTeXt way to do this?
Yes, it’s common, and \setupwhitespace is right.
I just don’t remember all the setups in my many environmen
and just refer to it with
something like \localinput or so to a textblock at the bottom of the
same file. What would be the easiest way to implement this?
Usually, the best way to load setups is using \environment at the top of
your file.
I don’t understand the sense in placing this in the bottom
Hi everyone,
being a newbie I just discovered how different setups for the grid may
affect my (very simple) document.
In the Details manual (which of course I don't understand because of my
unexperience) I read that many people don't use the grid, but when I
configure grid=no the whole lines
be at least as good, but alas it needs support from the
>> editors.
> simpler in the sense that we only output what is needed for the
> synchronization to work reliable; fwiw, my collegue already for many years
> uses context with synctex enabled with sumatra pdf in pretty compl
and should be at least as good, but alas it needs support from the editors.
simpler in the sense that we only output what is needed for the
synchronization to work reliable; fwiw, my collegue already for many
years uses context with synctex enabled with sumatra pdf in pretty
complex setups: a mix
designsize,
adobesource-nodesignsize-regular,
adobesource-nodesignsize-medium,
adobesource-nodesignsize-semibold,
adobesource-nodesignsize-bold,
adobesource-nodesignsize-black,
]
[name]
\setups[font:fallback:\typescriptone]
\definefontsynonym [\typesc
[before]}\endgraf},
after={\endgraf{\ttbf [after]}\endgraf}]
\stopsetups
\setupnote[footnote][setups=forfootnote]
\footnote{\startitemize
\startitem Choose the correct answer.
\startitemize
\item This one
{\ttbf [after]}\endgraf}]
\stopsetups
\setupnote[footnote][setups=forfootnote]
\footnote{\startitemize
\startitem Choose the correct answer.
\startitemize
\item This one
\stopitemize
\stopitem
\stopitemize}
\stoptext
> On 15 Sep 2023, at 14:07, Rik Kabel wrote:
>
>
> On 9/15/2023 4:10 AM, Taco Hoekwater wrote:
>>
>>
>>> On 15 Sep 2023, at 09:58,
>>> wrote:
>>>
>>> I thought there should be a setups key on \setupsectionblock, but
>
On 9/15/2023 4:10 AM, Taco Hoekwater wrote:
On 15 Sep 2023, at 09:58,wrote:
I thought there should be a setups key on \setupsectionblock, but apparently
there isn’t. So, the example below does not work, but maybe it wouldn’t be too
hard to add it…
There is a ‘before' key, but note
> On 15 Sep 2023, at 09:58, wrote:
>
> I thought there should be a setups key on \setupsectionblock, but apparently
> there isn’t. So, the example below does not work, but maybe it wouldn’t be
> too hard to add it…
There is a ‘before' key, but note that the sectionblock i
I thought there should be a setups key on \setupsectionblock, but apparently
there isn’t. So, the example below does not work, but maybe it wouldn’t be too
hard to add it…
Best,
Denis
\setuphead[chapter][page=yes]
\setupsectionblock[backmatter][setups={\setuphead[chapter][page
You can find some examples in the wiki to do something similar:
https://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content
Also you can use setups instead of macro definitions, and create spaces
with \space, \par, etc: https://wiki.contextgarden.net/Setups
--
Andrés Conrado Montoya
Ok, \starttexdefinition allows blanks, apparently just like setups.
But, it still fails exactly like the version with \def
\setuphead[chapter][
before={Before: \structureuservariable{author}\blank},
beforesection={Beforesection: \structureuservariable{author}\blank},
insidesection
Am 08.09.23 um 17:02 schrieb Henning Hraban Ramm:
We can discuss the details next week and you put the resulting
template on the wiki.
Ah, I guess I understand the template mechanism. Yet again glorious
setups. Will probably manage.
So far:
\definepageinjection[chapter:start][
page=left
the details next week and you put the resulting template
on the wiki.
Ah, I guess I understand the template mechanism. Yet again glorious
setups. Will probably manage.
Hraban
___
If your question is of interest
[4*medium]}]
There is also no need to put \unprotect ... \protect around your setups.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
of it compiles (for me) in LMTX. So I tried
something different, e.g.
\definelist[chapter]
\setuplist[chapter][label=yes,distance=1.5cm,alternative=c,style=normal,before=\blank]
\definelist[section]
\setuplist[section] [textcommand=\setups{SecToc}]
\setupcombinedlist
[content]o
[list={chapter
something based in key=value assignments? setups? datasets?
Not really sure, but If you know a better solution or point me in the
direction of something I can use to replace that macro, it would be greatly
appreciated.
\startsetups [document:start]
\doifdocumentvariable {englishabstract
citation style for this article}{Chicago
citation style for this article}{MLA citation style for this article}
\stoptext
%%%
I've been exploring different ways to do it better, but with not much luck,
I was thinking something based in key=value assignments? setups? datasets
ght size to Lua."
They were moved to the goodie file (there are every few design size
setups in goodie files, minion has one, but i don't have these fonts nor
use them.
Have just completed a minion-pro-opticals typescript collection with a
minion-opticalsizes.lfg.
Somehow I didn't even see yours and
es so
one can wonder.
"at some point the decision was made to kick out these definitions and move the
burden of figuring out the right size to Lua."
They were moved to the goodie file (there are every few design size
setups in goodie files, minion has one, but i don't have these
: using setups
which are basically macros. The #1 is the current node (but you can store it in
a
macro and use it later if needed). So, only references are passed around.
for thomas: we now also have (in lmtx)
\ifxml {id}{pattern} \else \fi
\ifxmltext {id}{pattern} \else \fi
> -Ursprüngliche Nachricht-
> Von: Hans Hagen via ntg-context
> Gesendet: Montag, 21. August 2023 19:09
>
> you need a bit of imagination because basically (depends a bit on what you
> do) one big nested expansion is going on, as Thomas explained: using setups
>
On 8/21/2023 6:56 PM, Thomas A. Schmitz wrote:
On 8/21/23 18:36, Michael Löscher wrote:
Thank you so far. But what I would like to understand first ist how
the different setups work togehter. How are they processed? What is
the order of processing, which are the stets taken by the enginge when
On 8/21/23 18:36, Michael Löscher wrote:
Thank you so far. But what I would like to understand first ist how the
different setups work togehter. How are they processed? What is the
order of processing, which are the stets taken by the enginge when
processing an xml document? Without
The first element
contains a tag and so it differs from the other ones. The
second element's tag contains the word "Header" which makes it
different again. The other elements contain a tag
that they all have in common.
What could be the appropriate xml setups to generate the ab
er" which makes it different again.
The other elements contain a tag that they all have
in common.
What could be the appropriate xml setups to generate the above output?
Michael
---
xml data:
\startbuffer[xmlcontent]
What it is
2023-08-01
"Header" which makes it different again.
The other elements contain a tag that they all have
in common.
What could be the appropriate xml setups to generate the above output?
Michael
---
xml data:
\startbuffer[xmlcontent]
What it is
\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p|]
\NC asdf \NC a asdf asdf asdf asdf asdf asdf
sdf asdf
t; \startsetups[mypenalties]
> > \setdefaultpenalties
> > \setpenalties\clubpenalties{1}{150}
> > \setpenalties\widowpenalties{1}{1}
> > \setpenalties\displaywidowpenalties{1}{1}
> > \stopsetups
> >
> > \setuplayout[setups=mypenaltie
\startsetups[mypenalties]
\setdefaultpenalties
\setpenalties\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p
\startsetups[mypenalties]
\setdefaultpenalties
\setpenalties\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p
\setpenalties\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p|]
\NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf
but Hans suggestion to provide a hook which can be used to
re-enable the feature, e.g.
\startsetups [typing:mine]
\setbreakpoints[compound]
\stopsetups
\setuptyping [CUSTOM] [setups=typing:mine]
The only flaw I can see in the suggestion is the use
Thanks,
Unfortunatly, it doesn't work (no difference in output with or without
the `setups` parameter)
I'm not up-to-date, Should I update? Here is my version.
mtx-context | current version: 2023.03.10 12:15
Many thanks
Le 17/08/23 à 16:32, Hans Hagen a écrit :
On 8/17/2023 2:41 PM
gparameter
\to \everyinitializeverbatim
and then
\startsetups typing:mine
\setbreakpoints[compound]
\stopsetups
with
\starttyping[lines=yes,setups=typing:mine]
I need Wolfgang to check it for possible interferen
% \dorecurse{\datasetsize{autores}}{
% \setups[userdata:idautor]
% }
% \stopdocument
However, i can provide a processor:
% \startsetups[userdata:idautor]
% \dontleavehmode
% \imghref
% {\externalfigure[cvlac.pdf][logo]}
% {\datasetvariable{autores}{\datasetindex}{vclac}}
% \quad
}\hfill}][]
[\setups{middle}][]
How do I deal with the \placefootnotes command so that it ignores this
and either gives me no header, or perhaps a new header with 'Notes' in
place of [section] (which is achieved in centered position with
setups[middle])?
Julian
I use the following for a notes
be blank with no header), but I am currently getting the header
that belongs to the main setup for headers, which happens to be:
\startsetups[middle]
\hfill
\getmarking[section]
\hfill
\stopsetups
\setupheadertexts
[{\hfill\documentvariable{metadata:title}\hfill}][]
[\setups{middle}][]
How
? \stopexercici \par
\startexercici [exercici:proporcionalitat-directa-antic-18]{Dieta recomanada} A
un pot de iogurt de 125 g. hi ha una inscripció que posa \par \startnarrower
[2*middle] \quotation {Contingut en calci 104 mg. (26\% del consum diari
recomanat)} \stopnarrower \par \startitemize [a] \item Quants milÂ
s? I a
21? \\stopexercici \\par \\startexercici
[exercici:proporcionalitat-directa-antic-20]{preu dels polÃgrafs} Quatre
bolÃgrafs costen 1,20 â¬. Completeu aquesta taula: \\par \\placetable
[here,none] [taula:preu-boli] {Preu dels bolÃgrafs} { \\bTABLE
[setups={table3:header, table3:frame, tabl
r results. The overwhelming majority of hq fonts
don't have them, and the few that do do them poorly, etc.
(So there is no substitute for full control of these transliteration
characters.)
So even if we use symbols, would like to feed these setups to the CLD template
you provided some days ago
[TextConcurrentFrame]
[mp=GraphicConcurrent,
% mp=mpos:region:draw,
method=mpos:region,
frame=off,
topoffset=1em,
leftoffset=1em,
before=\blank[2*big],
after=\blank,
location=paragraph]
% And use setups to get a nicer definition:
\startsetups concurrent:before
\ConcurrentTex
s up to the user to decide to use {} (as before) or not but it is less
> error prone.
>
> It is now also possible to nest setups as in
>
> \starttext
>
> \startsetups one
> \startsetups [three]
> HERE
> \stopsetups
> \stopsetups
>
> \startsetups two
&g
to decide to use {} (as before) or not but it is less
error prone.
It is now also possible to nest setups as in
\starttext
\startsetups one
\startsetups [three]
HERE
\stopsetups
\stopsetups
\startsetups two
\startsetups [three]
THERE
\stopsetups
\stopsetups
\setups
Two concurrent situations can happen, which I'd like to typeset as two
parallel columns while keeping the overall page layout (i.e., headers,
footers, margins, and such).
current version: 2023.07.18 22:07
I'd like to find a way to set up start/stop environments, if possible, to
come up with a
:
>>>> Dear List members,
>>>> For my academic work with context I need the following cite according to
>>>> Apa standards:
>>>> Knuth (1984, p. 12) mentions ….
>>>> The matrix is this:
>>>> AUTHOR (, p.~n).
>>>> I
….
The matrix is this:
AUTHOR (, p.~n).
I reckon this can somehow be accomplished with the \setupbtx command.
(Standard these and other variants are possible: AUTHOR () and
AUTHOR , p. n.)
I tried different setups: \setupbtx[apa:cite:authoryear], and
\setupbtx[apa:cite:authoryears], I played
to Apa
>> standards:
>> Knuth (1984, p. 12) mentions ….
>> The matrix is this:
>> AUTHOR (, p.~n).
>> I reckon this can somehow be accomplished with the \setupbtx command.
>> (Standard these and other variants are possible: AUTHOR () and AUTHOR
. n.)
I tried different setups: \setupbtx[apa:cite:authoryear], and
\setupbtx[apa:cite:authoryears], I played with the lefttext, righttext and
other options, but none of them give the desired result.
Thank you for any suggestions.
Regards,
Robert
@article{Knuth1984,
author={Knuth, Donald E
are possible: AUTHOR () and AUTHOR ,
p. n.)
I tried different setups: \setupbtx[apa:cite:authoryear], and
\setupbtx[apa:cite:authoryears], I played with the lefttext, righttext and
other options, but none of them give the desired result.
Thank you for any suggestions.
Regards,
Robert
:
Thanks Hraban, didn't think of that so will give it a try.
Best Wishes
Keith
On Fri, 28 Jul 2023, 17:28 Henning Hraban Ramm, wrote:
Am 28.07.23 um 17:04 schrieb Keith McKay:
> I played around with the setups for the align:pass:test4 code
below, as
> Hans sug
I
use \setuptyping for the general style with a background box. But that
conflicts with the setups for special cases like code and result side by
side.
I guess I’ll also include this in the CGJ setup.
... attached an extension that supports inheritance (via category),
still honors 'buffer
Thanks Hraban, didn't think of that so will give it a try.
Best Wishes
Keith
On Fri, 28 Jul 2023, 17:28 Henning Hraban Ramm, wrote:
> Am 28.07.23 um 17:04 schrieb Keith McKay:
> > I played around with the setups for the align:pass:test4 code below, as
> > Hans suggested, and
Am 28.07.23 um 17:04 schrieb Keith McKay:
I played around with the setups for the align:pass:test4 code below, as
Hans suggested, and it was changing the \tolerance value which made the
difference. Increasing the \tolerance value to 1000 eliminated all
overfull hboxes but still left 79
Hi all!
Using the example below I have completed a test using a larger book.
This time I downloaded War and Peace from the Gutenberg Project and
extracted the individual xhtml files for Context.
I played around with the setups for the align:pass:test4 code below, as
Hans suggested
to the files so that my setup for xml was very simple.
Here are my setups for the layout of the novels showing some trackers
that were used as well:
\definepapersize[pagee][width=5.06in,height=7.81in]
\setuppapersize[pagee]
% XML setups here
\startsetups[grid][mypenalties]
\setdefaultpenalties
simple.
Here are my setups for the layout of the novels showing some trackers
that were used as well:
\definepapersize[pagee][width=5.06in,height=7.81in]
\setuppapersize[pagee]
% XML setups here
\startsetups[grid][mypenalties]
\setdefaultpenalties
\setpenalties\widowpenalties{1}{150
lmt_outline is shifted to
the right, if I use it in a macro?
no time now but you can do this instead of the lmt_text:
draw lmt_outline [
text = "\bf\strut #1",
kind = "fillup",
fillcolor = "white",
rulethickness = rulesize,
[
text = "\bf\strut #1",
kind = "fillup",
fillcolor = "white",
rulethickness = rulesize,
];
(maybe spaces creep in due to loading font files / setups or so)
Thank you!
Yes, this works, and with rulethickness
p in due to loading font files / setups or so)
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pra
Am 06.07.23 um 11:58 schrieb Alan Braslau:
Maybe it’s also a problem of \startdocument – I always get a first
empty page and don’t understand why.
One gets an empty first page if there is *any* text content anywhere in
the setups or environment files before the \startdocument.
My problem
ument – I always get a first empty
page and don’t understand why.
One gets an empty first page if there is *any* text content anywhere in
the setups or environment files before the \startdocument.
--
Alan
Hi,
if I use \startdocument, the setups "document:start" and "document:stop"
get inserted at the beginning and end. But if I define my own document,
it doesn’t work. What’s wrong?
"""
\definedocument[presentation]
\startsetups[presentation:start]
{\bfd\d
[file:LucidaBrightItalic]
> \definefontsynonym[LucidaBrightDemiBold] [file:LucidaBrightDemiBold]
> \definefontsynonym[LucidaBrightDemiItalic] [file:LucidaBrightDemiItalic]
> \stoptypescript
>
> \starttypescript [mylucidaserif]
> \setups[font:fallback:serif]
>
DemiItalic] [file:LucidaBrightDemiItalic]
\stoptypescript
\starttypescript [mylucidaserif]
\setups[font:fallback:serif]
\definefontsynonym[Serif][LucidaBrightRegular]
[features=default]
\definefontsynonym[SerifItalic] [LucidaBrightItalic]
[features=default]
\defi
rttext
>
> % \setupexternalfigures
> % [location={default,global}]
>
> % \startsetups adaptive:test
> % \setbox\usedadaptivebox\hbox to \usedadaptivewidth yoffset
> -\usedadaptivedepth \bgroup
> % \externalfigure
> % [cow.pdf]
> % [width=\usedadaptiv
\egroup
\stopsetups
\dorecurse{5}{
\dostepwiserecurse{1}{150}{1}{%
this~#1.##1 is~#1.##1 test~#1.##1
{\adaptivebox[strut=yes,setups=adaptive:test]{\strut}}
}
\blank
}
\stoptext
(2) If someone wants a plain (or fot that matter latex) solution then
one can use
It's a tough problem for sure.
I'm wondering if there's a general solution?
That is, a way to tell ConTeXt to "protect the lettrine" regardless of the
source document text? Nothing can be hard-coded because the setups (take a
look at keenwrite themes
https://github.com/DaveJarvis
>
> > On Tue, Jun 13, 2023 at 02:01:14PM -0700, Thangalin via ntg-context wrote:
> > > Thanks Otared,
> > >
> > > Unfortunately, that's adding content between \starttext and \stoptext,
> > > which isn't tenable in my situation. The user is writing in Mar
gt;
> > Unfortunately, that's adding content between \starttext and \stoptext,
> > which isn't tenable in my situation. The user is writing in Markdown,
> which
> > is automatically converted to XHTML then passed to ConTeXt, and so the
> > setups need to accoun
TML then passed to ConTeXt, and so the
> setups need to account for this scenario without modifying the source
> document.
>
Yeah yeah yeah, tenable. A lot of things aren't tenable. Anyhow,
What source document are you talking about here?
You're already sourcing the lines after chapter
wrote:
> Thanks Otared,
>
> Unfortunately, that's adding content between \starttext and \stoptext,
> which isn't tenable in my situation. The user is writing in Markdown, which
> is automatically converted to XHTML then passed to ConTeXt, and so the
> setups need to account
Thanks Otared,
Unfortunately, that's adding content between \starttext and \stoptext,
which isn't tenable in my situation. The user is writing in Markdown, which
is automatically converted to XHTML then passed to ConTeXt, and so the
setups need to account for this scenario without modifying
; the lettrine such that regardless
> of whether the first paragraph spans multiple lines, a short first paragraph
> will still prevent the second paragraph from overlapping the lettrine?
>
> That is, the setups should work in both cases, without any knowledge about
> t
s multiple lines, a short
first paragraph will still prevent the second paragraph from overlapping
the lettrine?
That is, the setups should work in both cases, without any knowledge about
the first paragraph length being added between \starttext and \stoptext.
ConTeXt LMTX version: 2023.06.04 18:58
Gerben Wierda via ntg-context 于2023年6月2日周五 19:37写道:
> For Japanese I currently use
>
> \startsetups [japanese]
> \setscript [nihongo]
> \stopsetups
> \setuplanguage [ja] [setups=japanese]
> \definefallbackfamily
> [archimate]
> [ss]
> [Hiragino Sans]
>
For Japanese I currently use
\startsetups [japanese]
\setscript [nihongo]
\stopsetups
\setuplanguage [ja] [setups=japanese]
\definefallbackfamily
[archimate]
[ss]
[Hiragino Sans]
[preset=range:japanese,
tf=style:W3,
it=style:W3,
bf=style:W5,
bi=style:W5,
force=yes
1 - 100 of 2448 matches
Mail list logo