Re: [NTG-context] Including part of a program source file

2018-04-21 Thread Alan Braslau
Can't one also use matching strings in the range={,}, (with the command \typefile)? Alan On Sat, 21 Apr 2018 17:29:58 +0200 Wolfgang Schuster wrote: > The verbatim commands have a range key which let you select parts of > the code, > you can use line numbers to

Re: [NTG-context] Strange behavior with cambria font

2018-04-21 Thread Fabrice Couvreur
Hi Ulrike, It does not work Fabrice 2018-04-22 0:19 GMT+02:00 Fabrice Couvreur : > Hi Wolfgang, > The text is not in italic but the font is not the one expected : > LMRoman10-Regular > Fabrice > > 2018-04-21 15:07 GMT+02:00 Ulrike Fischer : > >> Am

Re: [NTG-context] Strange behavior with cambria font

2018-04-21 Thread Fabrice Couvreur
Hi Wolfgang, The text is not in italic but the font is not the one expected : LMRoman10-Regular Fabrice 2018-04-21 15:07 GMT+02:00 Ulrike Fischer : > Am Sat, 21 Apr 2018 11:41:36 +0200 schrieb Fabrice Couvreur: > > > Hello, > > I got the cambria font and installed it : > > The

[NTG-context] trying out "plug mode" and the harfbuzz plugin

2018-04-21 Thread Ulrike Fischer
I read the guitex article about ffi and luatex and wanted to try if I could run tests with harfbuzz and the plug-mode. Looking in the newest context I found in onandon-ffi.tex a reference to the module fonts-plugins. But this module loads a lua file which isn't in context:

Re: [NTG-context] Including part of a program source file

2018-04-21 Thread N. Raghavendra
At 2018-04-21T17:29:58+02:00, Wolfgang Schuster wrote: > The verbatim commands have a range key which let you select parts of > the code, you can use line numbers to include a small block > (e.g. range={3,10} or range {3,+7}) or you put labels in your code. Many thanks! It works perfectly, with

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-21 Thread Wolfgang Schuster
Add this fix to your document: \unprotect \def\typo_delimited_fontdriven {\dontleavehmode \begingroup \dostarttaggedchained\t!delimited\currentdelimitedtext\??delimitedtext \usedlanguageparameter{\c!left\currentparentdelimitedtext}% was: \currentdelimitedtext

[NTG-context] Size of fences, factor key

2018-04-21 Thread Mikael P. Sundqvist
Dear Hans and others, I'm usually use the \big, \Big, \bigg etc to get the size of parentheses, brackets and braces to be the size I want. I realize that the fences machinery is probably a cleaner way of doing this. I tried it a bit, and it usually gives the result I like. But sometimes not, and

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-21 Thread Tomas Hala
# # unfortunately, this does not work (on my computer with TL2017). # # Proper Czech quotation marks are available via \quotation command: # \mainlanguage[cz] # \quotation{text} # # But it is language independent problem, I did more tests: # neither Czech, nor US,

Re: [NTG-context] Including part of a program source file

2018-04-21 Thread Wolfgang Schuster
The verbatim commands have a range key which let you select parts of the code, you can use line numbers to include a small block (e.g. range={3,10} or range {3,+7}) or you put labels in your code. \startbuffer % cmd:one:begin \define\FirstCommand {\dosingleempty\doFirstCommand}

[NTG-context] Including part of a program source file

2018-04-21 Thread N. Raghavendra
I am writing some notes using ConTeXt, which involves displaying parts of some program source files. At present, I am manually cutting and pasting the parts into the ConTeXt file. Is it possible to make ConTeXt do that for me? I am thinking of including each part of the Coq sources between tags

Re: [NTG-context] Strange behavior with cambria font

2018-04-21 Thread Ulrike Fischer
Am Sat, 21 Apr 2018 11:41:36 +0200 schrieb Fabrice Couvreur: > Hello, > I got the cambria font and installed it : > The text is in italic ! Try mtxrun --script fonts --reload --force (there was a discussion about it last year: https://www.mail-archive.com/ntg-context@ntg.nl/msg85698.html ) --

Re: [NTG-context] Strange behavior with cambria font

2018-04-21 Thread Wolfgang Schuster
Does this work? \definefontfamily [msoffice] [rm] [Cambria] \definefontfamily [msoffice] [mm] [Cambria Math] \setupbodyfont [msoffice] \starttext \input knuth \stoptext Wolfgang Fabrice Couvreur 21. April 2018 um 11:41 Hello, I got the cambria font and

Re: [NTG-context] Strange behavior with cambria font

2018-04-21 Thread Henning Hraban Ramm
Am 2018-04-21 um 11:41 schrieb Fabrice Couvreur : > Hello, > I got the cambria font and installed it : > The text is in italic ! > Thanks > Fabrice > # > cambrianormalcambria cambriaitalic cambriai.ttf >

[NTG-context] Strange behavior with cambria font

2018-04-21 Thread Fabrice Couvreur
Hello, I got the cambria font and installed it : The text is in italic ! Thanks Fabrice # fab@debian:~$ mtxrun --script font --list "cambria*" --all resolvers | trees | analyzing 'home:texmf' identifier familynamefontname

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-21 Thread Wolfgang Schuster
Tomas Hala 21. April 2018 um 09:09 Hi Pablo, unfortunately, this does not work (on my computer with TL2017). Proper Czech quotation marks are available via \quotation command: \mainlanguage[cz] \quotation{text} But it is language independent problem, I did more

Re: [NTG-context] Question about paragraphs and hanging punctuation

2018-04-21 Thread Tomas Hala
Hi Pablo, unfortunately, this does not work (on my computer with TL2017). Proper Czech quotation marks are available via \quotation command: \mainlanguage[cz] \quotation{text} But it is language independent problem, I did more tests: neither Czech, nor US, nor Dutch, nor German quotation marks