[NTG-context] About Pgfplot.-
Hello! I’m trying to reproduce the example in https://wiki.contextgarden.net/Pgfplot and I’m getting this error: tex error > tex error on line 926 in file pgfcorepoints.code.tex: Missing control sequence inserted \inaccessible " \pgfsetzvec \catcode `\==12 \catcode `\,=12 \catcode `\|=12 \catcode `\&=12 \let " \pgfmath@char@quote \pgfsetzvec \begingroup \pgfmath@catcodes \pgfmath@quickparsefalse \ifpgfmathfloat \let \pgfmath@parse@next =\pgfmathfloatparsenumber \else \let \pgfmath@parse@next =\pgfmathparse@ \fi \pgfmath@parse@next \pgfmathparse {1cm}\ifpgfmathmathunitsdeclared \pgf@x \pgfmathresult mu\relax \else \pgf@x \pgfmathresult pt\relax \fi \pgfmath@next #1#2->#2 ... \pgfsetxvec{\pgfpoint{1cm}{0cm}} Please don't say '\def cs{...}', say '\def\cs{...}'. I've inserted an inaccessible control sequence so that your definition will be completed without mixing me up too badly. mtx-context | fatal error: return code: 1 I’m on macOS 13.4.1 and this is the version of context I’m running: > context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /usr/local/texlive/2023/texmf-dist/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2023.03.10 12:15 mtx-context | main context file: /usr/local/texlive/2023/texmf-dist/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2023.03.10 12:15 If you have some hint to solve this, please let me know. Thank you in advance! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Fonts in same directory.-
Hello! Today I was working perfectly but after an OS update, I started to have some problems with fonts. In particular, I use to put the font files (.ttf) in the same directory where .tex are placed, but now I'm getting this message: simplefonts > font ''avenirnext'' not found but I have not moved the font files. Could you please give some advices to solve this issue? In this link you guys can check a simple example of my compiling: https://www.dropbox.com/sh/2k327a5a2uzgvg2/AAD84XyQZqbdzg_8atVjdRg5a?dl=0 Thanks in advance! -- «...my role is to be on the bottom of things.» Donald Knuth ___ 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/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Math using sans serif font and problems with the alignment
Hello! Some days ago, I asked about how to use sans serifed font in all math document. My approach, given those answers, was create a little function to use the serif fonts in math (using \definestartstop) but, when there is some align involved, it produces an error :-\ . An example is the following: % \definefontfamily [mainface] [ss] [Latin Modern Sans] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:digitsnormal] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:digitsbold] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:uppercasenormal] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:uppercaseitalic] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:uppercasebold] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:uppercasebolditalic] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:lowercasenormal] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:lowercaseitalic] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:lowercasebold] \definefallbackfamily [mainface] [mm] [Latin Modern Sans] [preset=math:lowercasebolditalic] \definefontfamily [mainface] [mm] [Latin Modern Math] \definestartstop [formulass] [ before={\startformula \setupbodyfont[mainface]}, after=\stopformula ] \starttext abcdefg ABCDEFG 123456 i \startformula {\tf abcdefg\,ABCDEFG} \quad abcdefg\,ABCDEFG \quad 123456 \quad {\bf 123456} \stopformula % it works: \startformula Y=X\beta+\varepsilon \stopformula % it works: \startformulass Y=X\beta+\varepsilon \stopformulass % it doesn't work: \startformulass \startalign[n=4] \NC Y_t \NC = \beta_0 \NC + \beta_1 x_t \NC + \varepsilon_t \NR \NC Y_t \NC = \beta_0 \NC + \beta_1 x_t \NC + \varepsilon_t \NR \stopalign \stopformulass \stoptext % Could you please give me some advices? Thanks in advance! -- «...my role is to be on the bottom of things.» Donald Knuth ___ 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/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Sans serif for all math in a document.-
Thanks for your tips!! On Mon, Jun 6, 2016 at 4:26 PM, Hans Åberg wrote: > > > On 6 Jun 2016, at 20:20, Freddy Omar López Quintero < > freddy.lopez.quint...@gmail.com> wrote: > > > I'm trying to make a document that need fill the requirement to have all > fonts sans serifed; but, with the following minimal code, just work for the > normal text and doesn't for the math portion. > > The STIX fonts have them, except for non-bold Greek it seems, but they > must be accessed directly, either by typing directly in UTF-8, or somehow > redefine them. > > \setupbodyfont[xits,10pt] > > \startformula > \startalign > \NC Y \NC= X\beta+\varepsilon \NR > \NC 𝘠 \NC= 𝘟𝝱+ 𝝴 \NR > \stopalign > \stopformula > > > -- «...my role is to be on the bottom of things.» Donald Knuth ___ 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/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Sans serif for all math in a document.-
Hello, I'm trying to make a document that need fill the requirement to have all fonts sans serifed; but, with the following minimal code, just work for the normal text and doesn't for the math portion. %% \starttext \usemodule[simplefonts]% [size=11pt] \setmainfont[Latin Modern Sans] \setmathfont[Latin Modern Sans] \startsection[title={Testing ConTeXt}] This is my {\em first} ConTeXt document. \startformula Y=X\beta+\varepsilon \stopformula \stopsection \stoptext %% Could you help me? Thanks in advance! -- «...my role is to be on the bottom of things.» Donald Knuth test2.pdf Description: Adobe PDF document ___ 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/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Fonts distributed with a ConTeXt document
Hello! Sorry if the answer is obvious but I have no found how solve this problem. I would like share a document written using ConTeXt that employes different fonts, but the recipients have no possibilities to install those fonts in their computers. It is possible use fonts that are in the same directory that the .tex document? My folder is something like: ./context.tex ./font1.ttf ./font2.ttf ... ./fontn.ttf Thanks in advance! -- «...my role is to be on the bottom of things.» Donald Knuth ___ 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/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Fonts inside eqno{}
Hello all! I'm interested in change the natural numbering of one equation with \eqno{} but it does not follow the main font selected. A minimal example: %% \usemodule[simplefonts] \setmainfont[Linux Biolinum O] \setmathfont[Linux Biolinum O] \starttext I have the following expression \placeformula \startformula y = Z \beta_1 + Y \beta_2 + u \stopformula that changes to % \placeformula \startformula y = Z \beta_1 + Y \beta_2 + W_1\tau + u \eqno{ (1')} \stopformula \stoptext %% I would like the (1') keep the same kind of font than (1). Any hint will be appreciated. Thanks! -- «...my role is to be on the bottom of things.» Donald Knuth minimal.pdf Description: Adobe PDF document ___ 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/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___