[NTG-context] Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-23 Thread Gerion Entrup
Here is a solution for the first part of my question. This is based on https://www.mail-archive.com/ntg-context@ntg.nl/msg101156.html and try and error based on publ-imp-aps.mkvi and publ-imp-apa.mkvi: It display now the citation _and_ numbering labels in the short form: ``` \setupinteraction

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Jean-Pierre Delange
; to compile. I'm forced to try again (due to some other issue with >> footnotes), and instead of compiling to error, it compiles, but the >> footnote's message ends up being empty. >> >> Why is it appearing empty? Is there a fix? > > Hi Joel, > > the bibl

[NTG-context] Re: documentation: parameters of \setuplist

2024-04-22 Thread Duncan Hothersall
s this en-/disable? collecting entries? > * label (yes no none Name): language dependent labels? as a prefix or what? > * location (none, here): disable placement? when makes this sense? > * aligntitle (yes no): align which part to what? > * symbol (one two three none default): where i

[NTG-context] documentation: parameters of \setuplist

2024-04-22 Thread Henning Hraban Ramm
? * location (none, here): disable placement? when makes this sense? * aligntitle (yes no): align which part to what? * symbol (one two three none default): where is this used? Expect more questions… Hraban ___ If your

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Pablo Rodriguez via ntg-context
nds up being empty.  > > Why is it appearing empty? Is there a fix? Hi Joel, the bibliography part doesn’t work for me at all. But notes may be placed as their location is text (and you add a real footnote). This works fine: \setupnote[footnote][location=text] \starttext \input kn

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Gerion Entrup
> Otherperson, Another title, (1900). ``` > > > > How can I achieve that \cite[something] always renders in the short > > form by default? How can I customize that references to Knuth contain > > this extra '>'? How can I customize the APS style to also use the > &

[NTG-context] Customize citation format of a bibliography (use the short form as reference format)

2024-04-15 Thread Gerion Entrup
ly signed message part. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://w

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-10 Thread Hans Hagen
tline" will be in the next upload so with the current one you need to use the also posted here for ... endfor variant also when i edit the code and replace metapost part like this: \startMPcode      draw lmt_outline [          kind = "outline",          text

[NTG-context] Re: Fwd: Re: how to apply gradient color to a piece of text?

2024-04-09 Thread seyal zavira
seams this code means to put a hidden text with same size behind metapost shape. but it does not work properly for me (current version: 2024.04.01 08:59) and produce empty page but with searchable hidden text. also when i edit the code and replace metapost part like this: \startMPcode draw

[NTG-context] Re: upload

2024-04-01 Thread Mikael Sundqvist
ff. For math, in particular, he seems to have no understanding (sorry Hans). I am worried about the Dutch school system. Nevertheless, I have, during this time, more and more enjoyed our discussions, and so I started to feel bad about my "patches", and sorry for Hans. Thus, I have lately re

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
Thomas Meyer schrieb am 26.03.2024 um 16:28: Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so

[NTG-context] Headertext

2024-03-26 Thread Thomas Meyer
Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so, how? Thanks for any help Greetings

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
As I understand, Thomas needs a layout in which the header shows something like 1. Chapter title -- 1.1. Section title (including the numbers! *This is the important bit!*) There are a couple things about this: 1. In a section (part, chapter, section, etc.) you can introduce three versions

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Willi Egger
ve imposition to the printshop and they don't do binding >>> correction in their workflow, I'd need to set horoffset differently for >>> every single page (i.e. first, second, second-to-last and last the same; >>> 3th, 4th and from back the same etc.). Or is pageshift applied

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Hraban Ramm
value (paper thickness) should be enough in combination with an imposition schema. I.e. if I define a paper thickness and the number of pages that are in one booklet (as a single booklet or part of a "proper" book), then the page shift should work automatically. Well, for a sing

[NTG-context] Re: can we do binding correction?

2024-03-19 Thread Willi Egger
second-to-last and last the same; 3th, 4th > and from back the same etc.). Or is pageshift applied independently from > arranging? > > And then, it makes no sense to add the same value all the time. I don’t know > if BCOR works this way in LaTeX, but one value (paper thickness)

[NTG-context] Re: issue with typing in footnotes

2024-03-18 Thread Pablo Rodriguez via ntg-context
gt; > The footnote environment is just a fancy way for a command with a > argument and buffers don't like being part of arguments. > > You can put the code in buffer outside of the footnote and type the > content of the buffer in the footnote. Many thanks for your reply, Wolfgang.

[NTG-context] Re: can we do binding correction?

2024-03-18 Thread Hraban Ramm
thickness and the number of pages that are in one booklet (as a single booklet or part of a "proper" book), then the page shift should work automatically. Well, for a single booklet, it could. In a book, booklets can have different numbers of pages, and then you'd need to define a

[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster
for a command with a argument and buffers don't like being part of arguments. You can put the code in buffer outside of the footnote and type the content of the buffer in the footnote. begin example \starttext \def\startfoo#1\stopfoo{#1} % \startfoo % xxx % \starttyping % yyy % \stoptyping % zzz

[NTG-context] Re: Japanese

2024-03-16 Thread Wolfgang Schuster
is doing. Maybe once things are settled, Hans and Wolfgang will have a look in the Japanese part of ConTeXt so that the user can avoid to enter the setup included in the \directlua part. There is no need for these calculations because     1. you can create named layouts (e.g. \definelayout

[NTG-context] Re: Japanese

2024-03-14 Thread Otared Kavian
and Wolfgang will have a look in the Japanese part of ConTeXt so that the user can avoid to enter the setup included in the \directlua part. Again thank you for what you are sharing. Best regards: Otared > On 14 Mar 2024, at 08:12, Emanuel Han via ntg-context > wrote: > >

[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
gt; files, and noticed that with the new version the output looks great. > I have a question about the code in the \directlua{} part of your setup: why, > for instance, the > paperSize = « B5" > is defined « by hand » there, instead of being retrieved from the command > \setuppapersize[B

[NTG-context] Re: Japanese

2024-03-13 Thread Otared Kavian
Hi Emmanuel, Thank you so much for the new setup for writing Japanese: I tested with both files, and noticed that with the new version the output looks great. I have a question about the code in the \directlua{} part of your setup: why, for instance, the paperSize = « B5" is de

[NTG-context] Creating a module for calligraphy practice templates

2024-03-12 Thread Andres Conrado Montoya
. (At the root of the repository, there is a file build.lua, that is not really part of the project, just a custom tool I use to process the files, a sort of minimal build system. You can ignore it.) I welcome any kind of suggestions and dire warnings. I've tried to read the wiki and the manuals

[NTG-context] Re: How to set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
on contains nothing except the \event command I would remove the section titles from the document itself and place them as part of the \event command. \define[1]\Event {\startsection[title={#1}] \input{knuth} \stopsection} \starttext \Event{Neon Tetras} \Event{Detective Sto

[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
span mid column. Notes can go in columns %D or at the end. We can start with a single column (for titles and such). I can't figure out which part of the file should be used/adapted to start with a single column. What I did is to put datas and abstract in a frame and use \placefigure. As stated

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Wolfgang Schuster
it multiple places) is that JPEG 2000 *Part 2* files should have extension .jpx, not .jp2. By default, ConTeXt does not recognize .jpx. But if I rename a .jpx file to have a .jp2 extension, then ConTeXt properly processes the file and I see the picture in the PDF. Q: are there any plans to make ConTeXt

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Jim
jp2 (JPEG 2000) >> files. However, my understanding (and I could well be wrong, but I've seen >> it multiple places) is that JPEG 2000 *Part 2* files should have extension >> .jpx, not .jp2. >> By default, ConTeXt does not recognize .jpx. But if I rename a .jpx file &g

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Taco Hoekwater
I could well be wrong, but I've seen > it multiple places) is that JPEG 2000 *Part 2* files should have extension > .jpx, not .jp2. > > By default, ConTeXt does not recognize .jpx. But if I rename a .jpx file > to have a .jp2 extension, then ConTeXt properly processes the file and I

[NTG-context] .jpx and .jxl

2024-03-05 Thread Jim
Recently I've been trying to make some PDFs smaller by using better compression of JPEG pictures. I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000) files. However, my understanding (and I could well be wrong, but I've seen it multiple places) is that JPEG 2000 *Part 2

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
r souvent à un Manuel pour se remémorer les subtilités qui ont permis d'atteindre tel rendu à l'impression. Bien entendu, il existe des logiciels commerciaux d'aide à l'édition professionnelle pour le secteur des Humanités. Mais d'une part ils sont payants et relativement coûteux pour une pers

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Bruce Horrocks
o confuse it - issuing only two sides in total so maybe that was part of the problem since both are specified in your original example? — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as wel

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
and leaving the 5 in text >>> mode removes the error below it. >>> Could it be a bug in the distribution? >>> >>> El dom, 25 feb 2024 a las 15:24, Andres Conrado Montoya (< >>> andresconr...@gmail.com>) escribió: >>> >>>>

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
; index a nil value (local 'a2') >> >> I have checked everything. I have tried commenting out many things and >> the weird part is that it fails in a simple math expression: \math{E_{i}j}. >> Even a simple $y$ or \math{a+b} will trigger the error. However, this same >>

[NTG-context] Re: Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
'a2') > > I have checked everything. I have tried commenting out many things and the > weird part is that it fails in a simple math expression: \math{E_{i}j}. > Even a simple $y$ or \math{a+b} will trigger the error. However, this same > file Im working on has many formulas before

[NTG-context] Strange error at lxml-mms.lmt:749

2024-02-25 Thread Andres Conrado Montoya
commenting out many things and the weird part is that it fails in a simple math expression: \math{E_{i}j}. Even a simple $y$ or \math{a+b} will trigger the error. However, this same file Im working on has many formulas before that, those work fine. I changed all the $...$ to \math{...} just in case

[NTG-context] Re: Text in Margin

2024-02-19 Thread Andres Conrado Montoya
hould work for the most part, I tried to do something with it a while ago but that project was cancelled. I have not tested it myself but maybe later in the week I can take a look at it. -- Andrés Conrado Montoya Andi Kú andresconr...@gmail.com http://sesentaycuatro.com http://messier8

[NTG-context] Re: Sorry for once more asking, i am at Work

2024-02-19 Thread Gavin via ntg-context
in that part of the process needs to be changed so the typesetting uses ConTeXt rather than pdftex. Gavin > On Feb 19, 2024, at 5:06 AM, Ursula Hermann > wrote: > > Dear List, > I have done the new download at Work. After compiling is always the same: > Command Line: contex

[NTG-context] Re: manuals

2024-02-18 Thread Jean-Pierre Delange
an age-old snake, not only on a technical subject which can be complex, as ConTeXt can be, but also concerning other types of documentation. For my part, although I haven't yet exhausted all the available documentation resources, whether internal to the distribution, or online like the ConTeXt G

[NTG-context] Re: An announcement of my new book.

2024-02-14 Thread Jim
I'll make sure to make finding information in this book as direct as > possible. If you find that some information in this book isn't clear or easy > to learn from (or locate in the first place), then I'll expect a complaint > about it. > I'll post here a link to the GitLab repository when par

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread Shiv Shankar Dayal
nformation in this book as direct as > possible. If you find that some information in this book isn't clear or > easy to learn from (or locate in the first place), then I'll expect a > complaint about it. > > I'll post here a link to the GitLab repository when part of the book has > been wr

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread Sir Coleman via ntg-context
about it. I'll post here a link to the GitLab repository when part of the book has been written and ready for feedback. Should take some time, but not too long. ___ If your question is of interest to others as well, please

[NTG-context] Re: Two bugs with descriptions in ConTeXt.

2024-02-13 Thread Wolfgang Schuster
mechanism to set the text offset on the left and right sides and when you combine both mechanism the values are added. In case you you have a document where a descriptions appear as part of an item I suggest to use a different alternative (e.g. serried) for the description layout. Wolfgang

[NTG-context] Re: OT: interview with John Warnock

2024-02-09 Thread Henning Hraban Ramm
Many thanks for the reference, Hraban. This is the first part of the interview, which has a second part in: https://archive.computerhistory.org/resources/access/text/2023/08/102738854-05-01-acc.pdf Videos for both (almost five hours in total) are available at https://invidio.us

[NTG-context] Re: OT: interview with John Warnock

2024-02-09 Thread Pablo Rodriguez via ntg-context
ence, Hraban. This is the first part of the interview, which has a second part in: https://archive.computerhistory.org/resources/access/text/2023/08/102738854-05-01-acc.pdf Videos for both (almost five hours in total) are available at https://invidio.us/fB6UvJLKkWI https://invidio.us/mNhzjz3PhK4; Many

[NTG-context] Re: Suggestions and problems of the manuals

2024-01-25 Thread Gerion Entrup
hot attached (math-mkiv-online.png). Is there a > newer version somewhere? Maybe it is meaningful to delete the old > version. It also does not compile with the newest upload: ConTeXt ver: 2024.01.24 22:39 LMTX fmt: 2024.1.25 signature.asc Description: This is a digitally signed messag

[NTG-context] Own command definition breaks with interaction: Use of \do_my_command doesn't match its definition

2024-01-25 Thread Gerion Entrup
rdata.my_command('', [==[#2]==])}% }\fi } \protect \starttext % all the following works \mc{foo} \mc[bold]{foo} \mc[emph]{foo} \startenu[title=Some] \stopenu % this breaks \startenu[title=Some \mc{foo}] \stopenu \stoptext signature.asc Description: This is a digitally signed message part. __

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-23 Thread Thomas Meyer
That's it! Many thanks to Hans, Hraban and especially Wolfgang for his solution. This environment should become part of ConTeXt! I have been a LaTeX/XeTeX/LuaLaTeX user for over 30 years and used it to write my papers during my studies and use it for almost all my writing. Now I wanted to try

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Thomas Meyer
Context! Greetings Thomas Am 22.01.24 um 10:56 schrieb Hans Hagen via ntg-context: On 1/22/2024 10:47 AM, Thomas Meyer wrote: Hi Hans, maybe you understand the question mark now, you are part of it. Unfortunately, I haven't received a reply to my last e-mail from January 18. No I don't. Are you

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Hans Hagen via ntg-context
On 1/22/2024 10:47 AM, Thomas Meyer wrote: Hi Hans, maybe you understand the question mark now, you are part of it. Unfortunately, I haven't received a reply to my last e-mail from January 18. No I don't. Are you sayign that you want an instant reply every time? I assume you realize

[NTG-context] Re: context version 20240118 ("Registerhaltigkeit")

2024-01-22 Thread Thomas Meyer
Hi Hans, maybe you understand the question mark now, you are part of it. Unfortunately, I haven't received a reply to my last e-mail from January 18. Maybe only those whose questions are more serious, more interesting or whatever will get an answer. I do not understand what you mean

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
to catch up with ddr4 first. What also boosted luametatex is cpu cache. I remember when taco and I moved to the math part we noticed a drop in performance, until machines got updated with larger cache. We'd just crossed some magic threshold. Actually, I kind of assume that we're stuck with cpu

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Hans Hagen
perfotmance cores over dozens of so called efficient cores. (that said: luametatex runs fine on my mobile phone) Option 2: Split your book into a project with each chapter, or even part of a chapter as a separate component and compile only the chapter you are working on. Set up a nighttime

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Bruce Horrocks
far faster than waiting for Hans to make changes, even assuming there is something that can be changed. I'd recommend a Mac M3 :-) Option 2: Split your book into a project with each chapter, or even part of a chapter as a separate component and compile only the chapter you are working on. Set up

[NTG-context] How to Create Asymmetrical Continuous Columns in ConTeXt?

2024-01-18 Thread seyal . zavira
reaches the end of the line and there is not enough space for another line in that frame, it continues the text in another frame that is already specified? in other word How do you make text flow to another part of a page? Thanks in advance. Best regards, Seyal

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-18 Thread Gerion Entrup
elevant at all, in which version the font is. > My main interest is to get an \xmark symbol. FontAwesome works with the new version 2024.01.18 (the times symbol is not present but an xmark symbol directly). Thank you! Gerion signature.asc Description: This is a digitally signed message part

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
meter per second} -\type{3b} : \unit {30^2 – 10^2meter per second} +\type{3a} : \unit {30^2 pm 10^2 meter per second} +\type{3b} : \unit {30^2 to 10^2 meter per second} \type{4 } : \unit {30 (10)

[NTG-context] Re: Looking for itemize help

2024-01-16 Thread Jim
mmediately following. > This is a line before a {\bf nowhite, after} itemization. > \startitemize[nowhite] > \item First item. > \item Second item. > \mystopitemize > This is the next short paragraph, not part of the above. > \stoptext Bruce, thanks very much for that code.

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Bruce Horrocks
. \item Second item. \mystopitemize This is the next short paragraph, not part of the above. \stoptext — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! mai

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
ter my items. For >> example, if there is more "paragraph text" after the last item I would like >> to see this structure: >> -- >> Some text preceding the list of items: >> a. Item one. &g

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Wolfgang Schuster
uld like to see this structure: -- Some text preceding the list of items: a. Item one. b. Second item. This sentence is part of the same paragraph.

[NTG-context] Re: [External] Re: Looking for itemize help

2024-01-15 Thread Jim
, Jim wrote: >> Hi Hraban, >> thanks for your response. But... >> On Mon, Jan 15, 2024 at 08:17 (+0100), Henning Hraban Ramm wrote: >>> Am 15.01.24 um 01:42 schrieb Jim: >>>> Some text preceding the list of items: >>>> a. Item one.

[NTG-context] Re: [External] Re: Looking for itemize help

2024-01-15 Thread Rogers, Michael K
, Henning Hraban Ramm wrote: > >> Am 15.01.24 um 01:42 schrieb Jim: > >>> Some text preceding the list of items: >>> a. Item one. >>> b. Second item. >>> This sentence is part of the same paragraph. > >>> The next paragraph starts here...

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Jim
Hi Hraban, thanks for your response. But... On Mon, Jan 15, 2024 at 08:17 (+0100), Henning Hraban Ramm wrote: > Am 15.01.24 um 01:42 schrieb Jim: >> Some text preceding the list of items: >> a. Item one. >> b. Second item. >> This sentence is part of the same paragr

[NTG-context] Re: Looking for itemize help

2024-01-14 Thread Henning Hraban Ramm
Am 15.01.24 um 01:42 schrieb Jim: Some text preceding the list of items: a. Item one. b. Second item. This sentence is part of the same paragraph. The next paragraph starts here... \startitemize[packed,joinedup] should be the right combination. Hraban

[NTG-context] Looking for itemize help

2024-01-14 Thread Jim
uld like to see this structure: -- Some text preceding the list of items: a. Item one. b. Second item. This sentence is part of the same paragraph. The next paragraph starts here... -- and if there is no "

[NTG-context] Re: "Registerhaltigkeit"

2024-01-14 Thread Wolfgang Schuster
Thomas Meyer schrieb am 14.01.2024 um 10:30: Hi folks, which settings are necessary to achieve "Registerhaltigkeit"? \setuplayout[grid=yes] but sometimes elements elements have to be forced to be on the grid, e.g. tables need to be part of a float.

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
Am 11.01.24 um 22:04 schrieb Bruce Horrocks: 1. "ConTeXt" should be the biggest word - or as an obvious title for the poster, away from the actual drawing. This will be only a part of the poster. I imagine a 3x3 grid with a title above and some information (website etc.) bel

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
builder, pdf backend – what else? And isn’t it too complicated again? Resources are not part of the core system (even if partially of the distribution), but needed depending on the project. Yes, input can also contain Lua, of course. Hraban

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-11 Thread Gerion Entrup
le symbol of FontAwesome at all, not even the one that seems to be explicitly defined. For me, it is not relevant at all, in which version the font is. My main interest is to get an \xmark symbol. Gerion signat

[NTG-context] Re: Chemnitz, Leipzig, Call for Poster

2024-01-11 Thread Fabrice L
a coherent way. Perhaps this angle is that Context is a real Swiss Army knife: not only can it do lots of different things, it can do them very very well! You can take (and or I can provide in PDF of) any artwork from

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
s in symb-imp-fontawesome.mkiv > > \definefontsynonym [FontAwesomeBrands] > [file:fontawesome5brandsregular400.otf] > \definefontsynonym [FontAwesomeRegular] > [file:fontawesome5freeregular400.otf] > \definefontsynonym [FontAwesomeSolid] [file:fontawesom

[NTG-context] Re: vim syntax highlighting bug?

2024-01-09 Thread Gerion Entrup
ile outdated? > > > > I am using this Vim version on OpenBSD 7.3 -stable: > > VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 6 2023 08:55:14) > > Included patches: 1-1876 > > > > Best regards, > > > > Damien Thiriet signature.asc Description: This is a di

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
- > 1.pdf Description: Adobe PDF document 2.pdf Description: Adobe PDF document 3.pdf Description: Adobe PDF document signature.asc Description: This is a digitally signed message part. ___ If your que

[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
> > > >> path A; A = z0..z1..z2..z3..z4 ; > > >> pair AStartPoint; AStartPoint = point 0 of A; > > >> pair AEndPoint; AEndPoint = point 4 of A; > > >> path B; B = z5..z6; > > >> pair BStartPoint; BStartPoint = point 0 of B; > > >

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

2024-01-05 Thread Taco Hoekwater
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 >

[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: increase vertical between underbrace and equation

2023-12-19 Thread Mikael Sundqvist
Hi, On Mon, Dec 18, 2023 at 6:57 PM Dean Hung wrote: > > Hi ConText friends, > > I am trying to increase the vertical distance between the underbrace and the > part of the equation above the underbrace. > > \startformula > \underbrace{x+y+z}_{\blank[1cm]\mathrm{my te

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-18 Thread Dean Hung
Hi Aditya, Many thanks for the help! It works great! On Mon, Dec 18, 2023 at 2:41 PM Aditya Mahajan wrote: > On Mon, 18 Dec 2023, Dean Hung wrote: > > > Hi ConText friends, > > > > I am trying to increase the vertical distance between the underbrace and > >

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-18 Thread Aditya Mahajan
On Mon, 18 Dec 2023, Dean Hung wrote: > Hi ConText friends, > > I am trying to increase the vertical distance between the underbrace and > the part of the equation above the underbrace. > > \startformula > \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}} > \sto

[NTG-context] increase vertical between underbrace and equation

2023-12-18 Thread Dean Hung
Hi ConText friends, I am trying to increase the vertical distance between the underbrace and the part of the equation above the underbrace. \startformula \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}} \stopformula I've tried using \blank and \vspace, but to no avail. For example

[NTG-context] Re: LMTX: Command handling, Interface between TeX and Lua

2023-12-14 Thread Gerion Entrup
ext > \mycommand[top, inmargin, now][color=green, roof=gabled]{Anne of Green > Gables?} > \stoptext Thank you. That helps a lot already! Gerion signature.asc Description: This is a digitally signed message part. ___

[NTG-context] LMTX: Command handling, Interface between TeX and Lua

2023-12-13 Thread Gerion Entrup
where I can learn that? Gerion signature.asc Description: This is a digitally signed message part. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

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

2023-12-04 Thread Fabrice L
[ > >> text = "\KoreanFont 한국어" > >> ], AStartPoint);); > >> > >> p5:=image( > >> label(textext("bāng"), BEndPoint); > >> draw C withcolor green; > >> ); > >> > >> p6:=image( > >> draw B

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

2023-12-02 Thread Emanuel Han via ntg-context
dPoint; AEndPoint = point 4 of A; > > >> path B; B = z5..z6; > > >> pair BStartPoint; BStartPoint = point 0 of B; > > >> pair BEndPoint; BEndPoint = point 1 of B; > > >> path C; C = AStartPoint..AEndPoint; > >

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

2023-12-02 Thread Mikael Sundqvist
>> ); > >> > >> p4:=image(draw A; label(lmt_outline [ > >> text = "\KoreanFont 한국어" > >> ], AStartPoint);); > >> > >> p5:=image( > >> label(textext("bāng"), BEndPoint); > >> draw C withcolor green; &g

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

2023-12-02 Thread Emanuel Han via ntg-context
> >> p5:=image( > >> label(textext("bāng"), BEndPoint); > >> draw C withcolor green; > >> ); > >> > >> p6:=image( > >> draw B withcolor blue; > >> ); &g

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

2023-12-02 Thread Mikael Sundqvist
% Just for learning : >> draw TheFrame withpen pencircle scaled .1in withcolor magenta ; >> draw textext("T="(currentime)) scaled 2 shifted(0,2in) withcolor >> magenta ; >> for k=1 upto currentime: draw p[k]; endfor >> setbounds currentpicture to The

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

2023-12-02 Thread fv leung
gt; } > > \stoptext > On Nov. 27 2023, at 11:25 pm, Aditya Mahajan wrote: > > On Mon, 27 Nov 2023, Fabrice L wrote: > > > Hi, > > > > It is fun fact very easy to do. You just use \startMPpage (…) > \stopMPpage multiple times. Here is an example which b

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

2023-12-02 Thread Emanuel Han via ntg-context
t := 1080;% In pixels (will be converted by default at 72dpi) > currentpicture := currentpicture xysized (desiredformat ,desiredformat ); > > \stopMPpage > } > > \stoptext > On Nov. 27 2023, at 11:25 pm, Aditya Mahajan wrote: > > On Mon, 27 Nov 2023, Fabrice L wrote: >

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

2023-11-29 Thread Emanuel Han via ntg-context
e to a metapost drawing. This is > what I use: > https://adityam.github.io/context-blog/post/metapost-animation/ > It only works when viewed in acrobat, you can just comment out the animation > part and wrap it in \startTEXpage .. \stopTEXpage to get multi-page animation. > Aditya

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

2023-11-27 Thread Aditya Mahajan
pass a variable to a metapost drawing. This is what I use: https://adityam.github.io/context-blog/post/metapost-animation/ It only works when viewed in acrobat, you can just comment out the animation part and wrap it in \startTEXpage .. \stopTEXpage to get multi

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

2023-11-27 Thread Fabrice L
to ConTeXt, I can define appropriate fonts for each script. > All this works already in my working example. > > The only unsolved problem is to ship out multiple pages. > > For the minimal working example, I didn't remove the font defining part, > because having 4 different fonts

[NTG-context] multipage metapost output from ConTeXt

2023-11-27 Thread Emanuel Han via ntg-context
script. All this works already in my working example. The only unsolved problem is to ship out multiple pages. For the minimal working example, I didn't remove the font defining part, because having 4 different fonts is a condition of my use case. The graphic on the other hand is some simple dummy

[NTG-context] Text and Remark

2023-11-16 Thread Ursula Hermann
) takes the paragraph that follows it as its argument. \remark This is the first paragraph after \tex{remark}. It is part of the remark. This is the second paragraph after \tex{remark}. It is not part of the remark. \startremark This is the first paragraph inside \tex

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-15 Thread Jim
ex setups: > a mix of tex and xml files with deeply nested inputs and it works ok (so we > also get to the right spot in an (included) xml file) > for synctex to work one has to call context with --synctex or put a > directive on the topline of the file. Otherwise you won't get the righ

[NTG-context] Re: \doifemptyelse issue?

2023-11-14 Thread Bruce Horrocks
> with recalled dataset values but I thought I'd raise it. > for that we have: > > \doifsomethingelse > Thank-you for this. I've realised now that this isn't actually my problem (and that why it worked in the past was probably becuase that part of the 'if' was never taken!). I'll

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Hans Hagen
depends on the pdf viewer + lib used if things work out as expected. there isn't much we can do about the viewer part unless tit is not locked into the binary but as flexible like the texshop viewer is Hans

[NTG-context] Re: XRechnung

2023-11-10 Thread Henning Hraban Ramm
and standards where probably every implementor only supports a part (just an experienced guess). I always wanted to implement it, but never actually tried. It’s based on PDF/A, and I’m not sure about the proper workflow to get that. Someone told some time ago that https://github.com/speedata

  1   2   3   4   5   6   7   8   9   10   >