Re: [NTG-context] Basic font question (Optima, but no bold, no italics)

2020-04-23 Thread kaddour kardio
It's noticed that Optima is a Sans Serif font. Maybe it conflicts with MacOS way to handle fonts. Le ven. 24 avr. 2020 à 01:10, Vladimir Lomov a écrit : > Hello, > ** Gerben Wierda [2020-04-23 23:57:26 +0200]: > > >> On 23 Apr 2020, at 19:18, Henning Hraban Ramm wrote: > >> > >>> > >>> Am

Re: [NTG-context] Basic font question (Optima, but no bold, no italics)

2020-04-23 Thread Vladimir Lomov
Hello, ** Gerben Wierda [2020-04-23 23:57:26 +0200]: >> On 23 Apr 2020, at 19:18, Henning Hraban Ramm wrote: >> >>> >>> Am 23.04.2020 um 16:42 schrieb Gerben Wierda : >>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm wrote: [...] What do you get from mtxrun

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Rik Kabel
On 4/23/2020 17:50, Wolfgang Schuster wrote: Benjamin Buchmuller schrieb am 23.04.2020 um 23:16: Hi Rik, Thanks for the fast reply! Your example works indeed nicely. However, within this solution my problem has shifted now (fully) towards breaking after the same number of characters, which

Re: [NTG-context] Basic font question (Optima, but no bold, no italics)

2020-04-23 Thread Gerben Wierda
> On 23 Apr 2020, at 19:18, Henning Hraban Ramm wrote: > >> >> Am 23.04.2020 um 16:42 schrieb Gerben Wierda : >> >>> >>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm wrote: >>> Am 23.04.2020 um 16:22 schrieb Gerben Wierda : > On 23 Apr 2020, at 16:16,

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Benjamin Buchmuller
Thanks Wolfgang, this works perfectly. I will add this hint tomorrow to the Wiki. > On 23 Apr 2020, at 23:50, Wolfgang Schuster > wrote: > > Benjamin Buchmuller schrieb am 23.04.2020 um 23:16: >> Hi Rik, >> Thanks for the fast reply! Your example works indeed nicely. However, within >> this

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 23.04.2020 um 23:16: Hi Rik, Thanks for the fast reply! Your example works indeed nicely. However, within this solution my problem has shifted now (fully) towards breaking after the same number of characters, which seems to work for your sample string, but not

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Benjamin Buchmuller
Hi Rik, Thanks for the fast reply! Your example works indeed nicely. However, within this solution my problem has shifted now (fully) towards breaking after the same number of characters, which seems to work for your sample string, but not for the sequences that I need to place. What I would

