Re: [NTG-context] Problems with old style figures and particular font

2016-08-12 Thread Martin Oppegaard
ed in all three > cases); see attached examples. Do you have any suggestions? > > % type-fbb.mkiv > \starttypescript [serif] [fbb] [name] > \definefontsynonym [Serif] [file:fbb-Regular.otf] > [features=default] > \definefontsynonym [SerifItalic] [file

Re: [NTG-context] Problems with old style figures and particular font

2016-08-11 Thread Wolfgang Schuster
s onum and liga, and it works fine with lualatex. I have tried with a typescript and simplefont (the fbb font is being used in all three cases); see attached examples. Do you have any suggestions? % type-fbb.mkiv \starttypescript [serif] [fbb] [name] \definefontsynonym [Serif] [file:fbb-Regul

[NTG-context] Problems with old style figures and particular font

2016-08-11 Thread Martin Oppegaard
and simplefont (the fbb font is being used in all three cases); see attached examples. Do you have any suggestions? % type-fbb.mkiv \starttypescript [serif] [fbb] [name] \definefontsynonym [Serif] [file:fbb-Regular.otf] [features=default] \definefontsynonym [SerifItalic] [file:fbb

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
37, 0x38, 0x39 } -- 0x66B instead of 0x2F gives an error! replacements = { [0x002E] = { 0x2F } } fonts.handlers.otf.addfeature { name = "mpf", type = "chainsubstitution",

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Mohammad Hossein Bateni
;> end-of-equation periods unchanged. >> >> Here is how I tried to achieve it. >> >> >> \startluacode >> digits = { 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39 >> } >> -- 0x66B instead of 0x2F gives an er

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
tion periods unchanged. Here is how I tried to achieve it. \startluacode digits = { 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39 } -- 0x66B instead of 0x2F gives an error! replacements = { [0x002E] = { 0x2F } } fonts.handlers.otf.addfeature { na

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-08 Thread Hans Hagen
{ [0x002E] = { 0x2F } } fonts.handlers.otf.addfeature { name = "mpf", type = "chainsubstitution", lookups = { { type = "multiple", data = replacements, } }, data = { rules = { { current = { { 0x002E } }, after

Re: [NTG-context] Access to Intermediate Document after Pre-processing

2016-08-08 Thread Hans Hagen
) \setvariable and \getvariable (to reuse some text in different places) So, does ConTeXt run some sort of pre-processing step that processes all of the above and which results in an intermediate document that is then type-set? And is it possible to only run this pre-processing step and get access

Re: [NTG-context] Access to Intermediate Document after Pre-processing

2016-08-08 Thread Hans Hagen
of the above and which results in an intermediate document that is then type-set? And is it possible to only run this pre-processing step and get access to that intermediate document? This is a TeX thing. Unfortunately, TeX does not have any introspection into the expansion processor which is why you

[NTG-context] OTF feature for a math font

2016-08-05 Thread Mohammad Hossein Bateni
; Here is how I tried to achieve it. >> >> >> \startluacode >> digits = { 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39 } >> -- 0x66B instead of 0x2F gives an error! >> replacements = { [0x002E] = { 0x2F } } >> fonts.handlers.otf.addfeature {

Re: [NTG-context] Access to Intermediate Document after Pre-processing

2016-08-03 Thread Henri Menke
phs depending on some > conditions) > \setvariable and \getvariable (to reuse some text in different places) > > So, does ConTeXt run some sort of pre-processing step that processes all of > the above and which results in an intermediate document that is then > type-set?

[NTG-context] Access to Intermediate Document after Pre-processing

2016-08-03 Thread Malte Stien
text in different places) So, does ConTeXt run some sort of pre-processing step that processes all of the above and which results in an intermediate document that is then type-set? And is it possible to only run this pre-processing step and get access to that intermediate document? I am asking

Re: [NTG-context] Changing decimals points to Persian ones via font features

2016-08-02 Thread Mohammad Hossein Bateni
. This > will, among other things, leave the end-of-equation periods unchanged. > > Here is how I tried to achieve it. > > > \startluacode > digits = { 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39 } > -- 0x66B instead of 0x2F gives an error! > replacements = { [0x002

Re: [NTG-context] Hyphenation errors (again or still) in recent mkiv

2016-08-02 Thread Robert Blackstone
On 1 Aug 2016, at 14:40 , Hans Hagen <pra...@wxs.nl> > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Hyphenation errors (again or still) in > recent mkiv > Message-ID: <d887e5a3-1195-b141-623f-897f7540f...@wxs.nl> > Content-Type: text/plain; charset=utf-8

[NTG-context] Changing decimals points to Persian ones via font features

2016-08-01 Thread Mohammad Hossein Bateni
e { name = "mpf", type = "chainsubstitution", lookups = { { type = "multiple", data = replacements, } }, data = { rules = { { current = { { 0x002E } }, after = { digits }, before = { digits }, lookups =

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Lukas Prochazka
Hello Thomas, here is my "dump()" I've been using for several years: function dump(arg, opts) -- .seen, .pfx if type(opts) == "string" then print(opts); opts = nil elseif opts == true then print("-- (dump)"); opts = nil end local pfx = opts an

Re: [NTG-context] Something got wrong here

2016-07-28 Thread Henri Menke
spec, 11 attribute_list, 2 temp > > mkiv lua stats > node list callback tasks: 6 unique task lists, 5 instances > (re)created, 108 calls > > mkiv lua stats > used backend: pdf (backend for directly generating pdf > output) > > mkiv lua stats > jobdata time:

[NTG-context] Something got wrong here

2016-07-28 Thread Ursula Hermann
s: 5 files: latinmodern-math.otf, lmmono10-regular.otf, lmroman10-regular.otf, lmroman12-regular.otf, lmroman8-regular.otf mkiv lua stats > font engine: otf 3.020, afm 1.512, tfm 1.000, 11 instances, 4 shared in backend, 0 common vectors, 4 common hashes, load time 0.338 seconds mkiv lua stats

[NTG-context] first-setup.bat weirdness I: cloned system

2016-07-19 Thread Idris Samawi Hamid ادريس سماوي حامد
0.17 (TeX Live 2016/W32TeX) (INITEX) \write18 enabled. entering extended mode ! I can't find file `cont-en.mkii'. <*> cont-en.mkii \dump (Press Enter to retry, or Control-Z to exit) Please type another input file name: [:] mtx-context | running command: pdftex --ini --e

Re: [NTG-context] Access stylistic sets in lucidaot

2016-07-14 Thread Hans Hagen
On 7/14/2016 1:30 PM, Henri Menke wrote: Dear list, I have been using the Lucida fonts for long time with LaTeX, either the Type 1 version through the `lucimatx` package or the OpenType variants with `unicode-math`. In `unicode-math` there is a straightforward way to select stylistic sets, e.g

[NTG-context] Access stylistic sets in lucidaot

2016-07-14 Thread Henri Menke
Dear list, I have been using the Lucida fonts for long time with LaTeX, either the Type 1 version through the `lucimatx` package or the OpenType variants with `unicode-math`. In `unicode-math` there is a straightforward way to select stylistic sets, e.g. alternative calligraphic glyphs

[NTG-context] French and Ancient Greek

2016-07-11 Thread Jean-Pierre Delange
e: ConTEXt_Philosophy_Margin-Footnotes-Greek-Version03.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > margin data: 13 entries, 0 pending mkiv lua stats > loaded fonts: 6 files: ugmm8a.afm, ugmmi8a.afm, ipaexm.ttf, freesans.otf, freesansoblique.otf, theanodidot-regular.ttf mkiv lua

Re: [NTG-context] Equivalent of extras option in new bibliography system?

2016-07-03 Thread Thomas A. Schmitz
.~24}}][Author:2016] Alternately (if you find the {{ }} strange), you can type \cite[righttext={\btxcomma p.~24}] [Author:2016] The macro \btxcomma also takes care of spacing. I know I shouldn't be asking but answering questions on this topic, but here comes anyway: what is the magic incantation

Re: [NTG-context] Equivalent of extras option in new bibliography system?

2016-07-02 Thread Nicola
httext={{, p.~24},{, p.~xx}}] [Author:2016,Author2:2015] The comma gets parsed (as always) to separate multiple right texts, assigned here to each citation reference. The solution to your problem is: \cite[righttext={{, p.~24}}][Author:2016] Alternately (if you find the {{ }} strange), you ca

Re: [NTG-context] Equivalent of extras option in new bibliography system?

2016-07-01 Thread Alan Braslau
[Author:2016,Author2:2015] The comma gets parsed (as always) to separate multiple right texts, assigned here to each citation reference. The solution to your problem is: \cite[righttext={{, p.~24}}][Author:2016] Alternately (if you find the {{ }} strange), you can type \cite[righttext={\btx

Re: [NTG-context] What is wrong here?

2016-06-20 Thread luigi scarso
! I can't find file `Sigmund'. > > > > l.7 \input Sigmund > > Freud Band1.pdf > > > > 1 \setupinteraction[state=start]%don't forget this line > > 2 % make chapter, section bookmarks visible when opening document > > 3 \placebookmark

[NTG-context] What is wrong here?

2016-06-20 Thread Ursula Hermann
n opening document 3 \placebookmarks[title, chapter,section,subsection][title,chapter,section] 4 \setupinteractionscreen[option=bookmark] 5 6 \starttext 7 >> \input Sigmund Freud Band1.pdf 8 \stoptext Please type another input file name: I have first save

Re: [NTG-context] Package esvect and Context

2016-06-07 Thread Fabrice Couvreur
regulars, 0 regions, 0 unresolved regions mkiv lua stats > loaded patterns: en::2, load time: 0.000 mkiv lua stats > result saved in file: ntg45.pdf, compresslevel 3, objectcompresslevel 3 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf mkiv lua stats

Re: [NTG-context] Redirect compilation to another .pdf?

2016-06-06 Thread Procházka Lukáš Ing .
Lukáš Procházka wrote: - the option "--jobname" is not listed when you type "context.exe" (= help), so it seems like a "hidden" option; it's not supported as engine flag - Suggestion: would it be possible to use "--result=OutputFileName" as the name for

Re: [NTG-context] Letterspacing

2016-05-29 Thread Hans Hagen
#1 uppercase [OK, in simple situations I could just type the uppercase letters] 2. change #1's color to xxx [not a problem] 3. apply an amount of letterspacing to the capitalized #1 that I can specify myself. Maybe I'm only using the wrong search term, maybe the letterspace feature is well hidden

[NTG-context] Letterspacing

2016-05-29 Thread Thomas Fehige
could just type the uppercase letters] 2. change #1's color to xxx [not a problem] 3. apply an amount of letterspacing to the capitalized #1 that I can specify myself. Maybe I'm only using the wrong search term, maybe the letterspace feature is well hidden in the documentation, maybe

Re: [NTG-context] Buffered metapost function freezes random numbers

2016-05-27 Thread Hans Hagen
\startbuffer[programa] \placefigure[center,nonumber]{}{ \startcombination[2*1] {\externalfigure[ammeter][type=buffer,width=8cm]}{\_\_\_\_\_\_\_\_\_\_$\pm$\_\_\_\_\_\_\_\_} {\externalfigure[ammeter][type=buffer,width=8cm]}{\_\_\_\_\_\_\_\_\_\_$\pm$\_\_\_\_\_\_\_\_} } \stopcombination \stopc

Re: [NTG-context] Underbar offset

2016-05-26 Thread Mojca Miklavec
tcaron c} > > > doesn't the compose=yes feature work? I'm sorry, compose=yes works as expected (I was copy pasting some old code and forgot about the later improvements in ConTeXt: shame on me). > so let's give you another piece > > \startluacode > fonts.handlers.otf.addfeature {

Re: [NTG-context] Underbar offset

2016-05-26 Thread Hans Hagen
ther piece \startluacode fonts.handlers.otf.addfeature { name = "mojca", type = "multiple", prepend = true, data = { ["č"] = { 0x30C, "c" }, } } fonts.handlers.otf.addfeature { name = "kern", type = "pair

Re: [NTG-context] ConTeXt on Mac OS X installation

2016-05-25 Thread Jean-Pierre Delange
od +x first-setup.sh 3. Then : . first-setup.sh 4. After a while, downloading and setting stuff achieved, I type : cd tex, then: . setuptex. Here is the answer : "/Users/adeimantos/Documents/context/tex" is not a valid TEXROOT path. (There is no file "/Users/adeimantos/Documents/context/t

[NTG-context] Buffered metapost function freezes random numbers

2016-05-25 Thread DesdeChaves
cefigure[center,nonumber]{}{ \startcombination[2*1] {\externalfigure[ammeter][type=buffer,width=8cm]}{\_\_\_\_\_\_\_\_\_\_$\pm$\_\_\_\_\_\_\_\_} {\externalfigure[ammeter][type=buffer,width=8cm]}{\_\_\_\_\_\_\_\_\_\_$\pm$\_\_\_\_\_\_\_\_} } \stopcombination \stopbuffer \starttext \dorecurse{3} {\getbuff

Re: [NTG-context] ConTeXt on Mac OS X installation

2016-05-25 Thread Jean-Pierre Delange
cuments/context 2. In a Terminal : chmod +x first-setup.sh 3. Then : . first-setup.sh 4. After a while, downloading and setting stuff achieved, I type : cd tex, then: . setuptex. Here is the answer : "/Users/adeimantos/Documents/context/tex" is not a valid TEXROOT path. (There is no file &quo

Re: [NTG-context] ConTeXt on Mac OS X installation

2016-05-25 Thread Jean-Pierre Delange
and setting stuff achieved, I type : cd tex, then: . setuptex. Here is the answer : "/Users/adeimantos/Documents/context/tex" is not a valid TEXROOT path. (There is no file "/Users/adeimantos/Documents/context/tex/texmf/tex/plain/base/plain.tex") provide a proper tex ro

Re: [NTG-context] Setting up TeXworks

2016-05-19 Thread Jean-Pierre Delange
; 1) cd /home/[...]/context/tex/. setuptex > This command answers this : "Setting "/home/JohnDoe/context/tex" as ConTeXt > root." > 2) Then : cd .../context/tex/texmf-win64 (or linux64) with a x64 computer > 3) Then type : > context --generate > and type

Re: [NTG-context] Setting up TeXworks

2016-05-19 Thread Thomas Fehige
Delange: And don't forget to do this before coding : 1) cd /home/[...]/context/tex/. setuptex This command answers this : "Setting "/home/JohnDoe/context/tex" as ConTeXt root." 2) Then : cd .../context/tex/texmf-win64 (or linux64) with a x64 computer 3) Then type : context

Re: [NTG-context] Setting up TeXworks

2016-05-17 Thread Jean-Pierre Delange
And don't forget to do this before coding : 1) cd /home/[...]/context/tex/. setuptex This command answers this : "Setting "/home/JohnDoe/context/tex" as ConTeXt root." 2) Then : cd .../context/tex/texmf-win64 (or linux64) with a x64 computer 3) Then type : context --generate

Re: [NTG-context] How to export to PDF-A?

2016-05-17 Thread Peter Rolf
tdated Acrobat 9: - color problems (probably the missing profiles) - font problems (seems to be Type 1 related, I donno) Luigi mentions this in his article (8.pdf) - both icons on page 2 contain transparency (which is not allowed) - no interaction allowed (\setupinteraction[state=start,click=y

Re: [NTG-context] Reviewing old messages

2016-05-16 Thread Meer, Hans van der
no. In the former case I see all have an hbox and in the latter case all have a vbox. So it seems not the align, but the strut being the one determining the box variant. No, the align settings determines the box type. The \strut at the begin forces horizontal mode which results in both \hbox’es in

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
s of patterns have been written by the same person, who calls them "modern" and "classical" Latin. I've already argued that these are bad names because it would be better to refer to the type of hyphenation they implement (phonetic or etymological), which he reluctantly ag

Re: [NTG-context] Reviewing old messages

2016-05-16 Thread Wolfgang Schuster
being the one determining the box variant. No, the align settings determines the box type. The \strut at the begin forces horizontal mode which results in both \hbox’es in the same line. \starttext \ifvmode Vertical \else Horizontal \fi mode \strut \ifvmode Vertical \else Horizontal \fi mode \st

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Arthur Reutenauer
odern" and "classical" Latin. I've already argued that these are bad names because it would be better to refer to the type of hyphenation they implement (phonetic or etymological), which he reluctantly agreed to; in addition I think that even calling the language variants m

Re: [NTG-context] LaTeX reledmac: what about ConTeXt ?

2016-05-16 Thread Jean-Pierre Delange
with value 0.072991378173694 mkiv lua stats > positions: 14 collected, 14 regulars, 0 regions, 0 unresolved regions mkiv lua stats > v-node processing time: 0.105 seconds mkiv lua stats > loaded patterns: agr:gr:50 en::2 fr::51, load time: 0.000 mkiv lua stats > interactive eleme

Re: [NTG-context] Latin setupmathematics

2016-05-16 Thread Hans Hagen
hereas Guile is dynamic. For example, Guile does not distinguish statically between different types of numbers: integers, rationals, etc, so the proper way from the point of C++ is to only have open number type. But static typing is important in optimization. And giving implement traditional fun

Re: [NTG-context] Latin setupmathematics

2016-05-16 Thread Hans Åberg
with Lua, only some better syntax for text input. I experimented a bit with giving Guile a C++ API, and then then there is a problem with that that C++ is statically typed whereas Guile is dynamic. For example, Guile does not distinguish statically between different types of numbers: integers,

Re: [NTG-context] What are your ten (10) favorite typography books of the last 50 years? (*not* OT)

2016-05-15 Thread Alan BRASLAU
= {thinking and learning about print}, publisher = {MIT press}, language = {english}, } @Book{Adobe1990, author= {Adobe.}, year = {1990}, title = {Adobe type 1 font format}, publisher = {Adobe Systems Inc}, language = {english}, } @Book{Ahrens2014, author = {Ahrens, T. and

Re: [NTG-context] xml expression error

2016-05-12 Thread Hans Hagen
att{#1}{atta}\crlf \stopxmlsetups \startbuffer[numberfail] \stopbuffer \starttext \xmlprocessbuffer{demo}{numberfail}{} the error from \type{\xmlfilter{#1}{/[number(@atta) >= -1]/command(demo:numberfail:node)}}: \starttyping xml > lpath > error in expression: number(@atta) >= -1 => exp

Re: [NTG-context] xml expression error

2016-05-12 Thread Meer, Hans van der
}{atta}\crlf \stopxmlsetups \startbuffer[numberfail] \stopbuffer \starttext \xmlprocessbuffer{demo}{numberfail}{} the error from \type{\xmlfilter{#1}{/[number(@atta) >= -1]/command(demo:numberfail:node)}}: \starttyping xml > lpath > error in expression: number(@atta) >= -1 => expr.numb

Re: [NTG-context] alternate to font feature file for glyph substitution ?

2016-05-10 Thread Hans Hagen
c set 1. I don't want to globally switch to that stylistic set, I am only interested into digit 1. \starttext \startluacode fonts.handlers.otf.addfeature { name = "oneb", type = "substitution", data = { ["one"] = "one.s

Re: [NTG-context] beta

2016-05-08 Thread Pablo Rodriguez
On 05/07/2016 09:42 PM, Pablo Rodriguez wrote: > On 05/07/2016 02:51 PM, Hans Hagen wrote: >> Hi, >> >> I uploaded a beta. This one has an (partially) alternative loader for >> type one files so that we can apply features as with open type fonts >> (node mode). I

Re: [NTG-context] beta

2016-05-07 Thread Pablo Rodriguez
On 05/07/2016 02:51 PM, Hans Hagen wrote: > Hi, > > I uploaded a beta. This one has an (partially) alternative loader for > type one files so that we can apply features as with open type fonts > (node mode). I didn't test it extensively but I dont' expect many > problems eith

[NTG-context] beta

2016-05-07 Thread Hans Hagen
Hi, I uploaded a beta. This one has an (partially) alternative loader for type one files so that we can apply features as with open type fonts (node mode). I didn't test it extensively but I dont' expect many problems either. Hans

[NTG-context] uppercase, small caps, numerals and German capital sharp s

2016-05-06 Thread Thomas Fehige
[mono] [TeX Gyre Cursor] \setupbodyfont [myfamily] \startTEXpage[offset=10pt] \starttabulate[|l|l|l|] \NC \it Command \NC \it Calluna \NC \it Linux Biolinum \NC\NR \NC\type{\WORD{Gruß134}}: \NC\WORD{Gruß134} \NC {\ss\WORD{Gruß134}} \NC\NR \NC\type{\uppercase{Gr

[NTG-context] Outputting custom types in MKiv bibliography

2016-05-05 Thread Mike O'Connor
) as custom types (eg. ‘newspaper’, ‘archivalItem’), create setups for how they are output and which fields I output. I found a ’newspaper’ type (and other non-BibTeX types) defined in publ-imp-apa.mkiv as: \startsetups btx:apa:list:newspaper \fastsetup{btx:apa:list:article} \stopsetups I

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
> files > jobname 'font2', input './font2', result 'font2' > fonts > latin modern fonts are not preloaded > languages > language 'en' is active > open source > 2 > 3 > /Users/acailliau/Google > Drive/PhD/Dissertation/test-context/font2.tex >

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
l/texlive/2015/texmf-dist/tex/context/base/cont-new.mkiv system > files > jobname 'font2', input './font2', result 'font2' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > /Users/acailliau/Google Dri

Re: [NTG-context] Garamond Premier Pro font goodies file

2016-05-03 Thread mf
}    {\switchtobodyfont[#1pt]    \purefontname\font: \input ward    \blank} \stoptext My garamondpremierpro.lfg is a modified version of ebgaramond.lfg. While I was waiting for an answer to my mail, I made a modified version of type-imp-ebgaramond.mkiv: type-imp-garamondpremierpro.mkiv (second attachment). Then I

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Jaroslav Hajtmar
inimal example that illustrates the problem. I am aware that work with tables of this type is not recommended, however, I was surprised that in a previous version of standalone ConTeXt the bug did not show. Is there any changes in code, which is related with tables typing? Thanks Jaroslav H

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Wolfgang Schuster
xample that illustrates the problem. I am aware that work with tables of this type is not recommended, however, I was surprised that in a previous version of standalone ConTeXt the bug did not show. Is there any changes in code, which is related with tables typing? Thanks Jaroslav Hajtmar Here is m

Re: [NTG-context] Problems with ttc-fonts

2016-05-01 Thread Hans Hagen
;oneb", { type = "substitution", data = { ["1"] = "period", }, }, "feature test", } } \font\test= name:LatinModernRoman:+oneb \test 1234567890 \font\test= name:cambria:+oneb \te

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-04-30 Thread Jaroslav Hajtmar
of this type is not recommended, however, I was surprised that in a previous version of standalone ConTeXt the bug did not show. Is there any changes in code, which is related with tables typing? Thanks Jaroslav Hajtmar Here is minimal example: \starttext \starttable[|l w50mm|c|] \NC \NC

[NTG-context] evaluation of != and ~=

2016-04-29 Thread Meer, Hans van der
;http://ll.at>['atta'])) ~== 1 Hans van der Meer % failure of test on inequality. \startxmlsetups demo:comparefail \xmlsetsetup{#1}{root|node}{demo:comparefail:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{demo:comparefail} \startxmlsetups demo:comparefail:root compare \type{!=}\crlf \x

Re: [NTG-context] xml expression error

2016-04-29 Thread Meer, Hans van der
il] \stopbuffer \starttext \xmlprocessbuffer{demo}{numberfail}{} the error from \type{\xmlfilter{#1}{/[number(@atta) >= -1]/command(demo:numberfail:node)}}: \starttyping xml > lpath > error in expression: number(@atta) >= -1 => expr.number((ll.at<http://ll.at> and ll

[NTG-context] ’Undefined control sequence’ with basic example

2016-04-29 Thread Saša Janiška
ama ~/prj/knjiga]$ luatex t.tex This is LuaTeX, Version beta-0.80.0 (TeX Live 2015/Debian) (rev 5238) restricted \write18 enabled. (./t.tex ! Undefined control sequence. l.2 \setuppapersize [A5] ? l Type to proceed, S to scroll future error messages, R to run without stopping,

[NTG-context] Test Suite Fonts "extensions-001"

2016-04-29 Thread Thomas Fehige
racadabra". Compiling the original extensions-001 gives me seven lines of "abracadabra". What am I doing wrong? I'm running ConTeXt version 2015.05.18 12:26 MKIV current fmt: 2016.4.28 from the debian/ubuntu texlive packets. \startluacode fonts.handlers.otf.addfeature { name = "

Re: [NTG-context] Problems with ttc-fonts

2016-04-29 Thread Hans Hagen
;oneb", { type = "substitution", data = { ["1"] = "period", }, }, "feature test", } } \font\test= name:LatinModernRoman:+oneb \test 1234567890 \font\test= name:cambria:+oneb \te

Re: [NTG-context] glyph substitution

2016-04-29 Thread Hans Hagen
On 4/29/2016 9:44 AM, Thomas Fehige wrote: Yes, I learned that already. Will these home-made features only work on open type fonts? yes, because type 1 has no such feature processing (i suppose i can make them into fake opentypes ... shouldn't be to hard ... it depends a bit on how long we

[NTG-context] Problems with ttc-fonts

2016-04-29 Thread Ulrike Fischer
I was playing with the addfeature handler mentioned here https://mailman.ntg.nl/pipermail/ntg-context/2016/083952.html and run into a problem with ttc-fonts: \starttext \directlua{ fonts.handlers.otf.addfeature { name = "oneb", { type = &qu

Re: [NTG-context] glyph substitution

2016-04-29 Thread Thomas Fehige
as in extensions-001 then you also need to know what the font provides (or lacks) .. open type fonts can be pretty complex and there is no consistency in how certain features are implemented Yes, I learned that already. Will these home-made features only work on open type fonts? Cheers

Re: [NTG-context] glyph substitution

2016-04-27 Thread Hans Hagen
en you also need to know what the font provides (or lacks) .. open type fonts can be pretty complex and there is no consistency in how certain features are implemented - Hans Hagen | PRAGMA A

Re: [NTG-context] xml input

2016-04-21 Thread Mica Semrick
tes}{notes:*} >\stopxmlsetups >\xmlregisterdocumentsetup{notes}{notes:setups} >\startxmlsetups notes:notes >\xmlinclude{#1}{include}{file} >\xmlshow{#1} >===> number of = \xmlcount{#1}{note} >\stopxmlsetups >\starttext >Ok with \type{\xmlprocessbuffer{notes}{notes-xm

Re: [NTG-context] xml input

2016-04-21 Thread Meer, Hans van der
ocumentsetup{notes}{notes:setups} \startxmlsetups notes:notes \xmlinclude{#1}{include}{file} \xmlshow{#1} ===> number of = \xmlcount{#1}{note} \stopxmlsetups \starttext Ok with \type{\xmlprocessbuffer{notes}{notes-xml}{notes:notes}}\crlf \xmlprocessbuffer{notes}{notes-xml}{notes:notes} \bl

[NTG-context] uppercase, small caps, numerals and German capital sharp s

2016-04-19 Thread Thomas Fehige
Cursor] \setupbodyfont [myfamily] \startTEXpage[offset=10pt] \starttabulate[|l|l|l|] \NC \it Command \NC \it Calluna \NC \it Linux Biolinum \NC\NR \NC\type{\WORD{Gruß134}}: \NC\WORD{Gruß134} \NC {\ss\WORD{Gruß134}} \NC\NR \NC\type{\uppercase{Gruß134}}: \NC\

Re: [NTG-context] ntg-context Digest, Vol 142, Issue 52

2016-04-19 Thread Brian Ballsun-Stanton
oject. > -- > > Message: 5 > Date: Mon, 18 Apr 2016 22:11:28 +0200 > From: Hans Hagen <pra...@wxs.nl> > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Table index is nil > Message-ID: <57153f70.6050...@wxs.nl> > Content-Type: text/pla

Re: [NTG-context] Fourier install fonts

2016-04-17 Thread Hans Hagen
active open source > 2 > 3 > /home/fab/ntg44.tex fonts > typescripts > unknown library 'utopia' open source > 3 > 4 > /home/fab/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv close source> 3 > 4 > /home/fab/context/tex/t

Re: [NTG-context] Fourier install fonts

2016-04-15 Thread Fabrice Couvreur
; 3 > /home/fab/ntg44.tex fonts > typescripts > unknown library 'utopia' open source > 3 > 4 > /home/fab/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv close source> 3 > 4 > /home/fab/context/tex/texmf-context/tex/context/f

Re: [NTG-context] Bug in enumeration?

2016-04-12 Thread Hans Hagen
\startproclaim{Definition} The title of this \type{\startproclaim} does not show up. Is this a bug? \stopproclaim \stoptext swapped arguments in ... (actually that was a fix for something else, a space in captions) \unexpanded\def\strc_enumerations_inject_extra_text {\ifconditional

[NTG-context] Bug in enumeration?

2016-04-12 Thread Otared Kavian
=slanted, title=yes, titleleft=, titleright={.}, alternative=hanging, width=fit, right={~}, way=bysection, prefix=yes, prefixsegments={chapter:section}] %%% \starttext \startproclaim{Definition} The title of this \type

Re: [NTG-context] Interactionmenu not creating a button for the final page

2016-04-11 Thread Brian Ballsun-Stanton
G-context] Interactionmenu not creating a button for > the final page > Message-ID: <570bd963.4050...@wxs.nl> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 4/11/2016 9:47 AM, Brian Ballsun-Stanton wrote: > > > it seems that the interactionmenu doesn

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Wolfgang Schuster
ommands when you type context --extra=setups metapost on the command line. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / h

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Wolfgang Schuster
ssible of course ;-), Has it to be done otherwise? In the example below the graphic myname1 is ok, but myname2 gives the following error: metapost > error: >> orange ! Improper type. ; <*> ...raw unitsquare scaled 1cm withcolor orange; minimal example: \startte

[NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
myname1 is ok, but myname2 gives the following error: metapost> error: >> orange ! Improper type. ; <*> ...raw unitsquare scaled 1cm withcolor orange; minimal example: \starttext \startuseMPgraphic{myname1}{color} pickup pencircle scaled 1mm; draw un

Re: [NTG-context] Redirect compilation to another .pdf?

2016-04-11 Thread Procházka Lukáš Ing .
Hello, On Sun, 10 Apr 2016 23:43:30 +0200, Hans Hagen <pra...@wxs.nl> wrote: On 4/10/2016 9:49 PM, Lukáš Procházka wrote: - the option "--jobname" is not listed when you type "context.exe" (= help), so it seems like a "hidden" option; it's not supported

Re: [NTG-context] Redirect compilation to another .pdf?

2016-04-10 Thread Hans Hagen
On 4/10/2016 9:49 PM, Lukáš Procházka wrote: - the option "--jobname" is not listed when you type "context.exe" (= help), so it seems like a "hidden" option; it's not supported as engine flag - Suggestion: would it be possible to use "--result=OutputF

Re: [NTG-context] Redirect compilation to another .pdf?

2016-04-10 Thread Lukáš Procházka
iv lua stats > result saved in file: shadow.pdf, compresslevel 3, objectcompresslevel 3 but no shadow.pdf file is created. I can fully confirm this behavior; - the option "--jobname" is not listed when you type "context.exe" (= help), so it seems like a "hid

Re: [NTG-context] Skipped figure numbers

2016-04-01 Thread Aidan Nichol
| > | | Fig2 | > | Fig1 +---+ > | | Fig3 | > | | | > +--+---+ > > Such layouts are not possible using combinations. I thought that nesting combinations might enable this type of combination but it didn’t work. see https://mailman.ntg.nl

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-30 Thread Willi Egger
29/2016 8:38 PM, Willi Egger wrote: >> I underrstand this, however then I do not get tabular figures… > > These things also depend on the font. Some fonts (maybe taken from type ones) > have old styles in the regular digit slots so effectively they always have > onum=yes hardcoded

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-30 Thread Hans Hagen
On 3/29/2016 8:38 PM, Willi Egger wrote: I underrstand this, however then I do not get tabular figures… These things also depend on the font. Some fonts (maybe taken from type ones) have old styles in the regular digit slots so effectively they always have onum=yes hardcoded and maybe

[NTG-context] Possible typo in source file type-imp-lato.mkiv

2016-03-20 Thread Tom Harrop
defining > unknown font 'lato-reglta', loading aborted I noticed Context was searching for *reglta (with a lower case "L") rather than regita (with an "i"). Looking at the file http://source.contextgarden.net/tex/context/base/type-imp-lato.mkiv I can see that all the sy

Re: [NTG-context] Possible typo in source file type-imp-lato.mkiv

2016-03-19 Thread Hans Hagen
lookup 'file' fonts > defining > unknown font 'lato-reglta', loading aborted I noticed Context was searching for *reglta (with a lower case "L") rather than regita (with an "i"). Looking at the file http://source.contextgarden.net/tex/context/base/type-

Re: [NTG-context] placefigure and listoffigures

2016-03-15 Thread Willi Egger
I would define another float and assign this not to be listed float to this new float-type something like \definefloat[Notlisted][figure] and then \startplaceNotlisted \externalf… \stopplaceNotlisted Best wishes Willi > On 15 mrt. 2016, at 21:43, Alan BRASLAU <alan.bras...@cea.fr&

[NTG-context] issue with focusoffset and \start.. \stop structures

2016-03-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start,focus=standard, focusoffset=5pt] \starttext \index[setuppapersize]{\type{\setuppapersize}} \startTEX \setuppapersize[A][A4, landscape] \setuparranging[2UP, doublesided] \stopTEX \blank

Re: [NTG-context] PDF Signature Fields

2016-03-10 Thread Hans Hagen
with and without a /Lock dictionary. The /Lock dictionary created by Acrobat also specifies the optional /Type /SigFieldLock (eforms doesn't, but when in doubt, I trust Adobe more than eforms ;-)) Here is an example from the PDF stream of a document manually forged with Acrobat: %% Object stream

Re: [NTG-context] PDF Signature Fields

2016-03-10 Thread Andreas Schneider
dictionary created by Acrobat also specifies the optional /Type /SigFieldLock (eforms doesn't, but when in doubt, I trust Adobe more than eforms ;-)) Here is an example from the PDF stream of a document manually forged with Acrobat: %% Object stream: object 167, index 37; original object ID

Re: [NTG-context] Enumeration lists (was: \definedescription and setupdescription options)

2016-03-06 Thread Alan BRASLAU
elist [enumeration:fact] [criterium=all] > > \stoptext > > does not produce a list. > Use \placelist[fact][criterium=all]. In fact, [list=fact] above is ignored, and one cannot type \defineenumeration [fact] [list=

Re: [NTG-context] kerning with \quotation

2016-03-06 Thread Hans Hagen
(could be even more, to my taste). With \quotation, the gap between them is very large. Could the kerning be applied in this case too? Or is it better to use the raw „? (After I have taught emacs to auto-insert \quotation{ and } when I type a quotation mark…) \setupdelimitedtext [method=font

<    11   12   13   14   15   16   17   18   19   20   >