[NTG-context] please fix command reference links on contextgarden
it does *still* not work. the fuction is defined as such: function show_command(URL) { open_window().location.href='http://texshow.contextgarden.net/cmd/' + URL; } and thus redirects to some url under http://texshow.contextgarden.net/. but no matter what that url is, the subdomain always redirects to the url http://wiki.contextgarden.net/Category:Reference/en (no, not http://wiki.contextgarden.net/Category:Reference/en/TheCommandName!) please fix it, whoeveer runs texshow.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 ___
Re: [NTG-context] please fix command reference links on contextgarden
On Mon, Aug 22, 2011 at 21:14, Philipp A. wrote: it does still not work. the fuction is defined as such: function show_command(URL) { open_window().location.href='http://texshow.contextgarden.net/cmd/' + URL; } and thus redirects to some url under http://texshow.contextgarden.net/. but no matter what that url is, the subdomain always redirects to the url http://wiki.contextgarden.net/Category:Reference/en (no, not http://wiki.contextgarden.net/Category:Reference/en/TheCommandName!) please fix it, whoeveer runs texshow.contextgarden.net Can you please provide more details - how can we reproduce the problem and where is that function? Thank you, Mojca (texshow used to be a separate application; it is now part of wiki) ___ 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] please fix command reference links on contextgarden
Can you please provide more details of course how can we reproduce the problem go to e.g. http://wiki.contextgarden.net/Quotes and click on a command link, e.g. *single quotes* \quote{some text} in the wiki, the fake link on \quote is a real one, calling javascript:show_command('quote') on click. and where is that function? the function can be found in http://wiki.contextgarden.net/index.php?title=-action=rawsmaxage=0gen=jsuseskin=monobook270, which is loaded in the head of each contextgarden wiki page. and as said, the problem is that - either the function should open the right url in the first place - or texshow should redirect properly @texshow: the resonse header contains the following lines: HTTP/1.1 302 Found Server: Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 PHP/5.2.6-2ubuntu4.6 with Suhosin-Patch Phusion_Passenger/2.2.4 Location: http://wiki.contextgarden.net/Category:Reference/en so the apache webapp is misconfigured. Thank you, Mojca thank you for listening :D (texshow used to be a separate application; it is now part of wiki) i kinda figured that ;) ___ 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] please fix command reference links on contextgarden
On Mon, Aug 22, 2011 at 21:53, Philipp A. wrote: and where is that function? the function can be found in http://wiki.contextgarden.net/index.php?title=-action=rawsmaxage=0gen=jsuseskin=monobook270, which is loaded in the head of each contextgarden wiki page. Thank you. It was a very nasty one to find, it is located here: http://wiki.contextgarden.net/MediaWiki:Monobook.js I fixed the link now, but we probably need to remove javascript alltogether and just create a normal link. 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] please fix command reference links on contextgarden
2011/8/22 Mojca Miklavec mojca.miklavec.li...@gmail.com Thank you. It was a very nasty one to find, it is located here: http://wiki.contextgarden.net/MediaWiki:Monobook.js I fixed the link now, but we probably need to remove javascript alltogether and just create a normal link. Mojca 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Please fix this
I'm impressed if any math works at all in experimental. Hans and Taco have just switched to OpenType math and the current state looks like a nightmare to me. (You can take a look at char-def.lua, math-vfu.lua and some other files. It all needs to be improved and fixed.) Yes, the math in experimental is not working. see the attachment. However, I have a document which uses - Myriad Pro - a lot of math but I can use neither beta (failed to parse Myriad Pro) nor experimental (cannot typeset math) I use the nightly build version of LuaTeX provided by w32tex. Yue Wang untitled-1.pdf Description: Adobe PDF document untitled-1.tex Description: TeX 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Please fix this
Yue Wang wrote: I'm impressed if any math works at all in experimental. Hans and Taco have just switched to OpenType math and the current state looks like a nightmare to me. (You can take a look at char-def.lua, math-vfu.lua and some other files. It all needs to be improved and fixed.) Yes, the math in experimental is not working. see the attachment. However, I have a document which uses - Myriad Pro - a lot of math but I can use neither beta (failed to parse Myriad Pro) nor experimental (cannot typeset math) I use the nightly build version of LuaTeX provided by w32tex. there will be an update later today - 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 ___
[NTG-context] Please fix this
Hi, Myriad Pro is not working in recent version of ConTeXt (the same source works well in last release). Here is the code: \starttypescript[all][myfont][name] \definefontsynonym[Myriad][MyriadPro-Regular] \definefontsynonym[MyriadBold][MyriadPro-Bold] \definefontsynonym[MyriadItalic][MyriadPro-It] \definefontsynonym[MyriadBoldItalic][MyriadPro-BoldIt] \stoptypescript \starttypescript[sans][myfont][name] \definefontsynonym[Sans][Myriad] \definefontsynonym[SansBold][MyriadBold] \definefontsynonym[SansItalic][MyriadItalic] \definefontsynonym[SansBoldItalic][MyriadBoldItalic] \definefontsynonym[SansSlanted][MyriadItalic] \definefontsynonym[SansBoldSlanted][MyriadBoldItalic] \definefontsynonym[SansCaps][Myriad] \stoptypescript \definetypeface [myfont] [ss] [sans] [myfont] [default] \usetypescript[myfont] \setupbodyfont[myfont,ss, 12pt] \starttext \input zapf \stoptext Here is the log: This is luaTeX, Version snapshot-0.31.3-2008122922 (a1.tex ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.1.30 int: english/english system : cont-new loaded (D:/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (D:/context/tex/texmf-context/tex/context/base/cont-new.mkiv) (D:/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (D:/context/tex/texmf-context/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys.rme loaded (D:/context/tex/texmf-context/tex/context/user/cont-sys.rme (D:/context/tex/texmf-context/tex/context/base/type-tmf.tex) (D:/context/tex/texmf-context/tex/context/base/type-siz.tex) (D:/context/tex/texmf-context/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is loaded specials : pdftex loaded language : language en is active system : a1.top loaded (a1.top) load otf | loading: D:/context/tex/texmf-fonts/fonts/opentype/Myriad Pro/MyriadPro-Regular.otf load otf | warning: The following table(s) in the font have been ignored by FontForge load otf | warning: Ignoring 'DSIG' digital signature table load otf | warning: Warning: Mac and Windows entries in the 'name' table differ for the Fullname string in the language English (US) Mac String: Myriad Pro Windows String: MyriadPro-Regular load otf | warning: The glyph named mu is mapped to U+00B5. But its name indicates it should be mapped to U+03BC. load otf | enhance: patch bugs load otf | enhance: merge cid fonts load otf | enhance: prepare unicode load otf | 11 glyph are reused: space hyphen Tcommaaccent tcommaaccent macron Omega fraction periodcentered Delta Scedilla scedilla load otf | enhance: cleanup ttf tables load otf | enhance: compact glyphs load otf | enhance: reverse coverage load otf | enhance: enrich with features load otf | enhance: registering tlig feature load otf | enhance: registering trep feature load otf | enhance: reorganize kerns load otf | replacing 'kerns' tables by 'mykerns' tables load otf | removing global 'kern' table load otf | adding kernclass pp_l_1_k_1 with 72 times 62 pairs ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:828: attempt to index local 'glyph' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/font-otf.lua:828: in function 'enhancer' ...text/tex/texmf-context/tex/context/base/font-otf.lua:300: in function 'enhance' ...text/tex/texmf-context/tex/context/base/font-otf.lua:350: in function 'load' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1113: in function 'otf_to_tfm' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1252: in function 'read_from_open_type' ...text/tex/texmf-context/tex/context/base/font-def.lua:352: in function ...text/tex/texmf-context/tex/context/base/font-def.lua:334 (tail call): ? ...text/tex/texmf-context/tex/context/base/font-def.lua:279: in function 'read' ...text/tex/texmf-context/tex/context/base/font-def.lua:661: in function 'read' ...text/tex/texmf-context/tex/context/base/font-def.lua:767: in function 'command_2' main ctx instance:1: in main chunk. \lowleveldefinefont ...s , \@@fontfallbacks )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi inserted text ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... argument \getvalue {...@style@ \fontstyle }
Re: [NTG-context] Please fix this
sorry for the noise, after switching to experimental, the problem is solved. On Fri, Jan 30, 2009 at 11:30 AM, Yue Wang yuleo...@gmail.com wrote: Hi, Myriad Pro is not working in recent version of ConTeXt (the same source works well in last release). Here is the code: \starttypescript[all][myfont][name] \definefontsynonym[Myriad][MyriadPro-Regular] \definefontsynonym[MyriadBold][MyriadPro-Bold] \definefontsynonym[MyriadItalic][MyriadPro-It] \definefontsynonym[MyriadBoldItalic][MyriadPro-BoldIt] \stoptypescript \starttypescript[sans][myfont][name] \definefontsynonym[Sans][Myriad] \definefontsynonym[SansBold][MyriadBold] \definefontsynonym[SansItalic][MyriadItalic] \definefontsynonym[SansBoldItalic][MyriadBoldItalic] \definefontsynonym[SansSlanted][MyriadItalic] \definefontsynonym[SansBoldSlanted][MyriadBoldItalic] \definefontsynonym[SansCaps][Myriad] \stoptypescript \definetypeface [myfont] [ss] [sans] [myfont] [default] \usetypescript[myfont] \setupbodyfont[myfont,ss, 12pt] \starttext \input zapf \stoptext Here is the log: This is luaTeX, Version snapshot-0.31.3-2008122922 (a1.tex ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.1.30 int: english/english system : cont-new loaded (D:/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (D:/context/tex/texmf-context/tex/context/base/cont-new.mkiv) (D:/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (D:/context/tex/texmf-context/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys.rme loaded (D:/context/tex/texmf-context/tex/context/user/cont-sys.rme (D:/context/tex/texmf-context/tex/context/base/type-tmf.tex) (D:/context/tex/texmf-context/tex/context/base/type-siz.tex) (D:/context/tex/texmf-context/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is loaded specials : pdftex loaded language : language en is active system : a1.top loaded (a1.top) load otf | loading: D:/context/tex/texmf-fonts/fonts/opentype/Myriad Pro/MyriadPro-Regular.otf load otf | warning: The following table(s) in the font have been ignored by FontForge load otf | warning: Ignoring 'DSIG' digital signature table load otf | warning: Warning: Mac and Windows entries in the 'name' table differ for the Fullname string in the language English (US) Mac String: Myriad Pro Windows String: MyriadPro-Regular load otf | warning: The glyph named mu is mapped to U+00B5. But its name indicates it should be mapped to U+03BC. load otf | enhance: patch bugs load otf | enhance: merge cid fonts load otf | enhance: prepare unicode load otf | 11 glyph are reused: space hyphen Tcommaaccent tcommaaccent macron Omega fraction periodcentered Delta Scedilla scedilla load otf | enhance: cleanup ttf tables load otf | enhance: compact glyphs load otf | enhance: reverse coverage load otf | enhance: enrich with features load otf | enhance: registering tlig feature load otf | enhance: registering trep feature load otf | enhance: reorganize kerns load otf | replacing 'kerns' tables by 'mykerns' tables load otf | removing global 'kern' table load otf | adding kernclass pp_l_1_k_1 with 72 times 62 pairs ! LuaTeX error ...text/tex/texmf-context/tex/context/base/font-otf.lua:828: attempt to index local 'glyph' (a nil value) stack traceback: ...text/tex/texmf-context/tex/context/base/font-otf.lua:828: in function 'enhancer' ...text/tex/texmf-context/tex/context/base/font-otf.lua:300: in function 'enhance' ...text/tex/texmf-context/tex/context/base/font-otf.lua:350: in function 'load' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1113: in function 'otf_to_tfm' ...text/tex/texmf-context/tex/context/base/font-otf.lua:1252: in function 'read_from_open_type' ...text/tex/texmf-context/tex/context/base/font-def.lua:352: in function ...text/tex/texmf-context/tex/context/base/font-def.lua:334 (tail call): ? ...text/tex/texmf-context/tex/context/base/font-def.lua:279: in function 'read' ...text/tex/texmf-context/tex/context/base/font-def.lua:661: in function 'read' ...text/tex/texmf-context/tex/context/base/font-def.lua:767: in function 'command_2' main ctx instance:1: in main chunk. \lowleveldefinefont ...s , \@@fontfallbacks )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi inserted text ...yle \fontalternative \fontsize \fi \iftryingfont
Re: [NTG-context] Please fix this
Hi, Hans On Fri, Jan 30, 2009 at 11:53 AM, Yue Wang yuleo...@gmail.com wrote: sorry for the noise, after switching to experimental, the problem is solved. by the way, this used to be working in MKIV: \definefontfeature[zh][mode=node, script=hang, lang=zhs] \definefontsynonym[zhserif][AdobeSongStd-Light][features=zh] \definefont[ChineseFont][zhserif at 12pt] however, in experimental version, it will report zhserif not found. So I can only write something like: \definefont[ChineseFont][AdobeSongStd-Light*zh at 12pt] Bug or feature? btw, I can use setfontfeature, how can I unset a font feature? Also, Another experimental bug to report, the following source won't compile on experimental: \usetypescript[palatino] \setupbodyfont[palatino,rm,10pt] \usemodule[units,pictex,chemic] \starttext \chemical{SO_2} \stoptext It reports: This is luaTeX, Version snapshot-0.33.0-2009012823 (untitled-2.tex ConTeXt ver: 2009.01.29 22:33 MKIV fmt: 2009.1.30 int: english/english system : cont-new loaded (D:/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (D:/context/tex/texmf-context/tex/context/base/cont-new.mkiv) (D:/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (D:/context/tex/texmf-context/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys.rme loaded (D:/context/tex/texmf-context/tex/context/user/cont-sys.rme (D:/context/tex/texmf-context/tex/context/base/type-tmf.tex) (D:/context/tex/texmf-context/tex/context/base/type-siz.tex) (D:/context/tex/texmf-context/tex/context/base/type-otf.tex)) bodyfont : 12pt is loaded bodyfont : style is not defined specials : pdftex loaded language : language en is active system : untitled-2.top loaded (untitled-2.top) bodyfont : style mm (mm) defined system : module units loaded (D:/context/tex/texmf-context/tex/context/base/m-units.tex check : unit Angstrom replaces a macro, use CAPITALS! ) system : module pictex loaded (D:/context/tex/texmf-context/tex/context/base/m-pictex.tex (D:/context/tex/texmf-context/tex/context/base/thrd-pic.tex)) system : module chemic loaded (D:/context/tex/texmf-context/tex/context/base/m-chemic.tex system : module pictex (line 21) already loaded (D:/context/tex/texmf-context/tex/context/base/ppchtex.tex ppchtex: using PiCTeX and MetaPost )) systems: begin file untitled-2 at line 6 ! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters. to be read again \relax \dosetsubscript ... #1\string #2}{\the #1#2\relax }#1#2=\dimen 0\relax \dodosetsubscript ...bscript {#1}{\textfont 2}{#2} \dosetsubscript {#1}{\scri... \setsubscripts ...setsubscript \mathsubnormal {.7} \dodosetsubscript \mathsub... argument \dosetsubscripts $\@@dochemicalstyle {\@@localchemicalstyle \stru... \chemicalinnerclip #1-{\setbox 0=\hbox {#1 }\ht 0\ht \strutbox \dp 0\dp \str... ... l.7 \chemical{SO_2} ? Yue Wang ___ 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 ___