[NTG-context] Re: using command line arguments

2024-10-28 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 28.10.2024 um 16:26: Am 28.10.24 um 16:18 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 28.10.2024 um 12:18: Hi, I’m trying to use a command line argument in parameter names – color name in the example below, variable namespace in my actual project.

[NTG-context] Re: using command line arguments

2024-10-28 Thread Henning Hraban Ramm
Am 28.10.24 um 16:18 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 28.10.2024 um 12:18: Hi, I’m trying to use a command line argument in parameter names – color name in the example below, variable namespace in my actual project. I guess I need more expansion, but where? Or what’s th

[NTG-context] Re: using command line arguments

2024-10-28 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 28.10.2024 um 12:18: Hi, I’m trying to use a command line argument in parameter names – color name in the example below, variable namespace in my actual project. I guess I need more expansion, but where? Or what’s the problem here? """ \setupbodyfont[plex,18pt] %

[NTG-context] Re: using command line arguments

2024-10-28 Thread Henning Hraban Ramm
Am 28.10.24 um 13:01 schrieb Thomas A. Schmitz: On 28.10.24 12:18, Henning Hraban Ramm wrote: Hi, I’m trying to use a command line argument in parameter names – color name in the example below, variable namespace in my actual project. I guess I need more expansion, but where? Or what’s the prob

[NTG-context] Re: using command line arguments

2024-10-28 Thread Thomas A. Schmitz
On 28.10.24 12:18, Henning Hraban Ramm wrote: Hi, I’m trying to use a command line argument in parameter names – color name in the example below, variable namespace in my actual project. I guess I need more expansion, but where? Or what’s the problem here? Perhaps my approach is too simplistic

[NTG-context] Re: [ using horizontal table lines ]

2024-04-15 Thread Wolfgang Schuster
vm via ntg-context schrieb am 15.04.2024 um 13:15: I'm probably using the \starttable incorrectly: with this code I only get only *one* horizontal line in the header [...] with this code I get two horizontal lines, but the second is too short. [...] with this code I get two horizontal lines,

[NTG-context] Re: using an end of line as parameter

2024-02-22 Thread madiazm . eoicc
Thanks again Bruce. I will play with the code a bit. Miguel ___ 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/li

[NTG-context] Re: using an end of line as parameter

2024-02-21 Thread Bruce Horrocks
> On 21 Feb 2024, at 08:17, madiazm.eo...@gmail.com wrote: > > Thanks a lot Bruce, that did the trick! definitely I will have to learn a bit > lua in summer. > I just got an error on \qquad and found searching in internet that it was > because escape character conflicts between tex and lua. Fo

[NTG-context] Re: using an end of line as parameter

2024-02-21 Thread madiazm . eoicc
Thanks a lot Bruce, that did the trick! definitely I will have to learn a bit lua in summer. I just got an error on \qquad and found searching in internet that it was because escape character conflicts between tex and lua. For the time i removed it and since I will create itemizes I hope I dont

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread Bruce Horrocks
> On 20 Feb 2024, at 12:59, madiazm.eo...@gmail.com wrote: > > no, I just want to split at the end of each sentence to get the four > arguments: now I pass this four lines to my macro \tareaAbc (with the dirty > trick of ñ) > > In den Büchereien gibt es auch …ñ > … Kuchen.ñ > … Theate

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread madiazm . eoicc
no, I just want to split at the end of each sentence to get the four arguments: now I pass this four lines to my macro \tareaAbc (with the dirty trick of ñ) In den Büchereien gibt es auch …ñ … Kuchen.ñ … Theater.ñ … Workshops.ñ and I wish your context.foo(lines[i]) iteration woul

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread Hans Hagen
On 2/20/2024 12:26 PM, madiazm.eo...@gmail.com wrote: Thanks Hans, I supposed that lua would be more suitable, but unfortunately I still did not learn it (I hope in summer I have time to read the manual) The problem arises from the fact that for each line i will perform a different action and

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread madiazm . eoicc
Thanks Hans, I supposed that lua would be more suitable, but unfortunately I still did not learn it (I hope in summer I have time to read the manual) The problem arises from the fact that for each line i will perform a different action and for \def\foo I need four arguments so that I can correct

[NTG-context] Re: using an end of line as parameter

2024-02-19 Thread Hans Hagen
On 2/19/2024 1:49 PM, Miguel Diaz wrote: Dear list, I want to format some language tests that different people are preparing. Each one uses different software and there are always problems in format that i want to solve. for a a/b/c questions I receive text that I will format to a list (comm

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Hamid,Idris
Hi Shiv, -- Original Message -- From "Shiv Shankar Dayal" mailto:shivshankar.da...@gmail.com>> To "mailing list for ConTeXt users" mailto:ntg-context@ntg.nl>> Date 1/24/2024 9:44:09 AM Subject [NTG-context] Re: Using plain TeX commands in ConTeXt **

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Shiv Shankar Dayal
Yes. On Wed, Jan 24, 2024 at 10:08 PM luigi scarso wrote: > > > On Wed, 24 Jan 2024 at 16:55, Shiv Shankar Dayal < > shivshankar.da...@gmail.com> wrote: > >> Thanks for correcting me, Wolfgang. I meant only TeX commands not plan >> TeX macros. >> >> > TeX primitives ? > > -- > luigi > >

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread luigi scarso
On Wed, 24 Jan 2024 at 16:55, Shiv Shankar Dayal < shivshankar.da...@gmail.com> wrote: > Thanks for correcting me, Wolfgang. I meant only TeX commands not plan TeX > macros. > > TeX primitives ? -- luigi ___ If your q

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 24.01.2024 um 16:52: Thanks for correcting me, Wolfgang. I meant only TeX commands not plan TeX macros. As I already wrote you can use \parindent etc. in your document but unless you know what you're doing you should keep it to a minimum to avoid conflicts with o

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Shiv Shankar Dayal
Thanks for correcting me, Wolfgang. I meant only TeX commands not plan TeX macros. On Wed, Jan 24, 2024 at 9:20 PM Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Shiv Shankar Dayal schrieb am 24.01.2024 um 16:37: > > For example: \kern, \parindent and so on. Rephrasing the questi

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Wolfgang Schuster
Shiv Shankar Dayal schrieb am 24.01.2024 um 16:37: For example: \kern, \parindent and so on. Rephrasing the question, can LuaMetaTeX/ConTeXt compile plain TeX files. If yes, how can I do that? You mix up two different things here. 1. Plain TeX is a collection of TeX macros like ConTeXt or LaT

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Shiv Shankar Dayal
For example: \kern, \parindent and so on. Rephrasing the question, can LuaMetaTeX/ConTeXt compile plain TeX files. If yes, how can I do that? On Wed, Jan 24, 2024 at 9:02 PM Hans Hagen wrote: > On 1/24/2024 2:55 PM, Shiv Shankar Dayal wrote: > > Dear List, > > > > Can we use plain TeX commands w

[NTG-context] Re: Using plain TeX commands in ConTeXt

2024-01-24 Thread Hans Hagen
On 1/24/2024 2:55 PM, Shiv Shankar Dayal wrote: Dear List, Can we use plain TeX commands which are available in LuaMetaTeX in an arbitrary manner or are there any restrictions? what do you mean with arbitrary plain tex commands -

[NTG-context] Re: Using Farad with \unit messes up feet, µ not recognised as prefix

2023-10-03 Thread Marco Patzer
On Tue, 3 Oct 2023 16:27:22 +0200 Marco Patzer wrote: > What about: > > \unit{10 um} > \unit{10 µm} > > Can I assign µ to mean micro (prefix)? Found it: \registerunit [prefix] [µ=micro] \starttext \unit{10 micro meter} \crlf \unit{10 µm} \stoptext Should this be the default (µ assigned

[NTG-context] Re: Using Farad with \unit messes up feet, µ not recognised as prefix

2023-10-03 Thread Marco Patzer
On Tue, 3 Oct 2023 15:42:57 +0200 Wolfgang Schuster wrote: > Marco Patzer schrieb am 03.10.2023 um 12:31: > > Hi! > > > > I struggle using the unit Farad (unit of capacitance): > > The unit "farad" exists. You're right \unit{10 Farad} works. > The unit for feet is "foot" and "ft" is a combin

[NTG-context] Re: Using Farad with \unit messes up feet, µ not recognised as prefix

2023-10-03 Thread Wolfgang Schuster
Marco Patzer schrieb am 03.10.2023 um 12:31: Hi! I struggle using the unit Farad (unit of capacitance): The unit "farad" exists. \starttext %% prints 10 10 ft \unit{10 F} \unit{20 ft} \registerunit [F=Farad] \setupunittext [Farad=F] %% prints 10 F 20 F⋅t \unit{10 F} \unit{20 ft} \stopte

[NTG-context] Re: Using structureuservariables before the heading

2023-09-14 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 23:32: You need a box to get the author on a separate line. % \define[2]\ChapterCommand %   {\vbox %  {\structureuservariable{author} %  \blank %  #1\space#2}} \starttexdefinition protected ChapterCommand #1#2   \vbox\bgroup     \stru

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Andres Conrado Montoya
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 And

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Von: Wolfgang Schuster Gesendet: Dienstag, 12. September 2023 23:16 An: Maier, Denis Christian (UB) Cc: ntg-context@ntg.nl Betreff: Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:38: Von: Wolfgang

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:38: *Von:*Wolfgang Schuster *Gesendet:* Dienstag, 12. September 2023 21:30 *An:* Maier, Denis Christian (UB) *Cc:* ntg-context@ntg.nl *Betreff:* Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Von: Wolfgang Schuster Gesendet: Dienstag, 12. September 2023 21:30 An: Maier, Denis Christian (UB) Cc: ntg-context@ntg.nl Betreff: Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:24: Von: Wolfgang

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:24: *Von:*Wolfgang Schuster *Gesendet:* Dienstag, 12. September 2023 20:41 *An:* mailing list for ConTeXt users ; Maier, Denis Christian (UB) *Betreff:* Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch <

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Von: Wolfgang Schuster Gesendet: Dienstag, 12. September 2023 20:41 An: mailing list for ConTeXt users ; Maier, Denis Christian (UB) Betreff: Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch schrieb am 12.09.2023 um 17:47: Hi

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 17:47: Hi, is it possible to access a structureuservariable before the heading’s title ? Using the «before» key does not seem to work. There are ways but not in a general way because you try to access the values before they are known to ConTeX

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
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={In

[NTG-context] Re: Using

2023-08-05 Thread Alex Leray
Thanks Hans! Le 4/08/23 à 23:21, Hans Hagen a écrit : On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptypin

[NTG-context] Re: Using

2023-08-04 Thread Hans Hagen
On 8/4/2023 7:42 PM, Alex Leray wrote: Hello, I'm trying to figure out why this is not working (whereas \startlines\stoplines works): ``` \definehead[poem][section] \setuphead[poem][beforesection={\starttyping}, aftersection={\stoptyping}] \starttext \startpoem[title={Glijden}][] Lorem ipsu

[NTG-context] Re : Using a tikz package

2009-06-15 Thread Flavien Lambert
If you convince him to do so, I would also be grateful since electrical circuits are the only missing piece for me to convert all the exercises for my students from LaTeX to ConTeXt! Regards, 2009/6/15, Mojca Miklavec : > On Mon, Jun 15, 2009 at 20:35, Maurí­cio wrote: >> I would like to use this

[NTG-context] re-using ConTeXt typescripts ?

2005-07-11 Thread Steffen Wolfrum
Hi Adam, the simplicity of XeTeX's font handling is amazing -- when starting from scratch. But I am wondering how can I continue to use the typescripts (and virtual files) that I used to use with ConTeXt?! texexec --xtx --example.file ends in an error log containing: This is METAFONT, Versi

[NTG-context] Re: Using fonts of an existing TeX-Installation

2005-05-05 Thread Patrick Gundlach
> Hello Thomas, Tobias, sorry. It is too late for me... Patrick ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Re: Using fonts of an existing TeX-Installation

2005-05-05 Thread Patrick Gundlach
Hello Thomas, [...] > following the TeXFont manual for ConTeXt, do I have to reinstall > them from scratch for ConTeXt starting with the pfb- and afm-files from > texmf-local/fonts/source, or can I use the already distributed pfb- and > afm-files? Yes, as I already answered on the german t

Re: [NTG-context] Re: Using LateX packages => for algorithms

2005-01-25 Thread Maurice Diamantini
Bonjour à tous ! Le 25 janv. 05, à 22:16, Patrick Gundlach a écrit : Hello Holger, I want to use a LaTeX Package (clrscode), or at least I want to port it to Context. http://www.cs.dartmouth.edu/~thc/clrscode/ Is there some way to use LaTex Packages (I guess not). No. The low level commands are dif

[NTG-context] Re: Using LateX packages

2005-01-25 Thread Patrick Gundlach
Hello Holger, > I want to use a LaTeX Package (clrscode), or at least I want to port > it to Context. > > http://www.cs.dartmouth.edu/~thc/clrscode/ > > Is there some way to use LaTex Packages (I guess not). No. The low level commands are different in LaTeX and ConTeXt. The named package does not

Re: [NTG-context] Re: using fonts

2004-12-07 Thread Adam Lindsay
Patrick Gundlach said this at Tue, 7 Dec 2004 18:09:25 +0100: >> Sorry (especially to Patrick!) for being misleading earlier. My head was >> still in TeXLive mode. > >Well, my head *is* in TeXLive mode. But TL 2003 (home). On garden I >use current tetex (garden). Both work fine with the adobekb >t

[NTG-context] Re: using fonts

2004-12-07 Thread Patrick Gundlach
Hi Adam, [...] > Sorry (especially to Patrick!) for being misleading earlier. My head was > still in TeXLive mode. Well, my head *is* in TeXLive mode. But TL 2003 (home). On garden I use current tetex (garden). Both work fine with the adobekb typescript. Patrick -- ConTeXt wiki: http://conte

[NTG-context] Re: using fonts

2004-12-07 Thread Patrick Gundlach
Hello Wolfgang, > I got some info from the miktex forum: > > the font: uplr8t is a replacement for the adobe font. The Adobe font > is called pplr8t.tfm > > So I still not for sure where the error comes from > - false font names > - missing font names > > What do you think? Well, I am out of sync

Re: [NTG-context] Re: using fonts

2004-12-07 Thread Wolfgang Zillig
I got some info from the miktex forum: the font: uplr8t is a replacement for the adobe font. The Adobe font is called pplr8t.tfm So I still not for sure where the error comes from - false font names - missing font names What do you think? Wolfgang Patrick Gundlach wrote: [...] Do you have psnfss

[NTG-context] Re: using fonts

2004-12-07 Thread Patrick Gundlach
[...] >>Do you have psnfss for LaTeX installed? > > I guess I don't. gwTeX doesn't seem to throw it in there. (I reinstalled > prompted by your earlier Q.) > > So where (e.g., on CTAN) would you point this person to? Good question, I just looked at CTAN. The sources are in fonts/psfonts/psnfss-s

Re: [NTG-context] Re: using fonts

2004-12-07 Thread Adam Lindsay
Patrick Gundlach said this at Tue, 7 Dec 2004 10:09:54 +0100: >> Good question. I'll throw it open to the list: >> Metrics for the urw clone 35 used to be commonly found everywhere. Where >> have they gone? > >Do you have psnfss for LaTeX installed? I guess I don't. gwTeX doesn't seem to throw it

Re: [NTG-context] Re: using fonts

2004-12-07 Thread Wolfgang Zillig
Hello Patrick, I have installed the complete miktex distribution. I think it should be includedd there. Wolfgang Patrick Gundlach wrote: Hi Adam, Good question. I'll throw it open to the list: Metrics for the urw clone 35 used to be commonly found everywhere. Where have they gone? Do you have p

[NTG-context] Re: using fonts

2004-12-07 Thread Patrick Gundlach
Hi Adam, > Good question. I'll throw it open to the list: > Metrics for the urw clone 35 used to be commonly found everywhere. Where > have they gone? Do you have psnfss for LaTeX installed? Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-c

Re: [NTG-context] Re: using fonts -- installation

2004-12-07 Thread Adam Lindsay
Rob Ermers said this at Mon, 6 Dec 2004 22:30:22 +0100: >The font is simply not recognised (log file message: bodyfont: unknown >variant johanna). Of course, I am still miles away of getting my >cyrillic font working under context... Okay, that sounds odd. How do you define/use the font in ConT

Re: [NTG-context] Re: using fonts -- installation

2004-12-07 Thread Adam Lindsay
[resent to whole list] Rob Ermers said this at Tue, 7 Dec 2004 00:19:13 +0100: >Thanks for your quick reaction. Before ending this eventful day, I ran >texexec as you suggested. (I'm in a meeting the next couple days, so probably won't be as responsive after this email.) >The font in question

Re: [NTG-context] Re: using fonts -- installation

2004-12-06 Thread h h extern
Rob Ermers wrote: The font is simply not recognised (log file message: bodyfont: unknown variant johanna). Of course, I am still miles away of getting my cyrillic font working under context... that message is an indication that you didn't define it as bodyfont for instance: \definetypeface[joha

Re: [NTG-context] Re: using fonts -- installation

2004-12-06 Thread h h extern
Adam Lindsay wrote: Rob Ermers said this at Mon, 6 Dec 2004 22:30:22 +0100: The font is simply not recognised (log file message: bodyfont: unknown variant johanna). Of course, I am still miles away of getting my cyrillic font working under context... there is support for cyrillic in context but

Re: [NTG-context] Re: using fonts -- installation

2004-12-06 Thread Rob Ermers
Hi Adam, Thanks for your quick reaction. Before ending this eventful day, I ran texexec as you suggested. The font in question is Hudson (vendor=softmaker = Berry 5), for which I invented the name 5hu (+r for roman). I have the two files 5hur.pdf and 5hur.afm. Texfont generated a number of fi

Re: [NTG-context] Re: using fonts -- installation

2004-12-06 Thread Adam Lindsay
Rob Ermers said this at Mon, 6 Dec 2004 22:30:22 +0100: >The font is simply not recognised (log file message: bodyfont: unknown >variant johanna). Of course, I am still miles away of getting my >cyrillic font working under context... Okay, that sounds odd. How do you define/use the font in ConT

Re: [NTG-context] Re: using fonts -- installation

2004-12-06 Thread Rob Ermers
Dear friends, Let's join the font discussion! Two years ago I installed under latex an adapted cyrillic font family, along with a new encoding (which I named l2t.enc -- a variant of t2a), for koi8 texts, which makes it possible to call special diacritics (like \cyrkdot) by means of regular inpu

Re: [NTG-context] Re: using fonts

2004-12-06 Thread Adam Lindsay
Patrick Gundlach said this at Mon, 6 Dec 2004 14:41:58 +0100: >> \switchtotypeface[palatino][12pt,rm] > >I have never used \switchtotypeface. \setuptypeface[palatino,12pt,rm] is probably more appropriate here. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Compu

[NTG-context] Re: using fonts

2004-12-06 Thread Patrick Gundlach
Hello Adam, [...] > Well, I'm wondering where all the tfms have gone on my distribution, as > well (gwTeX on the Mac doesn't seem to include 8r or ec/8t metrics, > either). Do you have psnfss (LaTeX) installed? Patrick -- ConTeXt wiki: http://contextgarden.net

[NTG-context] Re: using fonts

2004-12-06 Thread Patrick Gundlach
Hello Wolfgang, > I think I´mgetting confused with all of the font selection within context. You are not the first one... > First: I have a miktex environment on on W2K. That should be OK for all needs. > 1. to change single fonts: see http://contextgarden.net/Psnfss > \definetypeface [palat