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

2024-04-25 Thread Gerion Entrup
ternative=special] \starttext \def\comma{,} Knuth developed \TeX~\cite[knuth1] Several persons said something~\cite[someother]. \placelistofpublications[bibrendering] \stoptext ``` Gerion Am Dienstag, 23. April 2024, 16:03:50 MESZ schrieb Gerion Entrup: > Here is a solution for the fi

[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
e code: What effect have \c!, \s!, and \v!? These commands exist a lot in the above cited files. Gerion Am Mittwoch, 17. April 2024, 15:44:12 MESZ schrieb Gerion Entrup: > Hi, > > > The APS style is an example of a number-based citation system. As you > > are looking for a

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

2024-04-17 Thread Gerion Entrup
quot;alphabetic" style. I'm not aware of a specification, though. Does the "short" form in ConTeXt exist for a specific reason? :) Gerion > On Tue, 16 Apr 2024 06:04:35 +0200 > Gerion Entrup wrote: > > > Hi, > > > > I'm trying to customize a cite format in

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

2024-04-15 Thread Gerion Entrup
Hi, I'm trying to customize a cite format in a bibliography. Currently, I'm using the aps style which fits so far, except of the plain number as reference. In concrete, I want to change the following: - Use the first letter of the last name and the year as reference (this should be exactly the

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

2024-01-25 Thread Gerion Entrup
Am Mittwoch, 17. Januar 2024, 13:44:51 CET schrieb Gerion Entrup: > Hi, > > I discovered the manuals in the context distribution. My general way to > built the manuals were these steps: > ``` > # execute one time > git clone https://github.com/contextgarden/context.git >

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

2024-01-25 Thread Gerion Entrup
Hi, I want to make a proper definition of a new command to be able to process it in Lua. I found something on StackOverflow [1] but that breaks in enumeration _and_ when interaction is enabled and I do not understand why? Can you give me some help here? I want to make commands like \foo{bla} and

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

2024-01-18 Thread Gerion Entrup
Am Donnerstag, 11. Januar 2024, 15:56:32 CET schrieb Gerion Entrup: > Am Dienstag, 9. Januar 2024, 21:17:57 CET schrieb Hans Hagen: > > On 1/9/2024 8:31 PM, Gerion Entrup wrote: > > > > > My system awesome font is version 6 but isn't the one bundled with > > > C

