Re: [NTG-context] lmtx

2021-01-19 Thread Jano Kula
Hello, On Tue, 19 Jan 2021 at 12:11, Hans Hagen wrote: > On 1/19/2021 11:57 AM, Floris van Manen wrote: > > > > > > On 18/01/2021 19:20, Hans Hagen wrote: > >> You can run > >> > >>meta-imp-punk.mkxl > >> > >> to get a

Re: [NTG-context] ``fallback" in Typescript

2013-04-22 Thread Philipp Gesang
use the source, Luke: http://repo.or.cz/w/context.git/blob/refs/heads/origin:/tex/context/base/font-col.mkvi#l94 As the manual says: It really makes sense to take a look at the font and type definition files (font-*.tex and type-*.tex). There are fallbacks defined, as well

[NTG-context] latest beta and ancient greek module

2013-04-29 Thread Alan Bowen
(/Users/alancbowen/texmf/tex/context/third/greek/type-agr.tex ! Undefined control sequence. system > tex > error on line 5 in file /Users/alancbowen/texmf/tex/context/third/greek/type-agr.tex: Undefined control sequence ... 1 % 2 % Typescript for Greek fonts 3 %

[NTG-context] Loading Charis SIL

2013-05-07 Thread Willi Egger
Hi all, I was busy to make a typescript file and load Charis SIL. I have no clue why I get the following error: fonts > defining > forced type 'otf' of 'CharisSIL-R' not found Although it is stated in the typescript, that CharisSIL is a ttf font I

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Wolfgang Schuster
Am 25.10.2009 um 10:27 schrieb Taco Hoekwater: On top of that: In type-exljbris, you should use the first column of the output of mtxrun --script fonts --list, if you use the name: prefix. type-exlbjbris.mkiv: % Museo, Museo Sans \starttypescript [serif] [museo] \definefontsynonym

[NTG-context] \blank with dimen (mkiv)

2009-10-26 Thread Peter Rolf
Hi, donno if this is a bug or a feature. If I use \blank with a dimen register, I get [..] context/base/type-otf.tex (r:/tex/texmf-context/tex/context/base/type-otf.mkiv)) bodyfont: 12pt rm is loaded language: language en is active systems : begin file test at line 4

[NTG-context] itemize-margin->break joinedup

2010-01-17 Thread Hans van der Meer
behaviour? Below is a minimal example showing the effect. Hans van der Meer \setupblank[small] \setupitemize[n,packed] \starttext \contextversion\ After \type{\startitemize[joinedup]} joinedup ok: \startitemize[joinedup] \item sub a \startitemize \item sub a1 \item sub a2

[NTG-context] libertine otf file not recognised

