Re: [NTG-context] TikZ and wrong drawing order
On Thu, 11 Jun 2015, Mojca Miklavec wrote: On Thu, Jun 11, 2015 at 7:59 PM, Aditya Mahajan wrote: On Thu, 11 Jun 2015, Mojca Miklavec wrote: Hi, I would like to ask for help for either finding a fix or some clever workaround for the following problem. If I use a TikZ picture as item symbol and additionally use background text, then the first symbol in itemize environment gets covered by the background. Here's an example: Workaround (though I have no idea why this should work). background={foreground,color} While it works in the sense that it gives a consistent look, it doesn't really lead to the desired result, at least not for me. The reason for using background colour in my case was to make text "visible" on a dark background photo. It doesn't really help if the main text gets hidden behind the semi-transparent layer. I have no idea what tikz is doing: \usemodule[tikz] \definecolor[light][s=1,a=1,t=0.1] \definecolor[dark] [s=1,a=1,t=0.95] \defineframedtext[normal] [width=4cm, background=color] \defineframedtext[reverse][width=4cm, background={foreground,color}] \startbuffer \tikz\fill[color=blue] (0,0) circle (.2cm); \startMPcode fill fullcircle scaled (.4cm) withcolor \MPcolor{blue}; \stopMPcode \stopbuffer \starttext \startnormal[backgroundcolor=light] \getbuffer \stopnormal \startnormal[backgroundcolor=dark] \getbuffer \stopnormal \blank[3*line] \startreverse[backgroundcolor=light] \getbuffer \stopreverse \startreverse[backgroundcolor=dark] \getbuffer \stopreverse \stoptext Aditya test.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 ___
Re: [NTG-context] Nolimits not working with Unicode characters
> On 13 May 2016, at 14:08, Hans Hagen wrote: > > On 5/13/2016 1:55 PM, Hans Åberg wrote: >> >>> On 13 May 2016, at 13:35, Hans Hagen wrote: >>> >>> On 5/13/2016 1:07 PM, Hans Åberg wrote: >>>> >>>>> On 13 May 2016, at 12:22, Hans Hagen wrote: >>>>> >>>>> in principle one can make∫and \int but that has other side effects >>>> >>>> What side effect do you have in mind here? >>> >>> using it as normal character .. it's often harder to turn off features than >>> to turn on >>> >>> and making all those characters active by default is not a good idea >> >> The use in the source code helps readability of math formulas, though. > > it's no problem to make a module that supports that but it will never be > default (some \mathcommand's represent base characters then become larger for > instance while the corresponding base character is fixed in size), so ∫ by > default is the character and not the 'adapting construct' (tex often has many > commands for the same symbol doing different things) Currently, there is a problem with the lack of efficient Unicode input methods: symbol table and copy-paste are slow. But perhaps in the future, more might want to use it. There may not be so many symbols: the “large operators" in the Tex Book, p. 435, though Unicode have more, and some others like √ U+221A for \sqrt. I could not make your code working - does it require a later LuaTex version (than 0.80.0)? ___ 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] Strange behaviour of itemize inside tabulate
Thank you Herbert, this indeed solves the problem. Willi > On 20 Nov 2016, at 20:45, Herbert Voss wrote: > > Am 20.11.2016 um 20:25 schrieb Willi Egger: > >> I have the following minimal example >> >> % \setupitemgroup >> %[itemize] >> %[each] >> %[autointro,packed] >> %[symbol=2] > > Use > > \setupitemgroup > [itemize] > [each] > [packed] > [symbol=2] > > > Herbert > > >> >> \starttext >> \starttabulate[|l|p|] >> \NC \bf Druk procedé \NC \bf Opmerking \NC\NR >> \NC Offset \NC \strut weinig problemen als onverpakt\crlf >> \NC\NR >> \NC Digitaal\NC beduidend lager i.v.m. warmte fixatie. >> >> \startitemize >> \startitem >> zo snel >> mogelijk weer verpakken na het printen. >> \stopitem >> \stopitemize\par >> \NC\NR >> \stoptabulate >> \stoptext >> >> When not uncommenting the setupitemgroup the tabulate appears as expected. >> However with the setupitemgroup enabled the row containing the itemize is >> shifted up and overlays the first row… >> >> Do I miss something? >> >> Thank you for looking at this. Kind regards >> >> Willi >> ___ >> 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://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> ___ >> > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Build for Alpine Linux
Hello everyone, Per this question on tex.StackOverflow, I am having trouble getting ConTeXt (LuaTeX specifically) to run on Alpine Linux: https://tex.stackexchange.com/questions/425463 Specifically, the build from ConTeXt standalone has a LuaTeX that seems not to run against the musl libc6 library. Here are symptoms: /context/bin # ldd luatex /lib64/ld-linux-x86-64.so.2 (0x7fd05109c000) libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7fd05109c000) libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fd05109c000) libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fd05109c000) Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by luatex) Error relocating luatex: __rawmemchr: symbol not found Error relocating luatex: __isnan: symbol not found Has anyone run ConTeXt on Alpine? Many thanks. Brian -- *from the personal account of:* *Brian M Hunt * Direct: +1-289-684-4677 LinkedIn: https://linkedin.com/in/brianmhunt *This e-mail may contain information that is private, privileged, confidential and/or exempt from disclosure. Except as per this notice no waiver of any kind is intended by sending this e-mail, and this email is intended only for the named recipient(s) or the subscribers of a forwarding service the email is sent directly to and to which service you are an authorized recipient. Use, dissemination or copying without authorization is prohibited. Please notify the sender and destroy all copies of this e-mail if you have received this email in error.* ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Undefined symbol lua_gettop
On 4/7/19 6:02 AM, Aditya Mahajan wrote: > Hi, > > I am experimenting with using lua libraries with lmtx. I tried the > following: > > 1. Download the lcomplex library (from > http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/ar/lcomplex-100.tar.gz) > > 2. Untar and modify the Makefile so that LUA_TOPDIR points to the right > location (/usr in my case). > > 3. Run make. This creates a complex.so file in the current directory. > > 4. Create a test file (and put complex.so in the same directory) > > \starttext > \startluacode > local complex=require("complex") > > z = complex.new(1,1); > context("The absolute value of $z=%f + j%f$ is $%f$", > z:real(), z:imag(), z:abs()); > \stopluacode > \stoptext > > This file runs correctly with mkiv, but when I try to run it with lmtx, > I get the error > > lua error > lua error on line 8 in file > /home/adityam/Software/lcomplex/lcomplex-100/test.tex: > > ...etatex/texmf-context/tex/context/base/mkiv/l-package.lua:325: error > loading module 'complex' from file './complex.so': > ./complex.so: undefined symbol: lua_gettop > > Any idea why this is happening and what I can do to fix it? Lua is linked statically into LuaTeX and when the executable is stripped and lua_gettop has not been referenced anywhere, it will be removed. > > Aditya > ___ > > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ > ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Converting normal font into bold
It is my believe that Unicode has the wrong properties for Arabic standalone Hamza; in short you should just type a regular Hamza in the middle of the word and it will get positioned correctly. Placing a combining Hamza over a Tatweel to “fake” it is wrong IMO. So in Amiri you just type “بِءَايَٰتِ” and voilà, every thing is rendered correctly (the same is true for the small Alef). Yes, that works. But the direct way works with Uhtmanic1HafsVer9: \definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt] \definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt] \starttext \setupalign[r2l] \arabicamiri بِـَٔايَـٰتِ \blank \arabicuth بِـَٔايَـٰتِ \stoptext To be honest, in Corel Draw UthmanicHafs is the perfect font for my purpose - at least in CorelDraw - e.g.: The ayat-numbers are printed as a unicode-symbol, not as numbers (perfect, because ConTeXt has problems with the direction with arabic numbers, they are mirrored in ConTeXt). But it is only perfect in CorelDraw, in ConTeXt some things are not recognized correctly, as I mentioned. E.g. this one: \definefont[arabicamiri][file:amiri-regular.ttf*arabic at 15pt] \definefont[arabicuth][file:UthmanicHafs1Ver09.ttf*arabic at 17pt] \starttext \setupalign[r2l] \arabicuth لِّلْمُتَّقِينَ ﴿٢﴾ \stoptext If I put the same arabic into CorelDraw, it prints a nice Unicode-Symbol for the number - see the JPG I have attached here, screenshot from CorelDraw, but ConTeXt ignores the brackets and prints just a verys small number. There are some problems like this. Are they easy to fix, or is this problem deeply involved? Huseyin <>___ 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] Slanted, double-quoted quotations
Am 15.10.2014 um 21:03 schrieb Rik Kabel : > I am not sure I understand the need for symstyle and symcolor. The issue is > not that the symbols are not styled/colored, but that they do not appear at > all when a non-normal style is specified. What I see with the example I > posted is: > > and I assume that Sander saw a similar issue. > > Note that there are no square brackets present as defined for layer 2. > > I realize that style=normal for level 3 should perhaps be style=\tf, since > normal is redefined to slanted within the scope of layer 2. With that change > to my example, I get > > This still has the lack of square brackets, and now in addition lacks curly > braces for level 3. > > If your fix is meant to repair that, all is well. If not, could you explain > why “it's deliberate and has always been the case in mkiv”? When you use “location=text” context checks the value of the style key, when the value of the key is “normal” the left and right arguments are used but when you use a different value (e.g. slanted) context applies only the style and color values. Another way to create quotation command is to use the annotation module: \usemodule[annotation] \defineannotation [quotationsl] [style=slanted, leftsymbol={\symbol[leftquotation]}, rightsymbol={\symbol[rightquotation]}, alternative=quotation] \starttext \quotationsl{This should be slanted and double-quoted.} \stoptext Wolfgang ___ 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] xetex and attachment: troubles
On Mon, Mar 31, 2008 at 5:28 PM, Andrea Valle wrote: > Dear all, > I'm using xetex with fun (as suggested and discussed on the mailing list). > > I'm revising a previously created document which used attachment command. > (the one documented here: > http://wiki.contextgarden.net/Verbatim_text#A_different_approach_to_formatting_and_code_colorization > ) > > The actual version is here: > http://www.cirma.unito.it/andrea/sw/sc/prd_tSCIRMA_scr.pdf > > Now, with ConTeXt no problem. > If I use XeConTeXt (--> texexec --xtx) the file is not attached (there's the > marker, a link is diplayed, but Acrobat says that there's no attachment). > As far as I can say, the problem seems to depend on --xtx switch, The problem is not the "--xtx switch", but the lack of support for the underlying (xdvipdfmx) driver. I googled a bit and found the following slides: http://project.ktug.or.kr/dvipdfmx/doc/tug2005.pdf see page 18 in particular. In spec-fdf there is: \definespecial \doattachfile {\doPDFattachfile} \def\doPDFattachfile#1#2#3#4#5#6#7#8% {\bgroup % title width height color symbol file \edefconvertedargument\PDFfile{#8}% % beware: the symbol may (indirectly) use the file % reference when typesetting the object number; \presetPDFsymbolappearance{#5}{#6}{#2}{#3}{#4}% sets width/height \startPDFsymbolappearance \doPDFembedfile\PDFfile{#7}{#8}% \doPDFgetembeddedfilereference\PDFfile\PDFobjectreference \setFDFlayer\@@DriverAttachmentLayer \doPDFannotation{\width}{\totalheight} {/Subtype /FileAttachment /FS \PDFobjectreference\space /Contents (#1) \PDFsymbol \FDFlayer \PDFattributes}% \stopPDFsymbolappearance \egroup} Something similar needs to be added to spec-dpx.tex. (If Hans doesn't reply, then someone else will have to.) Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] unicode feature request
Peter Münster wrote: > Hello, > > Just as the signs <, >, + and −, it would be nice if also other signs such > as ≤ (less-than or equal to, 2264) or ⇒ (rightwards double arrow, 21D2) > worked in text mode and not only in math mode. i suppose we're talking of mkiv here ... (1) if the font has the symbol, it should work already (2) if the font lacks the symbol, we can add a virtual one but then the problem is .. where to get it from; ok, i can harvest lm fonts but i'd like to wait till we have proper open type math fonts (project in progress) so that we can simply overlay fonts (already kind of possible in mkiv) (3) we can set up a complicated system of active characters and macros that check is something is in the font and otherwise fall back to something that might be in another font ... i'm trying to get away from this approach; signaling missing glyphs is something on the agenda for 0.40 so ... eventually ... yes (temporary workarounds may show up but only if i really need it in a project since this is no stuff for pet-projects) i'm in the process of setting up math in mkiv and this is something that taco, aditya and i will discuss at the upcoming context conference (feel free to join in there) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
2011/6/12 Li Yanrui (李延瑞) : > 2011/6/9 Li Yanrui (李延瑞) : >> 2011/6/9 Hans Hagen : >>> Hi, >>> >>> I uploaded a beta. >>> >> >> The luatex-plain format has been broken. I use the following file to >> generate format. >> >> \input plain >> \directlua {tex.enableprimitives('', tex.extraprimitives())} >> \pdfoutput=1 >> \everyjob \expandafter {% >> \the\everyjob >> \input luatex-basics\relax >> \input luatex-fonts\relax >> \input luatex-mplib\relax >> } >> \edef\fmtversion{\fmtversion+luatex} >> \dump >> >> During luatex run I get an error: >> >> ! LuaTeX error >> ...pt/context/tex/texmf-context/tex/generic/context/luatex-fonts-merged.lua:2655: >> unexpected symbol near '. >> >> I think "local table.setmetatableindex(t,f)" in the >> luatex-fonts-merged.lua should be "local function >> table.setmetatableindex(t,f)". >> >> After I modified as above, some simple examples can be compiled. >> However I get an error again when I try to use CJK fonts. For example: >> >> \font\song=AdobeSongStd-Light >> \bye >> >> The error message is "! LuaTeX error >> ...-context/tex/generic/context/luatex-fonts-merged.lua:4466: attempt >> to index local 'unicodevector' (a nil value).". >> > > I have updated the beta to 2011.06.11 and used luatex-plain.tex to > generate the format but the same problems still exist. > i get to know what the problem is. 1. "local table.setmetatableindex(t,f)" in luatex-basics-gen.lua (or luatex-fonts-merged.lua) should be "function table.setmetatableindex(t,f)" otherwise it causes unexpected symbol error. 2. unicodes table in font-agl.lua is empty now. it causes unicodevector table is nil in font-map.lua (or luatex-fonts-merged.lua). -- Best regards, Li Yanrui (李延瑞) ___ 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] New STIX font version
Hi all, you might be interested in hearing that there is a new there is a new version of the STIX fonts (since 1h ago) - or rather a beta version: 1.1.0-beta1. See: http://sourceforge.net/projects/stixfonts/files/STIXv1.1.0-beta1.zip/download "The beta period will remain open until December 1, 2011." - Thus, one has still 5 months time to comment on the bugs. (Or are that two moths? With STIX ETA one never knows ...) As reminder: STIX fonts (http://en.wikipedia.org/wiki/STIX_Fonts_project) are a large collection of Times-like math fonts, created by several publishing houses in a rather slow process. A year ago, 1.0 was relased and now with 1.1b1 is finally released. Seemingly, one can now use it directly such that one does not need the XITS fonts anymore. (Cf. http://typophile.com/node/71171) From the release notes: "What is new in this release? The original Version 1.0 STIX was packaged as 29 distinct font files. Version 1.1.0-‐beta1 provides the same set of glyphs packaged as a set of 4 text fonts and 1 symbol font. This new packaging will facilitate the use of the font on more desktop applications, and will specifically allow the symbol font to be used in recent versions of the Microsoft Word Equation Editor." "In addition, an update was made to address compatibility issues between the font set and the Windows PostScript driver." Besides those changes, some a (very) few glyphs have been added and some smaller changes have been done. Tobias ___ 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] Symbol Footnote Command
Hi, I can change the mark of the second footnote from "2" to asterix by defining a conversion like so: %-- Working example, but it is not what I need -- \setupindenting[yes,small] \defineconversion[mymix][1,\m{*},2] \setupnotation[footnote][align={hz,hanging},indenting={yes,small,next},numberconversion=mymix] \startdocument This is the first sentence with a footnote.\footnote{This is the first footnote and its mark is "1".} This is the second sentence with a footnote.\footnote{This is the second footnote and its mark is "*". } This is the third sentence with a footnote.\footnote{This is the third footnote and its mark is "2". } \stopdocument Clearly this conversion repeats the marks "1", "*" and "2" repeatedly. Is there a way to define a new/special footnote command (say, "\symfootnote") which blends with normal footnotes, but prints footnotes with symbol marks (say, Set 2) and not with numbers. In other words, is it possible to achieve the same result as the working example above with something like the (pseudo) example below? %-- Pseudo example -- \setupindenting[yes,small] \def\symfootenote ?? \setupnotation[symfootnote][align={hz,hanging},indenting={yes,small,next}] \setupnotation[footnote][align={hz,hanging},indenting={yes,small,next}] \startdocument This is the first sentence with a footnote.\footnote{This is the first footnote and its mark is "1".} This is the second sentence with a footnote.\symfootnote{This is the second footnote and its mark is "*". } This is the third sentence with a footnote.\footnote{This is the third footnote and its mark is "2". } \stopdocument Thank you. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] cow symbols don't work in MkIV
On 22-9-2010 10:00, Wolfgang Schuster wrote: Am 18.09.2010 um 12:49 schrieb Henning Hraban Ramm: This works in MkII, but not MkIV. Other symbol sets like mvs work (even with a list of error messages). All symbol fonts are tricky with mkiv because luatex moves them to the private slots, you can see this on the terminal when you load the font for the first time. load afm> unifying /Users/wolf/context/tex/texmf-context/fonts/afm/hoekwater/koeieletters/koeielogos-contour.afm load afm> assigning private slot U+F for unknown glyph name T_e_X load afm> assigning private slot U+F0001 for unknown glyph name texlogo.alt load afm> assigning private slot U+F0002 for unknown glyph name contextlogo.shadow load afm> assigning private slot U+F0003 for unknown glyph name PragmaADElogo load afm> assigning private slot U+F0004 for unknown glyph name C_o_w_t_e_x_t I found no system how the original position in the font and the assigned position is related, maybe Taco knows a answer. % symbols-001.tex \starttext % for taco \definedfont[file:stmary10 at 100pt] \startTEXpage[offset=50pt] \fontchar{Yright} \stopTEXpage \stoptext So, access them by name. I'll look into the cows later. Actually we need a nice open type variant (and then complete the font). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] Animations
Hi Hans, this is a feature request regarding fieldstack based animations. Since i want to use fieldstacks in one of my modules i’m looking for a simple to use interface to produce animations, for the moment i create a symbol for each frame and put them together with a fieldstack. For latex there is a package called animate [1] which provides a environment to produce animations with buttons for navigation (just a take a look at the examples in the manual, code is not relevant for us). I wrote now a short dummy module [1] to demonstrate how this could look in context, the first file [1] contains a few example, the environment is inspired by \startoverlay/\stopoverlay but it needs a alternative method to allow loops (look at the third example in this file). The second test file shows which navigation buttons i want for such a module, the are “first frame”, “previous frame”, “play” and “stop” animation, “next frame” and “last frame”. As a alternative one can produce a animation with a overlay button only with a symbol on the first frame to indicate a interactive element. [1] http://ctan.org/tex-archive/macros/latex/contrib/animate/animate.pdf [2] http://bitbucket.org/wolfs/animation/src/tip/files/ [3] http://bitbucket.org/wolfs/animation/src/tip/files/animation-1.tex [4] http://bitbucket.org/wolfs/animation/src/tip/files/animation-2.tex Wolfgang ___ 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] Itemize Prefixes
On Mon, 5 Mar 2012, Kip Warner wrote: On Mon, 2012-03-05 at 22:44 -0500, Aditya Mahajan wrote: Thats how itemgroup are configured. You cannot mix assignments (key=value) with options. I don't follow. What is the difference between this, \setupitemgroup [article] [ left={Article }, stopper=, symbol=R, before=\blank, after=\blank, distance=0.5em, ] \setupitemgroup [article] [broad,fit] , and this? \setupitemgroup [article] [ left={Article }, stopper=, symbol=R, before=\blank, after=\blank, distance=0.5em, broad, fit ] ConTeXt checks if the argument of \setupitemgroup has an assignment (key=value), then it calls a version of \setparameters; otherwise it calls a version of \processcommalist. So, if you use assignments and options in the same command, the options get ignored. All ConTeXt commands behave like this. You can use \setupitemgroup [article] [command=\blank] That worked. Thanks. Why do you expect \setuphead to change the way itemgroups behave? Because I can't make any sense of the thousands of pages of ConTeXt documentation scattered everywhere with little apparent rhyme or reason to its usage and with everything other than whatever it is that I seem to need present in them. If you define a command using \define<...>, then you configure it using \setup<>. Other than a few exceptions, that's how it is. Use \setupitemgroup [article] [color=...] I tried that and it did nothing. \definecolor[colour_text][r=0.754,g=0.516,b=0.324] \setupitemgroup [article] [color=colour_text] Minimal example? Aditya ___ 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] Euler Constant and limit
Am 25.11.2012 um 21:46 schrieb Kip Warner : > On Sun, 2012-11-25 at 10:37 +0100, Wolfgang Schuster wrote: >> You need a font which has the symbol, e.g. Cambria or Lucida OT. > > Hey Wolfgang. Thanks for pointing that out. I had suspected as much, > which leads me to my next question: What is the setup for selecting a > new font, but just for math? You have to define a typeface and enable it but Latin Modern as text font with patella etc. for math doesn’t look very nice. \definetypeface[mainface][rm][serif][modern] [default][designsize=auto] \definetypeface[mainface][ss][sans] [modern] [default][designsize=auto] \definetypeface[mainface][tt][mono] [modern] [default][designsize=auto] \definetypeface[mainface][mm][math] [pagella] \setupbodyfont[mainface] >>> In addition, the following formula does not typeset correctly. There is >>> no arrow linking 't' to infinity symbol: >>> >>> \placeformula[formula:Limit of Verhulst equation] >>> \startformula >>> \math{\lim_{t\to\infty} P(t) = K.\,} >>> \stopformula >> >> Works for me (Version 2012.11.23). > > It's probably the font I am using. > >> BTW: Why do you use \math inside of \startformula because it’s the command >> for inline math in normal text? > > I haven't any explanation. I just thought that that was how you were > suppose to do it from reading the manuals. How should it be? \setupbodyfont[pagella] \starttext left \math{1 + 2 = 3} middle \m{\Eulerconst} right % \math and \m are synonyms \blank before \startformula 1 + 2 = 3 \stopformula after \stoptext Wolfgang ___ 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] Euler Constant and limit
Am 25.11.2012 um 21:46 schrieb Kip Warner : > On Sun, 2012-11-25 at 10:37 +0100, Wolfgang Schuster wrote: >> You need a font which has the symbol, e.g. Cambria or Lucida OT. > > Hey Wolfgang. Thanks for pointing that out. I had suspected as much, > which leads me to my next question: What is the setup for selecting a > new font, but just for math? You have to define a typeface and enable it but Latin Modern as text font with patella etc. for math doesn’t look very nice. \definetypeface[mainface][rm][serif][modern] [default][designsize=auto] \definetypeface[mainface][ss][sans] [modern] [default][designsize=auto] \definetypeface[mainface][tt][mono] [modern] [default][designsize=auto] \definetypeface[mainface][mm][math] [pagella] \setupbodyfont[mainface] >>> In addition, the following formula does not typeset correctly. There is >>> no arrow linking 't' to infinity symbol: >>> >>> \placeformula[formula:Limit of Verhulst equation] >>> \startformula >>> \math{\lim_{t\to\infty} P(t) = K.\,} >>> \stopformula >> >> Works for me (Version 2012.11.23). > > It's probably the font I am using. > >> BTW: Why do you use \math inside of \startformula because it’s the command >> for inline math in normal text? > > I haven't any explanation. I just thought that that was how you were > suppose to do it from reading the manuals. How should it be? \setupbodyfont[pagella] \starttext left \math{1 + 2 = 3} middle \m{\Eulerconst} right % \math and \m are synonyms \blank before \startformula 1 + 2 = 3 \stopformula after \stoptext Wolfgang ___ 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: Re[8]: [NTG-context] Insufficient symbol fonts error
Alan, I know next to nothing about math, but I know that the Greek typescripts do not define a math font. So you will get errors doing math when the body font is Greek. I wish I could help, but defining a math font is beyond my abilities. If anyone is interested in doing it, however, I will be happy to provide the specs for the Greek fonts. Best Thomas On Oct 31, 2005, at 2:36 PM, Alan Bowen wrote: Giuseppe, Many thanks for your help: it is very much appreciated. \overbar{{\grk{kj}}} \grk{Kull'hnhc d\high{\tfx{ou}} med'eonta ka`i >Arkad'ihc polum'hlou} works, but it really is more a work-around than a good solution. Ideally, one would like to be able to do math when the body font is Greek. But we both need some font wizards to help with this. All best, Alan On Oct 31, 2005, at 8:06 AM, Giuseppe Bilotta wrote: Monday, October 31, 2005 Alan Bowen wrote: I removed some of the \grk. ( I had inserted them because I was uncertain of the effect entering math mode would have on my body font choice. In Plain TeX, I think it was necessary to specify the font.) \grk{\overline{kj}} still fails because of insufficient symbol fonts (just as \grk{\overbar{kj}}). Shouldn't these be \overline{\grk{kj}}? Anyway, I'm afraid I can't help you any further :( -- Giuseppe "Oblomov" Bilotta ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Some things I don't understand about typescripts...
Christmas is approaching, and I hate to be a pest this time of the year, but there's this problem that really bothers me: I'm still working hard to release version 2 of my Greek module on the unsuspecting masses. It will define all fonts in a typescript instead of as single fonts to allow switches like {\em } etc. It appears that the typescript mechanism creates some problems. The most serious one for me is that it seems to demand a full list of sizes that can be used in this form: \definebodyfont [30pt,25pt,20pt,18pt,17.3pt,14.4pt,14pt,12pt,11pt,11.5pt,10pt,9pt,8pt, 7pt,6pt,5pt,4pt] [rm] [default] If I specify a bodyfont with a size that's not in this list \setupbodyfont[somebodyfont,19.7pt] I get no errors, but no output either :-( If I add 19.7pt to the list, everything works again. Is there an explanation for this behavior? It also looks like I should define a math font for these Greek fonts. It looks like ConTeXt will try to get certain symbols from math if they're not defined in the bodyfont. Is there a syntax for creating a default math font for an entire set of typescripts? I tried this \starttypescript \definetypeface [all] [mm] [math] [times][default] [encoding=default] \starttypescript but it doesn't seem to work, if a symbol like \textdoublebracketleft is used, compilation will fail with this error: ! Math formula deleted: Insufficient symbol fonts. \mathematics #1->\relax \ifmmode #1\else $#1$ \fi \doutfunihashglyph ...#1\endcsname {#2}\endcsname \else \strippedcsname \uni... Any suggestions would be welcome; apart from these problems, I'm basically done with the work. All best Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] how to define a new math symbol
Great, it works! Running "texexec --pdf test-prodint" worked immediately, but "xdvi test-prodint.dvi" gave me an error relating to mktexpk not being able to create a bitmap font. Solved this problem by running "updmap --enable Map prodint.map". I don't think I could have done this myself, as I do not understand some of the steps in your solution. Thank you very much! Maarten-Jan - Original Message From: Taco Hoekwater <[EMAIL PROTECTED]> To: mailing list for ConTeXt users Sent: Wednesday, October 25, 2006 10:40:10 AM Subject: Re: [NTG-context] how to define a new math symbol M.J. Kallen wrote: > Taco, > > > I'm not sure I understand your question. I'm using TexLive on a linux > system. I do not use any other fonts other than CM. That last bit of information is crucial, because there is a difference between font handling between CM/Lm and commercial fonts. I've been skyping with Hans and he came up with the code below. You can use the font files from the LaTeX zip, you just have to make sure that pdftex can find the (map) file, of course. Cheers, taco % test-prodint.tex \definefontsynonym [MathGamma] [prodint] \definefamilysynonym [default] [xop] [mc] \startmathcollection [default] \definemathsymbol [prodi] [op] [xop] [80] %80 prodinttext \definemathsymbol [Prodi] [op] [xop] [82] %82 prodintdisplay \definemathsymbol [PRODI] [op] [xop] [84] %84 prodintbig \stopmathcollection \loadmapfile[prodint] \starttypescript [math] [modern,computer-modern,latin-modern,ams] [size] \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mc=prodint] \stoptypescript \definetypeface [modern] [mm] [math] [modern] [computer-modern][encoding=default] \setupbodyfont[reset,modern,10pt] \enablemathcollection[prodint] \starttext $\prodi$ \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \startquotation, \cite and footnotes
Oliver Buerschaper wrote: >> >>There is no other way. If you strangeness as a result from this, >>then it is a bug in the footnote handling that is (should be) >>unrelated to the bibliography module. > > Ok. As for the strange things happening I was able to hunt them down > and prepare a simple example (still with the standard \startquotation): We are looking into this. All footnotes in vertical mode are behaving oddly. > >>>2. When typesetting a quotation block I'd like to add a reference >>>directly after the closing quotation marks. However, including the >>>\cite command before \stopquotation places the reference before the >>>closing marks, and moving \cite out of the \start \stop block makes >>>the reference appear on a new line ... >> >>The next solution is a bit rude, but works: ... > > I tried that one but ran into several problems unfortunately. If > \cite inserts anything but a tiny string these words won't be wrapped > properly onto a new line. Also if I replace \cite[#1] by \footnote > {\cite[#1]} then there will be no footnote at all :-( The missing linebreak is probably realted to the problem as in the other thread, so you just have to wait a little bit longer, until that is fixed for this problem to magically go away as well. The disappearing footnote may be unfixable within \startquotation. It would be easier to define your own start-stop pair for this, because \startquotation ... \stopquotation doesn't actually support tacking on stuff at the end. Try this instead: \long\def\startcitedquotation[#1]#2\stopcitedquotation {\bgroup \par \startnarrower \symbol[leftquotation]% #2\removeunwantedspaces \symbol[rightquotation]% \cite[#1] \stopnarrower \par \egroup} Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \startquotation, \cite and footnotes
>> Ok. As for the strange things happening I was able to hunt them down >> and prepare a simple example (still with the standard >> \startquotation): > > We are looking into this. All footnotes in vertical mode are > behaving oddly. Thanks! >> I tried that one but ran into several problems unfortunately. If >> \cite inserts anything but a tiny string these words won't be wrapped >> properly onto a new line. Also if I replace \cite[#1] by \footnote >> {\cite[#1]} then there will be no footnote at all :-( > > The missing linebreak is probably realted to the problem as in the > other thread, so you just have to wait a little bit longer, until that > is fixed for this problem to magically go away as well. Yep, I'll be waiting for some black magic ;-) > The disappearing footnote may be unfixable within \startquotation. It > would be easier to define your own start-stop pair for this, because > \startquotation ... \stopquotation doesn't actually support tacking on > stuff at the end. Try this instead: > >\long\def\startcitedquotation[#1]#2\stopcitedquotation >{\bgroup \par > \startnarrower > \symbol[leftquotation]% > #2\removeunwantedspaces > \symbol[rightquotation]% > \cite[#1] > \stopnarrower > \par \egroup} Works like a charm! Thanks very much for the workaround ... I've adapted it slightly so that the optional argument is treated as generic text ... in order to use \cite[], \footnote{\cite[]} or whatever else I need. Could this optional argument perhaps be integrated directly in the usual \startquotation command some day? I guess a lot of people will need this ... every quotation calls for a proper reference ;-) Cheers, Oliver ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
On Wednesday 10 January 2007 01:06, Taco Hoekwater wrote: > Can you look through the list archive a bit? There was a > thread begin december last year about the exact same topic. Hi Taco, I assume you're referring to this thread: http://archive.contextgarden.net/thread/20061206.202611.e8722446.en.html However that was a more complicated test case because it involved the bib module and cite. Also it referred to problems with footnotes in vertical mode whereas the new test case includes the footnote in setupdelimitedtext/right where it appears to be in horizontal mode. In fact the new test case is similar to the workaround actually suggested in: http://archive.contextgarden.net/message/20061203.141335.f50b33ff.en.html Changing just \MyMagic in the suggested workaround to avoid \cite gives: \definedelimitedtext [myquotation] [left={\symbol[leftquotation]}, right={\symbol[rightquotation]\MyMagic}, leftmargin=standard] \long\def\startcitedquotation[#1]#2\stopcitedquotation {\bgroup \def\MyMagic{~\footnote{#1}} \startmyquotation #2\stopmyquotation \egroup} \starttext \startcitedquotation[schmitz2006] overly beautiful pusillanimous sesquipedalian longwinded \stopcitedquotation \stoptext - which also loses the footnote. The thread included another possible workaround at: http://archive.contextgarden.net/message/20061204.095032.227c83ef.en.html - but that lost all the power of setupdelimitedtext. Therefore I suggest that my simple test case is still worthy of consideration: \starttext \setupquotation[right={''\footnote{First}}] \startquotation Loses footnote. \stopquotation \setupquotation[right={''}] \quotation{OK}\footnote{Second} \stoptext For those who need footnoted or cited quotations, another workaround is to \setupquotation[location=text]. This retains the power of \setupdelimitedtext without running into the bug which I suspect lies in or near \dostopdelimitedtexpar. You may have to fiddle with \par and/or \nospace to get the layout exactly as desired. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] loadcurrentMPgraphic from metafun manual
On Fri, 08 Jun 2007 16:25:13 -0400 Aditya Mahajan <[EMAIL PROTECTED]> wrote: > Quoting nicola <[EMAIL PROTECTED]>: > > > Hi, > > I have tried the following example (metafun-p.pdf, p. 112-3): > > > > \startMPgraphic > > draw unitsquare xscaled 5cm yscaled 1cm withpen pencircle scaled 2mm > > withcolor .625red; > > \stopMPgraphic > > > > \hbox \bgroup > > \loadcurrentMPgraphic{width=5cm,height=1cm}\placeMPgraphic \quad > > \loadcurrentMPgraphic{width=8cm,height=1cm}\placeMPgraphic \egroup > > > > but nothing is drawn unless I remove the setups in curly braces (in > > which case a rectangle 5cm x 1cm is drawn). Is there a different way to > > pass options to the figure inclusion macro? > > Interestingwhat is happening is something equivalent to > > \externalfigure > [\MPgraphicfile.\the\currentMPgraphic] > [type=mps,object=no, > symbol=yes,reset=yes, > maxwidth=,maxheight=, > frame=off,background=, > width=8cm, > height=1cm]% > > and there is no figure. If I remove object=no, the figure is there. I > do not understand why object=no should affect the placement of the > figure. > > Aditya Hi, right, the object=no value is the problem. You can solve your problem by inserting the following macro somewhere before starttext in your document: \unprotect \def\insertMPfileARG#1#2% {\ifx\undefined\externalfigure \message{[insert file #1 here]}% \else \externalfigure [#1] [\c!type=\c!mps,\c!object=\v!yes, \c!symbol=\v!yes,\c!reset=\v!yes, \c!maxwidth=,\c!maxheight=, \c!frame=\v!off,\c!background=, #2]% \fi} \protect I changed only the "no" value from "object" to "yes". Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] symbols in luatex?
On Jan 8, 2008 9:21 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Mojca Miklavec wrote: > > On Jan 7, 2008 5:18 PM, Wolfgang Schuster wrote: > >> On Jan 6, 2008 9:26 PM, Hans Hagen wrote: > >> > >>> maybe a big fallback virtual font covering all of unicode ... > >> With Arial Unicode as fallback ;-) > > > > I can try to get some Microsofties* to the meeting. Perhaps they'll agree > > :-) :p > > actually the typography part of ms is not that bad -) also, if i'm right > all linux distributions permit you to download/install fonts from ms > (someow these fonts are free); not sure about osx Only the normal Arial font, Arial Unicode is only AFAIK available with MS Ofiice. > > After all, if I forget about all the advantages of it (covering > > unicode symbols where typeface doesn't matter so much etc.), the > > approach would be fully compatible with Word in that respect, > > replacing all accented letters with the ones from the fallback font > > :-) > > well, you may as well expect worse in the tex community ... font feature > abuse and such > > > But after all: there's LinLibertine or the (symbol) Unicode font that > > one of you has mantioned a few days ago. > > yes, those fonts are very complete; i wonder if they may be distributed > with tex ... The unicode symbol font should be no problem. You find the following text on the page. "Fonts in this site are offered free for any use; they may be opened, edited, modified, regenerated, packaged and redistributed." It's worth to write a mail to the designer. http://users.teilar.gr/~g1951d/index.html Wolfgang ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] named § symbol
Hi all, I use this for legal documents: \setuplabeltext[section=§~] But I wonder if there is a named command like \letterhash for this. TIA juh ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Missing °C symbol in math mode with dejavu font
> In short, this is just some of the compatibility nonsense crippling > Unicode, we are better off pretending they do not exist Second that. Arthur ___ 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] Gray unit
Hello the physical unit Gray has Gy as symbol (see http://en.wikipedia.org/wiki/Gray_(unit) ). Context returns Gr. MWE: \starttext \unit{1 Gray} \stoptext Thanks for fixing this little bug. Christian ___ 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] interactionbuttons
The correct question was "what's too much to make it work"... \definereference[GoToToC][myToC] The button contains the text "GoToToC". How do you assign a symbol to it instead ? Thx, Alan ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Pipe symbol
Am 24.01.2011 um 12:47 schrieb Khaled Hosny: > Just wondering, what is special about | now we can even have ^ and $ in text > mode? http://wiki.contextgarden.net/Composed_words Wolfgang ___ 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] \star not working
Am 20.06.2011 um 16:12 schrieb Reviczky, Adam: > Hi > > Can someone confirm this: > --- > \starttext > \star > \stoptext > --- > > Nothing shows up in the PDF. Use $\star$ or \symbol[star]. Wolfgang ___ 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] Mathematical symbol of non-inclusion
Hello, The result is not what you expected. How can I correct this problem? Thank you Fabrice \starttext \m{A \not\subset B} \stoptext ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Guitar string symbol
Thank you, Jaroslav, for WORKING solution. I added it to my "songbook" environment. And thanks to Hans -- yes, \wingding\fontchar{circle1} would be much simplier ) -- Best Regards, Vyatcheslav Yatskovsky ___ 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] footnote conversion
Hi! The following doesn't work in MkIV. Tried both current and beta. \definenote[thanks][conversion=set 2] \starttext Test\thanks{Thanks} \stoptext I get Test^1 instead of a symbol. ___ 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] Division symbol \div does not work
>On Sat, Dec 12, 2009 at 5:16 AM, Curiouslearn wrote: > >gives output > >a div b true What about \setuppapersize[letter][letter] \starttext $ a ÷ b $ \stoptext -- luigi ___ 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] cs translation in attachments (core-int)
Vit Zyka wrote: Hi, in core-int.tex (section deals with attachements) we need next control sequence translations: status -> state kleur -> color symbool -> symbol tekstlaag -> textlayer I also have some modifications to do in some files to compile modules.pdf . I post them at collector at http://context.literatesolutions.com/ I don't know if it's the right place. luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] fonts
Am 2005-12-08 um 09:39 schrieb Taco Hoekwater: Cool! http://modules.contextgarden.net ? Why not? It's PD. ;-) I'd like to prepare some more symbol fonts - any requests? (I always like to do nice font stuff while I should something more important... ;-)) Grüßlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] aquamints symbols
> can some native >english sea wolf check the symbol names >Especially I not sure with appropriateness of fattree, seaegg, and geoarrow. I'm no native either, but... fattree is some palm. tortle -> turtle seaegg is a sea urchin shell (I guess) geoarrow is a wind rose (compass card, compass rose) sadmaur: I'd call this a mask Hraban ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \prime is too high
The following: \starttext $s''$ %or $s^{\prime}$ \stoptext gives a too high symbol in ConTeXt LMTX 2021.05.06 23:35. ConTeXt MkIV isn't affected for such an issue. Jairo ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] diameter symbol in ConTeXt?
> > Really varnothing is not the same as diameter (see the reference of LaTeX I > > posted before) > > \def\diameter{\char"2300} > This (\char"2300) is really what I want. Sorry if I don't understand you. Xan. ___ 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] Hyphenatedurl: custom line-break symbol, disable stretching
On 2014-07-31, 6:42, Wolfgang Schuster wrote: > \def\hyphenatedurlseparator{→} Thanks, I've added it to the wiki. Now only the question remains how to disable URL stretching. Kind regards, Joshua ___ 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] symb-uni.tex
Hi, re: http://source.contextgarden.net/symb-uni.tex What does, for example, "0x2000: Requires UnicodeRegular20" mean in \startsymbolset[Unicode Additional Punctuation] % 0x2000: Requires UnicodeRegular20 in the context of \usesymbols[uni] \def\mySymbol{\symbol[Unicode Additional Punctuation][*symbolname*]} Thanks, Alan ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Why Garamond and Symbol are not included in TeX Gyre ?
> So why don't we develop our own flavor of Garamond? Because there is enough work with the seven typefaces that are already being worked on? Arthur ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \startcomponent [*]
Hi, when the wildcard symbol is used as argument to \startcomponent (or \startproduct) the name of the folder is now used and not the file name. \startcomponent * \quotation{\currentcomponent} \stopcomponent Wolfgang ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] an issues with resume module
Am 11.08.10 02:12, schrieb views63: BTW: In the old version beta some symbol is invalid such as "\setresumevalue{mobile}" I’m sorry but I don’t know what you mean. Wolfgang ___ 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] ConTeXt standalone broken (texlua)
On Thu, Dec 13, 2012 at 10:55 AM, Alan BRASLAU wrote: > The ConTeXt standalone is broken, running first-setup.sh (amd64-freebsd): > > /usr/local/context/beta/bin/texlua: Undefined symbol "_ThreadRuneLocale" checking... -- luigi ___ 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] custom itemize bullet
Stuart Jansen wrote: For the benefit of anyone reading the archives, the solution requires a \bgroup \egroup pair. Alternatively, if you choose an as-of-yet unknown name for the symbol, then you need to explicitly use it, but no harm is done to the 'normal' environment: \definesymbol[mysymbol][{$\diamond$}] \startitemize[mysymbol,packed] \item foo \item bar \item baz \stopitemize Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] MathML: Please ignore
Salvete, I just started to think about using ConTeXt on XML input files, so I've got a question which should be easy to answer: My MathML source generates presentation code which includes between a function symbol and its arguments. I get a black rectangle for that; I'd like ConTeXt to ignore this character, where do I define it as “nothing”? regards, Christopher ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] wasy symbol set
Henning Hraban Ramm wrote: But what about the different design sizes? just pretend that there is only 10pt I don't think that makes much sense here, but how would I address them? by some kind of clever mapping where the name is taken from a control sequence with 10pt as fall back; a few lines of code probably, but not worth the effort Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] run a ruby script and use the standard output ???
Hans Hagen wrote: > piping: the latest versions of pdftex support this (i\ve forgotten the > syntax, but taco who wrote the patch may remember) piping syntax: \input "|ruby ./myscript.rb \vartest X" the magic trick is the | symbol. With your current tex: \writ18{ruby ./myscript.rb \vartest X > whatever.tex} \input whatever % or something using \openin ... Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: itemize
Hello Willi, > Of course Patrick's answer works. Another aproach is to use the > \setupitemize command. This gives you more control over the spacing > between the symbol and the text. I keep forgetting about right, left. > > \setupitemize > [1] %level of itemization > [broad,atnmargin] The atnmargin is a typo, I guess. What does atmargin do? Thanks for your example. I hope I may put it in texshow-web? Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] math-ams.tex: \triangleup?
Hans Hagen wrote: \definemathsymbol [triangleup][ord] [ma] ["4D] The symbol is currently only defined as \vartriangle, but that is a relation. ok, done, but it's the sams as vartriangle (i suppose that math guru's know the difference in usage -) The spacing around it is different, ord vs. rel. Those who don't see the difference may not deserve it. :-) regards, Christopher Creutzig ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] U3D (embedded 3D objects)
Hello Hans, thanks for the information. Here is where I am: I am using and talking about 3D objects all the time as part of my professional life, and it would be nice to be able to include them as part of PDF files both for presentations and class notes (which I do both in CoNTeXt). As with Acrobat 7, "one" can embed such 3D graphics in a PDF, Acrobat then shows (very much like with a movie) a surrounding box within which one can rotate, move scale the 3D image. I f available, I would replace most of my 3D graphics with 3D objects ("surface"). This is of course a rather specialized desire, I suppose. I can say that it does work, even on a Mac, I tried a LaTeX example. I don't know whether it works via a plug-in or is coded directly in Acrobat, I only know it works with Acrobat 7 without installing anything else. There is one problem though: None of my software or own code currently exports into the required format U3D. If support was already available within ConTeXt, I would be motivated to write some code so that I can export my 3D files to U3D. That not being the case, I think we let it rest here until we both have nothing better to do (...). Matthias On Jan 30, 2006, at 7:02 AM, Hans Hagen wrote: > Matthias Weber wrote: >> Hello, >> >> is there support for .u3d files in ConTeXt available or planned? This >> would take advantage of Acrobat 7 support >> for these 3D data files. There is a LaTeX package (http:// >> www.tug.org/tex-archive/macros/latex/contrib/movie15/) >> that does that, and it even works on my Mac. >> > (mime type controlled i assume that you refer to support for > graphic formats that depend on specific plug-ins; contrary to the > older support for movies, such features need a bit more, in > particular a relationship between the part of the screen where the > stuff is shown and the place where the resources are embedded and > refered to. the framework for that has been present for a while now > (was implemented right after 6 came out) but in practice only a > fraction of the plugins / graphic formats work ok (for instance, > smill based graphics/sequences are rather plug-in dependent and > buggy); the mediashow stuff on the site and in the distributions > implements this renderign) > > \definerenderingwindow > [example] > [width=320pt,height=150pt,frame=off, >background=color,backgroundcolor=gray, >openpageaction=StartCurrentRendering, >closepageaction=NextPage]% StopCurrentRendering] > > \useexternalrendering[example-1][audio/mpeg] > [eldorado.mp3] > \useexternalrendering[example-2][audio/mpeg] > [myst-12.mp3] > \useexternalrendering[example-3][application/x-shockwave-flash] > [http://localhost/mb.swf] [auto] > \useexternalrendering[example-4][application/x-shockwave-flash] > [celebration.swf] > \useexternalrendering[example-5][video/quicktime] > [p1000726.mov] > \useexternalrendering[example-6][application/smil] > [quadratic_map.smi] > > \def\renderingmenu[#1]% > {\hbox > {\setupbuttons[width=2.5em]% > \button{\symbol[StartRendering]} [StartRendering{#1}]\enspace > \button{\symbol[StopRendering]} [StopRendering{#1}]\enspace > \button{\symbol[PauseRendering]} [PauseRendering{#1}]\enspace > \button{\symbol[ResumeRendering]}[ResumeRendering{#1}]}} > > \renderingmenu[example-1]\blank > \renderingmenu[example-2]\blank > \renderingmenu[example-3]\blank > \renderingmenu[example-4] \placefigure{A ShockWave} > {\placerenderingwindow[example][example-4]} \page > \renderingmenu[example-5] \placefigure{A Movie} > {\placerenderingwindow[example][example-5]} \page > \renderingmenu[example-6] \placefigure{A Smile} > {\placerenderingwindow[example][example-6]} > > etc etc > > (see x-res-50 for other examples) > > much of the plugin behaviou can be tuned with key/values in pdf, > but it is rather messy (kind of: the plugin provides this, so we > need these and those keys): no clear consistent model is present); > > in order for me to provide more detailed support, i first need to > cook up a more or less consistent control model (not too much pdf > dependent) since whenever possible, i keep context's interface > independent of the pdf way of doing things > > so, if you want more detailed support for this i need (1) proper > conforming resources, and (2) a description of what is needed > (which is not the same as a cut and paste from the pdf spec with > all possible features) and (3) time and (4) motivation (i.e. it > should be usable, used, etc etc;) > > implementing pdf related features just because it's in pdf is
[NTG-context] Size of root symbol
Is there a simple way to get both root signs in this MWE to be the same size? \starttext \startformula \sqrt[3]{4n} \ne \sqrt[3] {n} \stopformula \stoptext Thanks. — Bruce Horrocks Hampshire, UK ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \figuresymbol with underlying hyperlink?
Hi, is it possible to combine figuresymbol with some kind of \useurl? The goal is to have an inline symbol that provides a http url link. Best wishes, Steffen ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] documenting itemize specials
Hi, * can anyone give me an example where \noitem makes sense? * is the + symbol of \sub configurable? \startitemize[n,packed] \startitem oins \stopitem \noitem zwoi \startitem droi \stopitem \sub droi ond ebbes \stopitemize Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___
Re: [NTG-context] Emacs24 + AucTeX + ConTeXt
On Sun, Oct 30 2016, Fabrice Couvreur wrote: > (setenv „PATH" „/home/fab/tex/texmf-linux-64/bin/:$PATH" t) > > I do not understand this symbol „ and how to access You should replace „ with ". -- Peter ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Arabic typesetting, one more
If this behavior of context setting the kassra (slash) too low, do anyone knows a font, where this not happens with the symbol "allah" and kassra in context? I thought in this mailer were some arabic typers... ? Huseyin ___ 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] upright lowercase Greek letters in math formulas
Hi, How could I get upright lowercase Greek letters in math formulas (provided that such a symbol exists, of course)? Here's a minimal example: \setupbodyfont[times] \starttext $15{\rm\frac{μm}{μs}}$ 15 μs \stoptext Thank you, Mojca ___ 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] Hyphenatedurl: custom line-break symbol, disable stretching
On 2014-07-31, 14:49, Wolfgang Schuster wrote: > From what I can see in the code there is no option to disable the > stretch values. Thanks for checking. Kind regards, Joshua ___ 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] \star not working
> > Could we just add a \textstar in char-def.lua? (And maybe use that to > > redefine \symbol[star]) I'd welcome that, seeing that we already have textbullet. char-def.lua, line 56213: + contextname="textstar", > what unicode? U+22C6 Adam ___ 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] Something similar to MarVoSym package for ConTeXt
I am in need of some networking and other computer communications symbols. Is there something similar to the MarVoSym package for LaTeX? Or if there is a symbol font recommendation, that would be helpful as well. Many thanks. -- - - Pavneet Arora ___ 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] Using \doifelse to change the itemization symbol in specific cases
On Apr 25, 2020, at 2:34 PM, Wolfgang Schuster wrote: > > \starttext > > \startitemize[n] > \item A > \txt{k} B > \noitem > \item C > \stopitemize > > \stoptext > > Wolfgang Nice…so many options. :) -kk___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] an issues with resume module
Am 11.08.10 02:12, schrieb views63: Hi all I found an issues with resume module in latest beta (MkIV) Fixed. BTW: In the old version beta some symbol is invalid such as "\setresumevalue{mobile}" I’ll look into this later. Wolfgang ___ 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] notes changes
Hi, with current beta I get an interesting symbol in cases when my footnotetext doesn't fit on the same page as its marker: PastedGraphic-2.pdf Description: Adobe PDF document Nice! But how can I switch it off? Steffen___ 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] Changing navigation symbol
or switch off this feature? Yes (but it’s disabled by default) \setupstructure [state=start] \setupinteraction [ state=start, option=bookmark, openaction={firstpage,FitHeight}, menu=on, click=yes, contrastcolor=interactioncolor ] \setupinteractionscreen [option=bookmark] I’ve changed something but I can’t find the relevant option. Any idea? ___ 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] Tabulate and \EQ
Hi, in MkIV there is no space in front of the \EQ symbol in the second row while in MkII there is a space. \starttext \starttabulate \NC A\EQ B \NC\NR \NC Left \EQ Right \NC\NR \stoptabulate \stoptext Wolfgang ___ 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] How to get bolder and larger item symbol?
I'd like to have the number (and dot) in an "itemize" in boldface and larger (say, \bf\tfa). What do I do? \startitemize[n][symstyle=bold] didn't work. Why? TIA -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University ___ 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] Trademark symbols
Hello, In latex \textregistered gives the Regitered Trademark symbol. How do I get Trademark (TM) and Registered Trademark (encircled R) in ConTeXt? I will be using it with \high to get something like Simulink^® <http://www.mathworks.in/products/simulink/> Regards, Devendra ___ 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] Separation of delimited text symbol
On 2013–03–08 Wolfgang Schuster wrote: > The following change in typo-del.mkiv prevents the line break. > > […] Thanks Wolfgang for the code and thanks to Hans for incorporating this into the core. Marco signature.asc Description: Digital signature ___ 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] cc-icons
Hi, new in the distribution \usesymbols[cc] \starttext \showsymbolset[cc] \symbol[cc][cc-by-sa-nc] \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] 1/2 symbol
On Mar 4, 2009, at 10:40 AM, Wolfgang Schuster wrote: What the combination to get ½ on a mac? Sadly, there doesn't seem to be a keyboard shortcut; I inserted it via the Character Palette. Thomas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [***SPAM***] Re: Fraktur symbol in subscript
Hans Hagen wxs.nl> writes: > > ok, fixed > Taco and Hans, thanks for replying. I updated my Context installation and compiled the file again. However, it still does not work. Do I have to do something else. Thank you once again. ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ntg-context Digest, Vol 64, Issue 94
Hello Aditya Does using an explicit endash (?) or emdash (?) work? Yes, they work both. If I insert dash Unicode symbol in the editor, it works too. Looks like replacement of (--) with \endash is broken... Regards, Vyatcheslav ___ 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] smaller symbol
Ciro Soto wrote: Invisible Friends: I am trying to use \ll and \gg instead of quotation marks. The problem is that they are too big for my taste. What would be the easiest way to make them, say 0.75\bodyfontsize ? Don't you want \leftguillemot and \rightguillemot? Anyway, there are fake ones based omn \ll and \gg, these should be what you had in mind: \fakeleftguillemot, \fakerightguillemot Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problem with German quotes and kerning
Hans Hagen wrote: > Thomas A. Schmitz wrote: > >>Oh my, I shouldn't have asked about this problem... Sorry, but with >>the latest 'n greatest, I get: >> >>\quotation{W} ==> no kerning For this to work, \dofontdrivendelimited has to be defined like so: \unprotect \def\dofontdrivendelimited#1% {\languageparameter{\c!left\currentdelimitedtext}% #1% \languageparameter{\c!right\currentdelimitedtext}} \protect Both "\groupedcommand" and "\symbol" intersect stuff that breaks kerning, so should be avoided. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] lb bar/Unicode 2114 symbol
Hello, I'm using the following encoding commands \usetypescript[modern-base][texnansi] \setupbodyfont[12pt,modern] and was wondering whether someone knows an elegant way to get the pound sign 'lb bar' (unicode #2114, html ℔). My current hack looks like this: \def\lbbar% {% \raise.28em\hbox{--}% \kern-.535eml% \kern-.1emb% } but I'm underwhelmed by the thinness of the bar ... Thanks for any insights, Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] symb-eur and dvi
On Tue, 11 Jul 2006, Peter Münster wrote: > I'm quite sure, that this had worked some months ago, even in dvi/ps mode: > > \usesymbols[eur] > \starttext > \texteuro > \stoptext > > But now, I get nothing at the place of the euro-symbol. What could have > been changed in the meantime? I forgot to mention, that in pdf-mode all is ok. Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Yet another math symbol
On Sun, 14 Jan 2007, Oliver Buerschaper wrote: > Exactly! > > Oliver > > >> Do you mean something like 1 at the end of eq (23) page 4 (3231) at >> http://www.eecs.umich.edu/~adityam/publications/conferences/ >> cdc2006.pdf Since I needed to use it in ConTeXt also, here is how to use it. http://wiki.contextgarden.net/Doublestroke I reused the mb family since I do not expect anyone to use double stroke with blackboard bold. Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to use and not embed the 14 PDF standard 14 fonts?
Hi all! 1. Does anyone know how to use the 14 PDF standard fonts (Courier, Helvetica, Times (each in 4 faces), Symbol, and ITC-Zapf) in ConTeXt? 2. Does anyone know how pdfTeX can be instructed not to embed them? Thanks for your attention, --Stefan PS (Background): I am creating lots of small PDF documents where font embedding would create prohibitive large documents. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: How to rotate a single character on a line?
At 14:53 02/04/2004, you wrote: (Heh, I just thought of this:) \definesymbol[left][{% \mirror{\symbol[LeftShadedWhiteRightwardsArrow]}}] The mirrored version works fine, and is what you probably want. That's ConTeXt for you... sometimes you have to take a step back and realise that it can be done more simply! clever, i hadn't thought of that -) Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] section head unnumbered but with dots in TOC ?
Hi, I am lost in ConTeXt's setup-jungle: I have a section set is unnumbered: \setuphead[LevelThree] [number=no, ...| But in the TOC I would like to have a dot (or another symbol) before the head/title, like this: o Section's Title 17 Is this a matter of \setuphead or \setuplist? Or none of them? How can it be achieved? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] LMTX: reimplementing texquotes as OTF feature
On 11/11/2022 10:19 PM, Leah Neukirchen via ntg-context wrote: Hi, as Hans recommended in the last video meeting, I tried to implement the texquotes feature using OTF features, and hit two problems: 1) To support German quotes as well, I have two ligatures that end up as the same glyph: `` -> “ "' -> “ This can't be in the same ligature feature, as it will overwrite the table entry with a duplicate key. After some fiddling, I decided to map "' to a Unicode PUA symbol and then add a second feature that maps this symbol to “ using the substitute feature. This works for TeX Gyre Schola. But perhaps someone knows a nicer way. 2) This approach doesn't work for lmodern or palatino, I still get "' as inch-sign/quote there... anything else I need to tweak for these fonts? \startluacode fonts.handlers.otf.addfeature { name = "texlig", type = "ligature", data = { ['“'] = { "`", "`" }, ['”'] = { "'", "'" }, ['„'] = { '"', "`" }, [''] = { '"', "'" }, ['‘'] = { "`" }, ['’'] = { "'" } } } fonts.handlers.otf.addfeature { name = "texsub", type = "substitute", data = { [''] = '“', } } \stopluacode % with lmodern or palatino it breaks \setupbodyfont[schola] \definefontfeature[ltest][texlig=yes,texsub=yes,trep=no] \addff{ltest} \starttext ``foo'' `foo' "`foo"' 19" rack \stoptext can you show what is wrong and what it should be with fonts.handlers.otf.addfeature { name = "germantexlig", type = "ligature", data = { ['“'] = { "`", "`" }, ['”'] = { "'", "'" }, ['„'] = { '"', "`" }, ['“'] = { '"', "'" }, ['‘'] = { "`" }, ['’'] = { "'" } } } best not use an existign feature because we accumulate ... features come in order (you can force order if needed as you probably saw in one of the test files) \definefontfeature[ltest][germantexlig=yes,trep=no] \addff{ltest} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] setupheads separator and stopper
> Am 24.04.2015 um 14:07 schrieb Csikos Bela : > > Wolfgang Schuster írta: > >>> 1. The "section" part of the words sectionstarter and sectionstopper above >>> is just >>> a general term for any heading type and does not correspond to the heading >>> type. >>> Is this correct? (That is, there are no chapterstarter=, subsectionstarter= >>> etc. options). >> >> No, it’s part of the key name and you have to use „sectionstopper” also for >> \part, \chapter etc. > > I see. > >>> 2. The command you commented, \setupreferencestructureprefix, what does it >>> supposed to do? It did not do anything for me, eg: >>> \setupreferencestructureprefix[default][prefixstarter={\symbol[diamond]},prefixstopper={\symbol[none]}] >> >> It comes the starter and stopper from the reference number in the text, >> compare the result from >> \in with and without the \setupreferencestructureprefix setting. > > I compared the output of \in with commented and non-commented > \setupreferencestructureprefix line. It does not make any difference, the two > outputs are the same. Without the the \setupreferencestructureprefix line you get Reference to chapter (1) and section (1.1). and with the line Reference to chapter 1 and section 1.1. >> \setupheads is only a synonym for \setuphead. > > OK. I also tried to change the separator to dash but I couldn't. > I tried with \setuphead[separator=-] and with \setuphead[sectionseparator=-] > but they didn't work. How can I change that? You have to create a list of the separators with \defineseparatorset which can then be applied with the sectionseparatorset key. \defineseparatorset[mysectionseparator][x,y,z][?] \setuphead[sectionseparatorset=mysectionseparator] \setuphead[part] [placehead=yes,page=no] \setuphead[chapter][page=no] \starttext \part{Part} \chapter{Chapter} \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \subsubsubsection{Subsubsubsection} \stoptext Wolfgang ___ 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] Colon as non-operator
On 5/31/2016 5:53 PM, Hans Åberg wrote: On 31 May 2016, at 17:04, Hans Hagen wrote: On 5/31/2016 4:18 PM, Hans Åberg wrote: It is possible to get the symbol : COLON U+003A to expand to \colon, instead of the ratio operator, as it is now? it's a commented option What does that mean? that it has been considered but rejected already i.e. we decided not to do that because the normal colon would be obscured then (just like overloading a period is not realistic) But can one not have it only in math, the way you suggested before, as in the code below? so what about (1:2) and so? do we really always want that colon symbol? Anyway, for Unicode fonts that support RATIO U+2236, input : COLON U+003A should properly give that RATIO in the output, and \colon should output a COLON. :-) \setupbodyfont[xits,10pt] \appendtoks \catcode`:=\activecatcode \letcharcode `: \colon \to \everymathematics You love active characters yes? Try to avoid them. More efficient is: \Umathcode"3A="6"00"002236 % : to \colon in one of your styles \starttext Note: the colon in text should behave normally. \startformula \startalign \NC f\NC\colon A→B \NR % Outputs ∶ RATIO U+2236 \NC f\NC: A→B \NR % : COLON U+003A, outputs ∶ RATIO U+2236 \NC f\NC ∶ A→B \NR % ∶ RATIO U+2236 \stopalign \stopformula \stoptext could be a style (or option) but then more for a set of such symbols, not for just one Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] problem with math: "\left" leads to "udefined symbol" --solved (sort of)
well after incrementally deleting most everything from my document I now seem to have a reproducible example: 8< \definesynonyms[MySymbol][MySymbols][\meaning] \MySymbol [whaever] {this} { means } \starttext \startformula x = \left ( 1 + 2 \right ) \stopformula \stoptext 8< the apparent "culprit" is the presence of the `\definesynonyms' stuff. without it the rest (identical to your minimal example) compiles. with it it does not... remember that I am really unexperienced with `context': at the time (2 years ago), when I first tried this, it worked. I now realize (after reading up on the `definesynonyms' syntax again ...) that in the definition a _command_ has to go into the third bracket. seemingly at the time I was just putting a placeholder `\meaning' there (never attempting to use it as a command acting on the explanatory text for that symbol definition but only wanting a glossary. the strange thing (for me) is that this worked just fine two years ago, now it does produce a very strange error as described. question is why. but replacing `\meaning' by `\infull' suffices to restore sane behaviour. while I understand, that I did something stupid (putting a non-existent command `\meaning' in the definition), I would have presumed that this might trigger an error at that place rather than making `\left (' suddenly an undefined control sequence. any explanation what is going on here would be greatly appreciated. On Tue, 24 Jan 2017 15:02:38 +0100, Hans Hagen wrote: this just works here ... so can others confirm it? \starttext \startformula x = \left ( 1 + 2 \right ) \stopformula \stoptext -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Scaling down symbols and emojis
On Wed, Jan 16, 2019 at 6:29 PM User 19087 wrote: >> Or I use {\switchtobodyfont[...]\symbol[ShortForty]} in the document. >> At that point the body font may have been switched to a size whose >> environment defines different values for 'x' and 'xx'. Or perhaps the >> current or default body font, via \definebodyfont, overrides the 'x' >> and 'xx' sizes. In either case it would be more flexible to query the >> current values of 'x' and 'xx' rather than hardcoding the values of >> 'n' and 'm'. On Fri, Jan 18, 2019 at 6:47 AM Wolfgang Schuster wrote: > The default sizes (12pt, 14.4pt etc,) set the x and xx sizes to a fixed > size which leads > to differences and the scale factor. That's yet another reason to avoiding fixing the values of the 'm' and 'n' sizes. As of now, you have to first decide your font size, lookup the 'x' and 'xx' sizes in font-pre.mkiv and do a little math... every time you switch fonts. Instead I've come up with a function that doesn't depend on hardcoded globals: \define[2]\tosize{% \setbox0=\hbox{\tf x}% \setbox1=\hbox{#1 x}% \startluacode tex.dimen[2] = tex.getdimen("bodyfontsize") * tex.box[1].height / tex.box[0].height \stopluacode% {\switchtobodyfont[\the\dimen2]#2}% } \tosize{\tfx}{\symbol[ShortForty]} However I worry that measuring individual letter sizes to deduce the actual font size may not be foolproof, especially with optical sizes and so on. There must be some other method (at least via luatex) to obtain the 'x' and 'xx' sizes as workable dimensions. thanks, ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] index "compress" option / collapsing of page numbers
On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: Am 2019-04-02 um 18:53 schrieb Hans Hagen : On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: Ahoi, with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. That’s great. But (at least in German publications) it’s usual that 1,2 becomes 1f. and 1,2,3 becomes 1ff. Is it possible to configure it that way? it should not be too hard to program but, it being german problem: - you have to come up with an example - wolfgang has to come up with a proper keyword (compress=?) Thank you – it’s not only a German habit, even if we pronounce it “folgende”, “f.” stems from Latin “folio”, and “ff.” is a duplicated abbreviation, as was usual in mediaeval Latin. So, this is at least used in English, German, Norwegian and Swedish, as far as I could find. In French they seem to use “sq.” and “sqq.” (sequens). https://de.wiktionary.org/wiki/ff. https://en.wiktionary.org/wiki/ff. https://fr.wiktionary.org/wiki/sq. I suggest the following setup options: compress = no —> don’t collapse (as now) compress = yes —> always use – (as now) compresssymbols={\,f.,\,ff.} (or how can you setup a list?) compress = symbols —> use first symbol for one other page, second for more pages if there’s only one symbol, more than one sequential page should use – (like “yes”) Is this feasible? i'll add \setuplabeltext % predefined [en] [following:singular=f., following:plural=ff.] \setupregister[index][compress=text] - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] index "compress" option / collapsing of page numbers
Am 2019-04-03 um 13:30 schrieb Hans Hagen : > On 4/3/2019 10:56 AM, Henning Hraban Ramm wrote: >> Am 2019-04-02 um 18:53 schrieb Hans Hagen : >>> On 4/2/2019 11:54 AM, Henning Hraban Ramm wrote: >>>> Ahoi, >>>> with \setupregister[compress=yes], index entries 1,2,3,4 become 1–4. >>>> That’s great. >>>> But (at least in German publications) it’s usual that 1,2 becomes 1f. and >>>> 1,2,3 becomes 1ff. >>>> Is it possible to configure it that way? >>> it should not be too hard to program but, it being german problem: >>> >>> - you have to come up with an example >>> - wolfgang has to come up with a proper keyword (compress=?) >>> >> Thank you – it’s not only a German habit, even if we pronounce it >> “folgende”, “f.” stems from Latin “folio”, and “ff.” is a duplicated >> abbreviation, as was usual in mediaeval Latin. >> So, this is at least used in English, German, Norwegian and Swedish, as far >> as I could find. In French they seem to use “sq.” and “sqq.” (sequens). >> https://de.wiktionary.org/wiki/ff. >> https://en.wiktionary.org/wiki/ff. >> https://fr.wiktionary.org/wiki/sq. >> I suggest the following setup options: >> compress = no —> don’t collapse (as now) >> compress = yes —> always use – (as now) >> compresssymbols={\,f.,\,ff.} (or how can you setup a list?) >> compress = symbols —> use first symbol for one other page, second for more >> pages >> if there’s only one symbol, more than one sequential page should use – >> (like “yes”) >> Is this feasible? > > i'll add > > \setuplabeltext % predefined > [en] > [following:singular=f., > following:plural=ff.] > > \setupregister[index][compress=text] Great! Thank you! I’ll document it. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] xetex and attachment: troubles
Thanks Mojca, The problem is not the "--xtx switch", but the lack of support for the underlying (xdvipdfmx) driver. Sorry, please remember I'm very far from there... I was just meaning: the problem is in xetex engine? I googled a bit and found the following slides: http://project.ktug.or.kr/dvipdfmx/doc/tug2005.pdf see page 18 in particular. thanks, means really nothing to me :-) In spec-fdf there is: \definespecial \doattachfile {\doPDFattachfile} \def\doPDFattachfile#1#2#3#4#5#6#7#8% {\bgroup % title width height color symbol file \edefconvertedargument\PDFfile{#8}% % beware: the symbol may (indirectly) use the file % reference when typesetting the object number; \presetPDFsymbolappearance{#5}{#6}{#2}{#3}{#4}% sets width/height \startPDFsymbolappearance \doPDFembedfile\PDFfile{#7}{#8}% \doPDFgetembeddedfilereference\PDFfile\PDFobjectreference \setFDFlayer\@@DriverAttachmentLayer \doPDFannotation{\width}{\totalheight} {/Subtype /FileAttachment /FS \PDFobjectreference\space /Contents (#1) \PDFsymbol \FDFlayer \PDFattributes}% \stopPDFsymbolappearance \egroup} Something similar needs to be added to spec-dpx.tex. Can't follow you here. What is spec-dpx? Best -a- -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- I did this interview where I just mentioned that I read Foucault. Who doesn't in university, right? I was in this strip club giving this guy a lap dance and all he wanted to do was to discuss Foucault with me. Well, I can stand naked and do my little dance, or I can discuss Foucault, but not at the same time; too much information. (Annabel Chong) -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino --> http://www.cirma.unito.it/andrea/ --> http://www.myspace.com/andreavalle --> [EMAIL PROTECTED] -- " Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty " (Ken Perlin on noise) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \useattachment: Embedding files in PDFs - was "attachment attaches twice - more research"
Dear Hans, I'd like to remind you about an old problem report -- From: Tobias Burnus Date: 2008-01-04 16:01 +300 I can use \useattachment to embed/attach files in a PDF file. I can use: \useattachment[whatever][title][newname][test.tex] \attachment[whatever] This creates an attachment with the description "title" and the name "test.tex". However, how can I set the author/subject? (Shown in tool tip of the annotation symbol; it is shown above the description; actually subject is enough for me.) Additionally, I miss the file size and possibly the modification date for the attachments; they are often handy to have. Is is possible to associate an embedded file stream with the document itself without creating an annotation symbol as with \attachment in ConTeXt? (The PDF spec allows this; cf. e.g. 3.10.3 in the PDF spec and http://www.microtype.com/showcase/EmbedFiles.pdf for an example PDF file.) --- what he names "author/subject" is the "T" entry in annotation dictionary (the same where /Subtype /FileAttachment goes), that is described as "The text label that shall be displayed in the title bar of the annotation’s pop-up window when open and active. This entry shall identify the user who added the annotation." It appears as the upper of the two lines that are shown when the mouse pointer is over file attachment annotation icon (the lower one is the description mentioned above). And for "file size and modification date" to show up file stream has to look like 8 0 obj<< /Params << /ModDate (20050217) /Size 2048>> /Length 1218>>stream not just 15 0 obj<< /Length 144>>stream as it is now. Sincerely, Michail ___ 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] Emoji color fonts not working on LMTX/Context MKIV
I've tried the following from the manuals and adapted some code to see if it works: 1. \definefontfeature[svg][svg=yes] \definefontsynonym[Emoji][file:emojionecolor-svginot.ttf*default,svg] \definesymbol[bug][\getglyphdirect{Emoji}{\char"1F41B}] \starttext \symbol[bug] \stoptext The emoji has no color when compiled with LuaTeX. Furthermore, the log includes a lot of lines like the ones below: fonts > svg conversion > executing runner 'otfsvg': inkscape --export-area-drawing --shell > temp-otf-svg-shape.log fonts > svg conversion > processing 1829 svg containers xml > core > load error: invalid xml file - parsed text With LMTX it gives an error about mlib-svg. 2. \definefontfeature[overlay][default][ccmp=yes,colr=yes,dist=yes] \definefontfeature[svg] [default][svg=yes] \definefontfeature[bitmap] [default][sbix=yes] \definefontfeature [colored] [default] [ccmp=yes,dist=yes, colr=yes,svg=yes,sbix=yes] \definefontsynonym[Emoji][file:notocoloremoji*default,colored] \definesymbol[bug][\getglyphdirect{Emoji}{\char"1F41B}] \starttext \symbol[bug] \stoptext What I get is: fonts > png conversion > processing 3374 png containers sh: 1: gm: not found sh: 1: gm: not found sh: 1: gm: not found sh: 1: gm: not found ... and the same line repeating itself ... close source > level 1, order 3, name '/home/lol/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv' ! error: (file /usr/share/fonts/truetype/noto/NotoColorEmoji.ttf) (ttf): loca table not found LMTX prints a file without any emoji. Only Twemoji Mozilla and Segoe UI Emoji worked for me, so, what am I doing wrong? I'm working with Ubuntu 20.04 LTS x86_64 and Inkscape 0.92.5 (2060ec1f9f, 2020-04-08) in case it helps. 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 / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] mistake in lang-cjk.mkiv
On 9-5-2010 10:47, Wolfgang Schuster wrote: Am 06.05.10 22:16, schrieb Hans Hagen: Also I would like to ask if file lang-spe.mkii have some equivalent in MkIV and where the language specifics are defined (in which file)? Or is it treated in enco files? in mkiv we don't have (want) language specifics ... why do yoi need them? languagespecifics are not needed but we need a method to load language dependend setups, e.g. for french you can have in lang-ger \startsetups [fr] [punctuation] \setcharacterspacing[frenchpunctuation] \stopsetups \startsetups [fr] [itemize] \setupitemize[symbol=2] \stopsetups and in your document you can load them with \setuplanguage[fr][setups={punctuation,itemize}] or \enablelanguagesetups[punctuation,itemize] indeed setups is the way to go \enablelanguagesetups is somewhat tricky as we then also want to disable them selectively which boils down to either tagging them all internally or let lua deal with sets in which case we need some optimization to prevent redundant calls also, we need the reverse actions then i.e. for german we want to disable the punctuation \startsetups [fr] [punctuation:reset] \resetcharacterspacing \stopsetups and for style changes that's quite some extra code (and adding an extra level of language hashes to each mechanism is also no solution) so, we might distinguish between 'mainlanguage' and local 'language' \startlanguagesetups [fr:punctuation:set] % local language \setcharacterspacing[frenchpunctuation] \stopsetups \startlanguagesetups [fr:punctuation:reset] % local language \resetcharacterspacing \stopsetups \startlanguagesetups [fr:itemize] % mainlanguage \setupitemize[symbol=2] \stopsetups or so ... needs bit of thinking Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] Perfecting my checkbox functionalities
I am learning to work with ConTeXt. At the moment I have the following defined: \newdimen\CheckBoxMargin \CheckBoxMargin=2em \newdimen\CheckBoxWidth \CheckBoxWidth=2.5em \newdimen\CheckBoxDistance \CheckBoxDistance=.5em \definesymbol[CheckBox][{[~~~]}] \def\startcheckbox[#1]{ \blank \leftaligned{#1} \startitemize[packed, intro, joinedup][margin=\CheckBoxMargin, symbol=CheckBox, width=\CheckBoxWidth, distance=\CheckBoxDistance] } \def\stopcheckbox{ \stopitemize \blank \crlf } \def\GetNiveauOfService[#1]{ \blank #1 {\switchtobodyfont[0.5em](1 = low, 9 = high)} \startitemize[packed, intro, joinedup, columns][n=9, symbol=CheckBox, width=\CheckBoxWidth, distance=\CheckBoxDistance] \dorecurse{9}{ \item \recurselevel } \stopcheckbox } I have a few questions about this. In GetNiveauOfService 9 is used three times. I like DRY, so I was wondering if there would be a better way to do this? Next step would be that the number of checkboxes could be a parameter. The default would be nine and if given, the given value would be used. How would I do this? Then the 'normal' checkboxes. The default is one column. But I would like to have the possibility to use a parameter to for example make checkboxes in three columns. How would I do this? Lastly, in GetNiveauOfService there is text. How can I make this language dependent. For example in English I want: (1 = low, 9 = high) but in Dutch: (1 = weinig, 9 = veel) and properly it would be a good idea to have two optional parameters when you want other descriptions. How would I do this? -- Cecil Westerhof M cldwester...@gmail.com O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/ ___ 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] Minimals fail to install on SunOS x86
On Fri, Sep 17, 2010 at 04:09, Marco wrote: > Hi, > > I was trying to install the minimals on my SunOS remote server (to have access > to MkIV everywhere). > Is SunOS x86 not supported? On the luatex home page I see there are binaries > available. For Solaris Sparc we have nobody to compile the binaries at the moment. The person who asked us for adding Solaris x86 support is not using Solaris any more, in last month there was no single Solaris user downloading the minimals and after Oracle overtake, I have been seriously considering removing support for solaris. However, if there is demand for it, we can keep it. > But first-install.sh reports the following errors: > > remote-1 ~/bin/usr/share/context:>./first-setup.sh > receiving incremental file list > > sent 31 bytes received 126 bytes 104.67 bytes/sec > total size is 4834848 speedup is 30795.21 > ld.so.1: texlua: Schwerer Fehler: Verschiebungsfehler: Datei > /storage3_l0/home1/std11815/bin/usr/share/context/bin/texlua: Symbol asprintf: > referenziertes Symbol nicht gefunden > ./first-setup.sh: line 103: 6759 Killed (Abgebrochen) mtxrun --verbose > --script ./bin/mtx-update.lua --update --make --force --engine=all > --context=beta --platform=$platform --texroot=$PWD/tex $@ The question is: is these because there's LuaTeX beta-0.61.0 instead of the latest LuaTeX available or is it because my virtual machine (OpenSolaris whatever-version-has-been-available-two-months-ago) and your server "incompatible" in some sense? I suspect that it is the second. If you are willing to help us debug, I can try to send you unstripped binary. Mojca ___ 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] blackboard bold and calligraphic
BLACKBOARD There is a problem with the Blackboard symbols, when used in regular and bold forms both. In the Lucida fontset there is a regular series in lbma (or hlcra), and a bold series in font lbmad (or hlcda). As I understand from the current code, switching from regular to bold should be accompanied by a switch from Blackboard to something like BlackboardBold in the command \bbd (from the sources I guess \bbd in font-ini.tex is the most basic macro here). The problem is that \bbd is defined as: \def\bbd {\mathortext{\fam\purefamily {blackboard}}{\symbolicfont {Blackboard}}} Thus the font is hardcoded to regular Blackboard. I have no idea what should be the best strategy to repair this. As for now, the most general mechanism for switching to other/bold math fontfamilies I could find is using \bfmath (and friends). The font needed is in one of the math font registers, of course, so something like {\ma CNRZ} instead of {\bbd CNRZ} will do. But this low level code makes the TeX text source explicitely dependent on the font; for example in the AMS-series these characters are found in msmb, usually ending up in \ma. Is there some generic solution here? CALLIGRAPHIC There is a similar problem with $\cal ...$ It is defined as \def\cal {\mathortext{\fam\purefamily{calligraphic}}{\symbolicfont {Calligraphic}}} I definded font "Calligraphic" but here ConTeXt does not seem to use it in math mode. The calligraphic symbols appear to be taken from the sy (symbol) math family instead of the Calligraphic font. It is a problem, because in the font I am using the calligraphic letters are in another font. Typesetting ${\cal XYZ}\hbox{\cal XYZ}$ gives the wrong characters from the symbol font in the first case, the correct letters in the second. How can this be solved? yours sincerely, dr. H. van der Meer ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] How to switch between fonts?
Dear font experts! For some weeks I try very hard to generate minimal PDF documents using the PDF base 14 fonts. Now the following problem popped up: The Helvitica, Times, and Courier fonts have "8a" as their default encoding. Unfortunately, the 8a encoding is somewhat incomplete because it misses some characters (eg. the degree character). In TeX I use texnansi encoding because it offers most of the special characters that I need. If I use 8a encoding for the PDF document (in order to avoid reencoding) then the degree symbol is typeset by an embedded "txsy" font. The bad thing about this solution is that this degree character does not take care of \bf, \it, or \bi. Therefore the result is unsatisfactory. If I use texnansi encoding for the PDF document then the degree symbol is typeset nicely. The disadvantage of this option is that now the built-in fonts are always reencoding which make some additional 2kb for the PDF document. I would like to have the reeconded font to be used only if it is really necessary. Now I see two problems: 1. A particual problem in this situation Is it possible to define font synonymes locally (i.e. inside a group)? In that case I could map the virtual fonts that are base on 8a encoded raw fonts into virtual fonts that are based on texnansi reencoded raw fonts. I tried that but it seems that font synonymes are accepted only at the beginning. 2. A general problem Provided that I write a set of typescripts for defining a typeface similar to the postscript typefaces of ConTeXt but based on other (virtual) fonts: is it possible to switch between these two typefaces. The switch must respect the current font characteristics (i.e. \ss, \rm, \tt, \bf, \it, \bi, and size). Thanks for your attention, --Stefan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters
-- Original Message -- From "Hans Hagen" mailto:j.ha...@xs4all.nl>> To "Hamid,Idris" mailto:idris.ha...@colostate.edu>>; "mailing list for ConTeXt users" mailto:ntg-context@ntg.nl>> Date 9/21/2023 3:29:22 PM Subject Re: [NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters Many thanks, Hans. The method appears to work only for nbsp, not zwj etc. Here is the updated MWE: === \startTEXpage[offset=1em] \disabletrackers[typesetters.directions] \disabletrackers[typesetters.zwj] \disabletrackers[typesetters.zwnj] \disabletrackers[typesetters.nbsp] \definedfont[almfixed at 14pt] ZWJ: ZWNJ: NBSP: \stopTEXpage === See attached, please advise. joiners are part of replacement etc and can come and go ... they are characters (we could visualize them but one never knows for sure if one sees them) nbsp are spaces and become glue that we can trace reliable in the node list Many thanks. Ok, here is another MWE featuring a workaround using fallbacks: == \definefontfallback[nosymbols] [file:lmmono10-regular] [200C,200D] [force=yes] \starttypescript [serif] [alm] [name] \definefontsynonym [Serif] [ArabicLatinSerif] \stoptypescript \starttypescript [mono] [alm] [name] \definefontsynonym [Mono] [ArabicLatinMono] \stoptypescript \starttypescript [serif] [alm] \definefontsynonym [ArabicLatinSerif] [file:almfixed] % [fallbacks=nosymbols] \stoptypescript \starttypescript [mono] [alm] \definefontsynonym [ArabicLatinMono] [file:almfixed] [fallbacks=nosymbols] \stoptypescript \starttypescript [almfixed-nosymbols] \definetypeface [\typescriptone] [rm] [serif] [alm] [default] \definetypeface [\typescriptone] [tt] [mono] [alm] [default] \stoptypescript \usetypescript[almfixed-nosymbols] \setupbodyfont[almfixed-nosymbols,12pt] \startTEXpage[offset=1em] \rm ZWJ: ZWNJ: NBSP: \tt ZWJ: ZWNJ: NBSP: \stopTEXpage == Under \rm we get the symbols, and under \tt they are suppressed. Of course it doesn't matter what fallback font one uses, as long as it has no control-character symbols. 1. Can this approach be generalized to get what we want, viz., a way to toggle the symbols? 2. \enabletrackers[typesetters.nbsp] gives a colored box, which is at least something.. But how can we get the NBSP symbol that's alerady in the font? 3. Ideally: a. we want all Unicode control symbols to show up in verbatim or in \typebuffer (as in a text editor); b. we want all Unicode control symbols to be suppressed in final pdf output (for, e.g., printing). But some fonts meant for printing have symbols for Unicode control chars -- that poses a challenge. And some fonts meant for verbatim/editing do not have symbols for the control chars -- that also poses a challenge. AlmFixed, of course, has them. Most minimally decent Arabic fonts have symbols for the Unicode control chars as default, including Scheherazade, Amiri, Uthmanic, and Noto Naskh Arabic -- all free fonts. Industry workhorses like Linotype Lotus (Arabic) also have them. Uniscribe applications like Notepad/Word allow for toggling in a WYSIWYG context -- can't speak for HarfBuzz -- so there is no harm in having explicit symbols in the font. The upshot is that, for non-Latin scripts, some toggling capability in ConTeXt is important to have -- even inescapable for Arabic-script piblishing. Perhaps others who use Arabic-script or Indic, etc., can chime in.. Am hopeful that we can figure something out! Best wishes Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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 ___
Re: [NTG-context] getting metafun positions within (displayed) math mode
Wow. I learnt about Maxwell's Equation 48 years ago. I never understood it then nor on the intervening time despite sometimes helping design antennas. The picture and its annotation definitely helps creating clarity. For my twopenneth the effort is very worthwhile. Thanks --- Nigel King Mob: +44 7917 803879 Work:+44 1364 655516 > On 16 Nov 2017, at 21:10, Sanjoy Mahajan wrote: > > Dear ConTeXters, > > For my sins, and to make students unhappy all over the world, I am > writing another book: _A Student's Guide to Newton's Laws of Motion_ > (for Cambridge University Press, aka CUP). As partial compensation, I > convinced CUP that I may typeset it in ConTeXt and deliver them PDF. > > Being hopefully a guide actually useful to students, it will annotate > every symbol in important equations, a feature cribbed from the first > book of the _Student's Guide_ series, Dan Fleisch's _A Student's Guide > to Maxwell's Equations_. > > I've attached an image of what such an annotated equation looks like > (from page 2 of Fleisch's book). It's like a labeled part diagram (say, > for a laptop), where each part (here, each symbol) is connected with an > line to its explanation. > > I'm trying to do so with a combination of ConTeXt, MetaPost/MetaFun, > TikZ, and whatever else might work. But I am a bit stuck at the > following spot. > > My plan is to use MetaFun to get the coordinates of each symbol in a > (displayed) equation and then, with MetaFun, connect those symbols to > mini-paragraphs of explanation that surround the equation. > > But I am stuck on how to use \hpos in math mode. I'd like to do > something like: > > \startformula > \hpos{n1}{\sum}_{\hpos{n2}{0}}^{\hpos{n3}{1}} > \stopformula > > to get the locations of the nodes n1, n2, and n3 without interfering > with the math typesetting -- e.g., the engine should still know that > \sum is in display-math mode, so it should be large and have its sub- > and super-scripts below and above it, rather than next to it. > > However, the \hpos hides its argument in an \hbox, and thus hides it > from the math layout. Thus, I have to do something like this minimal > example: > > \starttext > \startformula > \sum_0^1 % what it should look like > \quad > \hpos{n1}{$\displaystyle\sum$}_{\hpos{n2}{$0$}}^{\hpos{n3}{$1$}} > \stopformula > \stoptext > > The hpos'ed version after the \quad looks different, even after the > \displaystyle hack. > > Is there a version of \hpos for math mode? That would be the cleanest > solution, because who knows what else would be needed for other cases, > even if the limits can be placed correctly. > > Or is there a better way to annotate equations? > > (TikZ seems to have the same issue, in that it cannot see into equations.) > > Regards, > -- > -Sanjoy > > <http://savelongwharfpark.org/> > Save Long Wharf Park in Boston Harbor! > > <http://streetfightingmath.com/> > Six reasoning tools to make hard problems easy. > > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] RSFS Font
Hi Troy, Did you try the following: file rsfs-mkiv.tex % first comes the patch sent by Hans: \unprotect \chardef\msfam\plustwo % math symbol \def\c!ms{ms} \unexpanded\def\ms{\ifmmode\fam\plustwo\else\setcurrentfontalternative\c!ms\fi} \chardef\symbolmathmode\zerocount \def\enablesymbolmath {\chardef\symbolmathmode\plusone } \def\disablesymbolmath{\chardef\symbolmathmode\zerocount} \appendtoks \ifcase\symbolmathmode\or\dosetmathfamily\msfam\c!ms\fi \to \mathstrategies \enablesymbolmath \protect % end of patch \starttypescript [math] [modern,computer-modern,latin-modern] \definefontsynonym[mathsymbol][mathsymbol-regu...@symbol-math] \loadfontgoodies[symbol-math] \stoptypescript \starttypescript [math] [modern,computer-modern,latin-modern] [size] % extras on top of regular and bold \definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt,10pt, 11pt,12pt,14.4pt,17.3pt,20.7pt] [mm] % [ms=MathSymbol sa 1] % I commented out this [ms=rsfs10 sa 1] % I replaced the above line by this \stoptypescript \usetypescript[modern] \setupbodyfont[modern,10pt] \def\scr {\ms} \def\script#1{{\scr#1}} \enableboldmath \enablesymbolmath \setupbodyfont[10pt] \starttext Recall that since ${\scr D}({\Bbb R}^n)\subset {\scr S}({\Bbb R}^n)$, and is dense, then we have \startformula {\scr S}'({\Bbb R}^n)\subset {\scr D}'({\Bbb R}^n) \stopformula This file has been typeset on \currentdate{} at \currenttime, with \doifmodeelse{mkiv} {mkiv, LuaTeX version \the\luatexversion, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp), } {mkii, } ConTeXt version \contextversion. \stoptext On my machine the rsfs font is shown under mkiv, but there a few issues with spacing of some characters as you may see in the resulting PDF. Hans gave a mission to Aditya, Mojca (and very remotely to me, given my more than limited skills…) to track down some of th eissues with math in mkiv. Aditya is right now travelling, so without an easy access the internet, beside being busy with his thesis. I am sure he will return soon and we will have some insights frm him and Hans. Best regards: OK On 14 avr. 2010, at 14:08, Troy Henderson wrote: > Hans, > > I updated my ConTeXt (by rerunning first-setup.sh and remaking the > format files), but I get the following error when compiling your code. > > Troy > > LuaTeX warning: lua-loaded font [72] (MathSymbol-Regular) has no characters! > ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/font-def.lua:539: > attempt to index field 'parameters' (a nil value) > stack traceback: > ...mals/tex/texmf-context/tex/context/base/font-def.lua:539: in > function 'register' > ...mals/tex/texmf-context/tex/context/base/font-ctx.lua:386: in > function 'command_2' > :1: in main chunk. > \lowleveldefinefont ...lax , "\relativefontid " )} > \edef \somefontspec {at \s... > \xxdododefinefont ...efont {#4}\newfontidentifier > \fi \csname \newfontidenti... > \dodosetmathfamily ...\currentmathsize \endcsname > \else \ifcsname \fontclass... > \dosetmathfamily ...athfamily \scriptscriptfont #1 > \let \currentmathsize \!!p... > ... \dosetmathfamily \msfam \c!ms > \fi > \synchronizemath ...athfonts \the \mathstrategies > \fi > ... > l.39 ...script[modern] \setupbodyfont[modern,10pt] > > ? > ___ > 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 > ___ ___ 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 ___