Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-26 Thread Hans Hagen
On 9/26/2018 1:48 AM, Jeong Dal wrote: Dear Hans, First, it is great to know a new method of drawing an outlined font! I have applied it to Korean fonts. As you know, every Korean character is composed with “consonant+vowel(+consonant)” type. If consonant and vowel are connected

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-26 Thread Hans Hagen
On 9/26/2018 1:48 AM, Jeong Dal wrote: Dear Hans, First, it is great to know a new method of drawing an outlined font! I have applied it to Korean fonts. As you know, every Korean character is composed with “consonant+vowel(+consonant)” type. If consonant and vowel are connected

Re: [NTG-context] Metafun: Finding intersection between characters

2018-09-25 Thread Jeong Dal
Dear Hans, First, it is great to know a new method of drawing an outlined font! I have applied it to Korean fonts. As you know, every Korean character is composed with “consonant+vowel(+consonant)” type. If consonant and vowel are connected (for example, “호”), then it draws correctly

Re: [NTG-context] xml in lua advice ?

2018-09-19 Thread mf
My 2 cents: local xmlflush = lxml.flush local function text_or_xml(...) for i,v in ipairs(arg) do if "table" == type(v) then xmlflush(v) else context(v) end end end function xml.functions.heading(t) text_or_xml( "\\section{" , t , "}"

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Hans Hagen
mpty lookups fonts > otf loading > loading failed due to read error fonts > defining > forced type 'otf' of 'c:/windows/fonts/SourceHanSans-Regular' not found fonts > defining > font with asked name 'c:/windows/fonts/SourceHanSans-Regular' is

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Taco Hoekwater
gt; gave the error: > >> > >> fonts > otf loading > loading > >> 'c:/windows/fonts/SourceHanSans-Regular.otf', hash > >> 'sourcehansans-regular' > >> otf reader > loading of table 'vorg' skipped > >> otf reader > in

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread luigi scarso
; 'c:/windows/fonts/SourceHanSans-Regular.otf', hash > >> 'sourcehansans-regular' > >> otf reader > loading of table 'vorg' skipped > >> otf reader > invalid index in single format 1: 65353 -> 67212 > >> (max 65535) > >> otf reade

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Ulrike Fischer
reader > invalid index in single format 1: 65353 -> 67212 >> (max 65535) >> otf reader > rule 1 in gsub lookup 's_s_5' has empty lookups >> fonts > otf loading > loading failed due to read error >> fonts > defining > forced

Re: [NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Hans Hagen
reader > loading of table 'vorg' skipped otf reader > invalid index in single format 1: 65353 -> 67212 (max 65535) otf reader > rule 1 in gsub lookup 's_s_5' has empty lookups fonts > otf loading > loading failed due to read error fonts >

[NTG-context] Using the source han sans fonts fails

2018-09-19 Thread Ulrike Fischer
ipped otf reader > invalid index in single format 1: 65353 -> 67212 (max 65535) otf reader > rule 1 in gsub lookup 's_s_5' has empty lookups fonts > otf loading > loading failed due to read error fonts > defining > forced type 'otf' of 'c:/windo

[NTG-context] Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)

2018-09-17 Thread Jacqui Coosner
<< /Filter /FlateDecode /Length 122 >>  5 stream  6 >>  x^=Œ;Â@ û=…/€yö®?‘¢-$êí-TÜ¿% xšâô йàËÓ(ÇUH„'3ñ¤q/² !M°U‡S8Ø[LJãI×0í·qù›N  7 (×l&?­.@U å>“~¨j[ ¤§¼C8öW×OtåÅc!±  8     endstream  9 endobj 10 13 0 obj 11 << /Subtype /XML /Type /M

Re: [NTG-context] Attempt to call a nil value

2018-09-08 Thread Lars
. I can't make PDFs because I get an error message. In fact, with CTX in my system path of course, even when I type the following into my command prompt, I get the same error: mtxrun --script context ./context.lua:11: attempt to call a nil value (method 'add_rule') This could have to do

Re: [NTG-context] Attempt to call a nil value

2018-09-08 Thread Wolfgang Schuster
type the following into my command prompt, I get the same error: mtxrun --script context ./context.lua:11: attempt to call a nil value (method 'add_rule') This could have to do with the last adaption to Textadept 10. On my Win 10 x64 PC there is no problem. Any clues? Cheers and thanks, Lars

[NTG-context] Attempt to call a nil value

2018-09-08 Thread Lars
Hello list, since one of the last beta updates (now I have 2018.09.01) I can't use ConTeXt on my Win 10 32bit tablet anymore. I can't make PDFs because I get an error message. In fact, with CTX in my system path of course, even when I type the following into my command prompt, I get the same

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-05 Thread Mari Voipio
/BleedBox [ 265.961 392.102 329.315 445.535 ] > > /MediaBox [ -9 -9 604.276 850.89 ] > > /TrimBox [ 265.961 392.102 329.315 445.535 ] > > /Resources << > > /ProcSet [ /PDF ] > > /ExtGState << > >

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-05 Thread luigi scarso
5 445.535 ] > > /MediaBox [ -9 -9 604.276 850.89 ] > > /TrimBox [ 265.961 392.102 329.315 445.535 ] > > /Resources << > > /ProcSet [ /PDF ] > > /ExtGState << > > /GS6 6 0 R > > >> > > >

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-05 Thread Pablo Rodriguez
/ExtGState << /GS6 6 0 R >> >> /Type /Page >> endobj I would say, that in the following sample: \starttext \externalfigure[ex.pdf][size=crop] \stoptext the option "size" doesn’t seem to wor

[NTG-context] Errors while processing xml file

2018-09-03 Thread Jan U. Hasecke
from https://github.com/ousia/from-pandoc-to-context I started to get an idea how xml processing works. Now after some upgrades of context I get an error message that confuses me, It's in the attached zip file. As you can see I had to type enter a few times, but the file finally processes

Re: [NTG-context] Emacs + latest beta

2018-08-30 Thread Fabrice Couvreur
spec, 4 attribute_list, 2 temp, 2 user_defined > > mkiv lua stats > node list callback tasks: 8 unique task lists, 6 > > instances (re)created, 55 calls > > mkiv lua stats > synctex tracing: 2 referenced files, 5 files ignored, 3 > > objects flushed, logfile: vla

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Vladimir Lomov
gt; mkiv lua stats > callbacks: internal: 177, file: 180, direct: 2, late: 2, > function 534, total: 895 > mkiv lua stats > loaded patterns: en::2, load time: 0.000 > mkiv lua stats > result saved in file: vladimir.pdf, compresslevel 3, > objectcompresslevel 3 > mkiv lua st

Re: [NTG-context] Emacs + latest beta

2018-08-29 Thread Fabrice Couvreur
instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.216 seconds mkiv lua stats > metapost: 0.001 seconds, loading: 0.017, execution: 0.001, n: 1, average: 0.019, instances: 1, luacalls: 8, memory: 2.635 M mkiv lua stats > used platform: linux-64, type: unix, bin

Re: [NTG-context] Emacs + latest beta

2018-08-24 Thread Fabrice Couvreur
sage: 2 glue, 2 kern, 2 penalty, 13 attribute, 50 glue_spec, 4 attribute_list, 2 temp, 2 user_defined mkiv lua stats > node list callback tasks: 7 unique task lists, 6 instances (re)created, 57 calls mkiv lua stats > synctex tracing: 2 referenced files, 5 files ignored, 3 objects flushed, l

Re: [NTG-context] Emacs + latest beta

2018-08-23 Thread Wolfgang Schuster
10-bold.otf, lmroman10-regular.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.104, afm 1.513, tfm 1.000, 9 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.238 seconds mkiv lua stats > metapost: 0.001 seconds, loading: 0.018, execution: 0.000, n: 1

[NTG-context] Emacs + latest beta

2018-08-22 Thread Fabrice Couvreur
mkiv lua stats > result saved in file: pouf.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf, lmroman10-bold.otf, lmroman10-regular.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.104, afm 1.513, tfm 1.000, 9 instance

[NTG-context] Latest beta

2018-08-20 Thread Fabrice Couvreur
ved in file: Test.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > loaded fonts: 5 files: latinmodern-math.otf, lmroman10-bold.otf, lmroman10-regular.otf, lmroman12-bold.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.104, afm 1.513, tfm 1.000, 11 instances, 4 shared

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Wolfgang Schuster
00 mkiv lua stats > result saved in file: test.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf, lmmonoltcond10-regular.otf, lmroman10-regular.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.104, afm 1.513, tfm 1

Re: [NTG-context] fontloader fails with "bad argument #1 to 'for iterator"

2018-08-18 Thread Ulrike Fischer
n between choosing features and loading a font. As far as I got it they are open type features to select variants of characters and are used as any other open type feature: ;+cv01=0;+cv02=0;+cv03=0;+cv04=0;+cv05=0;+cv06=0;... In the bug report the problem seemed to be that the user used so many of this feat

Re: [NTG-context] fontloader fails with "bad argument #1 to 'for iterator"

2018-08-18 Thread Hans Hagen
(both context and latex) the loading of this fonts fails even if no character variants at all are requested: What are character variants? Anyway, if it's "features" there is no relation between choosing features and loading a font. \starttext \font\x={file:iosevka-type-slab-regul

[NTG-context] fontloader fails with "bad argument #1 to 'for iterator"

2018-08-18 Thread Ulrike Fischer
of this fonts fails even if no character variants at all are requested: \starttext \font\x={file:iosevka-type-slab-regular.ttf} \x ablub \stoptext gives ...ext/tex/texmf-context/tex/context/base/mkiv/font-oup.lua:2137: bad argument #1 to 'for iterator' (table expected, got nil) The font can be get

Re: [NTG-context] XML to ConTeXt: converting date attribute from ISO date

2018-08-15 Thread Hans Hagen
Here is my MWE: \startbuffer[demo]                                                             type="divDate">10.I.08                                 19 Mar '08                                         \stopbuffer \startxmlsetups xml:initialize \xmlsets

[NTG-context] XML to ConTeXt: converting date attribute from ISO date

2018-08-15 Thread Mike O'Connor
tsetup{#1}{date}{xml:date} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:date \xmldoifelse {#1}{.[@type='divDate']} { \def\docdate{\ctxlua{ local tyear = string.sub('\xmlatt{#1}{when-iso

Re: [NTG-context] embedded sounds aren’t played

2018-08-14 Thread Hans Hagen
ar objects: \nopdfcompression save you that step 8 0 obj << /EF << /F 7 0 R >> /F (akkerman.mp3) /Type /Filespec /UF (\376\377\000a\000k\000k\000e\000r\000m\000a\000n\000.\000m\000p\0003) >> endobj 10 0 obj

[NTG-context] embedded sounds aren’t played

2018-08-14 Thread Pablo Rodriguez
;> /F (akkerman.mp3) /Type /Filespec /UF (\376\377\000a\000k\000k\000e\000r\000m\000a\000n\000.\000m\000p\0003) >> endobj 10 0 obj << /EF 8 0 R /F (akkerman.mp3) /Type /Filespec >> endobj This object contains a strange

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
  \egroup \stoptexdefinition \starttext \startBufTest   Buffer without blank lines. \stopBufTest \startBufTest   Buffer with blank lines. \stopBufTest \startBufTest[key=value]   Buffer with \type{[key=value]}. \stopBufTest \stoptext -- Rik

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
   An intervening paragraph. \stopparagraph \startBufTest[]    Buffer with \type{[]}. \stopBufTest \startparagraph    An intervening paragraph. \stopparagraph \startBufTest[key=value]    Buffer with \type{[key=value]}. \stopBufTest \startparagraph    A closing paragraph. \stopparagraph \stoptext

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Hans Hagen
\startBufTest[]   Buffer with \type{[]}. \stopBufTest \startparagraph   An intervening paragraph. \stopparagraph \startBufTest[key=value]   Buffer with \type{[key=value]}. \stopBufTest \startparagraph   A closing paragraph. \stopparagraph \stoptext \startparagraph % \dontleavehmode

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Henri Menke
  An intervening paragraph. \stopparagraph \startBufTest[]   Buffer with \type{[]}. \stopBufTest \startparagraph   An intervening paragraph. \stopparagraph \startBufTest[key=value]   Buffer with \type{[key=value]}. \stopBufTest \startparagraph   A closing paragraph. \stopparagraph

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Aditya Mahajan
with \type{[]}. \stopBufTest \startparagraph An intervening paragraph. \stopparagraph \startBufTest[key=value] Buffer with \type{[key=value]}. \stopBufTest \startparagraph A closing paragraph. \stopparagraph \stoptext \stopmode Perhaps \ignorespaces might work, but I often find

[NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Rik Kabel
Buffer with blank lines. \stopBufTest \startparagraph An intervening paragraph. \stopparagraph \startBufTest\relax Buffer with \tex{relax}. \stopBufTest \startparagraph An intervening paragraph. \stopparagraph \startBufTest[] Buffer with \type{[]}. \stopBufTest \startparagraph

Re: [NTG-context] stix2-mathscr with ConTeXt

2018-08-09 Thread Wolfgang Schuster
to get this type of letter with ConTeXt ? Thank you Fabrice mathscr.png ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

[NTG-context] stix2-mathscr with ConTeXt

2018-08-09 Thread Fabrice Couvreur
Hello, Is it possible to get this type of letter with ConTeXt ? Thank you Fabrice [image: mathscr.png] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Wolfgang Schuster
the next page. I’m afraid that there is a bug here. I was told that the integer type has been introduced in Lua-5.3. I had experienced the same issue with the handlecsv module. In my very limited understanding of the issue, integers are displayed as .0 floats. I wonder which wou

[NTG-context] integer displayed as .0 float in Lua-5.3

2018-08-09 Thread Pablo Rodriguez
. But with Lua-5.3 (standard ConTeXt), I get 2.0 as the value for the next page. I’m afraid that there is a bug here. I was told that the integer type has been introduced in Lua-5.3. I had experienced the same issue with the handlecsv module. In my very limited understanding of the issue, integers

[NTG-context] Fwd: Problem of compiling a file with Emacs

2018-08-01 Thread Fabrice Couvreur
callback tasks: 8 unique task lists, 6 > > instances (re)created, 114 calls > > mkiv lua stats > used backend: pdf (backend for directly generating pdf > > output)mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 > > seconds loading > > mkiv lua stats

Re: [NTG-context] Problem of compiling a file with Emacs

2018-08-01 Thread Lizardo Reyna
ds saving, 0.000 > seconds loading > mkiv lua stats  > callbacks: internal: 332, file: 200, direct: 2, late: > 4, function 577, total: 1115 (1115 per page) > mkiv lua stats  > loaded patterns: en::2, load time: 0.000 > mkiv lua stats  > result saved in file: Test.pdf, compres

Re: [NTG-context] Problem of compiling a file with Emacs

2018-07-31 Thread Lizardo M. Reyna Bowen
ce. > >  ;; If there is more than one, they won't work right. > >  ) > > > > ;; SERVER Download (MELPA): > > (when (>= emacs-major-version 24) > >   (require 'package) > >   (add-to-list >

Re: [NTG-context] unable to define 'texgyrepagella-regula' error etc.

2018-07-26 Thread Jeong Dal
er …… …… mtxrun | watch 1.00 ConTeXt Request Watchdog mtxrun | youless 1.10 YouLess Fetcher Do you mean “mtxrun —script —reload —force fonts”? > Better use type-imp-.mkiv i.e. “-imp-“ in the name for such specific > implementation files > I will change th

Re: [NTG-context] unable to define 'texgyrepagella-regula' error etc.

2018-07-26 Thread Hans Hagen
On 7/26/2018 2:49 AM, Jeong Dal wrote: Dear all, Yesterday, I asked about a font problem without a mwe. Here is a MWE. % \setuplanguage[kr][patterns=us] \mainlanguage[kr] \setscript[hangul] \usetypescriptfile[type-hcrlvt] \usetypescript[HcrFont] \definefontfeature[kr][script=hang

[NTG-context] unable to define 'texgyrepagella-regula' error etc.

2018-07-25 Thread Jeong Dal
Dear all,Yesterday, I asked about a font problem without a mwe.Here is a MWE.%\setuplanguage[kr][patterns=us]\mainlanguage[kr]\setscript[hangul]\usetypescriptfile[type-hcrlvt]\usetypescript[HcrFont] \definefontfeature[kr][script=hang,language=kor,mode=node,analyze=yes]\setupbodyfont[Myface

Re: [NTG-context] Problem with pagella font (beta)

2018-07-23 Thread Fabrice Couvreur
gt; Wolfgang > > Fabrice Couvreur > 23. Juli 2018 um 11:37 > Hello, > I only use the standalone version of ConteXt with Emacs. I can not use > the pagella font anymore because the text is in bold type. Wolfgang told > me a discussion about this problem that still does not seem

Re: [NTG-context] Problem with pagella font (beta)

2018-07-23 Thread Wolfgang Schuster
e text is in bold type. Wolfgang told me a discussion about this problem that still does not seem to be resolved. By cons, no problem with ConteXt of Texlive 2018. Thank you Fabrice ___ If your question is of in

[NTG-context] Problem with pagella font (beta)

2018-07-23 Thread Fabrice Couvreur
Hello, I only use the standalone version of ConteXt with Emacs. I can not use the pagella font anymore because the text is in bold type. Wolfgang told me a discussion about this problem that still does not seem to be resolved. By cons, no problem with ConteXt of Texlive 2018. Thank you Fabrice

Re: [NTG-context] issues with \comment

2018-07-06 Thread Pablo Rodriguez
howframe \setupinteraction[state=start] \starttext \comment[location=leftmargin,space=yes,buffer=abc]{} \type{\comment[location=leftmargin,space=yes,buffer=abc]{}} \blank[2*big] \comment[location=rightmargin,space=yes,buffer=abc]{} \type{\comment[location=rightmargin,s

[NTG-context] issues with \comment

2018-07-06 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupcomment[location=inmargin, color=darkred] \showframe \startbuffer[abc] \input zapf \stopbuffer \setuptype[option=tex] \starttext \comment[space=yes,buffer=abc]{} \type{\comment

Re: [NTG-context] The best command for parallel texts

2018-07-04 Thread Hans Hagen
On 7/3/2018 11:30 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Martin, Wolfgang, On Mon, 02 Jul 2018 14:41:31 -0600, Wolfgang Schuster wrote: Martin Hasoň <mailto:martin.ha...@gmail.com> 1. Juli 2018 um 12:18 Hi all, I need to type parallel text on double columns. I've

Re: [NTG-context] The best command for parallel texts

2018-07-03 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 03 Jul 2018 15:30:18 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Martin, Wolfgang, On Mon, 02 Jul 2018 14:41:31 -0600, Wolfgang Schuster wrote: Martin Hasoň <mailto:martin.ha...@gmail.com> 1. Juli 2018 um 12:18 Hi all, I need to type parallel text on double c

Re: [NTG-context] The best command for parallel texts

2018-07-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Martin, Wolfgang, On Mon, 02 Jul 2018 14:41:31 -0600, Wolfgang Schuster wrote: Martin Hasoň <mailto:martin.ha...@gmail.com> 1. Juli 2018 um 12:18 Hi all, I need to type parallel text on double columns. I've tried paragraphs, tabulate, table and column environments.The best

Re: [NTG-context] The best command for parallel texts

2018-07-02 Thread Wolfgang Schuster
Martin Hasoň <mailto:martin.ha...@gmail.com> 1. Juli 2018 um 12:18 Hi all, I need to type parallel text on double columns. I've tried paragraphs, tabulate, table and column environments.The best result of these options gives the tabulate.Unfortunately, it does not respect alignment

[NTG-context] The best command for parallel texts

2018-07-01 Thread Martin Hasoň
Hi all, I need to type parallel text on double columns. I've tried paragraphs, tabulate, table and column environments. The best result of these options gives the tabulate. Unfortunately, it does not respect alignment - many \hbox errors in all environments except columns :(. What should I use

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Idris Samawi Hamid ادريس سماوي حامد
ion / \startsection 2. Argument: reference type -> default == \in 3. Argument: settings which differ from \setuphead Many thanks, this is exactly what was needed! Your replies and pointers are appreciated and not taken for granted. Best wishes Idris Idris Samawi Hamid ادريس سماو

Re: [NTG-context] referencing and stoppers

2018-06-30 Thread Wolfgang Schuster
. \zerowidthspace. \setupreferencestructureprefix [section] [default] [prefixstopper={\symbol[none]}] %\setupreferencestructureprefix [section] [default] [prefixstopper=\zerowidthspace] 1. Argument: section name -> section == \section / \startsection 2. Argument: reference type -> d

Re: [NTG-context] Commands \inmargin and \inouter not working

2018-06-04 Thread Pablo Rodriguez
t in the slanted font > of the document. If used correctly, the note \inmargin{Here is a > simple margin note.} should print on the side with the command > \type {\inmargin} placed in the text. You will of course want to > adjust your margins to accommodate the type. > > This is

[NTG-context] Commands \inmargin and \inouter not working

2018-06-03 Thread Marcus Vinicius Mesquita
with the command \type {\inmargin} placed in the text. You will of course want to adjust your margins to accommodate the type. This is an example of a simple margin note set in the slanted font of the document. If used correctly, the note \inouter{Here is a simple margin note.} should print on the side

Re: [NTG-context] Defining command with optional and mandatory arguments

2018-05-24 Thread Christoph Reller
Defining command with optional and > mandatory arguments > Message-ID: <a21d40d2-e607-47a4-bab0-c437dc915...@fiee.net> > Content-Type: text/plain; charset=windows-1252 > > Am 2018-05-23 um 16:01 schrieb Hans Hagen <j.ha...@xs4all.nl>: > >> On 5/23/2018 3:39 PM, C

[NTG-context] \showgrid not working right

2018-05-23 Thread Marcus Vinicius Mesquita
nux-64, type: unix, binary subtree: texmf-linux-64 mkiv lua stats > used engine: luatex version 1.08 with functionality level 6731, banner: this is luatex, version 1.08.0 (tex live 2018) Marcus Vinicius mwe.pdf Description: Adobe PDF do

Re: [NTG-context] Fonts and equations

2018-05-18 Thread Lance Larsen
i, 18 May 2018 18:55:14 +1200 > From: Henri Menke <henrime...@gmail.com> > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Fonts and equations > Message-ID: <12743277-ebd0-67c7-2393-fe33e97bf...@gmail.com> > Content-Type: text/plain; charset=utf-8; format=flowed >

Re: [NTG-context] roadmap

2018-05-15 Thread Hans Hagen
users <ntg-context@ntg.nl> Subject: Re: [NTG-context] roadmap Message-ID: <c504ea08-a021--4eba-c2894d72d...@xs4all.nl> Content-Type: text/plain; charset=utf-8; format=flowed On 5/14/2018 9:36 PM, Henning Hraban Ramm wrote: Hi Hans, thank you so much! Keep up the good work!

Re: [NTG-context] roadmap

2018-05-15 Thread Christoph Reller
lt;ntg-context@ntg.nl> > Subject: Re: [NTG-context] roadmap > Message-ID: <c504ea08-a021--4eba-c2894d72d...@xs4all.nl> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 5/14/2018 9:36 PM, Henning Hraban Ramm wrote: > > Hi Hans, thank you so much!

Re: [NTG-context] using lua fonts

2018-05-09 Thread Hans Hagen
es of fonts-mkiv.pdf I copied the code from 4.5 Lua fonts to a file "fonts-demo-rule.lua". This lua file is in the same directory as my test file. Then I tried \definefont [MyRuleFont] [file:fonts-demo-rule.lua*default sa 1] \starttext {\MyRuleFont So when we use it we get text }

Re: [NTG-context] using lua fonts

2018-05-08 Thread Henri Menke
his lua file is in the same directory as my test file. Then I tried \definefont [MyRuleFont] [file:fonts-demo-rule.lua*default sa 1] \starttext {\MyRuleFont So when we use it we get text } \stoptext but I get in the log fonts > defining > forced type 'lua' of 'fonts-demo-rule' not fo

Re: [NTG-context] using lua fonts

2018-05-08 Thread Ulrike Fischer
t; but I get in the log > > fonts > defining > forced type 'lua' of 'fonts-demo-rule' not found For the record: It was a silly error. As the lua file is not in the sources I had to copy & paste from the fonts-mkiv.pdf and overlooked that the code has a last "end" on

Re: [NTG-context] using lua fonts

2018-05-08 Thread Hans Hagen
o-rule.lua*default sa 1] \starttext {\MyRuleFont So when we use it we get text } \stoptext but I get in the log fonts > defining > forced type 'lua' of 'fonts-demo-rule' not found fonts > defining > font with asked name 'fonts-demo-rule' is not found using lookup 'file' fonts > defin

[NTG-context] using lua fonts

2018-05-03 Thread Ulrike Fischer
nt So when we use it we get text } \stoptext but I get in the log fonts > defining > forced type 'lua' of 'fonts-demo-rule' not found fonts > defining > font with asked name 'fonts-demo-rule' is not found using lookup 'file' fonts > defining > unknown font 'fonts-demo-rule', load

Re: [NTG-context] Question to sectioning

2018-04-25 Thread Pablo Rodriguez
x && contextjit document.tex The minor difference (I guess you don’t type the command) allows you to use the latest version of ConTeXt. After all, I guess this is much easier that trying to fix ConTeXt from TeX Live 2017. Just in case it helps, Pablo

[NTG-context] Loading units fails

2018-04-24 Thread Michael Guravage
ect: 2, late: 0, function 57, total: 256 mkiv lua stats > loaded tex modules: 1 requested, all found (*-units) mkiv lua stats > loaded patterns: en::2, load time: 0.000 mkiv lua stats > result saved in file: testing.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > f

Re: [NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
=\contextversion\blank {\bf Testing use of character entities}\blank These should produce the same result: \type{} and \type{} and indeed they do.\blank \xmlprocessbuffer{demo}{demo}{}\blank \stoptext > On 19 Apr 2018, at 14:44, Hans Hagen <j.ha...@xs4all.nl> wrote: > > On 4/19/2018

[NTG-context] problem with character entities in XML processing

2018-04-19 Thread Hans van der Meer
roduces the same End test\blank\stopxmlsetups\startbuffer[demo]\stopbuffer\starttext\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blank{\bf Testing use of character entities}\blankThese should produce the same result: \type{} and \type{}\blank\xmlprocessbuffer{demo}{demo}{}\blank\stopt

Re: [NTG-context] ConTeXt Sources (MkII)

2018-04-18 Thread luigi scarso
ones) contain excellent documentation and examples. If you want a pretty > printed pdf of a source file, say core-rul.tex, you can type > > texmfstart texexec --module kpse:core-rul.tex > > > But this apparently doesn’t work any more (i.e., I simply entered that > line in the M

[NTG-context] ConTeXt Sources (MkII)

2018-04-18 Thread Robert Zydenbos
-rul.tex, you can type texmfstart texexec --module kpse:core-rul.tex But this apparently doesn’t work any more (i.e., I simply entered that line in the Mac terminal and nothing happened). Am I doing something wrong

Re: [NTG-context] \replaceword with spaces

2018-04-15 Thread Hans Hagen
fonts.handlers.otf.addfeature { name= "crap", type= "chainsubstitution", prepend = true, lookups = { { type = "multiple", data = {

[NTG-context] Problem with Filter Module in latent context beta

2018-04-14 Thread Lutz Haseloff
ing mkiv lua stats > callbacks: internal: 47, file: 235, direct: 6, late: 0, function 59, total: 347 mkiv lua stats > loaded tex modules: 2 requested, all found (*-filter *-module-catcodes) mkiv lua stats > loaded patterns: en::2, load time: 0.000 mkiv lua stats > result saved in

Re: [NTG-context] Installing fonts in a ConTeXt Docker (texfont tool missing?)

2018-04-13 Thread Rodzis, Michelle
ner. Nowadays texfont is the wrong tool to use. It doesn't actually install fonts, it merely converts them from, say, Type 1, to a zillion of 8-bit files (meaning that you won't even be able to use more than a couple accented characters in that font). This was useful before TeX supported OpenType fonts,

Re: [NTG-context] Installing fonts in a ConTeXt Docker (texfont tool missing?)

2018-04-13 Thread Mojca Miklavec
t is the wrong tool to use. It doesn't actually install fonts, it merely converts them from, say, Type 1, to a zillion of 8-bit files (meaning that you won't even be able to use more than a couple accented characters in that font). This was useful before TeX supported OpenType fonts, but is a com

Re: [NTG-context] texdoc in ConTeXt standalone

2018-04-04 Thread Hans Hagen
ot; Hm, that requires that I know enough about the name of the document.  A list would be quite nice in the sense that I could just type "metafun" and then select from "metafun-p.pdf" and "metafun-s.pdf" instead of opening both documents. on my machine opening the

Re: [NTG-context] texdoc in ConTeXt standalone

2018-04-04 Thread Hans Hagen
ot; Hm, that requires that I know enough about the name of the document.  A list would be quite nice in the sense that I could just type "metafun" and then select from "metafun-p.pdf" and "metafun-s.pdf" instead of opening both documents. features like that have

Re: [NTG-context] texdoc in ConTeXt standalone

2018-04-04 Thread Henri Menke
magic features that suddenly is available on your  > system > > mtxrun --launch metafun*.pdf > mtxrun --launch cld-mkiv.pdf > mtxrun --all --launch "*-mkiv.pdf" Hm, that requires that I know enough about the name of the document.  A list would be quite nice in the sense t

Re: [NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Alan Braslau
t; loaded patterns: en::2, load time: 0.000 mkiv lua stats > result saved in file: publications-quick-example.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman10-regular.otf, lmroman12-regular.otf mkiv lua stats > font engine: o

Re: [NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Rik Kabel
iv lua stats > loaded patterns: en::2, load time: 0.000 mkiv lua stats > result saved in file: publications-quick-example.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > loaded fonts: 3 files: latinmodern-math.otf, lmroman10-regular.otf, lmroman12-regular.otf mkiv lua s

Re: [NTG-context] string.format changed in LuaTeX / grph-downsample

2018-03-23 Thread Hans Hagen
On 3/23/2018 9:46 AM, Henning Hraban Ramm wrote: Ahoi, since i recently updated my ConTeXt beta, Lua function string.format behaves differently, i.e. type checks are stricter. I guess it’s due to switching to Lua 5.3 in LuaTeX? This is indeed one of the changes in 5.3 (more about

[NTG-context] string.format changed in LuaTeX / grph-downsample

2018-03-23 Thread Henning Hraban Ramm
Ahoi, since i recently updated my ConTeXt beta, Lua function string.format behaves differently, i.e. type checks are stricter. I guess it’s due to switching to Lua 5.3 in LuaTeX? E.g. this: if tonumber(string.format('%d', value)) == value then ... throws bad argument #2 to 'format

Re: [NTG-context] Fwd: Macro to write a vector (Metafun) is broken

2018-03-22 Thread Fabrice Couvreur
esslevel 3 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf mkiv lua stats > font engine: otf 3.103, afm 1.513, tfm 1.000, 4 instances, load time 0.115 seconds mkiv lua stats > metapost processing time: 0.006 seconds, loading: 0.018, execution: 0.003

Re: [NTG-context] Fourier and utopia

2018-03-06 Thread Mikael P. Sundqvist
d that >> combination for my PhD thesis in mkii 10 years ago). >> >> First of all, I have downloaded the fourier fonts from ctan at >> https://ctan.org/tex-archive/fonts/fourier-GUT . The fonts are found by >> mtxrun. >> >> I have one folder containing type

Re: [NTG-context] Fourier and utopia

2018-03-03 Thread Mikael P. Sundqvist
fourier fonts from ctan at > https://ctan.org/tex-archive/fonts/fourier-GUT . The fonts are found by > mtxrun. > > I have one folder containing type-fourier.mkiv, fourier-math.lfg and > testfile.tex. Everything seems to be found by the system, so the problem is > probably in m

[NTG-context] Fourier and utopia

2018-03-03 Thread Mikael P. Sundqvist
one folder containing type-fourier.mkiv, fourier-math.lfg and testfile.tex. Everything seems to be found by the system, so the problem is probably in my files somewhere. The resulting pdf after compiling testfile.text is attached. Any ideas of what I am missing? Additionally, the fourier fonts come

Re: [NTG-context] How to use fonts.handlers.otf.enhancers.patches?

2018-02-27 Thread Hans Hagen
)] end fonts.handlers.otf.enhancers.patches.register("after","missing glyphs","^ebgaramond*", patch) \stopluacode \setupbodyfont[ebgaramond] \starttext ϵ ε \stoptext or when you want to buse features: \startluacode     fonts.handlers.otf.addfeature {

Re: [NTG-context] How to use fonts.handlers.otf.enhancers.patches?

2018-02-27 Thread Henri Menke
ant to use the patch mechanism: > > \startluacode > local function patch(data,filename) >     data.descriptions[utf.byte("ϵ")] = data.descriptions[utf.byte("ε")] > end > > fonts.handlers.otf.enhancers.patches.register("after","miss

Re: [NTG-context] How to use fonts.handlers.otf.enhancers.patches?

2018-02-27 Thread Hans Hagen
ng glyphs","^ebgaramond*", patch) \stopluacode \setupbodyfont[ebgaramond] \starttext ϵ ε \stoptext or when you want to buse features: \startluacode fonts.handlers.otf.addfeature { name= "ccmp", -- or "ebhack" type= &qu

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Hans Hagen
I missing something? are you sure that the font you use has the character Many thanks for your reply, Hans. The chars are there: \setuptype[option=tex] \starttext \startTEXpage[offset=1em] \type{\ ␣ \ á \ ñ} % \type{\␣ \á \ñ} {\ttbf \letterbackslash ␣ \letterb

Re: [NTG-context] issue with character and \xmlprettyprinttext

2018-02-20 Thread Pablo Rodriguez
g or am I missing something? > are you sure that the font you use has the character Many thanks for your reply, Hans. The chars are there: \setuptype[option=tex] \starttext \startTEXpage[offset=1em] \type{\ ␣ \ á \ ñ} % \type{\␣ \á \ñ} {\ttbf \letterbackslash ␣ \l

Re: [NTG-context] xits-math font problem

2018-02-18 Thread Jeong Dal
Dear Hans, Since I couldn’t use xits for math font, I tried to use euler. I found some mails about the euler font in the list, and change the type-imp-unfonts slightly. I replaced the lines containing xits with euler font. \loadtypescriptfile[euler] %\loadtypescriptfile[xits

<    7   8   9   10   11   12   13   14   15   16   >