Re: [NTG-context] Hyphenation again

2021-06-06 Thread Rik Kabel
missing? Best, Denis When I edit this example with Vim, I see, in part: \startexceptions[en] appli-ca<200b>ble obli-gated \stopexceptions \startexceptions[de] appli-ca<200b>ble obli-gated \stopexceptions \startexceptions[it] appli-ca<200b>

Re: [NTG-context] Struggling with SQL!

2021-06-04 Thread G.C.H.M. Verhaag
the issue. Regards, Gerard On 03-06-2021 20:43, Hans Hagen wrote: On 6/3/2021 12:51 PM, Gerard Verhaag wrote: Hi, I'm trying to get MySQL data access working but can't solve the issues I'm encountering. Part of my code looks like: it's probably better to use   \usemodule[sql] you also need

[NTG-context] different prefixsegments for \in

2021-06-04 Thread Pablo Rodriguez
, in my real--world document, I need to remove part and chapter numbers from the reference when in the same part and chapter (when compiling XML sources). Many thanks for your help, Pablo -- http://www.ousia.tk

[NTG-context] new upload

2021-06-04 Thread Hans Hagen
Hi, I uploaded a new version of lmtx: a next step in this matrix and such graphic part ... (also bTABLE done). The matrix bit has a high level MP interface, also because it's a nice example of implementing one (not much code needed actually). Support in bTABLE .. eTABLE is kind

Re: [NTG-context] Struggling with SQL!