[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
rror.contextgarden.net/general/manuals/math-mkiv.pdf. However, this document seems to be from 2021 and has a kind of wobbly rendering in Okular/Poppler (I remember the same phenomena with early LMTX). See the screenshot attached (math-mkiv-online.png). Is there a newer version somewhere? M

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

2024-01-11 Thread Gerion Entrup
Am Dienstag, 9. Januar 2024, 21:17:57 CET schrieb Hans Hagen: > On 1/9/2024 8:31 PM, Gerion Entrup wrote: > > > My system awesome font is version 6 but isn't the one bundled with > > ConTeXt version 5 (FontAwesome.otf)? This one: > > tex/texmf/fonts/data/fonticons/fon

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

2024-01-09 Thread Gerion Entrup
Am Dienstag, 9. Januar 2024, 18:31:10 CET schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 09.01.2024 um 16:21: > > Hi, > > > > I have to come back to that topic, since it seems not to work. > > The said source code produces just the text "times" and &

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

2024-01-09 Thread Gerion Entrup
Thanks for your effort! I have the same problem in Neovim and linked the pull request there: https://github.com/neovim/neovim/issues/26966 Best, Gerion Am Montag, 8. Januar 2024, 12:16:14 CET schrieb Vincent Hennebert: > I was in touch with the maintainer of the context.vim syntax file about >

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

2024-01-09 Thread Gerion Entrup
Best, Gerion Am Montag, 16. Oktober 2023, 15:36:34 CET schrieb Gerion Entrup: > Hans already answered my question. Thank you! > > Gerion > -- Forwarded Message -- > > Subject: Re: [NTG-context] x mark symbol and general symbol guide > Date: Freitag, 13.

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

2023-12-14 Thread Gerion Entrup
Am Mittwoch, 13. Dezember 2023, 21:57:35 CET schrieb Bruce Horrocks: > > > On 13 Dec 2023, at 17:13, Gerion Entrup wrote: > > > > Is there a simple way to define a new command/environment and handle > > the keyword arguments in Lua? For example defining a frontend co

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

2023-12-13 Thread Gerion Entrup
Hi, I'd like to understand more of the inner workings of LMTX. When I understand it right, most of the code is now processed in Lua but I was not able to find it. For example, I tried to find out how setupitemgroup is handled (just as an example of a more complex command). The wiki has a (kind

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

2023-10-16 Thread Gerion Entrup
Hans already answered my question. Thank you! Gerion -- Forwarded Message -- Subject: Re: [NTG-context] x mark symbol and general symbol guide Date: Freitag, 13. Oktober 2023, 18:13:42 CEST From: Hans Hagen To: Gerion Entrup On 10/13/2023 2:33 PM, Gerion Entrup wrote: >

[NTG-context] x mark symbol and general symbol guide

2023-10-13 Thread Gerion Entrup
Hi, I recently tried to typeset a table with checkmarks and x marks. \checkmark exists but is there a predefined x mark symbol (\xmark does not work)? In general: For LaTeX there exists the very helpful comprehensive LaTeX symbol list [1]. Is there a similar documentation for ConTeXt somewhere?

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Am Montag, 14. August 2023, 13:44:44 CEST schrieb Mikael Sundqvist: > Hi, > > I do not understand what you want to have, so here is just something > weird, but probably you look for simplealign. > > \definemathsimplealign > [whatever] > > \starttext > \startformula > \startalign > \NC a = \NC

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Am Montag, 14. August 2023, 13:33:33 CEST schrieb Hans Hagen: > On 8/14/2023 1:16 PM, Gerion Entrup wrote: > > Hi, > > > > I try to typeset a nested align in a formula. However, the results looks > > really wrong. Here is a MWE: > > > > ``` > > \st

[NTG-context] Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Hi, I try to typeset a nested align in a formula. However, the results looks really wrong. Here is a MWE: ``` \starttext \startformula \startalign \NC a = \NC (b, c) \quad \text{with}\NR \NC \NC \startalign \NC b \NC =

[NTG-context] Re: floatcombinations seem to not work correctly after lmtx update

2023-08-01 Thread Gerion Entrup
Am Montag, 19. Juni 2023, 13:53:02 CEST schrieb Gerion Entrup via ntg-context: > In this minimal example everything works. However, in my real document > the subfigures have enormous space between them so just two pictures are > visible (see the attached png). I finally found the cau

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-24 Thread Gerion Entrup
Hi Pablo, > not sure I’m getting your point right. Thank you for the detailed answer. But I fear, I have not expressed myself precise enough. The solution that you described does not directly fit to my setting. I'll try to rephrase. Maybe it gets more clear then. I think, named destinations

[NTG-context] Link from a PDF to a reference of an embedded PDF

2023-07-20 Thread Gerion Entrup
Hi, I found the "interaction" parameter in the documentation for setupexternalfigure/externalfigure [1]. I, however do not quite understand it. When embedding another PDF with this command, it seems to be possible to include the references of the underlying PDF. It is possible to link to them

[NTG-context] floatcombinations seem to not work correctly after lmtx update

2023-06-19 Thread Gerion Entrup via ntg-context
Hi, I recently updated my Context (lmtx). Unfortunately, I'm not aware of the previous version anymore. The current one is 2023.06.04 18:58. After the update one of my documents broke at floatcombinations. The relevant code is this one: ``` \useMPlibrary[dum] \setupcombinations[alternative=text]

[NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-07 Thread Gerion Entrup via ntg-context
Hi, I'm trying to typeset several pictures as a floatcombination but not in the form of strict cells of a matrix. Here is some ASCII art to demonstrate the positions of the pictures: --- | | | |

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
Am Montag, 6. März 2023, 14:34:28 CET schrieb Aditya Mahajan via ntg-context: > On Mon, 6 Mar 2023, Gerion Entrup via ntg-context wrote: > > > Hi, > > > > I'm trying to use a description environment in conjunction with an > > itemize with the latest luamet

[NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Gerion Entrup via ntg-context
Hi, I want to typeset a "Good to know" section that is visually highlighted and can spawn across multiple pages. In LaTeX this would be possible with the mdframed package. See the attached screenshot for an example how it might look like (it is copied out of page 4: Definition: Inhomogeneous

[NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
Hi, I'm trying to use a description environment in conjunction with an itemize with the latest luametatex. Is this supposed to work? Here is an MWE: ``` \definedescription[desc][headstyle=bold] \starttext Foo \desc{Some title} Some text \startitemize \item Some item

Re: [NTG-context] Help test a LMTX bug fix: tweaks in PDF generation

2022-10-11 Thread Gerion Entrup via ntg-context
Am Sonntag, 9. Oktober 2022, 17:33:09 CEST schrieb Leah Neukirchen via ntg-context: > So please: Try to preview and then try to print the attached PDF; > and report back if either preview or printout does not look like > the attached reference PNG image (i.e. something is missing, > the fonts

[NTG-context] Context path resolving, Problem with MkIV and TeXLive

2022-05-12 Thread Gerion Entrup via ntg-context
Hi, I'm having a problem with TeXLive 2021 in conjunction with MkIV. Basically, executing context results in: % context mtxrun | unknown script 'context.lua' or 'mtx-context.lua I researched this and found that probably there is a path problem. LaTeX seems to be using

Re: [NTG-context] Bibliography in MKIV, custom rendering

2017-07-31 Thread Gerion Entrup
Am Montag, 31. Juli 2017, 04:23:16 CEST schrieb Gerion Entrup: > Hi, > > I need your help again. I've a bibliography and some entries references to > websites. Unfortunately the URL is not always rendered and the name ist > always > parsed as name of a person, not from a

Re: [NTG-context] Couple of questions

2017-07-31 Thread Gerion Entrup
Am Montag, 31. Juli 2017, 08:01:49 CEST schrieb Jan Willem Flamma: > Dear Gerion, > > Add > > \setuphead[subsubsection] > [incrementnumber=no] This works :). Thank you very much! Gerion > > On 30 Jul 2017, at 22:51, Gerion Entrup <gerion.entrup-c...@flump.de&

[NTG-context] Bibliography in MKIV, custom rendering

2017-07-30 Thread Gerion Entrup
Hi, I need your help again. I've a bibliography and some entries references to websites. Unfortunately the URL is not always rendered and the name ist always parsed as name of a person, not from an organisation etc. What I want to achieve is to use the standard aps style, but with additionally

Re: [NTG-context] Couple of questions

2017-07-30 Thread Gerion Entrup
Am Samstag, 29. Juli 2017, 11:13:21 CEST schrieb Pablo Rodriguez: > On 07/29/2017 04:45 AM, Gerion Entrup wrote: > > Was not that simple, but I found the problem, that causes it: > > subsubsections without numbers. > > [...] > > Is there a way to fix this? > > I

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
Am Freitag, 28. Juli 2017, 17:05:59 CEST schrieb Pablo Rodriguez: > On 07/28/2017 02:22 AM, Gerion Entrup wrote: > > 2. Own title format > > I've set an own title format for chapters, like described in the wiki. > > Unfortunately this applies to the table of contents and bibl

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
Am Freitag, 28. Juli 2017, 16:34:01 CEST schrieb Pablo Rodriguez: > On 07/28/2017 02:22 AM, Gerion Entrup wrote: > > [...] > > 6. Multiple references > > I want to create the same footnote on multiple locations in the text. > > Therefore I used: > > ```

[NTG-context] Couple of questions

2017-07-27 Thread Gerion Entrup
Hi, this is a rather long mail, but I'll add the answers to the wiki. For the future: Should I write one mail per question or all in one? :) 1. Color of references and table of content: How can I define/change the colors of references and the table of content? And why are some references red

[NTG-context] Get number of chapter and section

2017-07-25 Thread Gerion Entrup
Hi, I've another question. Currently I'm experimenting with the header and can retrieve the chapter name with \getmarkin[chapter]. How can I get the current number of the chapter (\getnumber[chapter] does not work) and the section? Regards, Gerion

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-19 Thread Gerion Entrup
Am Mittwoch, 19. Juli 2017, 21:07:09 CEST schrieb Aditya Mahajan: > On Wed, 19 Jul 2017, Gerion Entrup wrote: > > > Am Dienstag, 18. Juli 2017, 04:04:51 CEST schrieb Aditya Mahajan: > >> On Mon, 17 Jul 2017, Gerion Entrup wrote: > >> > >>> Hi, > >&

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-18 Thread Gerion Entrup
Am Dienstag, 18. Juli 2017, 04:04:51 CEST schrieb Aditya Mahajan: > On Mon, 17 Jul 2017, Gerion Entrup wrote: > > > Hi, > > > > I have two questions with the vim module. > > > > 1. I want to use the math mode inside the code. I've seen the escape > >

[NTG-context] t-vim module: math in "normal" code and background color

2017-07-17 Thread Gerion Entrup
Hi, I have two questions with the vim module. 1. I want to use the math mode inside the code. I've seen the escape option, e.g. here [1], but this seems to work only with comments. Is there a possibility to use it directly in the code, too? Minimal example: ``` \usemodule[vim]

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-21 Thread Gerion Entrup
Am Dienstag, 20. Juni 2017, 16:15:59 CEST schrieb Gerion Entrup: > Am Dienstag, 20. Juni 2017, 13:25:42 CEST schrieb Gerion Entrup: > > Am Dienstag, 20. Juni 2017, 11:45:19 CEST schrieb Henri Menke: > > > On Mon, 2017-06-19 at 02:34 +0200, Gerion Entrup wrote

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Gerion Entrup
Am Dienstag, 20. Juni 2017, 13:25:42 CEST schrieb Gerion Entrup: > Am Dienstag, 20. Juni 2017, 11:45:19 CEST schrieb Henri Menke: > > On Mon, 2017-06-19 at 02:34 +0200, Gerion Entrup wrote: > > > Good day, > > > > > > I'm very new to ConTeXt, so ma

Re: [NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Gerion Entrup
Am Dienstag, 20. Juni 2017, 11:45:19 CEST schrieb Henri Menke: > On Mon, 2017-06-19 at 02:34 +0200, Gerion Entrup wrote: > > Good day, > > > > I'm very new to ConTeXt, so maybe this is a fairly simple question. > > > > I want to use TikZ in the document.

[NTG-context] TikZ module not found (TeX Live problem?)

2017-06-20 Thread Gerion Entrup
Good day, I'm very new to ConTeXt, so maybe this is a fairly simple question. I want to use TikZ in the document. The specific part of the document is: snip \usemodule[tikz] \usetikzlibrary[positioning] /snip - The problem seems to be that ConTeXt does not find the TikZ