Re: [NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Rik Kabel
On 4/23/2020 15:01, Benjamin Buchmuller wrote: Sorry, I have just realized that the problem might not be \WORD{} actually, so this one hyphenates: \define[2]\mycommand{ \startxrow \startxcell o#1 \stopxcell \startxcell \tt\WORD #2 \stopxcell \stopxrow }

Re: [NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Benjamin Buchmuller
Sorry, I have just realized that the problem might not be \WORD{} actually, so this one hyphenates: \define[2]\mycommand{ \startxrow \startxcell o#1 \stopxcell \startxcell \tt\WORD #2 \stopxcell \stopxrow } Whereas these ones don’t:

[NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Benjamin Buchmuller
Hi again, I am reading a CSV file into ConTeXt which contains long DNA sequences (>> 40 characters) to place in xtables. So far, this works fine. However, I need to uppercase the entries and need to \tt them. When I do this inside \WORD however, they don’t hyphenate any more. I’m using:

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Am 23.04.20 um 19:25 schrieb Henning Hraban Ramm: > >> Am 23.04.2020 um 16:36 schrieb Jan U. Hasecke : >> >> Am 23.04.20 um 16:10 schrieb Vladimir Lomov: >>> Please see the page about '\goto' command, it was written for a reason! >> >> Ok, with \goto{linkname}[program(target.doc)] it works. >> >>

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Henning Hraban Ramm
> Am 23.04.2020 um 16:36 schrieb Jan U. Hasecke : > > Am 23.04.20 um 16:10 schrieb Vladimir Lomov: >> Please see the page about '\goto' command, it was written for a reason! > > Ok, with \goto{linkname}[program(target.doc)] it works. > > "works" means some PDF Viewers opens the right program.

Re: [NTG-context] Basic font question

2020-04-23 Thread Henning Hraban Ramm
> Am 23.04.2020 um 16:42 schrieb Gerben Wierda : > >> >> On 23 Apr 2020, at 16:34, Henning Hraban Ramm wrote: >> >>> >>> Am 23.04.2020 um 16:22 schrieb Gerben Wierda : >>> >>> >>> On 23 Apr 2020, at 16:16, Vladimir Lomov wrote: Hello, ** Gerben Wierda [2020-04-23

Re: [NTG-context] Is there a 'sized' command equivalent to \colored?

2020-04-23 Thread Gerben Wierda
Answering my own question: \switchtobodyfont > On 23 Apr 2020, at 16:45, Gerben Wierda wrote: > > I can directly colour a text in rgb by doing > \colored[r=0.8,b=0.6,c=0.4]{Text}. Suppose I want to hard code a piece of > text as 12.8pt, is there a simple way to do that directly like with

[NTG-context] problem using LMTX

2020-04-23 Thread Charles Doherty
The print-out below is from two runs on a Newsletter that I produce. Taco kindly told me to add \loadmarkfile{page-mul} to my input file some months ago to solve a problem with footnotes. I use an engine in TeXShop and I get the result 1) below (which is what I want) in the first example. I am

[NTG-context] Is there a 'sized' command equivalent to \colored?

2020-04-23 Thread Gerben Wierda
I can directly colour a text in rgb by doing \colored[r=0.8,b=0.6,c=0.4]{Text}. Suppose I want to hard code a piece of text as 12.8pt, is there a simple way to do that directly like with \colored for colour? G ___

Re: [NTG-context] Setting up macvim in mac os catalina to work with LMTX

2020-04-23 Thread Nicola
On 2020-04-22, Jan-Erik Hägglöf wrote: > Output from :messages > > > > [ConTeXt] Typesetting... > Fel upptäcktes vid bearbetning av function >

Re: [NTG-context] Basic font question

2020-04-23 Thread Gerben Wierda
> On 23 Apr 2020, at 16:34, Henning Hraban Ramm wrote: > >> >> Am 23.04.2020 um 16:22 schrieb Gerben Wierda : >> >> >> >>> On 23 Apr 2020, at 16:16, Vladimir Lomov wrote: >>> >>> Hello, >>> ** Gerben Wierda [2020-04-23 16:00:34 +0200]: >>> On my Mac, I am trying: >>>

Re: [NTG-context] Basic font question

2020-04-23 Thread Gerben Wierda
> On 23 Apr 2020, at 16:16, Vladimir Lomov wrote: > > Hello, > ** Gerben Wierda [2020-04-23 16:00:34 +0200]: > >> On my Mac, I am trying: > >> \definefontfamily[mainface][rm][Optima] >> \setupbodyfont[mainface,10pt] > >> {\bf Bold} and {\it Italic} and {\rm Regular} text. > >

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Am 23.04.20 um 16:10 schrieb Vladimir Lomov: > Please see the page about '\goto' command, it was written for a reason! Ok, with \goto{linkname}[program(target.doc)] it works. "works" means some PDF Viewers opens the right program. juh

Re: [NTG-context] Basic font question

2020-04-23 Thread Henning Hraban Ramm
> Am 23.04.2020 um 16:22 schrieb Gerben Wierda : > > > >> On 23 Apr 2020, at 16:16, Vladimir Lomov wrote: >> >> Hello, >> ** Gerben Wierda [2020-04-23 16:00:34 +0200]: >> >>> On my Mac, I am trying: >> >>> \definefontfamily[mainface][rm][Optima] >>> \setupbodyfont[mainface,10pt] >> >>>

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Vladimir Lomov
Hello, ** Jan U. Hasecke [2020-04-23 15:35:54 +0200]: > Am 23.04.20 um 14:22 schrieb Vladimir Lomov: >> Otherwise could you describe what exactly you want to achive? > This works: > \setupinteraction[state=start] > \setupcolors[state=start] > \starttext > \goto{linkname}[file(target.pdf)] >

Re: [NTG-context] Basic font question

2020-04-23 Thread Vladimir Lomov
Hello, ** Gerben Wierda [2020-04-23 16:00:34 +0200]: > On my Mac, I am trying: > \definefontfamily[mainface][rm][Optima] > \setupbodyfont[mainface,10pt] > {\bf Bold} and {\it Italic} and {\rm Regular} text. https://wiki.contextgarden.net/Font_Switching > What do I need to do to get actual

[NTG-context] Basic font question

2020-04-23 Thread Gerben Wierda
On my Mac, I am trying: \definefontfamily[mainface][rm][Optima] \setupbodyfont[mainface,10pt] {\bf Bold} and {\it Italic} and {\rm Regular} text. What do I need to do to get actual bold and italics in my output? Thx,

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Am 23.04.20 um 14:22 schrieb Vladimir Lomov: > Otherwise could you describe what exactly you want to achive? This works: \setupinteraction[state=start] \setupcolors[state=start] \starttext \goto{linkname}[file(target.pdf)] \stoptext This does not work: \setupinteraction[state=start]

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Vladimir Lomov
Hello, ** Jan U. Hasecke [2020-04-23 12:21:27 +0200]: > Hi Wolfgang, > thanks for the fast reply. > Am 23.04.20 um 12:06 schrieb Wolfgang Schuster: >> Jan U. Hasecke schrieb am 23.04.2020 um 11:54: >>> Hi, >>> >>> can I link to a file with custom file type eg. OpenDocument with >>>

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Hi Wolfgang, thanks for the fast reply. Am 23.04.20 um 12:06 schrieb Wolfgang Schuster: > Jan U. Hasecke schrieb am 23.04.2020 um 11:54: >> Hi, >> >> can I link to a file with custom file type eg. OpenDocument with >> \useexternaldocument? >> >> This does not work. >> >>

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Wolfgang Schuster
Jan U. Hasecke schrieb am 23.04.2020 um 11:54: Hi, can I link to a file with custom file type eg. OpenDocument with \useexternaldocument? This does not work. \useexternaldocument[test][test.ods][A test document] As the PDF viewer is opened first, it does not recognize the file type. The

[NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Hi, can I link to a file with custom file type eg. OpenDocument with \useexternaldocument? This does not work. \useexternaldocument[test][test.ods][A test document] As the PDF viewer is opened first, it does not recognize the file type. juh

Re: [NTG-context] Indic scripts/languages (was: lmtx & lohit-devanagari fonts)

2020-04-23 Thread Henning Hraban Ramm
> Am 22.04.2020 um 11:49 schrieb Arthur Reutenauer > : > > On Wed, Apr 22, 2020 at 08:16:32AM +0200, Henning Hraban Ramm wrote: >> Does that mean that indic scripts/languages are now fully supported? (Or >> maybe just scripts, not languages? > > Devanagari support was added a while ago. The

[NTG-context] Text editors don't execute ConTeXt standalone

2020-04-23 Thread Jairo A. del Rio
I've recently installed the ConTeXt standalone following the instructions listed below: https://www.contextgarden.net/Ubuntu However, commands as "context" and "mtxrun" only work when executed from terminal. When I specify these commands in a text editor (TeXstudio, Textadept), they just don't

Re: [NTG-context] Best way to create a large number of documents from database

2020-04-23 Thread Mojca Miklavec
On Fri, 17 Apr 2020 at 21:11, Hans Hagen wrote: > On 4/17/2020 4:37 PM, Mojca Miklavec wrote: > > > One of the interesting statistics. > > I used a bunch of images (the same png images in all documents; cca. > > 290k in total). > > It can actually make a difference what kind of png image you use.