2021-06-03 Thread Hans Hagen
On 6/3/2021 12:51 PM, Gerard Verhaag wrote: Hi, I'm trying to get MySQL data access working but can't solve the issues I'm encountering. Part of my code looks like: it's probably better to use \usemodule[sql] you also need to have the sql library in the tex binary tree (see manual

[NTG-context] Struggling with SQL!

2021-06-03 Thread Gerard Verhaag
Hi, I'm trying to get MySQL data access working but can't solve the issues I'm encountering. Part of my code looks like: \startluacode productsheet = productsheet or {} function productsheet.sqldatabase(database,user,password) productsheet:sql(database,user,password) end function

[NTG-context] new upload

2021-05-31 Thread Hans Hagen
\ showed, an equivalent positioning mechanism was added there. In \MKIV\ positioning support was optimized a bit as part of the upgrading process but the principles remained the same. The interface to positioning comes with a lot of commands and many of them relate to what we want to do with \METAFUN

Re: [NTG-context] chapter number sought

2021-05-30 Thread Hans van der Meer
Thanks. This helps. dr. Hans van der Meer > On 30 May 2021, at 13:40, Adam Reviczky wrote: > > Hi Hans, > > Does this help: > https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names > > <https://tex.stackexchange.com/qu

Re: [NTG-context] chapter number sought

2021-05-30 Thread Adam Reviczky
Hi Hans, Does this help: https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names ? \starttext \startchapter[title={First chapter}] \structurenumber\ - \structuretitle \stopchapter \stoptext Although getmarking is probably what you're really after

Re: [NTG-context] How to write readable source files?

2021-05-29 Thread Hans Hagen
(although some commands became obsolete when we went mkiv, like those dealing with font encoding and so) we're mostly talking about additions are they manually curated? I'd be willing to contribute to make progress on the MetaFun part. ok, but let's first wait what Wolfgang says .. we probably

Re: [NTG-context] How to write readable source files?

2021-05-29 Thread Nicola
seem to cover only the "main" MetaFun >> names. > > it is still on the agenda to make xml files for metafun but there is no > timeline for that So, is it correct that the XML files are automatically generated from the source code, and kept in sync with it? If so, how is that

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-28 Thread Rik Kabel
a publisher for this and the following examples which have a DOI but no publisher. This may be an error, but whether on the part of the APA or ConTeXt or both I cannot say. For books, the APA guide does not require a publisher if a URL is provided, and ConTeXt handles this properly. As wi

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-28 Thread Nicola
x works fine at your end: >> > >> > https://github.com/adityam/filter/blob/dev/tests/vim/21-en-dash.tex >> >> No, I get an en-dash with that, too. Log included below. > > For now, please use align=flushleft, either globally: > > \setupsyntaxhighlight

Re: [NTG-context] --luatex option failing

2021-05-28 Thread jbf
Not at all sure why this is happening. In my most recent install of lmtx (which works fine as lmtx) on Linux, I wanted to choose the --luatex option just to make a comparison between the mkiv output and lmtx. The redirection part seems to work (... --script mtx-context --luatex myfile.tex --redirected

Re: [NTG-context] --luatex option failing

2021-05-28 Thread Hans Hagen
On 5/28/2021 7:13 AM, jbf wrote: Hi list, Not at all sure why this is happening. In my most recent install of lmtx (which works fine as lmtx) on Linux, I wanted to choose the --luatex option just to make a comparison between the mkiv output and lmtx. The redirection part seems to work

Re: [NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-28 Thread Aditya Mahajan
//github.com/adityam/filter/blob/dev/tests/vim/21-en-dash.tex > > No, I get an en-dash with that, too. Log included below. For now, please use align=flushleft, either globally: \setupsyntaxhighlighting[align=flushleft] or as part of defining the typing environment: \definevimtyping[...][, al

[NTG-context] --luatex option failing

2021-05-27 Thread jbf
Hi list, Not at all sure why this is happening. In my most recent install of lmtx (which works fine as lmtx) on Linux, I wanted to choose the --luatex option just to make a comparison between the mkiv output and lmtx. The redirection part seems to work (... --script mtx-context --luatex

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-27 Thread Nicola
get: >> >> Foo, B. (1983). Title of the paper. In /Booktitle/. Paymefirst. >> >> Although I do think that, at least for inproceedings, lack of an >> editor should at least be flagged. A simple compilation of works may >> have no named editor, of I see no reason

Re: [NTG-context] mathcolor attribute in MathML (mkiv)

2021-05-27 Thread Duncan Hothersall
ue to the failure of openmath > which took away attention from it and that we actually sort of > support(ed). So when it comes to (reasonable quality) rendering in print > one always runs a bit behind. > > I'm also always a bit hesitant to touch the code because it's actually >

Re: [NTG-context] mathcolor attribute in MathML (mkiv)

2021-05-27 Thread Hans Hagen
where often the web part controls the limitations and enforces weird coding (tens of thousands of files with plenty mathml). Btw, especially symbols are a mess and interfere with assumed structure, so that's always tricky to touch. Especially when you want to have it specific for (mid/high

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-25 Thread Alan Braslau
ion of works may > have no named editor, of I see no reason to require it for inbook or > incollection. Cheap publishers regularly put out such collections of > out-of-copyright works. > > The implicit assumption that a work with no documented publisher is a > self-published

Re: [NTG-context] BibTeX inproceedings entries not rendered correctly in APA style

2021-05-24 Thread Rik Kabel
that a work with no documented publisher is a self-published work is not especially to my liking -- publishers may have good reason to not identify themselves (think of the publishers of the works of Spinoza and, in part, Voltaire) -- but I understand that the APA thinks it important. Of

Re: [NTG-context] Unwanted upright math in MkIV

2021-05-23 Thread Hans Hagen
int it in order to save trees' and then adds tons of visual attachments (logos) that took energy to transport it's fine with me (also some text bytes in mail are neglectable to whatever gets sent around or is part of web pages) H

Re: [NTG-context] mathfun

2021-05-21 Thread Otared Kavian
is trickery come >>> to >>> mind. >> Personally, I can see occasionally making use of this instead of >> \ctxlua{myfunction(args)}. There is a similar library called pgfmath which >> is part of the tikz package, which is used quite heavily

Re: [NTG-context] mathfun

2021-05-21 Thread Hans Hagen
. Personally, I can see occasionally making use of this instead of \ctxlua{myfunction(args)}. There is a similar library called pgfmath which is part of the tikz package, which is used quite heavily by the pgfplots package but also appears to be popular for other purposes: https

Re: [NTG-context] mathfun

2021-05-21 Thread Aditya Mahajan
ee occasionally making use of this instead of \ctxlua{myfunction(args)}. There is a similar library called pgfmath which is part of the tikz package, which is used quite heavily by the pgfplots package but also appears to be popular for other purposes: https://tex.stackexchange.com/questions/tag

Re: [NTG-context] xtable in def or setups

2021-05-18 Thread Werner Hennrich
Hi Adam, no, I hadn't tried that - even tough I had skimmed over that part way back, it now escaped me. \long\def\iconblock[#1]#2{% \ignorespaces *\startembeddedxtable[icbtable]* \startxrow \startxcell[width=17mm] \externalfigure[img/#1.svg][height=15mm,width=15mm

Re: [NTG-context] Synctex broken in LMTX ?

2021-05-16 Thread Otared Kavian
that part). In the test file I sent this morning, I left out that « % !TEX useOldSyncParser » line, but on my machine, with or without it the situation does not change. In fact a few years ago I was in touch with Richard Koch about the issue and we exchanged a few emails and testings, after

Re: [NTG-context] Update setpath to set the path

2021-05-10 Thread Hans Hagen
y is a symbolic link, which eases switching between versions: I seldom have to change the environment variables settings. So, your suggestions should be included as a separate script and not as part of the default. Then there is the question of providing an uninstall script as well.

Re: [NTG-context] Update setpath to set the path

2021-05-10 Thread Thangalin
tching between versions: I seldom have to change the environment variables settings. So, your suggestions should be included as a separate script and not as > part of the default. Then there is the question of providing an uninstall > script as well... > Using a ConTeXt-specific en

Re: [NTG-context] Update setpath to set the path

2021-05-10 Thread Aditya Mahajan
our suggestions should be included as a separate script and not as part of the default. Then there is the question of providing an uninstall script as well... Aditya ___ If your question is of interest to others as well, pl

Re: [NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-09 Thread Hans Hagen
{\tabskip=0pt\everycr={}     \halign{\strut\hfil##\hfil\cr#1\cr#2\cr}}} \starttext (Religion * Biology * Cosmology * Physics) is part of the subject matter of World Philosophies. (Religion * Biology * Cosmology * Physics) is part of the subject matter of World Philosophies. (\CHOICE

[NTG-context] What is the ConTeXt way to handle this \vbox trick?

2021-05-08 Thread Idris Samawi Hamid ادريس سماوي حامد
\cr#1\cr#2\cr}}} \starttext (Religion * Biology * Cosmology * Physics) is part of the subject matter of World Philosophies. (Religion * Biology * Cosmology * Physics) is part of the subject matter of World Philosophies. (\CHOICE{1}{Religion}\ * \CHOICE{X}{Biology} * \CHOICE{2}{Cosmology

[NTG-context] upcoming versions of lmtx

2021-05-07 Thread Hans Hagen
, but there are more details. Till now, part of this problem is deals with by using functions that can actually be seen as macros that can are optimized when the format is made (kind of c-ish). It's not pretty, but works and probably no one ever noticed it. That mechanism will probably stay

[NTG-context] new upload

2021-05-05 Thread Hans Hagen
Hi, I uploaded a new lmtx version. The update mostly concerns part of the low level mp-tex interface, a side effect of updating some mechanisms (one of which MF currently is extending). Hopefully it won't break users code that uses low level mp-tex interface features but anyway, if needed

Re: [NTG-context] Issue running ConTeXt from TeX Live 2019 on Alpine Linux 3.12

2021-05-01 Thread Nicola
. % The `=' (and surrounding spaces) is optional. % $foo (or ${foo}) in a value expands to the envvar or cnf value of foo. % Lines can be continued with a \; no whitespace removal is done. % % Earlier entries (in the same or another file) override later ones, and % an environment varia

Re: [NTG-context] wrong line break in recent LMTX

2021-04-28 Thread Hans Hagen
in luametatex the hyphenation machinery has all kind of extra controls and the hccode mechanism was introduced as side effect of a feedback mechanism that also can handle compound words better (althoiugh one can of course dispute the 'better' part) From luametatex.pdf in the distribution, I see

Re: [NTG-context] Change to wordright behavior?

2021-04-21 Thread Rik Kabel
}}\par   {\sc Ccc\wordright{Ccc}}\par   \sc{Ddd}\wordright{\sc{Ddd}}\par \stoptext Produces: The second and third lines with \wordright (Bbb and Ccc) each generate two lines. They previously produced one line each. Placing each part of the line in its own \sc addresses it here (Ddd

[NTG-context] next upload

2021-04-21 Thread Hans Hagen
Hi, The *next* upload will have the following change. For a long time in mkiv and also lmtx, the tex habit of turning -- and --- into endash and emdash has been handled at the font level by a injecting a font feature. This works okay. This tlig feature is currently part of the defaults

Re: [NTG-context] \processassignmentlist inside a \setup... or related

2021-04-20 Thread Hans Hagen
On 4/20/2021 1:28 PM, Jairo A. del Rio wrote: Oh, that's nice, but the \setupsomething part is still missing, i.e. I still want to be able to invoke \somethingparameter{...}. My question is about merging two tasks in one in a better way than the one I proposed, if possible. Thanks for the help

Re: [NTG-context] \processassignmentlist inside a \setup... or related

2021-04-20 Thread Jairo A. del Rio
Oh, that's nice, but the \setupsomething part is still missing, i.e. I still want to be able to invoke \somethingparameter{...}. My question is about merging two tasks in one in a better way than the one I proposed, if possible. Thanks for the help. Jairo El mar, 20 de abr. de 2021 a la(s) 02:00

Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin
9:39 AM, thierry horsin wrote: For instance: \switchtobodyfont[21pt] \startformula \frac{MTC}{MTE} \stopformula is OK. While \switchtobodyfont[22pt] \startformula \frac{MTC}{MTE} \stopformula gives an error but \switchtobodyfont[22pt] $\frac{MTC}{MTE}$ works fine. Thanks Below: part

Re: [NTG-context] \frac error

2021-04-19 Thread Hans Hagen
Below: part of the error message tex error   > tex error on line 75 in file chapter8.tex: Dimension too large can you test with this in cont-new.mlxl: \unprotect \protected\def\math_strut_htdp#1% nasty! {\s!height\dimexpr(\fontcharht#1\c_math_strut/\glyphscale)*\mathscale#1\relax

Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin
For instance: \switchtobodyfont[21pt] \startformula \frac{MTC}{MTE} \stopformula is OK. While \switchtobodyfont[22pt] \startformula \frac{MTC}{MTE} \stopformula gives an error but \switchtobodyfont[22pt] $\frac{MTC}{MTE}$ works fine. Thanks Below: part of the error message tex error

[NTG-context] Change to wordright behavior?

2021-04-18 Thread Rik Kabel
  \sc{Ddd}\wordright{\sc{Ddd}}\par \stoptext Produces: The second and third lines with \wordright (Bbb and Ccc) each generate two lines. They previously produced one line each. Placing each part of the line in its own \sc addresses it here (Ddd), but it does seem that it should

Re: [NTG-context] Hyphenation patterns

2021-04-09 Thread Arthur Rosendahl
are seven patterns involved in hyphenating the word applicable: 4p1, 1p2l2, pli2c1ab, 1ca, ca1bl, b2l2, and b4le. (the final dot is part of that last pattern). The pattern responsible for the break applic-able is pli2c1ab. If we now refer to the source repository for hyphenation patterns (since

Re: [NTG-context] "Scheduled" downtime of the contextgarden server

2021-04-05 Thread Mojca Miklavec
; for maintenance reasons (the part that's hosted in Slovenia; that > excludes wiki & modules, but includes the old distribution, buildbot > CI, CTAN, TL pretest & w32tex mirror, ...) in one of the following > days. > > It's not yet clear when exactly the downtime will happen (an

[NTG-context] "Scheduled" downtime of the contextgarden server

2021-03-31 Thread Mojca Miklavec
Dear ConTeXters, There will be a "scheduled" downtime of the contextgarden.net server for maintenance reasons (the part that's hosted in Slovenia; that excludes wiki & modules, but includes the old distribution, buildbot CI, CTAN, TL pretest & w32tex mirror, ...) in one of

Re: [NTG-context] XML/MathML namespace handling bug

2021-03-26 Thread Hans Hagen
:\mmlapplyaction} } { \xmlsetup{#1}{mml:\mmlapplyaction} } (btw, isn't content mathml more fun than presentation mathml?) Works nicely. For I also had to change this part from name() to tag(): \startxmlsetups mml:relation \edef\mmlapplyaction{\xmlfilter

Re: [NTG-context] XML/MathML namespace handling bug

2021-03-25 Thread Hugo Landau
l:apply:mml:\mmlapplyaction} > } { > \xmlsetup{#1}{mml:\mmlapplyaction} > } > > (btw, isn't content mathml more fun than presentation mathml?) Works nicely. For I also had to change this part from name() to tag(): \startxmlsetups mml:relation

Re: [NTG-context] Formulanumbers in margin

2021-03-23 Thread Adam Reviczky
Hi, So the numbercommand does work after all, I just needed to keep something in the "formulanumber" part of the textline, otherwise it wouldn't get drawn. Not sure how nice this looks, but it does work like this now: \starttext \showframe \setupformulas[numbercommand=\nbsp\inr

Re: [NTG-context] Keeping track of hyphenations

2021-03-20 Thread Hans Hagen
]\getbuffer \switchtobodyfont[ebgaramond] \getbuffer \switchtobodyfont[dejavu] \getbuffer \stoptext When tex had constructed lines, there are so called discretionary nodes left; the pre part gets appended at the end of a line, the postpart injected at the start of the next one

Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-13 Thread Hans Hagen
]. It works well except the figures and bars are not hidden. Only texts, even  in the mp part, are hidden. It is OK for me. However, it would be much better to set the height of blank space depends on the height of hidden texts. Is there a way to set the variable height  using “overlay” stuff

[NTG-context] add more blank space when using \starteffect[hidden]

2021-03-12 Thread Jeong Dal
are not hidden. Only texts, even in the mp part, are hidden. It is OK for me. However, it would be much better to set the height of blank space depends on the height of hidden texts. Is there a way to set the variable height using “overlay” stuff instead of \blank[5cm]? Thank for reading

Re: [NTG-context] lmt_outline

2021-03-11 Thread Mohammad Hossein Bateni
to cover some part (small area around the joining part) twice, so that messes up the even/odd logic of eofill. Here is one of the things I tried: \starttext \definedfont[dejavusansmono*arabic] \setupalign[r2l] \startMPcode picture op; op := lmt_outline [ text = "سلام", kind = "f

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
have tried various versions of 'margin' before the \doifnot part of the definition, but to no avail. There is a very similar previous question that might be what you are looking for. <https://www.mail-archive.com/ntg-context@ntg.nl/msg97548.html> Try that but use 'flushleft' instead of '

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread jbf
by .5cm and do not know how to use 'margin' in the above definition, or some other way of getting the indentation. I have tried various versions of 'margin' before the \doifnot part of the definition, but to no avail. There is a very similar previous question that might be what you are looking

Re: [NTG-context] margin in TocEntry definition

2021-03-11 Thread Bruce Horrocks
th: > > Chapter title > Author name > > But I want the author name indented by .5cm and do not know how to use > 'margin' in the above definition, or some other way of getting the > indentation. I have tried various versions of 'margin' before the \doifnot > part of the de

[NTG-context] margin in TocEntry definition

2021-03-10 Thread jbf
'margin' in the above definition, or some other way of getting the indentation. I have tried various versions of 'margin' before the \doifnot part of the definition, but to no avail. Hopefully I can achieve: Chapter title Author name Julian

[NTG-context] ConTeXt, KeenWrite, Markdown, and XHTML

2021-03-06 Thread Thangalin
The Lua code to generate start/stop environments with Pandoc is described in Part 8 of my Typesetting Markdown series. https://dave.autonoma.ca/blog/2020/04/28/typesetting-markdown-part-8/#annotations The XML-MKIV documentation shows how to map a specific setup to a particular attribute: \xmlsets

Re: [NTG-context] filter module / externalizing TikZ graphics

2021-03-06 Thread Henning Hraban Ramm
; christmas, children, medieval & >> fantasy, some author...). >> They all use [name=\currentcomponent]. If I could avoid the JOBNAME part of >> the file name, all booklets would use the same note PDFs. Now, the temp >> directory contains literally thousands of files.

Re: [NTG-context] lmtx update / teaser

2021-03-01 Thread Otared Kavian
he metafun todo files > I ended up at the fancy shape part (parshapes) running over multiple > paragraphs and decided to provide a (kind of low level) interface that > integrates that. The example code is a few decades old but still works ok (i > might try to improve them a bit some day

Re: [NTG-context] Hyphenation pattern for Esperanto

2021-03-01 Thread Alain Delmotte
ther signs or abbreviation or texts. Those I do not know for eo, have been marked with a percent sign. #I have seen that the \lowerleftdoubleninequote,... are sometimes given by #the character itself “ ”,... #For the date, is it the order of the part of the date yyy mm dd? # #I d

[NTG-context] lmtx update / teaser

2021-03-01 Thread Hans Hagen
Hi, I uploaded a new lmtx. As I'm currently going through the metafun todo files I ended up at the fancy shape part (parshapes) running over multiple paragraphs and decided to provide a (kind of low level) interface that integrates that. The example code is a few decades old but still works

[NTG-context] Incorrect css reference in exported html file

2021-02-27 Thread Aditya Mahajan
cssfile }) Shouldn't the last part be filename=basename(source) to get the right name? Without that whenever the value of cssfile is a file in another directory, the css reference in the exported html file will be incorrect. In case anyone is interested, this manifests in t-vim as fol

Re: [NTG-context] Possible problem with context using the ARM 64bit download for Apple Silicon M1

2021-02-23 Thread Keith McKay
below. This is actually taken from the LuaMetaFun manual. I also noticed that some figures are missing in the manual (Chapter 7, Shade) which is part of the ARM 64bit tree but not in the manual in the X86 64bits tree. That arm version was an experiment so it's definitely not in sync

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Hans Hagen
with 2021.02.23 17:47, still same error. hm, the run option wasn't part of the mwe -) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53

Re: [NTG-context] Possible problem with context using the ARM 64bit download for Apple Silicon M1

2021-02-23 Thread Hans Hagen
, Shade) which is part of the ARM 64bit tree but not in the manual in the X86 64bits tree. That arm version was an experiment so it's definitely not in sync with the latest luametatex/lmtx combination. It was crosscompiled on an intel mac which took ages so it stuck as experiment. Because th

[NTG-context] Possible problem with context using the ARM 64bit download for Apple Silicon M1

2021-02-23 Thread Keith McKay
a error with the lmt_shade command in the ARM 64bits ConTeXt verson but not in with the X86 64bits version of ConTeXt. The MWE is shown below. This is actually taken from the LuaMetaFun manual. I also noticed that some figures are missing in the manual (Chapter 7, Shade) which is part of the ARM

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
> Hi Uschi, > > I don’t know whether this is similar to whay you might intend: > > \setuppapersize[A8,landscape] > \setuplayout[leftmargin=2.5cm, > leftmargindistance=0.2cm, > backspace=2.9cm, > width=4cm] > \showframe > \starttext

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Otared Kavian
width=4cm] > \showframe > \starttext > \blackrule > \margintext{\blackrule[color=black, height=0.5ex, width=1cm]\\Me} > \startformula > a^n + b^n = c^n. > \stopformula > \stoptext > > BTW, it isn’t also clear to me whether the formula is part of your > docume

Re: [NTG-context] \blackrule and margin

2021-02-23 Thread Ursula Hermann
} \startformula a^n + b^n = c^n. \stopformula \stoptext BTW, it isn’t also clear to me whether the formula is part of your document or not. Just in case it helps, Pablo -- http://www.ousia.tk ___ If your question is of

Re: [NTG-context] Hyphenation pattern for Esperanto

2021-02-22 Thread Tomas Hala
o not know for eo, have been marked with a percent sign. #I have seen that the \lowerleftdoubleninequote,... are sometimes given by #the character itself “ ”,... #For the date, is it the order of the part of the date yyy mm dd? # #I did prepare the file lang-txt.lua and did send

Re: [NTG-context] Hyphenation pattern for Esperanto

2021-02-22 Thread Alain Delmotte
e,\v!month,\space,\v!day,~d.}, #    \s!patterns=eo, #    \s!lefthyphenmin=2, #    \s!righthyphenmin=2] I have seen that the \lowerleftdoubleninequote,... are sometimes given by the character itself “ ”,... For the date, is it the order of the part of the date

Re: [NTG-context] \blackrule and margin

2021-02-22 Thread Ursula Hermann
Dear Pablo! Thank you so much for helping me. It is perfect. The formular is also a part of my documet. Uschi Von: ntg-context im Auftrag von Pablo Rodriguez Gesendet: Freitag, 19. Februar 2021 16:41 An: ntg-context@ntg.nl Betreff: Re: [NTG-context

[NTG-context] path in LuaMetaFun

2021-02-20 Thread Pablo Rodriguez
, reverse=true, ] xsized .75TextWidth ; \stopMPcode \stopmakeup \stoptext I’m afraid I don’t understand how to close the path. Cycle has problems with part of the text and returning to the start seems to distort the path itself. Which is the right way to close the path or what am I missing? M

Re: [NTG-context] \blackrule and margin

2021-02-19 Thread Pablo Rodriguez
height=0.5ex, width=1cm]\\Me} \startformula a^n + b^n = c^n. \stopformula \stoptext BTW, it isn’t also clear to me whether the formula is part of your document or not. Just in case it helps, Pablo -- http://www.ousia.tk ___ I

Re: [NTG-context] Are positional graphics still working?

2021-02-17 Thread Hans Hagen
On 2/17/2021 12:18 AM, Jairo A. del Rio wrote: I've copied the following example from the ConTeXt archive: there is a comment in the code -- todo: anchor, page so i'll look into it (not hard to fix) in lmtx i want to add some more natural helpers to the interface; part of also updating

Re: [NTG-context] composing commands

2021-02-05 Thread Hans Hagen
f variants for each language, which is interesting because they actually could be in one font, but that (a new encoding as part of texgyre) happened just before we all went unicode and before the european union became larger If, as you suggest, such composed characters maybe used at the cost

Re: [NTG-context] Making text disappear depending on mode

2021-02-04 Thread Hans Hagen
On 2/4/2021 3:59 PM, Axel Kielhorn wrote: Hello, I’m currently writing an article for „Die TeXnische Komödie“ and discovers that my code is not working. When the mode „change“ is set, the text should appear with a red line on the side, that part is working. When the mode is not set

[NTG-context] Making text disappear depending on mode

2021-02-04 Thread Axel Kielhorn
Hello, I’m currently writing an article for „Die TeXnische Komödie“ and discovers that my code is not working. When the mode „change“ is set, the text should appear with a red line on the side, that part is working. When the mode is not set, it should disappear, that’s the part

Re: [NTG-context] filter module / externalizing TikZ graphics

2021-01-30 Thread Aditya Mahajan
ecause at some point context used to delete \jobname-temp-.tmp files if you passed the --purge option, but I see that it is no longer the case. Maybe that can be removed from the default name. The last part are the numbers, which are needed when caching results. > I’m not yet sure what would

Re: [NTG-context] filter module / externalizing TikZ graphics

2021-01-30 Thread Henning Hraban Ramm
ond compile runs if I could influence the naming: I got ~500 songs in their own component files, and I use them in different songbooklets with the same layout. E.g. there’s one containing all the songs and several with a subject (e.g. winter & christmas, children, medieval & fantasy, some autho

Re: [NTG-context] understanding \startTEXpage

2021-01-28 Thread Hans Hagen
On 1/27/2021 6:24 PM, Peter Münster wrote: Hi, According to https://wiki.contextgarden.net/Command/startTEXpage it "starts a page that fits its contents exactly". But it seems, that part of the content is cropped here: \startTEXpage X \hskip20cm X \stopTEXpage No problem with 10

[NTG-context] understanding \startTEXpage

2021-01-27 Thread Peter Münster
Hi, According to https://wiki.contextgarden.net/Command/startTEXpage it "starts a page that fits its contents exactly". But it seems, that part of the content is cropped here: \startTEXpage X \hskip20cm X \stopTEXpage No problem with 10cm instead of 20cm... Is this a bug or expected

Re: [NTG-context] [startstop]

2021-01-22 Thread Jairo A. del Rio
ntextgarden.net > > <http://modules.contextgarden.net> and put content under texmf-modules > > so after mtxrun --generate and context --make examples work. > > The core function of the annotation module (custom environment > with key-val-arguments) is part of ConTeXt but it

Re: [NTG-context] [startstop]

2021-01-22 Thread Wolfgang Schuster
ontext --make examples work. The core function of the annotation module (custom environment with key-val-arguments) is part of ConTeXt but it doesn't create new environment commands. \defineuserdata [zzz] [alternative=zzz, after={\blank[10mm]}] \defineuserdataalternative[zzz][renderin

Re: [NTG-context] Missing images in Wiki?

2021-01-22 Thread Andres Conrado Montoya Acosta
_...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > It seems a lot of image examples from the wiki are gone now. Most articles > lost many images. Is this on purpose? > > -- > Andrés Conrado Montoya > -- next part -

Re: [NTG-context] LMTX isn't typesetting math correctly with Pagella

2021-01-18 Thread Mikael Sundqvist
h) user effort > > to be decided is of we use the feature setting "mathkerns=yes" (this was > a directive but i made it just a feature) > > Now, ideally: > > \enableexperiments[fonts.compact] % for the definitions > > should give nearly similar results

Re: [NTG-context] LMTX isn't typesetting math correctly with Pagella

2021-01-17 Thread Hans Hagen
efinitions should give nearly similar results (but less mem usage, less fonts loaded and possibly some performance gain) I also updated some test features: \definefontfeature[mathextra][staircase=yes,boundingbox=frame] as part of the general lmtx upgrading process. Only cambria (and lucida) have

[NTG-context] lmtx upload

2021-01-11 Thread Hans Hagen
\glyph left 3pt`M\vl\quad \vl\glyphright 2pt`M\vl\quad \vl\glyph raise -4pt right 4pt`M\vl\quad \vl\glyph left -1pt right -1pt`M\vl \stopTEXpage This is part of some experiments with manipulating glyph dimensions instead of font kerns. These extensions

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-11 Thread Ivan Pešić
:34 +0100 > Subject: Re: [NTG-context] A not so short introduction to ConTeXt Mark IV > I don't really know anything about git, so I can't give my opinion about > what is or isn't convenient to do. Certainly to report bugs in my text I > don't think it takes anything more than an e-mail to

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Aditya Mahajan
On Fri, 8 Jan 2021, jbf wrote: > Very useful!  And I'll be on the lookout for a newspaper called The Onion :-) > one that I presume would bring you to tears. Oh, it does: https://www.theonion.com/ Aditya___ If your

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Very useful!  And I'll be on the lookout for a newspaper called The Onion :-) one that I presume would bring you to tears. And yes, had discovered that processors don't like split 'strings'!! But I would never have worked out your definition on my own, but it offers me ideas for other

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Oh, I would do it another way, as processors aren't very happy with commands which split "strings". The drawback of my quick and dirty method is the need for additional commands, but I hope this will be useful. \defineregister[myindex] %Sorry for the funny names \def\myindexspaced#1{%

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name.

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name.

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Hi. In latest LMTX (2021.01.07 16:59), your example works as expected: \defineregister[myindex] \defineprocessor[style][style=italic]%Isn't another name available? \starttext In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018 \placemyindex% \stoptext Jairo El jue, 7 de

[NTG-context] styling part of an index entry

2021-01-07 Thread jbf
I'm wondering if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And what I need is to be able to italicise entries that refer to newspaper names, e.g. The

Re: [NTG-context] Continued chapter numbers

2021-01-06 Thread Wolfgang Schuster
“Independent Section Numbering”: https://wiki.contextgarden.net/Titles \definestructureresetset [default][1,1,0][1] %% reset part, chapter, but not section \setuphead [sectionresetset=default] \definestructureresetset is the same as \defineresetset. I assume

<    3   4   5   6   7   8   9   10   11   12   >