2010-04-08 Thread Salil Sayed
I have the following problem with mkVI. (updated today) __ systems : begin file env_manuscript at line 4 (../env_manuscript.tex (/media/documents/test/type-libertine.tex) !define font: forced type otf of /home/me/.fonts

Re: [NTG-context] protcode again

2010-05-21 Thread luigi scarso
\usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[times,12pt] \setuphead[chapter][page=right] \starttext \chapter{foo} \dorecurse{100}{\input knuth} \stoptext # pdffonts test.pdf name

Re: [NTG-context] Custom type-imp file creating empty lines

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 18:42, Alexandre Christe via ntg-context wrote: > Dear list, > > I've played a bit with a custom type-imp file (partly inspired from the > wiki https://wiki.contextgarden.net/Alegreya_Typescript > <https://wiki.contextgarden.net/Alegreya_Typescript>). However,

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread Hans Hagen
On 9/18/2023 3:58 PM, Michael Loescher wrote: There seems to be something wrong with the \type command. MWE: \starttext \type{hello} \stoptext gives an error: tex error   > tex error on line 2 in file Z:/test.tex: Control sequence expected instead of undefined what platform? looks l

Re: [NTG-context] mkii bug in lucida, again.

2010-12-21 Thread Mojca Miklavec
On Sun, Dec 19, 2010 at 18:34, Yue Wang wrote: > BTW, there is also something strange with lucida support in context recently. > if I use > \usetypescriptfile[type-buy] > \usetypescript[lucida][texnansi] > \setupbodyfont[lucida,14pt] What does recently mean? (It has changed in ea

[NTG-context] Problem switching fonts in MKII

2011-01-30 Thread Tom
work. Obviously, I'm doing something wrong. \usetypescriptfile[type-gyr] \usetypescript[palatino][ec] \setupbodyfont[palatino,11pt] \definefontsynonym[AltTextFont][palatino] \usetypescriptfile[type-one] \usetypescript[bookman][default] \setupbodyfont[bookman,11pt] \definefontsynon

Re: [NTG-context] setupinmargin?

2011-03-15 Thread Wolfgang Schuster
te set 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. > \

Re: [NTG-context] Use date of the tex file in the document

2011-03-24 Thread Cecil Westerhof
2011/3/24 Cecil Westerhof > \startluacode > function modification_date(file, format) > local f= file > local attr = lfs.attributes(f) > > assert (type(attr) == "table") > if attr.mode ~= "directory" then > if format == "

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread luigi scarso
uth\stoptext # pdffonts test.pdf name type emb sub uni object ID - --- --- --- - BFWBPQ+TeXGyreTermes-Regular CID Type 0C yes yes yes 18 0 Also AdobeReader can show the do

Re: [NTG-context] Pull quotes

2011-04-28 Thread mathew
On Wed, Apr 27, 2011 at 15:08, Pontus Lurcock wrote: > Why not just put it in a float? OK, after some fiddling around, a combination of a framed text in a float seems to work. Definitions: \definefloat[pullquote][pullquotes] % Define a new type of float \setupcaption[pullquote][location=n

Re: [NTG-context] Line break in verbatim

2011-05-02 Thread Wolfgang Schuster
Am 02.05.2011 um 18:19 schrieb Aditya Mahajan: > Hi, > > Why does verbatim text not line break properly. > > \setuppapersize[A5] > \showframe > > \starttext > % hyphenate is not the right word here; but illustrates the problem > > \type{a very very long li

[NTG-context] crash with pdftex-1.40

2007-01-04 Thread Peter Münster
fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/home/peter/.TeX/cont-sys.tex (/opt/TeX-live/texmf-context/tex/context/user/cont-sys.rme (/opt/TeX-live/texmf-context/tex/context/base/type-exa.tex) (/opt/TeX-live/texmf-context/tex/context/base/type-syn.tex) (/opt/TeX-liv

Re: [NTG-context] Disappearing font feature

2019-12-22 Thread Hans Hagen
or explanation is welcome. This is just for a sampler -- the font with just three weights when used in a real project is fine. I do not know if the problem is with the font or with ConTeXt or with my expectations. i donloaded the fonts from https://github.com/indestructible-type/Jost/tree/mast

Re: [NTG-context] mfonts.tex from manuals

2005-11-30 Thread David Arnold
typescript[adobekb][8r,ec] \usetypescriptfile[type-buy] \usetypescript[palatino][\defaultencoding] \setupbodyfont[palatino,10pt] \stopnotmode 2. Make this change to ma-cb-abbreviations.tex. \startenvironment ma-cb-abbreviations \usemodule[abr-01] On Nov 22, 2005, at 11:27 PM, Taco Hoekw

Re: [NTG-context] How to setup this type of header?

2005-12-21 Thread David Arnold
\stoptext But I got: (/usr/local/teTeX/share/texmf.local/tex/context/base/type-akb.tex)) kpathsea: Running mktextfm utmr8t mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t This is METAFONT, Version 2.71828 (Web2C 7.5.5) kpathsea: Running mktexmf utmr8t

Re: [NTG-context] MKIV, fonts, confusion

2009-05-13 Thread Aditya Mahajan
re/fonts/TTF/LiberationSerif-Regular.ttf 3. In both MKII and MKIV, how can I determine which typescripts exist? In other words, how do I determine working arguments for "\usetypescriptfile"? ls $TEXMFCONTEXT/tex/context/base/type-* 3b. Specifically, in the case of... \usetypescript[pal

Re: [NTG-context] embedded sounds

2018-10-09 Thread Hans Hagen
[StopSoundTrack] \stopTEXpage \stoptext As reported before (https://mailman.ntg.nl/pipermail/ntg-context/2018/092327.html), sound is played fine when not embedded. But it won’t play embedded files. Without embedded sound, the relevant /Filespec reads: 7 0 obj << /F (sound.mp3)

[NTG-context] \definenamespace (was: The visual counter module)

2010-11-17 Thread Wolfgang Schuster
Am 17.11.2010 um 20:10 schrieb Philipp Gesang: > Hi Aditya, > > you seem to be familiar with some of the features of the new > namespace model that I was not able to infer from Wolfgang’s > code. Could you please comment on what the keys ‘setup’, ‘type’, > and ‘command’ in

[NTG-context] Compatibility problem Ctx TeXlive2010 x ctx minimals or error in code??

2010-12-20 Thread Jaroslav Hajtmar
/2010/texmf-dist/tex/context/base/cont-new.mkiv)) system : cont-fil loaded (C:/texlive/2010/texmf-dist/tex/context/base/cont-fil.tex loading : ConTeXt File Synonyms ) system : cont-sys.rme loaded (C:/texlive/2010/texmf-dist/tex/context/user/cont-sys.rme (C:/texlive/2010/texmf -di

Re: [NTG-context] bib problem

2010-12-23 Thread luigi scarso
_ > It seems that bib doesn't play well with "*matter": just uncomment %\start*matter and the result is different %--- \usemodule[bib] \setupbibtex[database=biblio] \setuppublications[alternative=ams, criterium=cite, n

[NTG-context] Exporting highlights

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
ection"]>sectionnumber { display : inline-block ; margin-right : 1em ; font-size: 1em ; font-weight : bold ; } section[detail="subsummary"]>sectiontitle { display : block ; margin-top : 1em ; margin-bottom : 1em ; font-weight

Re: [NTG-context] Fourier in ConTeXt (was Fonts readily available in Context)

2009-01-16 Thread Mikael Persson
tter leave mr, but I have no idea why it fails. >> >> The reason \hat is defined using tf is because the math font does not have >> accents. This is the same thing with Euler, and last I checked (about a >> months ago), Euler accents work perfectly in MKIV. So, in princi

[NTG-context] Virtual font question

2015-06-22 Thread Zhichu Chen
Hello list, I was trying to use the Math Times Pro 2 fonts in ConTeXt MKIV. This Type1 font contains a map file, a set of pfb files and the corresponding tfm files. I was managed to write a .lfg file and a type-imp-xxx file, but here's my problem. The font comes with three different

Re: [NTG-context] error in LMTX?

2019-06-11 Thread Hans van der Meer
Found the origin of the curious error message containing my name. Comes from the inclusion of a file named type-loc.mkiv residing in a directory ~/TeX/texmf/tex/context/user/ and containing: \endinput Op NTG ConTeXt nieuwsgroep, antwoord van Hans Hagen. On 1/3/2014 2:33 PM, H. van der Meer

[NTG-context] Both pdfinfo & exiftool have trouble with 1.0.4 but works with 1.0.3

2021-08-09 Thread Ramkumar KB via ntg-context
08:10 10:19:52+08:00 File Permissions : -rwxr-x--- File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.7 Linearized : No Warning : Error reading stream data ~/exiftool/Image-Exi

Re: [NTG-context] \typebuffer and tabs / specify code type

2004-11-03 Thread Eckhart Guthöhrlein
ng ^^I? > >Another question: There has been a thread on telling \typebuffer what > >type of code on this list some time ago, without a final solution. Is > >there a switch to use metapost or whatever appropriate highlighting? > > \setuptyping[tab=on] % or off That does no

Re: [NTG-context] ConTeXt tool for enabling comments in PDF ?

2005-01-06 Thread Vit Zyka
elies with /Perms in catalog (p.117, 699) and signatures (p.684). Something like: - \pdfcompresslevel=0 \immediate\pdfobj {<< /Type /Sig /Filter % something from Adobe.PPKLite Entrust.PPKEF CICI.SignIt VeriSign.PPKVS /Contents % signature /Byte

[NTG-context] Fourier Expert Fonts

2005-02-08 Thread Randall Skelton
Hi all, Can someone explain how I go about adding the Adobe Utopia Expert fonts so that ConTeXt is aware of them? I have the postscript fonts from Adobe but cannot figure out what to do with them. Is there a document that I've missed somewhere? Poking around in type-enc.tex suggests that

Re: [NTG-context] new command question

2005-04-05 Thread Hans Hagen
clash (either now or in the future) I my opinion, the \globalbodyfont command is not that much better for the end-user, than the other 3 commands. I would rather make an environment-file: \startenvironment e-garamond \usetypescriptfile[type-ugm] \usetypescript[URWGaramond] \setupbodyfont[urwgar

Re: [NTG-context] Encoding and mapping glyphs from an expert font

2005-04-09 Thread Adam Lindsay
Idris Samawi Hamid said this at Sat, 9 Apr 2005 16:30:35 -0600: >Could you tell me where the default mapping of OldStyle to MathItalic is >documented/implemented in the sources? Maybe I could make a similar mechanism >for my normal-expert dyad. font-ini for os > OldStyle type-syn

[NTG-context] \definetype[...][option=...] problems

2005-04-13 Thread Nikolai Weibull
paragraph, function comes out, but it isn't highlighted as a keyword, as the initial f has been consumed and thus the "unction" part doesn't match any keywords. I guess this is due to the type-handling checking for double characters, like in \type<< ... >>? In the third p

Re: [NTG-context] total with of TABLE ?

2005-04-22 Thread luigi.scarso
\stoptable} \stoptyping \type{\wd100=}{\tt \PtToCm{\wd100}}\par \type{\ruledvbox{\unvbox100}:}\par \ruledvbox{\unvbox100} \stoptext and I see on log Overfull \hbox (11.63779pt too wide) in paragraph at lines 14--14 [][]\*12pf* \VL[] []xxx[] [][] []xxx[] []\VL[] []xx x

Re: [NTG-context] Is there a mathematica typesetting manual for ConTeXt ?

2005-05-13 Thread Hans Hagen
redox wrote: > Hi, Mikael, > > Thanks for your kindness, and sorry for my bad English ^_^ > > I mean I want to type some math formulas with ConTeXt. Since i don't > know too much about ConTeXt/TeX, i want to find a manual about this > subject and to learn by mysel

Re: [NTG-context] Fonts in Metapost

2005-07-01 Thread Willi Egger
s that the mapfile is loaded only once \usetypescriptfile[type-cmbr] \usetypescript[Cmbr] \setupbodyfont[12pt] \startMPenvironment \loadmapfile[cmbright.map] %it seems that the mapfile is loaded only once \usetypescriptfile[type-cmbr] \usetypescript[Cmbr] \setupbod

Re: [NTG-context] uppercasing accented characters, mappings and \WORD

2005-08-04 Thread Hans Hagen
Mojca Miklavec wrote: Hello, If I use the latin2 encoding (il2), \WORD works OK if I simply type accented characters. Under UTF-8, uppercasing \zcaron also works OK, but fails if I simply type 'ž'. I saw the \definemapping[il2] and I can write a mapping for windows-1250 regime as

Re: [NTG-context] utf-based lang-* files?

2005-09-22 Thread Christopher Creutzig
Also, such an approach Sure. But editing the file is oh so much easier when I can just type \def\japChapterNumber#1{第#1章} than if I have to look up the unicode numbers first and type \def\japChapterNumber{\uchar{123}{44}#1\uchar{122}{224}} > (explicitly calling \startregime[utf]) doesn't

Re: [NTG-context] utf-based lang-* files?

2005-09-22 Thread Adam Lindsay
Christopher Creutzig said this at Thu, 22 Sep 2005 18:25:01 +0200: >Sure. But editing the file is oh so much easier when I can just type >\def\japChapterNumber#1{µ⁄#1’¬} >than if I have to look up the unicode numbers first and type >\def\japChapterNumber{\uchar{123}{44}#1\uchar{122}

Re: [NTG-context] Context 2005.11.30 Released (bis)

2005-12-02 Thread Hans Hagen
David Arnold wrote: Hans, Taco, Just installed the newest update and update my manual tree via svn. I can report that the uplt8r problem has not gone away. I know how to fix it, but I thought you wanted to see this and address type-diz or something like that? (/usr/local/teTeX/share

Re: [NTG-context] typing and linenumbering

2006-03-16 Thread nico
..] > > I've tried this with a "method" trick, but that does not work too well > with 'location=intext'. Anyway, here is what I did: > > \setuptyping[prog] > [bodyfont=small, >before={\begingroup\setuplinenumbering[style=s

Re: [NTG-context] verb-c and tabulator width

2006-04-26 Thread nico
sorry, here comes already my second problem: > > \usemodule[verb-c] > \setupcolors[state=start] > \setuptyping[option=C,tab=4] > \starttext > Contents of file \type{test.c}: > \startC > /** Doing this and that. > \param i the index */ > void do_this(int i){ >

Re: [NTG-context] Angle braces?

2006-06-09 Thread Mojca Miklavec
aces that should be used for the above purpose > (i.e. not greater-than/less-than or guillemots--they are `double', but > Ithe suggestion is appreciated). The example works OK here. Which font are you using? Most probably either the font is old/broken or the two characters are active. What d

[NTG-context] shortsetup and environment (resent from dev-context)

2006-09-19 Thread Vit Zyka
Hi Hans and others, I have tried to find the solution of the problem described by minimal example bellow without success. (Parsing XML database cont-en.xml, every 'cd:command' with 'type=environment' have to be defined with 'start' prefix. As far as I could c

Re: [NTG-context] referencing figures with \in

2007-06-24 Thread Hans van der Meer
Taco and Wolfgang, Here is your counterexample: \setupcaptions[number=no] % <<<<<< the culprit \starttext I used to place references to figures and tables in the following way: \placefigure[][fig:myfig]{Title}{Content} mind the {\bf setupcations}, now \type{\in{figure}

Re: [NTG-context] externalfigure and uppercase extensions

2007-09-13 Thread Santy, Michael
y input to ConTeXt, but > that is more clumsy than the extra \definefileinsertion-s. I don't think a case-insensitive FS is going to be an option for us (*nix only). Back to my original question, should "\externalfigure[MY_FIG

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Steffen Wolfrum
As this strange error makes me a bit nervous I checked an older file for its behavior: same result! A file that without problems was typeset in April now ends up with the same kind of freezing: \usetypescriptfile[type-gyr] \usetypescript[times][ec] \mainlanguage[de] \enableregime[utf

Re: [NTG-context] luatex feature question/request

2008-04-04 Thread Peter Münster
thout any space before, because: - more space, more to type - the space is a matter of typography, so up to ConTeXt and not to the author - in all other languages there is no space to type (so I keep my habits) - if I use a normal space, the word-wrapping of my editor (emacs) can introduce li

Re: [NTG-context] analyzing type-otf.tex

2008-04-08 Thread Hans Hagen
> exactly that", but then I have remembered that you have explicitely > asked not to mention any LuaTeX benefits to you any more (at least > until next TeX Live comes out) ... :) actually, if you load a type one font (assuming that the afm is present), you can use features like compose=ye

Re[2]: [NTG-context] Not seeing the wood because of so many trees

2004-02-19 Thread Giuseppe Bilotta
Tuesday, February 17, 2004 Thomas A.Schmitz wrote: > Sorry for going back to an older thread, but I don't think the question > was answered properly. Alexander Klink wanted to know how to typeset > "{" and "}". Suggestions were "\type|{| and \type|}|&quo

Re: [NTG-context] Lucida (from a newbie) question

2008-08-03 Thread Renaud Aubin
using texfont... > > I had to had the line << \usetypescriptfile[type-buy] >> to the test Ok (as you may already know), you can modify (your TeX root)/tex/texmf-context/tex/context/user/cont-sys.tex to add \usetypescriptfile[type-buy] permanently >> A good test is: >&g

Re: [NTG-context] Type-setting filenames

2008-09-18 Thread richard . stephens
>> I am using \filename to type-set filenames. Some of these are very >> long >> (greater than 30 characters) and overhang >> the right hand margin, sometimes even disappearing off the edge of the >> page. The first line break is just before the >> full stop.

Re: [NTG-context] Official diary of countries, EU, regions, etc.

2009-03-12 Thread Taco Hoekwater
Xan wrote: > Hi, > > I have to use BIBTEX for putting official diary entries (for example the > official diary of EU: http://eur-lex.europa.eu/JOIndex.do?ihmlang=en). > Typically it has Title, Day, Month, Year, Number of Entry, Type of diary > (Official diary of EU, Boletín

Re: [NTG-context] Font and Typescript Questions

2009-03-31 Thread curiouslearn
Wolfgang and Mohamed, thanks very much to both of you. I downloaded the deja vu font and installed it as I would install any other font on my Mac (using "Add fonts" feature in the font book). I see it listed now in the font book and can use it in word. However, it does not show up w

Re: [NTG-context] bugs in beta

2009-05-07 Thread Henning Hraban Ramm
Am 2009-05-07 um 15:28 schrieb Wolfgang Schuster: My minimal example shows some more problems, but these are probably because \recurselevel isn't expanded at the right time... \dorecurse{1000}{Use \type{\expanded{...}}\par} Use \expanded{...} Use \expanded{...} ... Hä? Was soll d

Re: [NTG-context] gVim complier plugin question

2009-05-07 Thread Michael Bynum
I needed to add "filetype plugin indent on" to my .vimrc file. It works now and is quite useful. Thanks! Mike On Thu, May 7, 2009 at 3:38 PM, Aditya Mahajan wrote: > On Thu, 7 May 2009, Michael Bynum wrote: > >> Hmm,  then I must not have something set up

Re: [NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Wolfgang Schuster
arttext > \startTEX > \I\can [[\em escape]] > \stopTEX > \typeTEX{\I\cannot [[\em escape]]} > \stoptext > > Thank you for any feedback! The \type command doesn’t support a escape function but it can be added an additional line in the code (buff-ver.miv): \def\buff_verb

[NTG-context] Synchronize ERROR: unknown node type 12

2015-12-20 Thread Lukáš Procházka
Hello, I'm getting many error messages: " Synchronize ERROR: unknown node type 12 " with the latest beta: " mtx-context | warning: synctex is enabled ... This is LuaTeX, Version beta-0.87.0 (TeX Live 2016/W32TeX/dev) " and with the MWE: \starttext \se

Re: [NTG-context] Teletype in tabulate

2017-04-20 Thread Hans Hagen
T|r|] \NC \paperheight \NC 29.000cm \NC\NR \stoptabulate \stoptext because T is not \type \NC \type{\paperheight} \NC 29.000cm \NC\NR or \NC \string\paperheight \NC 29.000cm \NC

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

2018-04-19 Thread Hans van der Meer
amp;\#038; produces 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\xmlprocess

[NTG-context] Emacs with context lmtx

2019-04-08 Thread Fabrice Couvreur
nux-64/bin:$PATH context --purgeall %s" TeX-run-command t t :help "Run context (LMTX)") t) ) # For information about GNU Emacs and the GNU system, type C-h C-a. File mode specification error: (wrong

[NTG-context] new beta

2019-11-12 Thread Hans Hagen
, command line options etc that (at the tex/lua end utf8) have characters other than ascii. Another improvement in lmtx is support for ancient type 1 fonts (like the type 1 lucidas) but that's more 'being complete' than a 'real need' (when such fonts are used wiping th

[NTG-context] METAPOST vardef returning multiple and non-numeric types as a single answer?

2020-03-15 Thread Gerben Wierda
lt;https://tex.stackexchange.com/questions/448740/metapost-vardef-returning-multiple-values> on StackExchange but that is about returning multiple values of the same numeric type. Is it possible to have vardef return a set of (picture, path) or (picture, picture) in some way? If not, I need to make two vardef

Re: [NTG-context] animation error

2011-09-06 Thread Wolfgang Schuster
+ \ifnum\scratchcounter=\fieldcategoryparameter\c!start\relax \definefieldbody[\currentfieldstackname][\c!type=check,\c!values={#symbol,\empty},\c!default={#symbol}]% \else \definefieldbody[\currentfieldstackname][\c!type=check,\c!values={#symbol,\empty},\c!default=]% \fi \setbox\scrn_fie

Re: [NTG-context] bibmodule acquired problem

2011-09-27 Thread Hans van der Meer
ks like a problem has crept in with the type. > > The error message: > > \pbd: > \bibgetvart #1->\csname pbd:#1\endcsname > \plussix Digging into the code I finally was able to nail the problem: the offending c

[NTG-context] xml and lpath

2011-10-25 Thread Martin Fechner
text. Second text. Third text. Fourth text. \stopbuffer \startxmlsetups xml:textsetups \xmlsetsetup{#1}{a|b}{xml:*} \xmlsetsetup{#1}{hiding[type='begin']}{xml:hiding:begin} \xmlsetsetup{#1}{hiding[type='end'}{xml:hiding:end} \xmlsetsetup{#1}{text()}{xml:te

Re: [NTG-context] naming of labels: Is »()« allowed?

2011-12-08 Thread Otared Kavian
{(1)} \stopformula This works: \type{\eqref[N)]} gives \eqref[N)]. \starttext \placeformula[(N] \startformula \Pr\{N = n\} = \Pr\left\{ \min_{1 ≤ k ≤ n} S_k > 0 \right\} = p_n^{(1)} \stopformula This does not work: \type{\eqref[(N]}

Re: [NTG-context] Type 1 font loading with new beta

2012-01-16 Thread Wolfgang Schuster
Am 16.01.2012 um 23:00 schrieb Willi Egger: > Hi font gurus, > > With context from begin of the year it worked to load a type 1 font with a > typescript based on the following syntax: > > \starttypescript [serif] [LTpalatino] [name] > \usetypes

Re: [NTG-context] LMTX and my custom typescripts

2021-05-28 Thread Michael Guravage
solve this would be much appreciated. > > > > Hi Michael, > > Try renaming it to type-imp-DollyPro.tex (and then of course > \usetypescriptfile[type-imp-DollyPro]), that should help. This changed a > couple of months ago and was announced on the list, so shame on you for not

[NTG-context] issue importing metadata from PDF

2021-11-12 Thread Pablo Rodriguez via ntg-context
transfer_metadata(name) local main_doc = lpdf.epdf.load(name) context(type(main_doc.Info.ModDate)) context(type(main_doc.Info.Title)) end \stopluacode Would it be possible that LMTX can deal with these objects and import them as strings? Many thanks

Re: [NTG-context] Font recognition with command "context", but not with command "texexec"

2012-07-29 Thread Bill Meahan
On 07/29/2012 03:34 AM, Wolfgang Schuster wrote: For MkII you have to load the typescript file and the typescript yourself while for MkIV these two steps are done together with the \setupbodyfont command when the name for the typeface, typescript and file is the same (e.g. gentium and type

Re: [NTG-context] \unit and french

2012-10-09 Thread Wolfgang Schuster
mand. I already tried different combinations of > \setupunit[method=,order=] but I can’t find the right way. I tried even to > type french or english format as input for \unit but none output is right > (actually I'd prefer to type french format as \unit input). > Also, when there

Re: [NTG-context] Annotation Module

2012-11-18 Thread H. Özoguz
... Name: annotation-30.pdf Type: application/pdf Size: 10563 bytes Desc: not available URL:<http://www.ntg.nl/pipermail/ntg-context/attachments/20121115/4129198a/attachment.pdf> -- next part -- A non-text attachment was scrubbed... Name: annotation-30.tex Type: appli

Re: [NTG-context] Cloze Text (text with gaps)

2013-06-26 Thread David Rogers
since it won't break. \fillinline and > others fill the hole line, but I only want to fill a given size. > > Are there some ideas how to deal with it? > > Example: > > The name of the _ is _ > . And now it's time to go to bed. > Some more text.

Re: [NTG-context] last chapter number

2010-01-17 Thread Hans Hagen
\convertedstructurecounter for section numbers) how you can access these information. i'm sure that you can figure it out if needed but i can certainly add something \convertedstructurecounter[chapter][type=last] but as \convertedstructurecounter[section][type=last] is ambiguous it needs a b

Re: [NTG-context] new error in Context under Linux

2010-04-04 Thread Alain Delmotte
/texmf/fonts/opentype/public/lm/lmroman8-bold.otf ! Argument of \docheckifiteminsetelse has an extra }. \par } \@@kjtabletitle ->Use of \type {\setuptables } This looks suspiciously like the '\type in captions' bug, again. Oupss! You are right.

Re: [NTG-context] new error in Context under Linux

2010-04-04 Thread Hans Hagen
/opentype/public/lm/lmroman8-bold.otf ! Argument of \docheckifiteminsetelse has an extra }. \par } \@@kjtabletitle ->Use of \type {\setuptables } This looks suspiciously like the '\type in captions' bug, again. btw there will be no beta this weekend as we need to be in sync with

[NTG-context] Cyrillic alternate form in Neacademia

2022-02-20 Thread Stefan Nedeljkovic via ntg-context
glyph info. Here is what I tried and what failed: \startluacode fonts.handlers.otf.addfeature { name = "besub", type = "substitution", data = { ["uni0431"] = "uni0431.SRB.alt" } } \stopluacode \definefontfeature[default] [mode=node,kern=yes, liga=yes,

[NTG-context] how to choose a font variant "book" / LMTX

2022-05-04 Thread Heinrich Paeßens via ntg-context
advise, can I define something similar like \bf for bold — maybe \bk for book? … all I get is hp@mbp16 ~ % pdffonts page1.pdf name type encoding emb sub uni object ID

Re: [NTG-context] upload

2022-07-06 Thread Max Chernoff via ntg-context
Hi, With the latest upload, "tex.linebreak" doesn't return an "info" table. When running this code: \startluacode function test(head) local new_head, info = tex.linebreak(node.copylist(head)) print(head, type(head), info, type(in

Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-19 Thread Pawel Urbanski via ntg-context
will be to create a proper working type-imp-roboto-flex.mkiv and type-imp-roboto.mkiv for the non-variable font edtion to be more portable. Roboto is a very good font and is recommended as a body font for presentations or headings, which made me use in the first place. I must admit that

[NTG-context] Re: marginwidths

2023-12-03 Thread Wolfgang Schuster
add width=fit, such as in: \setuplayout[width=fit, leftmargin=6cm,rightmargin=10cm] \showframe \starttext \ConTeXt\space\contextversion\blank before the \type{\starttext}:\crlf \type{\setuplayout[leftmargin=6cm,rightmargin=10cm]}\crlf make no difference in displayed frame

Re: [NTG-context] checking for an undefined constant

2010-06-25 Thread Aditya Mahajan
m syst-gen.mkii %D \macros %D {doifundefined,doifdefined, %Ddoifundefinedelse,doifdefinedelse, %Ddoifalldefinedelse} %D %D The standard way of testing if a macro is defined is %D comparing its meaning with another undefined one, usually %D \type{\undefined}. To garantee correct working of the n

Re: [NTG-context] TYPE 1 font

2010-11-11 Thread Hans Hagen
. Does ConTeXt always needs an afm-file for the metrics of an type 1 font? And, of course, a map file? yes, because in context it gets a unicode encoding (which also means that you can access more than 256 characters if the font has them no more encodings Hans

[NTG-context] \note and \footnote

2010-12-23 Thread Jon Crump
doesn't seem to work. \startxmlsetups xml:ref \define\thisRefName{\xmlatt{#1}{target}} \xmldoifelse{#1}{parent::d...@type='arText']} {\footnote[\thisRefName]{\xmlfirst{#1}{root::/body/text/d...@type='fnotes']/no...@xml:id==string.sub('\xmlatt{#1}{target}&#

Re: [NTG-context] \note and \footnote

2010-12-23 Thread Jon Crump
you use the intermediate step of creating a macro? I think this does > what you want: > > > \startxmlsetups xml:ref >        \xmldoifelse{#1}{parent::d...@type='arText']} >                {\footnote[\xmlatt{#1}{target}] >                        {\xmlfirst{#1} >  

Re: [NTG-context] Iwona-Light error

2011-02-10 Thread Mojca Miklavec
;t find Helvetica-Caps or Helvetica-Caps-Regular in type-one.tex, the > only file I changed. I can't find them in the original, unchanged version of > the file either. I can email you the file if you'd like. Then it is in type-tfm.tex (or something like that). But I would advice you to

[NTG-context] Re: Why Difference Between \placefloat and \definefloat

2024-04-28 Thread Henning Hraban Ramm
Where’s the float type "sidebar" defined? AFAIK it’s not a default type. And it might interfere with the actual sidebar stuff from https://source.contextgarden.net/tex/context/base/mkxl/anch-bar.mkxl, see also https://wiki.contextgarden.net/Command/setupsidebar Hraban Am 28.04.2

Re: [NTG-context] mfonts.tex from manuals

2005-11-22 Thread Taco Hoekwater
de my copy of mfonts.tex start with these \usetypescript[adobekb][8r,ec] \usetypescriptfile [type-buy] \usetypescriptfile [typeface] \environment ../allkind/mcommon.tex That fixed the problem with Palatino (It now says I have missing LucidaBright (texnansi-lbXXX) fonts, but I believe th

Re: [NTG-context] SciTE Setup in Windows and .rb scripts

2006-01-19 Thread Hooman Javidnia
rl-F7 Build F7 Go F5 Check TeX File Ctrl+0 ... When I issue the Compile command I receive the following message: >texmfstart concheck.rb myfile.tex unknown file type: texmfscripts ... It seems that SciTE can't still detect type of the file that I want to compile or build. I get the same me

Re: [NTG-context] Still font issues with I-Installer Mac OSX

2006-06-28 Thread Frank
] Make that \usetypescript[pos][ec] and it should work ok. Unfortunately no. It has trouble with the font metrics. The log shows: (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type-spe.tex) (/usr/local/teTeX/share/texmf.tetex/tex/context/base/type- akb.tex)kpathsea: Running mktextfm

Re: [NTG-context] compiling complex file

2007-02-22 Thread Wolfgang Schuster
... > \input 00.introduzione > \page > \input 01.scGrado0 > \page > \input 02.architettura > ... > > Where \input is used to insert each chapter. > > Also, I'm using a sort of style file defining the setups, and I'm > inputting it as the first line of my &q

[NTG-context] Do typescripts slow down ConTeXt?

2003-09-28 Thread Steffen Wolfrum
) \starttext W619Q \stoptext (5 seconds) 2) \usetypescriptfile[type-agaramond] \usetypescript[AGaramond] \setupencoding[default=ec] \setupbodyfont[AGaramond,10.5pt]% \starttext W619Q \stoptext (12 seconds) 3) \documentclass{book} \begin{document} W619Q

Re: [NTG-context] Fonts readily available in Context

2009-01-13 Thread Mojca Miklavec
helpful For palatino, times, iwona, kurier (not yet, but should be fixed), antykwa-torunska, see Yue's and Aditya's answer. In Unicode (xetex, luatex) you should use \usetpescript[name] \setupbodyfont[name,sizeorstyleifneeded] and in pdfTeX you need \usetpescript[name][ec] \se

Re: [NTG-context] \placeinital special case

2014-01-24 Thread Hans Hagen
nitial[two] \quotation {Knuth} \ignorespaces\input knuth \par \stopbuffer \type{m=2} \defineinitial[two][m=2] \getbuffer \page \type{m=1,method=auto} \defineinitial[two][m=1,method=auto] \getbuffer \page \type{m=1,method={auto,

<    9   10   11   12   13   14   15   16   17   18   >