[NTG-context] Status
Hi, I anyone got any status on the port? ___ 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] listings.sty
Peter Münster pmlists at free.fr writes: Hello, I suggested to the author of the very feature rich LaTeX-Listings package, Carsten Heinz, to port this package to ConTeXt, and it seems, that he is interested. But before doing it, there are some questions: * What do Hans and other people thing about that? * listings.sty uses keyval.sty, how is the proper ConTeXt-way to do the same things as keyval, or should listings stay with keyval? Greetings, Peter Hi, I anyone got any status on the port? Here's the link for the package; http://www.ctan.org/tex-archive/macros/latex/contrib/listings/. ___ 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] Using free Lucida, MinionPro and MyriadPro
abbg770 at city.ac.uk writes: Hi, Anyone tried using the MinionPro or MyriadPro thats ships with Adobe Reader 8? $ tree /opt/jdk1.6.0_06/jre/lib/fonts/ /opt/jdk1.6.0_06/jre/lib/fonts/ |-- LucidaBrightDemiBold.ttf |-- LucidaBrightDemiItalic.ttf |-- LucidaBrightItalic.ttf |-- LucidaBrightRegular.ttf |-- LucidaSansDemiBold.ttf |-- LucidaSansRegular.ttf |-- LucidaTypewriterBold.ttf |-- LucidaTypewriterRegular.ttf `-- fonts.dir $ tree /opt/jdk1.6.0_06/jre/lib/oblique-fonts/ /opt/jdk1.6.0_06/jre/lib/oblique-fonts/ |-- LucidaSansDemiOblique.ttf |-- LucidaSansOblique.ttf |-- LucidaTypewriterBoldOblique.ttf |-- LucidaTypewriterOblique.ttf `-- fonts.dir 0 directories, 5 files Assuming I've got \loadmapfile[texnansi-bandh-lucida.map] \definefontsynonym[LucidaBright-Demi] [texnansi-LucidaBrightDemiBold][encoding=texnansi] \definefontsynonym[LucidaBright-DemiItalic] [texnansi-LucidaBrightDemiItalic][encoding=texnansi] \definefontsynonym[LucidaBright-Italic] [texnansi-LucidaBrightItalic][encoding=texnansi] \definefontsynonym[LucidaBright] [texnansi-LucidaBrightRegular][encoding=texnansi] \definefontsynonym[LucidaSans-Demi] [texnansi-LucidaSansDemiBold][encoding=texnansi] \definefontsynonym[LucidaSans-DemiOblique] [texnansi-LucidaSansDemiOblique][encoding=texnansi] \definefontsynonym[LucidaSans-Oblique] [texnansi-LucidaSansOblique][encoding=texnansi] \definefontsynonym[LucidaSans] [texnansi-LucidaSansRegular][encoding=texnansi] \definefontsynonym[LucidaSans-TypewriterBold] [texnansi-LucidaTypewriterBold][encoding=texnansi] \definefontsynonym[LucidaSans-TypewriterBoldOblique] [texnansi-LucidaTypewriterBoldOblique][encoding=texnansi] \definefontsynonym[LucidaSans-TypewriterOblique] [texnansi-LucidaTypewriterOblique][encoding=texnansi] \definefontsynonym[LucidaSans-Typewriter] [texnansi-LucidaTypewriterRegular][encoding=texnansi] How would the typscript file be defined? 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] listings.sty
nico nicolas.marsgui at libertysurf.fr writes: I don't see the point. The native ConTeXt verbatim support seems to cover all what listings can do. The wiki page gives some examples: http://wiki.contextgarden.net/Verbatim_text Regards, BG Hi, take a look at http://vega.soi.city.ac.uk/~abbg770/listing-sample.pdf, note you can customize the style of the font numbering, you can place a caption and my favourite is the colouring; if you use Eclipse you'll notice that it's the same colour the editor uses. ___ 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] listings.sty
Hans Hagen pragma at wxs.nl writes: there will be a new pretty print mechanism which provided more control in mkiv Hans Hi Hans, Will it support more or less the same features? ___ 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] Vista fonts
Wolfgang Schuster schuster.wolfgang at googlemail.com writes: What's your ConTeXt and LuaTeX versions. Have your tried mtxrun --script fonts--reload - http://wiki.contextgarden.net/Running_Mark_IV#Font_name_database Regards, Wolfgang Hi, Are you going to update your archive? ___ 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] Vista fonts
Wolfgang Schuster schuster.wolfgang at googlemail.com writes: Use the attached version. Regards, Wolfgang Fantastic, everything but Candara is working. Btw have you managed to install anyone of the new C fonts (constantia, consola etc) with TeXFont? usage; \usetypescriptfile[type-vista] \definetypeface [constantia] [rm] [serif] [constantia] [default] \definetypeface [constantia] [ss] [sans] [candara] [default] \setupbodyfont [constantia,11pt] and the error; error define font: font with name CANDARA is not found error define font: unknown font CANDARA, loading aborted ! Font \*constantia11ptsstfss*:=file:CANDARA*latin-default at 11pt not loadable: metric data not found or bad. to be read again \relax \xxdododefinefont ...tspec {#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 \... \next #1#2#3-#1#2 \tf #3#2\sc #3#2\sl #3#2\it #3#2\bf #3#2\bs ... ... l.21 ? ___ 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] Warnock Pro, Chaparral Pro, Jenson Pro and Myriad Pro
thanks Idris Idris Samawi Hamid ادريس سماوي حامد ishamid at colostate.edu writes: Are you using mkii or mkiv? I have Minion Pro and Myriad Pro for mkii... I'm using the minimals from the site, so I guess I'm using mkiv. Typescripts for mkii, mkiv or XeTeX would be great. For mkii, see the guide that I've written on this, as well as those written by others: Do you happen to have an updated copy which explains how to the install the OpenType version? Mohamed ___ 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] Warnock Pro, Chaparral Pro, Jenson Pro and Myriad Pro
Idris Samawi Hamid ادريس سماوي حامد ishamid at colostate.edu writes: I have not ported my minion/myriad setup to mkiv but when I do I'll try to post an addendum... Best wishes Idris I'll await for your port :) ___ 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] Warnock Pro, Chaparral Pro, Jenson Pro and Myriad Pro
Idris Samawi Hamid ادريس سماوي حامد ishamid at colostate.edu writes: I have not ported my minion/myriad setup to mkiv but when I do I'll try to post an addendum... Best wishes Idris If anyone else has typescripts for the other fonts (with/without the opticals) feel free to post them. 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] release
Hans Hagen pragma at wxs.nl writes: Hi, We have a new release (unless severe problems show up, this release will stay for a while). If possible, the next release (oktober) will have an alternative vertical spacing (mkiv only) and a reimplmented sectioning/list/numbering mechanism (mkiv only). There are also new zips of mininmals and cdwincontext. These now match the minimals on the garden. Of course you're strongly advised to use the garden. Of course there will be the usual lot of betas. Hans Hi, How do I update the minimals on a Linux box? (If this is of any use) I've installed it in ~/context-installation-directory $ ls bin first.textex first-setup.sh status-of-update.lua Mohamed ___ 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] release
Taco Hoekwater taco at elvenkind.com writes: From the wiki page: == Updating == For now, the main recipe to update is to run first-setup again Best wishes, Taco Hi, Can I update to mkiv from TexLive 2008? Mohamed ___ 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] Lastest Build on TeXlive 2008 and MikTeX 2.7
abbg770 at city.ac.uk writes: Hi, How would I install that latest version of ConTeXt (the lua version) on *both* of the distributions mentioned. I occassionaly need to use LaTeX (especially on Windows), so I need MikTeX/Texlive running. I ought to mention that running texexec within cygwin results with the following error. Would installing ruby fix things? $ texexec.exe C:/PROGRA~2/MIKTEX~1.7/scripts/context/ruby/texexec.rb:7:in `require': no such f ile to load -- base/switch (LoadError) from C:/PROGRA~2/MIKTEX~1.7/scripts/context/ruby/texexec.rb:7 [EMAIL PROTECTED] ~ $ ___ 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] Lastest Build on TeXlive 2008 and MikTeX 2.7
Mojca Miklavec mojca.miklavec.lists at gmail.com writes: With MikTeX you cannot use LuaTeX (not to say that currently with MikTeX you cannot use ConTeXt at all :), but I often had MikTeX + ConTeXt minimals installed, and if I needed, I executed setuptex when I needed the minimals. I would suggest you to install TeX Live 2008, and you'll get both LaTeX and LuaTeX working, also on Windows. You can always have a copy of minimals just to be sure that latest features are working, and enable them only when needed. Mojca Thanks What if I install TeX Live 2008 and extract the following to a local tree? context/current/cont-tmf.zip 2008-08-05 18:50 context/current/cont-img.zip 2008-08-05 18:50 context/current/cont-fnt.zip 2008-08-05 18:50 context/current/cont-ext.zip 2008-08-05 18:50 context/current/cont-ppc.zip 2008-08-05 18:50 context/current/cont-mpd.zip 2008-08-05 18:50 Mohamed ___ 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] Delicious - I'm still confused
Hans Hagen pragma at wxs.nl writes: did you do mtxrun --scritp font --reload? Hi, Is this still true? In the latest beta (July 2008) versions of Mark IV this is no longer the case. In these new versions, the reload command is run automatically whenever a named font cannot be found. http://wiki.contextgarden.net/Running_Mark_IV ___ 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] ConTeXt Package for Notepad++ v. 5.0.3
Idris Samawi Hamid ادريس سماوي حامد ishamid at colostate.edu writes: Dear gang, I have uploaded the latest version of the ConTeXt support package for Notepad++. http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip It has been updated to 5.0.3, the latest stable version. The main difference in the package is the new autocompletion file format. See context.xml. I have also included the Explorer plugin and the latest NppExec plugin (2.4) -- the NppExec that comes with 5.0.3 is just slightly out of date (2.4 RC1). Enjoy! Best wishes Idris Idris, thanks alot! Also what OS do you happen to be using? On my Vista 64bit box I had trouble running the default Process ConTeXt file (pdf) command, the document compiles fine but fails on opening adobe reader; TeXExec | runtime: 3.646 Process finished. acrobat.bat pdfopen --file C:\context\test.pdf CreateProcess() failed READY Change; acrobat.bat pdfopen --file $(CURRENT_DIRECTORY)\$(NAME_PART).pdf pdfclose --file $(CURRENT_DIRECTORY)\$(NAME_PART).pdf texmfstart texexec $(NAME_PART).tex acrobat.bat pdfopen --file $(CURRENT_DIRECTORY)\$(NAME_PART).pdf To; cd $(CURRENT_DIRECTORY) acrobat.bat pdfopen --file $(CURRENT_DIRECTORY)\$(NAME_PART).pdf pdfclose --file $(CURRENT_DIRECTORY)\$(NAME_PART).pdf texmfstart texexec $(NAME_PART).tex acrobat.bat pdfopen --file $(CURRENT_DIRECTORY)\$(NAME_PART).pdf Now Adobe should open, depsite the error message; acrobat.bat CreateProcess() failed pdfopen --file C:\context\test.pdf Process started Process finished. READY If anyone knows how to assign to shortcuts to the NppExec scripts, please, do post them. ___ 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] ConTeXt Package for Notepad++ v. 5.0.3
Alan Stone software.list.1es9s at gmail.com writes: Hi Idris, (1) FYI, Application Data.zip also contains a 'Program Files' folder which has the same contents as 'Program Files.zip' From readme.txt : (2) 9. Copy the directory Program Files\Notepad++ to Program Files Shouldn't it be copy the *contents* of these (sub)directories to their corresponding C:\Program Files\Notepad++ (sub)directories ? (3) 10. Copy the directory Application Data\Notepad++ to Application Data. To Windows XP's C:\Documents and Settings\(username)\Application Data or C:\Documents and Settings\All Users\Application Data ? Best, Alan 2) drag Notepad++ to Program Files, it'll prompt you to merge/override the files, select yes. The same applies for the rest of the top level folders. 3) typing %APPDATA% into the explorer or run command takes you to the folder you're looking for. Maybe someone should make a screencast :) ___ 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] Reorganization of the main page
Aditya Mahajan adityam at umich.edu writes: http://wiki.contextgarden.net/Main_Page_New If everyone agrees with the new design, I will replace the current main page. Aditya Hi, I like it. ___ 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] mswintex.zip versus mswincontext.zip
Vyatcheslav Yatskovsky yatskovsky at gmail.com writes: Hello,Don't know whether it is already answered or not, but if you have to run scite.bat from mswincontext folder, not first-setup.bat. It should work out of the box. First of all, build format files (Oprtions or Tools menu, don't remember exactly), and then press F7 each time you compile a document.Regards,Vyatcheslav Yatskovsky I think making a screencast would save new users ALOT of time. The following might be useful; a) http://www.screencast.com/ b) http://debugmode.com/wink/ Mohamed ___ 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] Strange font issue with LuaTeX on Linux
Hans Hagen pragma at wxs.nl writes: abbg770 at city.ac.uk wrote: Font \*adobe12ptrmtfrm*:=name:Envy Code R*default at 12pt not loadable: just ... name:envycoder just use chars and digits Sorry I didn't quiet understand that. Given this; $ mtxrun --script fonts --list --pattern=warnock warnockpro-bold WarnockPro-Bold WarnockPro-Bold.otf ... which of the following are correct; 1. \definefontsynonym [WarnockPro-Regular] [name:warnockpro-bold] 2. \definefontsynonym [WarnockPro-Regular] [name:WarnockPro-Bold] 3. \definefontsynonym [WarnockPro-Regular] [file:WarnockPro-Bold.otf] 4. \definefontsynonym [WarnockPro-Regular] [file:WarnockPro-Bold] also, do you use the latest mtxrun, mtx-fonts and context? the first entry in the list should show the stripped name I'm using cont-tmf.zip uploaded on 2008-08-05 18:50 (http://www.pragma-ade.nl/download-1.htm) extracted to ~/texmf. I need this because I use TeXLive 2007. internally we strip names anyway but spaces are always kind of special in tex; Hans Hans, why does it compile fine when I copy the fonts over to the working directory? There must be something wrong with the OSFONTDIR variable. BTW, I think you should switch over to linux and make life easier for us :) ___ 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] Strange font issue with LuaTeX on Linux
Hans Hagen pragma at wxs.nl writes: also, do you use the latest mtxrun, mtx-fonts and context? the first entry in the list should show the stripped name I forgot to ask, how do I update with my current setup? That is I'm running ConTeXt locally in my $HOME/texmf tree. ___ 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] Strange font issue with LuaTeX on Linux
Hans Hagen pragma at wxs.nl writes: Mohamed Bana wrote: Sorry I didn't quiet understand that. Given this; $ mtxrun --script fonts --list --pattern=warnock warnockpro-bold WarnockPro-Bold WarnockPro-Bold.otf looks like an old version, should be warnockprobold WarnockPro-Bold fullpathifsystemfont/WarnockPro-Bold.otf which of the following are correct; 1. \definefontsynonym [WarnockPro-Regular] [name:warnockpro-bold] best use name:warnockprobold although context will strip the - anyway Thanks, I can confirm that both \definefontsynonym [WarnockPro-Regular][name:warnockproregular] and \definefontsynonym [WarnockPro-Regular][name:WarnockPro-Regular] on my vista box, which is running a pretty update to ConTeXt install, it's actually the mswincontext.zip. And the output is as Hans described. can you try the beta? something was fixed The lastest LuaTeX or ConTeXt? Because if it's the ConTeXt beta then where's the link, I generally just download the cont-tmf.zip from http://www.pragma-ade.nl/download-1.htm, and the current one is dated at; 2008-08-05. Or even better, how do I update a local ConTeXt install in $HOME/texmf ___ 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] Euler in mkiv
Hi, Ditto. Are there any instructions for setting this up for the minimals or texlive 2008? ___ 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] Texlive 2008 on Windows (Vista)
http://wiki.contextgarden.net/Running_Mark_IV; says I have to reinstall texlive 2008 if it has been installed in a path containing spaces such; C:\Program Files (x86)\texlive\2008 Which also happens to be the default install location. Is there a workaround? And I think adding a section to http://wiki.contextgarden.net/Running_Mark_IV will be really helpful. Without setting texmfcnf.lua; luatools --generate LuaTools | error unable to locate texmfcnf.lua LuaTools | loading C:/Program Files (x86)/texlive/2008/texmf/web2c/texmf.cnf LuaTools | preparing configuration for Users/Muhammad/luatex- cache/context/fb92c 50d1378a478b637ea06fcfe8d2c/trees/714a74f50e87ccfa0d5aba82bdf8cf21.tma LuaTools | saving configuration in Users/Muhammad/luatex- cache/context/fb92c50d1 378a478b637ea06fcfe8d2c/trees/714a74f50e87ccfa0d5aba82bdf8cf21.tma LuaTools | compiling configuration to Users/Muhammad/luatex- cache/context/fb92c5 0d1378a478b637ea06fcfe8d2c/trees/714a74f50e87ccfa0d5aba82bdf8cf21.tmc LuaTools | locating list of /.texlive2008/texmf-config LuaTools | locating list of /.texlive2008/texmf-var LuaTools | locating list of /texmf LuaTools | locating list of C:/Program Files (x86)/texlive/2008/texmf-config LuaTools | locating list of C:/Program Files (x86)/texlive/2008/texmf-var LuaTools | locating list of C:/Program Files (x86)/texlive/2008/texmf LuaTools | locating list of C:/Program Files (x86)/texlive/texmf-local LuaTools | locating list of C:/Program Files (x86)/texlive/2008/texmf-dist LuaTools | scanning path C:/Program Files (x86)/texlive/2008/texmf-config LuaTools | 0 files found on 0 directories with 0 uppercase remappings LuaTools | scanning path C:/Program Files (x86)/texlive/2008/texmf-var LuaTools | 593 files found on 28 directories with 1 uppercase remappings LuaTools | scanning path C:/Program Files (x86)/texlive/2008/texmf LuaTools | 1264 files found on 158 directories with 30 uppercase remappings LuaTools | scanning path C:/Program Files (x86)/texlive/texmf-local LuaTools | 0 files found on 24 directories with 0 uppercase remappings LuaTools | scanning path C:/Program Files (x86)/texlive/2008/texmf-dist LuaTools | 58323 files found on 5554 directories with 2161 uppercase remappings LuaTools | preparing files for Users/Muhammad/luatex- cache/context/fb92c50d1378a 478b637ea06fcfe8d2c/trees/c6206af3e7599a84492db66d53b0bf1e.tma LuaTools | saving files in Users/Muhammad/luatex- cache/context/fb92c50d1378a478b 637ea06fcfe8d2c/trees/c6206af3e7599a84492db66d53b0bf1e.tma LuaTools | compiling files to Users/Muhammad/luatex- cache/context/fb92c50d1378a4 78b637ea06fcfe8d2c/trees/c6206af3e7599a84492db66d53b0bf1e.tmc LuaTools | preparing files for Users/Muhammad/luatex- cache/context/fb92c50d1378a 478b637ea06fcfe8d2c/trees/8d0e70dd0bed1f0b10f3443d788691f2.tma LuaTools | saving files in Users/Muhammad/luatex- cache/context/fb92c50d1378a478b 637ea06fcfe8d2c/trees/8d0e70dd0bed1f0b10f3443d788691f2.tma LuaTools | compiling files to Users/Muhammad/luatex- cache/context/fb92c50d1378a4 78b637ea06fcfe8d2c/trees/8d0e70dd0bed1f0b10f3443d788691f2.tmc LuaTools | preparing files for Users/Muhammad/luatex- cache/context/fb92c50d1378a 478b637ea06fcfe8d2c/trees/7a2fae702783448b97e36445ef27f632.tma LuaTools | saving files in Users/Muhammad/luatex- cache/context/fb92c50d1378a478b 637ea06fcfe8d2c/trees/7a2fae702783448b97e36445ef27f632.tma LuaTools | compiling files to Users/Muhammad/luatex- cache/context/fb92c50d1378a4 78b637ea06fcfe8d2c/trees/7a2fae702783448b97e36445ef27f632.tmc LuaTools | preparing files for Users/Muhammad/luatex- cache/context/fb92c50d1378a 478b637ea06fcfe8d2c/trees/ad3dc35e921bd00beb90c4453d9dc6c0.tma LuaTools | saving files in Users/Muhammad/luatex- cache/context/fb92c50d1378a478b 637ea06fcfe8d2c/trees/ad3dc35e921bd00beb90c4453d9dc6c0.tma LuaTools | compiling files to Users/Muhammad/luatex- cache/context/fb92c50d1378a4 78b637ea06fcfe8d2c/trees/ad3dc35e921bd00beb90c4453d9dc6c0.tmc LuaTools | preparing files for Users/Muhammad/luatex- cache/context/fb92c50d1378a 478b637ea06fcfe8d2c/trees/64c9d759ba39ace929ff68e026e5e49f.tma LuaTools | saving files in Users/Muhammad/luatex- cache/context/fb92c50d1378a478b 637ea06fcfe8d2c/trees/64c9d759ba39ace929ff68e026e5e49f.tma LuaTools | compiling files to Users/Muhammad/luatex- cache/context/fb92c50d1378a4 78b637ea06fcfe8d2c/trees/64c9d759ba39ace929ff68e026e5e49f.tmc LuaTools | LuaTools | runtime: 4.847 seconds context --make MtxRun | error unable to locate texmfcnf.lua MtxRun | loading configuration for C:/Program Files (x86)/texlive/2008/texmf/web 2c from Users/Muhammad/luatex- cache/context/fb92c50d1378a478b637ea06fcfe8d2c/tre es/714a74f50e87ccfa0d5aba82bdf8cf21 MtxRun | locating list of /.texlive2008/texmf-config MtxRun | locating list of /.texlive2008/texmf-var MtxRun | locating list of /texmf MtxRun | locating list of C:/Program Files (x86)/texlive/2008/texmf-config MtxRun | locating list of C:/Program Files (x86)/texlive/2008/texmf-var MtxRun | locating list
Re: [NTG-context] Strange font issue with LuaTeX on Linux
Mojca Miklavec mojca.miklavec.lists at gmail.com writes: http://www.pragma-ade.com/download-2.htm Mojca Thanks that fixed it. ___ 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] Texlive 2008 on Windows (Vista)
Is anyone actually testing texlive 2008 on vista? Or is it just me :) ___ 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] Mkiv Colour issue and more
luatex --version This is LuaTeX, Version snapshot-0.29.0-2008072009 texexec --version TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD The file source; http://pastebin.com/f4923f52c. \placecontent[criterium=chapter, level=section, color=headingcolour, interaction=all, alternative=c, aligntitle=yes, before={\startnarrower[0*left,8*right]}, after={\stopnarrower}, margin=2em] \blank[2*big] 1. The first line 1.1 section1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 is red! This is only the case with mkiv. mkii; http://filebin.ca/vfqedy/test.pdf or http://filebin.ca/vfqedy mkiv; http://filebin.ca/xmupe/test.pdf or http://filebin.ca/xmupe 2. Is it possible to have the \blank[2*big] generated by the placecontent command? The default space generated after chapter seems fine, but I'd really like to have a listing of the sections after the chapter. 3. Am I missing something? I'd like the same effect or better without the explicit call to \startnarrower or \stopnarrower \definecolor[ucolour] [c=0,m=0.83,y=1,k=0.7] \definecolor[urlcolour] [c=0,m=0.51,y=1,k=0] ... ... \setupinteraction[ state=start, color=ucolour, option=bookmark] 4. Doesn't work, but strangely enough color=urlcolour does. If I do use ucolour, the links are shown in black; http://filebin.ca/dnoqva/test.pdf or http://filebin.ca/dnoqva 5. \useURL[key][http://wiki.contextgarden.net/][][http://wiki.contextgarden.net/] fails, but \useURL[key][http://httpd.apache.org/download.cgi] works. The former fails with; http://pastebin.com/f3cc75b10. I'm actually quiet baffled by this. Also now the dots are green; http://filebin.ca/cezdzr/test.pdf, http://filebin.ca/cezdzr or http://www.4shared.com/file/62409267/2d29710c/test.html. 6. Why aren't the paragraphs that have a picture to the right or left indented on the first line? Compare the paragraphs on page1-section1 with those on page2-section3. 7. Why aren't the the urls broken across lines, page2-3. I'm pretty sure the hyperref package in latex supported this. 8. What must I do to the 3rd paragraph on the first page to get it to space properly? It's far too close to the previous one. 9. the d in praised protrudes to the margin, how do I stop this. I should point out that this happens often. 10. And the last question :). Is it possible to get a table of contents similar to that on page 36 of 'the elements of typographic style'? I.e., chapter-namex - page x chapter-namey - page y chapter-namez - page z and it's centered aligned according to the -. % engine=luatex \showframe \mainlanguage[uk] \language[uk] \enableregime[utf] \setuppapersize[A4] \setuppagenumbering[alternative=doublesided] % PARAGRAPH \setupindenting[big,yes] % COLOURS \setupcolor[hex] \setupcolors[state=start] \definecolor[urlcolour][c=0,m=0.83,y=1,k=0.70] \definecolor[headingcolour][c=1,m=0.56,y=0,k=0] \setuphead[section,chapter,subject][color=headingcolour] \setuphead [chapter] [style=\ss\bfd,color=headingcolour] \setuphead [section] [style=\ss\bfc,color=headingcolour] \setuphead [subsection] [style=\ss\bfb,color=headingcolour] \setuphead [subsubsection][style=\ss\bfa,color=headingcolour] \setupinteraction[ state=start, color=urlcolour, option=bookmark] \useURL[authoremail][mailto:[EMAIL PROTECTED]@longemail.com] \starttext \chapter{flower Flower} \placecontent[criterium=chapter, level=section, color=headingcolour, interaction=all, alternative=c, aligntitle=yes, before={\startnarrower[0*left,8*right]}, after={\stopnarrower}, margin=2em] \blank[2*big] \dorecurse{1}{ \section{section1} \input zapf \placefigure [left] [fig:project2] {Project2 - With Ali's cam} {\externalfigure[images/Project.jpg]} \input zapf \placefigure [right] [fig:project2] {Project2 - With Ali's cam} {\externalfigure[images/Project.jpg]} \input zapf } \section{section2} \dorecurse{2}{\input zapf } \section{section3} \dorecurse{2}{\input zapf } \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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Can we make font loading much faster?
I've also been wondering why LuaTeX is considerably slower than XeTeX. Has anyone been doing any research into LuaJIT? ___ 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] Mkiv Colour issue and more
Looks like this thread is going to die :( ___ 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] Breaking/Hyphenating
1. What must I do to the 3rd paragraph on the first page to get it to space properly? It's far too close to the previous one. 1st page, 3rd paragraph; http://filebin.ca/dnoqva/test.pdf or http://filebin.ca/dnoqva. Here's a screenshot; http://imagebin.ca/view/5Es-dHG.html Source; http://pastebin.com/f15e49b5e 2. On the 1st page the d in praised protrudes to the margin, how do I stop this. I should point out that this happens often, and I don't mind if TeX creates a page with 1-2 lines as long as nothing protudes into the margin. thanks Mohamed ___ 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] Hyphenating hyperlinks
Why aren't the the urls broken across the lines on page2-3. I'm pretty sure the hyperref package in latex supported this, Am I missing an option somewhere? Screenshot; http://imagebin.ca/view/VHwQ0w.html. The code used is; \dorecurse{6}{Download Apache at \from[apache]} Full source; http://pastebin.com/m1cf28c3c Pdf; http://filebin.ca/dnoqva/test.pdf or http://filebin.ca/dnoqva. Mohamed ___ 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] Mkiv hyperlink problem
Could someone please try this out; 1. This source file; http://pastebin.com/m4dd31559 doesn't work with mkiv, it fails with; http://pastebin.com/ma9705be (paste below). 2. I don't get an error when I compile with mkii. Here's the log of the succesfull compile; http://pastebin.com/m2c98019d. %%% Error %%% (test.tex ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.9.10 int: english/english language : language en is active system : cont-new loaded (C:/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv lua: used config path - C:/context/tex/texmf/web2c/texmf.cnf lua: used cache path - C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e ) (C:/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-old loaded (C:/context/tex/texmf-context/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (C:/context/tex/texmf-context/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (C:/context/tex/texmf-context/tex/context/user/cont-sys.tex (C:/context/tex/texmf-context/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-context/tex/context/base/type-siz.tex) (C:/context/tex/texmf-context/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is loaded specials : tex loaded system : test.top loaded (test.top specials : loading definition file tpd (C:/context/tex/texmf-context/tex/context/base/spec-tpd.tex specials : loading definition file fdf (C:/context/tex/texmf-context/tex/context/base/spec-fdf.tex (C:/context/tex/texmf-context/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded (C:/context/tex/texmf-context/tex/context/base/spec-tpd.mkiv)) specials : fdf loaded ) (C:/context/tex/texmf-context/tex/context/base/page-run.tex loading: Context Page Macros / Runtime Macros ) color : mpcmyk color space is supported color : mpspot color space is supported color : system rgb is global activated color : system hex is loaded (C:/context/tex/texmf-context/tex/context/base/colo-hex.tex system (LUATEX) : [line 14] ) interaction: active (test.tuo) (test.tuo references : duplicate reference [][fig:project2] on page 1 (test) ) systems: begin file test at line 57 chapter: 1 flower Flower (test.tuo) section: 1.1 section1 (C:/context/tex/texmf-context/tex/context/sample/zapf.tex) floatblocks: 1 placed (C:/context/tex/texmf-context/tex/context/sample/zapf.tex) Overfull \hbox (3.9333pt too wide) in paragraph at lines 1--81 \*12ptrmtfrm*: cin-ated by their PC's tricks, and think that a widely [] praised \hbox(8.448+2.448)x298.93465, glue set - 1.0, direction TLT .\*12ptrmtfrm*: c .\*12ptrmtfrm*: i .\*12ptrmtfrm*: n .\discretionary ..\*12ptrmtfrm*: - .\*12ptrmtfrm*: a .etc. floatblocks: 2 placed (C:/context/tex/texmf-context/tex/context/sample/zapf.tex) Overfull \hbox (3.9333pt too wide) in paragraph at lines 1--82 \*12ptrmtfrm*: cin-ated by their PC's tricks, and think that a widely [] praised \hbox(8.448+2.448)x298.93465, glue set - 1.0, direction TLT .\*12ptrmtfrm*: c .\*12ptrmtfrm*: i .\*12ptrmtfrm*: n .\discretionary ..\*12ptrmtfrm*: - .\*12ptrmtfrm*: a .etc. section: 1.2 section2 (C:/context/tex/texmf-context/tex/context/sample/zapf.tex) fonts : resetting map file list {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: lm-math {C:/context/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {C:/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map file: original-ams-base {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm {C:/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map} interaction: pdftex code inserted [1.1pdfTeX warning (ext4): destination with the same identifier (name{fig:project2}) has been already used, duplicate ignored \actualshipout ... \box \postponedcontent \box 0}} \else \message {[\ifarrang... \myshipout ... \fi {\thisisrealpage \realfolio #1} \gotonextrealpage \aftersh... \dofinaloutput ...agebody #1#2\setpagecounters }}} \fi \the \everyaftershipou... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2
[NTG-context] mkii colour problem
Hi everbody, 1. Blank links source; http://pastebin.com/m4dd31559, Doesn't work, but strangely enough color=urlcolour (the one below) does. Log; http://pastebin.com/m1034c274 2. Colour links source; http://pastebin.com/m70fa91b6. Log; http://pastebin.com/m16be2374 Just compile the and you'll see for yourself. So if I do use ucolour, the links are shown in black. I can't compile the file with mkiv, see http://thread.gmane.org/gmane.comp.tex.context/44025. pdf using urlcolour; pdf using ucolour; % This results in black hyperlinks. \definecolor[ucolour] [c=0,m=0.83,y=1,k=0.7] \definecolor[urlcolour] [c=0,m=0.51,y=1,k=0] \setupinteraction[ state=start, color=ucolour, option=bookmark] Mohamed ___ 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] Breaking/Hyphenating
The file seems to typeset almost perfectly with mkii, even without \setuplayout[grid=yes] \overfullrule=10pt. Source; http://pastebin.com/m271212a6 Pdf; http://filebin.ca/octdd/test.pdf or http://filebin.ca/octdd ___ 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] Mkiv hyperlink problem
Jano Kula jano.kula at tiscali.cz writes: Mohamed Bana wrote: Could someone please try this out; 1. This source file; http://pastebin.com/m4dd31559 doesn't work with mkiv, it fails with; http://pastebin.com/ma9705be (paste below). 2. I don't get an error when I compile with mkii. Here's the log of the succesfull compile; http://pastebin.com/m2c98019d. Works here (ConTeXt - 2008.09.10 14:01, pdfTeX-1.40.9, luaTeX-0.28.0) both with mkii and mkiv. Jano Still doesn't work, it fails with (the same message error i think); http://pastebin.com/m18091197 I ran first-setup.bat C:\context\tex\setuptex.bat C:\context\tex C:\contextcontext --version MtxRun | main context file: C:/context/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.09.16 13:34 C:\contextluatex --version This is LuaTeX, Version snapshot-0.29.0-2008072009 ... Copyright 2008 Taco Hoekwater, the LuaTeX Team. Compiled with libpng 1.2.29; using libpng 1.2.29 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.02pl2 C:\contextpdftex --version pdfTeX 3.1415926-1.40.9-2.2 (Web2C 7.5.7) kpathsea version 3.5.7 ... Compiled with libpng 1.2.31; using libpng 1.2.31 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.02pl2 ___ 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] MKIV font name database
Alan Stone software.list.1es9s at gmail.com writes: mtxrun --script fonts --list output... The 2nd column is the font name. Tthe 3rd column is the font filename. To what corresponds the 1st column ? Take a look at; http://wiki.contextgarden.net/Fonts_in_LuaTex#Example. I remember the same question. ___ 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] Hyphenating hyperlinks
Steffen Wolfrum context at st.estfiles.de writes: And there is also \hyphenatedurl{...} Steffen Ok that works great, I take it that this is the canonical way to use hyphenated urls and that it's not possible to hyphenate using \from[key]? Mohamed ___ 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] mkii colour problem
Jano Kula jano.kula at tiscali.cz writes: Not sure what you mean. I see nothing strange: mkii and mkiv give the same results. Upgrade should help. Jano Hi can you upload the pdf resulting from http://pastebin.com/m4dd31559 , http://pastebin.com/m70fa91b6 seems to work fine as the links are in red. You should be able to upload it on http://www.filebin.ca/. Mohamed ___ 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] mkii colour problem
Jano Kula jano.kula at tiscali.cz writes: I've just compiled it with mkii and mkiv. At first sight they looked identical, but in mkiv the dots in the first line are in red. I didn't study the code (quite long minimal example) so I don't know what was your aim. should be able to upload it on http://www.filebin.ca/. Doesn't work now, so I'm sending it to you off-list. Jano Just take a look at the colour used for the hyperlinks (on page 2), in both cases it's black instead of sephia. Source; http://pastebin.com/m4dd31559 test6-mkii.pdf; http://filebin.ca/ghvkcv/test6-mkii.pdf or http://filebin.ca/ghvkcv test6-mkiv.pdf; http://filebin.ca/efqws/test6-mkiv.pdf or http://filebin.ca/efqws ___ 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] XeTeX old style numerals
Hi guys, Why doesn't this definition use the old style numerals that come with the font? It seems to use the latin modern font when I try to use \os. Small caps are working fine. I'd like all the numbers in the document to be typeset in old style numerals unless I tell it otherwise, btw how do I achieve the latter? As in break out of onum and typeset in the normal numbers? I'm using TeXlive 2008 on vista, the pdf reports that I'm using XeTeX version; 2008.05.21 15:21. \definetypeface[myface][rm][Xserif][Minion Pro] % i've also tried %\definetypeface[myface][rm][Xserif][Warnock Pro] \definetypeface[myface][ss][Xsans][Myriad Pro] \definetypeface[myface][tt][Xmono][Consolas] \setupbodyfont[myface, 11pt] Pdf; http://filebin.ca/rpctwz/testbackup.pdf or http://filebin.ca/rpctwz Thanks :) Mohamed % file % engine=xetex \definetypeface[myface][rm][Xserif][Minion Pro] % i've also tried %\definetypeface[myface][rm][Xserif][Warnock Pro] \definetypeface[myface][ss][Xsans][Myriad Pro] \definetypeface[myface][tt][Xmono][Consolas] \setupbodyfont[myface, 11pt] \starttext \title {Introduction} \startlines 123456789 {\os 123456789} \stoplines {\sc On the \CONTEXT\ mailing list, occasionally a user asks if we can post a complete document with the associated style. One reason for not honouring this request is that we want users to cook up their own styles. Besides that, there are a couple of styles in the regular \CONTEXT\ distribution.} {\it When browsing through this document, a \CONTEXT\ user may wonder what style was used to achieve its look and feel. We hope that while reading the text and playing with the examples, the reader will accomplish the skills to define more than just simple layouts.} {\sl When browsing through this document, a \CONTEXT\ user may wonder what style was used to achieve its look and feel. We hope that while reading the text and playing with the examples, the reader will accomplish the skills to define more than just simple layouts.} {\it\sc This document is not easy reading. Occasionally we spend some time explaining features not described in the manuals. The design of this document is to a large extent determined by its purpose, and as a result not always functional. Also the order of presenting features, tips and tricks is kind of random and unstructured. The idea is that the visual effects will draw you to the right trick. Also, if you realy want to benefit from these features, there is no way but to read the whole story.} {\bf In spite of all its shortcomings, I hope that you enjoy reading this (yet unfinished) manual. Keep in mind that this manual is far from finished.} {\bi In spite of all its shortcomings, I hope that you enjoy reading this (yet unfinished) manual. Keep in mind that this manual is far from finished.} {\ss\sc In spite of all its shortcomings, I hope that you enjoy reading this (yet unfinished) manual. Keep in mind that this manual is far from finished.} \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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mkii colour problem
Wolfgang Schuster schuster.wolfgang at googlemail.com writes: test6-mkii.pdf; http://filebin.ca/ghvkcv/test6-mkii.pdf or http://filebin.ca/ghvkcv test6-mkiv.pdf; http://filebin.ca/efqws/test6-mkiv.pdf or http://filebin.ca/efqws The links on the second page is colored in both files (Adobe Reader 8.1.2), what's your pdf viewer. Wolfgang You're absolutely right, sorry about the trouble caused. Mohamed ___ 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] Experience on writing a thesis with MKIV
Aditya Mahajan wrote: Hi everyone, I finished my thesis, writing both my thesis and my presentation using ConTeXt. Aditya :). But there's a still something missing that I need before I even thinking of typesetting an msc thesis in ConTeXt. I'd like to have something equivelant to the *listings.sty* package; http://thread.gmane.org/gmane.comp.tex.context/15591/focus=15592 or http://vega.soi.city.ac.uk/~abbg770/listing-sample.pdf. I setup listing first; \lstset{breaklines=true, showlines=true, % showing line numbers numbers=left, % where to show line numbers numberstyle=\tiny\color{gray}, numbersep=10pt, % stepnumber=1, % how often to show the line number on the left language=Java, % specifiy the language basicstyle=\ttfamily\small, % print whole listing small keywordstyle=\color{eclipsekeyword}\ttfamily\underbar, % underlined bold black keywords identifierstyle=, % nothing happens commentstyle=\color{eclipsecomment}, % white comments, if you use commentstyle=\color{white}, stringstyle=\ttfamily, % typewriter type for strings showstringspaces=false, % no special string spaces frame=single, backgroundcolor=\color{white}, tabsize=4, showspaces=false, showstringspaces=false} \lstset{morecomment=[s][\color{eclipsejavadoc}]{/**}{*/}} Includes a file, look at Listing B.2 on the pdf I posted. This should be self explanatory; \lstinputlisting[ caption={SpreadsheetParser.java}, label=lst:SpreadsheetParser.java] {source/SpreadsheetParser.java} I can also list inline using the same settings defined in \lstset - but it doesn't break across lines. The choice of charater is arbitrary i.e., I could have chosen to use | instead of !; \lstinline!matcher(CharSequence input)! Similar to preceeding, with line breaking. Also I can refer to it using; \ref{lst:freeformlogfile} \begin{lstlisting}[frame=,label={lst:freeformlogfile},caption={Log File}] import java.util.Arrays; public class ArrayReallocationDemo { public static void main(String[] args) { int[] data1 = new int[] { 1, 3, 5, 7, 9 }; printArray(data1); int[] data2 = Arrays.copyOf(data1, 6); data2[5] = 11; printArray(data2); int[] data3 = Arrays.copyOfRange(data1, 2, 10); printArray(data3); } // print array elements private static void printArray(int[] data) { StringBuilder stringBuilder = new StringBuilder([); for (int i = 0; i data.length; i++) { stringBuilder.append(data[i]); if (i data.length - 1) stringBuilder.append(, ); } stringBuilder.append(]); System.out.println(stringBuilder); } } \end{lstlisting} Thanks guys ___ 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] Listings
Wolfgang Schuster wrote: Am 28.09.2008 um 19:34 schrieb Mohamed Bana: Aditya Mahajan wrote: Hi everyone, I finished my thesis, writing both my thesis and my presentation using ConTeXt. Aditya :). But there's a still something missing that I need before I even thinking of typesetting an msc thesis in ConTeXt. I'd like to have something equivelant to the *listings.sty* package; http://thread.gmane.org/gmane.comp.tex.context/15591/focus=15592 or http://vega.soi.city.ac.uk/~abbg770/listing-sample.pdf. I setup listing first; \lstset{breaklines=true, showlines=true, % showing line numbers numbers=left,% where to show line numbers numberstyle=\tiny\color{gray}, numbersep=10pt, % stepnumber=1,% how often to show the line number on the left language=Java, % specifiy the language basicstyle=\ttfamily\small, % print whole listing small keywordstyle=\color{eclipsekeyword}\ttfamily\underbar, % underlined bold black keywords identifierstyle=, % nothing happens commentstyle=\color{eclipsecomment}, % white comments, if you use commentstyle=\color{white}, stringstyle=\ttfamily, % typewriter type for strings showstringspaces=false, % no special string spaces frame=single, backgroundcolor=\color{white}, tabsize=4, showspaces=false, showstringspaces=false} \lstset{morecomment=[s][\color{eclipsejavadoc}]{/**}{*/}} Includes a file, look at Listing B.2 on the pdf I posted. This should be self explanatory; \lstinputlisting[ caption={SpreadsheetParser.java}, label=lst:SpreadsheetParser.java] {source/SpreadsheetParser.java} I can also list inline using the same settings defined in \lstset - but it doesn't break across lines. The choice of charater is arbitrary i.e., I could have chosen to use | instead of !; \lstinline!matcher(CharSequence input)! Similar to preceeding, with line breaking. Also I can refer to it using; \ref{lst:freeformlogfile} \begin{lstlisting}[frame=,label={lst:freeformlogfile},caption={Log File}] import java.util.Arrays; public class ArrayReallocationDemo { public static void main(String[] args) { int[] data1 = new int[] { 1, 3, 5, 7, 9 }; printArray(data1); int[] data2 = Arrays.copyOf(data1, 6); data2[5] = 11; printArray(data2); int[] data3 = Arrays.copyOfRange(data1, 2, 10); printArray(data3); } // print array elements private static void printArray(int[] data) { StringBuilder stringBuilder = new StringBuilder([); for (int i = 0; i data.length; i++) { stringBuilder.append(data[i]); if (i data.length - 1) stringBuilder.append(, ); } stringBuilder.append(]); System.out.println(stringBuilder); } } \end{lstlisting} \setupcolors[state=start] \definetyping[JAVA][option=JV] \setuptyping [JAVA] [numbering=line] \starttext \startJAVA ... \stopJAVA \stoptext or same preamble as above plus \definefloat[listing][listings] \starttext \placelisting [split] [lst:freeformlogfile] {Log File} {\startJAVA ... \stopJAVA} \stoptext Wolfgang Thanks Wolfgang. Source; http://pastebin.com/m40986857 Pdf; http://filebin.ca/kceezh/listing.pdf or http://filebin.ca/kceezh I've still got some issues with it :(. I think I'll just wait till verbatim supports improves. 1. Lines protude into the margin and sometime even go past the end of the page. 2. Why doesn't it show the line numbers for the empty lines? 3. Is there a way to supress the 'there is nothing to split' warning? Mohamed ___ 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] Listings
Wolfgang Schuster wrote: \setupcolors[state=start] \definetyping[JAVA][option=JV] \setuptyping [JAVA] [numbering=line] \starttext \startJAVA \stopJAVA \stoptext or same preamble as above plus \definefloat[listing][listings] \starttext \placelisting [split] [lst:freeformlogfile] {Log File} {\startJAVA ... \stopJAVA} \stoptext Wolfgang Maybe someone should ask the authors of listings.sty if they're are willing to port it to ConTeXt. Here's the relevant link; http://www.ctan.org/tex-archive/macros/latex/contrib/listings/ ___ 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] using different font faces and sizes in same document
hi guys, \definetypeface[adobe][rm][serif][minionpro][default] %\definetypeface[adobe][rm][serif][agaramondpro][default] \definetypeface[adobe][ss][sans][myriadpro][default] %\definetypeface[adobe][ss][sans][cronospro][default] \setupbodyfont[adobe,11pt] Given the above, the document will be typeset only in minion pro, I'd like to know how to typeset parts of the document in different faces and sizes. For instance, I'd like the first section in minionpro 11pt, then say, any other arbitrary section (I choose manually), to be typeset in minionpro 12pt. So; section1; minionpro 11pt as serif, minionpro as sans section2; minionpro 12pt as serif, minionpro as sans section3; garamondpro 11pt as serif, cronospro as sans section4; garamondpro 12pt as serif, cronospro as sans etc. I hope that was clear, the typescripts are defined as; % SANS \starttypescript [sans] [cronospro] \definefontsynonym [CronosPro-Regular][name:cronosproregular] \definefontsynonym [CronosPro-Bold] [name:cronosprobold] \definefontsynonym [CronosPro-Italic] [name:cronosproitalic] \definefontsynonym [CronosPro-BoldItalic] [name:cronosproboldit] \stoptypescript \starttypescript [sans] [cronospro] \definefontsynonym [Sans] [CronosPro-Regular] [features=historic] \definefontsynonym [SansBold] [CronosPro-Bold] [features=historic] \definefontsynonym [SansItalic] [CronosPro-Italic] [features=historic] \definefontsynonym [SansBoldItalic] [CronosPro-BoldItalic] [features=historic] \definefontsynonym [SansCaps][Sans] [features=smallcaps] \stoptypescript \starttypescript [sans] [myriadpro] \setups[font:fallback:sans] % \definefontsynonym [MyriadPro-Regular][name:MyriadPro-Regular] [features=default] % \definefontsynonym [MyriadPro-Bold] [name:MyriadPro-Bold] [features=default] % \definefontsynonym [MyriadPro-Italic] [name:MyriadPro-It] [features=default] % \definefontsynonym [MyriadPro-BoldItalic] [name:MyriadPro-BoldIt] [features=default] \definefontsynonym [MyriadPro-Regular][name:myriadproregular] \definefontsynonym [MyriadPro-Bold] [name:myriadprobold] \definefontsynonym [MyriadPro-Italic] [name:myriadproit] \definefontsynonym [MyriadPro-BoldItalic] [name:myriadproboldit] \stoptypescript \starttypescript [sans] [myriadpro] \definefontsynonym [Sans] [MyriadPro-Regular] [features=historic] \definefontsynonym [SansBold] [MyriadPro-Bold] [features=historic] \definefontsynonym [SansItalic] [MyriadPro-Italic] [features=historic] \definefontsynonym [SansBoldItalic] [MyriadPro-BoldItalic] [features=historic] \definefontsynonym [SansCaps] [Sans] [features=latin-smallcaps] \stoptypescript % SERIFS \starttypescript [serif] [agaramondpro] % \definefontsynonym [AGaramondPro-Regular] [name:acaslonproregular] [features=default] % \definefontsynonym [AGaramondPro-Bold] [name:acaslonprobold] [features=default] % \definefontsynonym [AGaramondPro-Italic] [name:acaslonproitalic] [features=default] % \definefontsynonym [AGaramondPro-BoldItalic] [name:acaslonprobolditalic] [features=default] \definefontsynonym [AGaramondPro-Regular] [name:agaramondproregular] \definefontsynonym [AGaramondPro-Bold] [name:adobegaramondproboldbold] \definefontsynonym [AGaramondPro-Italic] [name:agaramondproitalic] \definefontsynonym [AGaramondPro-BoldItalic] [name:agaramondprobolditalic] \stoptypescript \starttypescript [serif] [agaramondpro] \definefontsynonym [Serif] [AGaramondPro-Regular] [features=historic] \definefontsynonym [SerifBold] [AGaramondPro-Bold] [features=historic] \definefontsynonym [SerifItalic] [AGaramondPro-Italic] [features=historic] \definefontsynonym [SerifBoldItalic] [AGaramondPro-BoldItalic] [features=historic] \definefontsynonym [SerifCaps] [Serif] [features=latin-smallcaps] \stoptypescript \starttypescript [serif] [minionpro] \definefontsynonym [MinionPro-Regular][name:minionproregular] \definefontsynonym [MinionPro-Bold] [name:minionprobold] \definefontsynonym [MinionPro-Italic] [name:minionproit] \definefontsynonym [MinionPro-BoldItalic] [name:minionproboldit] \stoptypescript \starttypescript [serif] [minionpro] \definefontsynonym [Serif] [MinionPro-Regular] [features=default] \definefontsynonym [SerifBold] [MinionPro-Bold] [features=default] \definefontsynonym [SerifItalic] [MinionPro-Italic] [features=default] \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] [features=default] %\definefontsynonym [SerifSlanted] [SerifItalic] [features=default] \definefontsynonym [SerifCaps] [Serif] [features=latin-smallcaps] \stoptypescript Mohamed
Re: [NTG-context] using different font faces and sizes in same document
Thanks! :) Wolfgang Schuster wrote: On Fri, Oct 10, 2008 at 2:01 AM, Mohamed Bana [EMAIL PROTECTED] wrote: hi guys, \definetypeface[adobe][rm][serif][minionpro][default] %\definetypeface[adobe][rm][serif][agaramondpro][default] \definetypeface[adobe][ss][sans][myriadpro][default] %\definetypeface[adobe][ss][sans][cronospro][default] \setupbodyfont[adobe,11pt] \definetypeface[one][rm][serif][agaramondpro][default] \definetypeface[one][ss][sans][cronospro][default] \definetypeface[two][rm][serif][minionpro][default] \definetypeface[two][ss][sans][myriadpro][default] Given the above, the document will be typeset only in minion pro, I'd like to know how to typeset parts of the document in different faces and sizes. For instance, I'd like the first section in minionpro 11pt, then say, any other arbitrary section (I choose manually), to be typeset in minionpro 12pt. So; section1; minionpro 11pt as serif, minionpro as sans section2; minionpro 12pt as serif, minionpro as sans section3; garamondpro 11pt as serif, cronospro as sans section4; garamondpro 12pt as serif, cronospro as sans etc. \setupbodyfont[one,11pt] \starttext \switchtobodyfont[two,12pt] \switchtobodyfont[one,11pt] \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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] XeTeX old style numerals
So ... can someone provide a sample file of a document that uses old style by default? Clearly the following doesn't work; \definetypeface[myface][rm][Xserif][Minion Pro] % i've also tried %\definetypeface[myface][rm][Xserif][Warnock Pro] \definetypeface[myface][ss][Xsans][Myriad Pro] \definetypeface[myface][tt][Xmono][Consolas] \setupbodyfont[myface, 11pt] Thanks Hans Hagen wrote: Mohamed Bana wrote: Mojca Miklavec wrote: On Fri, Sep 19, 2008 at 8:07 PM, Mohamed Bana wrote: Hi guys, Why doesn't this definition use the old style numerals that come with the font? It seems to use the latin modern font when I try to use \os. Small caps are working fine. \os is kind of special because it's related to the fact that good old tex and the cm fonts have oldstyles in some math font and therefore some effort is needed to use it in text we might consider mapping \os to something \def\os{\groupedcommand{\setfontfeature{oldstyle}}{}} which in mkiv will make 1234567890 {\os 1234567890} 1234567890 work ___ 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] XeTeX old style numerals
I ought to mention small caps doesn't work with the last approach. Wolfgang Schuster wrote: On Sat, Oct 11, 2008 at 10:10 PM, Mohamed Bana [EMAIL PROTECTED] wrote: So ... can someone provide a sample file of a document that uses old style by default? Clearly the following doesn't work; The fast way (works only for MkII): \definefontfeature[default][deault][script=latn,onum=yes] \definetypeface[myface][rm][Xserif][Minion Pro] % i've also tried %\definetypeface[myface][rm][Xserif][Warnock Pro] \definetypeface[myface][ss][Xsans][Myriad Pro] \definetypeface[myface][tt][Xmono][Consolas] \setupbodyfont[myface, 11pt] The better way (works for MkII and MkIV): \starttypescript [serif] [minion-pro] \setups[font:fallback:serif] \definefontsynonym [Serif] [MinionPro-Regular] [features=default] \definefontsynonym [SerifBold] [MinionPro-Bold] [features=default] \definefontsynonym [SerifItalic] [MinionPro-Italic] [features=default] \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] [features=default] \stoptypescript \starttypescript [serif] [minion-pro-os] \setups[font:fallback:serif] \definefontsynonym [Serif] [MinionPro-Regular] [features=oldstyle] \definefontsynonym [SerifBold] [MinionPro-Bold] [features=oldstyle] \definefontsynonym [SerifItalic] [MinionPro-Italic] [features=oldstyle] \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] [features=oldstyle] \stoptypescript \starttypescript [serif] [minion-pro,minion-pro-os] \definefontsynonym [MinionPro-Regular][file:MinionPro-Regular] [features=default] \definefontsynonym [MinionPro-Bold] [file:MinionPro-Bold] [features=default] \definefontsynonym [MinionPro-Italic] [file:MinionPro-It] [features=default] \definefontsynonym [MinionPro-BoldItalic] [file:MinionPro-BoldIt] [features=default] \stoptypescript \starttypescript [minion-pro,minion-pro-os] \definetypeface [minion-pro] [rm] [serif] [\typescriptone] [default] \stoptypescript %\usetypescript[minion-pro] \usetypescript[minion-pro-os] \setupbodyfont[minion-pro] 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 ___ ___ 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] PhD Thesis in ConTeXt
Hi Aditya, I've tried compiling your thesis. It failed with; texmfstart texexec thesis.tex TeXExec | processing document 'thesis.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file thesis.top TeXExec | using randomseed 104 TeXExec | tex engine: luatex TeXExec | tex format: cont-en (thesis.tex ConTeXt ver: 2008.09.16 15:06 MKIV fmt: 2008.9.16 int: english/english language : language en is active system : cont-new loaded (C:/context/tex/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (C:/context/tex/texmf-local/tex/context/base/cont-new.mkiv lua: used config path - C:/context/tex/texmf/web2c/texmf.cnf lua: used cache path - C:/context/tex/texmf-cache/luatex-cache/context/2fea56f92e5267d7cc9662e4d5f52e1e ) (C:/context/tex/texmf-local/tex/context/base/cont-mtx.tex)) system : cont-old loaded (C:/context/tex/texmf-local/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (C:/context/tex/texmf-local/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (C:/context/tex/texmf-context/tex/context/user/cont-sys.tex (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is loaded specials : tex loaded system : thesis.top loaded (thesis.top specials : loading definition file tpd (C:/context/tex/texmf-local/tex/context/base/spec-tpd.tex specials : loading definition file fdf (C:/context/tex/texmf-local/tex/context/base/spec-fdf.tex (C:/context/tex/texmf-local/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded (C:/context/tex/texmf-local/tex/context/base/spec-tpd.mkiv)) specials : fdf loaded ) (thesis.tuo) (thesis.tuo) systems: begin file thesis at line 2 systems: begin file env-thesis at line 4 (env-thesis.tex system : module abr-aditya not found system : module bib loaded (t-bib.tex publications : loading formatting style from bibl-apa (C:/context/tex/texmf-local/tex/context/bib/bibl-apa.tex) publications : loading database from thesis.bbl (thesis.bbl)) system : module ctags not found publications : loading formatting style from bibl-ssa (bibl-ssa.tex) (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex) (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex) (delicious.tex (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex) (delicious.tex) (C:/context/tex/texmf-local/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-local/tex/context/base/type-siz.tex) (C:/context/tex/texmf-local/tex/context/base/type-otf.tex) (delicious.tex)) system : module mathsets not found ! Undefined control sequence. recently read \definemathset l.377 \definemathset [EXP] [text={\doublestroke{E}}] ? I removed the following from env-thesis.tex; \definetypeface [mainface] [rm] [serif] [palatino] [default] [features=default] \definetypeface [mainface] [ss] [sans] [delicious] [default] [features=default, rscale=1.1] \definetypeface [mainface] [tt] [mono] [modern] [default] [features=default, rscale=1.1] \definetypeface [mainface] [mm] [math] [palatino] [default] [encoding=texnansi] %\definetypeface [mainface] [mm] [math] [euler] [euler] [encoding=texnansi, rscale=1.03] \setupbodyfont[mainface,12pt] Thanks Mohamed Aditya Mahajan wrote: On Tue, 21 Oct 2008, Piotr wrote: Hello, I have spent some time with google in order to find an answer to the following questions. Unfortunatly, I was not satisfied with the answers, which I now hope to find here. It is my plan not to use the MS Office suite for the production of my PhD thesis (in chemistry). I have used Miktex some years ago during my studies for some project reports, and I remember beeing quite satisfied with the results. My Master thesis, on the other hand, I wrote in word.. and although I remember not having too many difficulties, there were some nasty obstacles to be overcome. Obstacles which I simply do not want to risk having repeated a second time on a much bigger scale. I this mailing list I read several reports of people who either had written their thesis in Latex or ConTeXt. There was a mention of Latex beeing designed for mathematic purposes, while ConTeXt was said to be better suited for the intergration of graphics or
[NTG-context] questions about Aditya's thesis
Hello everyone, Here's the link to his thesis; http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz 1. Is this the new official syntax? \chapter[chap:01] Introduction \section Motivation 2. How do I enabled colour links for the bibliography citations? I've tried - You'll have to move/delete t-bib.tex if you're running a recent ver. of the minimals to get the the doc to compile. % env-thesis.tex lines 289-291 \setupinteraction[state=start,style=,color=] \setupinteraction[focus=standard] \placebookmarks [chapter,section][chapter] and % line 3, macros.tex \setupcolors[state=start] % line 8, macros.tex \setupcite [interaction=start, compress=no,color=] %darkgreen] Yet the links are still in black. Here's the pdf; http://filebin.ca/mzxxpc/thesis.pdf or http://filebin.ca/mzxxpc 3. The entries in bibliography outflow into the margins; pages 23 onwards. I don't mind if the line contains huge gaps as long as the entries don't flow into the margins. 4. How do I decrease the linespacing? Don't you agree with Minion Pro it doesn't look as good as with Palatino. Mohamed ___ 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] ConTeXt MkIV and texlive2008
I put the following in my .bashrc; alias contextstart='. ~/context-minimals/tex/setuptex ~/context-minimals/tex' And when I wish to compile a document; $ contextstart Setting /home/mbana/context-minimals/tex as TEXROOT. $ texexec file.tex MkIV should work out of the box with texlive 2008, I gave up last time I tried. Mohamed Marcin Borkowski wrote: Hi, assume I've done everything as told on the wiki, so that MkIV works in texlive2008. Assume that I used the tl package manager to upgrade ConTeXt. Do I have something more to do in order to use it (e.g., run luatools --generate or context --make or both once again)? Greets ___ 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] Testing the build
Hi, Do the developers run the trunk against a set of test cases? For instance, testing the new release against files that compile successfully under the current stable release? I ask as I often see people complain that the new beta isn't working and so forth. ___ 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] Centering the page
%%% Document %%% % engine=luatex \enableregime [utf-8] \mainlanguage[uk] \language[uk] \setuppapersize [A4] [A4] \showframe %\showlayout %\setuplayout[width=middle] \setupwhitespace [medium] \starttext \input knuth \input zapf \input tufte \stoptext Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz, you'll notice a reasonably sized gap on the right hand side, how do I get rid of it? The work around seems to be \setuplayout[width=middle] But this isn't want I want as the width of the text betters slightly bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc . 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Centering the page
anyone? Mohamed Bana wrote: %%% Document %%% % engine=luatex \enableregime [utf-8] \mainlanguage[uk] \language[uk] \setuppapersize [A4] [A4] \showframe %\showlayout %\setuplayout[width=middle] \setupwhitespace [medium] \starttext \input knuth \input zapf \input tufte \stoptext Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz, you'll notice a reasonably sized gap on the right hand side, how do I get rid of it? The work around seems to be \setuplayout[width=middle] But this isn't want I want as the width of the text betters slightly bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc . 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://tex.aanhet.net archive : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Centering the page
Thanks, but that's not what I had in mind. Look at the right edge of the pdf (http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz) there's a gap - about 1/2 a centimetres - which isn't on the left side. It doesn't look uniform. Wolfgang Schuster wrote: On Thu, Nov 27, 2008 at 1:17 PM, Mohamed Bana [EMAIL PROTECTED] wrote: anyone? \setuplayout [backspace=8cm, width=middle] Wolfgang Mohamed Bana wrote: %%% Document %%% % engine=luatex \enableregime [utf-8] \mainlanguage[uk] \language[uk] \setuppapersize [A4] [A4] \showframe %\showlayout %\setuplayout[width=middle] \setupwhitespace [medium] \starttext \input knuth \input zapf \input tufte \stoptext Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz, you'll notice a reasonably sized gap on the right hand side, how do I get rid of it? The work around seems to be \setuplayout[width=middle] But this isn't want I want as the width of the text betters slightly bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc . 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://tex.aanhet.net archive : https://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 : https://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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] looking for equivalence to LaTeX algorithm package
Maybe you could typeset the page with (Xe)LaTeX and include the pdf as page in your ConTeXt doc. Zhaopeng Xing wrote: Hi, Does anyone know how to describe algorithm procedures in similar way as LaTeX algorithmic and algorithm packages? I tried to search it on wiki but found nothing. Thanks. -- Zhaopeng XING Tinbergen Institute ___ 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 ___ ___ 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] ConTeXt + BibTeX problem
1. Using \completepublications[criterium=all] produces the error message; title : - References ! Missing } inserted. inserted text } to be read again \dostopattributes argument ...cation {shapley_cores_1974}\strut }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2-#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue ... l.38 \completepublications[criterium=all] ? I was using ConTeXt ver: 2008.10.31 13:58 MKIV fmt: 2008.11.2 int: english/english then I update to ConTeXt ver: 2008.11.30 14:39 MKIV fmt: 2008.12.1 int: english/english But the problem still persists. 2. Compiling with the following using \completepublications and \subsubject{Top trading procedures} or \subsection{Top trading procedures}; context testfile.tex It comes out as; This is the housing market introduced by Xx (). and the 'References' is empty. Instead of; This is the housing market introduced by Shapley and Scarf (1974). Why? 3. Taco, could you please include a minimal example of using bibtex in your bibmod-doc.pdf file please, much like what Guilherme has done. It'll probably be a good idea to include about 3 references. 4. Why is the [criterium=all] parameter needed? %%% testfile.tex %%% % engine=luatex \enableregime [utf-8] \mainlanguage[uk] \language[uk] \usemodule[bib] \setupbibtex[database={./references}] \setuppublications[refcommand=authoryear,sorttype=cite]%, sort=author] \starttext \cite{shapley_cores_1974} \completepublications[criterium=all] \stoptext %%% references.bib - same as Guilherme's %%% -- references.bib -- @article{shapley_cores_1974, title = {On cores and indivisibility}, volume = {1}, journal = {Journal of Mathematical Economics}, author = {Lloyd Shapley and Herbert Scarf}, month = mar, year = {1974}, pages = {23--37} } Taco Hoekwater wrote: Guilherme P. de Freitas wrote: then everything works: the citation appears correctly *and* the reference appears in the References list. I don't know why. Any ideas? Yes. Change this line \completepublications to \completepublications[criterium=all] Best wishes, Taco ___ 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 ___ ___ 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] ConTeXt + BibTeX problem
Hi Taco, 1. How do I get coloured citations? E.g., \cite[jacky:critial] should produce a coloured link. 2. If is possible to get the list of pages an item was cited at? I'm sure LaTeX could do this. E.g., Jacky, J., 1995. “Specifying a safety-critical control system in z”, in IEEE Trans. Softw. Eng., Volume 21, Number 2, pages 99–106. Page(s) 1,2,...n. Thanks Taco Hoekwater wrote: Guilherme P. de Freitas wrote: Hi, Taco Yes, that worked! I tried to find documentation about \completepublications on the wiki and on the documents at articles.contextgarden.net (looking at titles, and searching the main Pragma-ADE manuals), but I didn't find any. Actually, it is not the first time that I can't find the desired documentation. Where can I find it? Is it somehwere in the sources? The bibliography module has its own manual. There is a link here: http://modules.contextgarden.net/bib but it is probably on your harddisk already as context/doc/context/bib/bibmod-doc.pdf Best wishes, Taco ___ 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 ___ ___ 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] How to use Minion Pro
Feedback welcome. Make sure you use LuaTeX, add % engine=luatex right at the beginning of the main file. \starttypescript [serif] [minionpro] \definefontsynonym [MinionPro-Regular][name:minionproregular] \definefontsynonym [MinionPro-Bold] [name:minionprobold] \definefontsynonym [MinionPro-Italic] [name:minionproit] \definefontsynonym [MinionPro-BoldItalic] [name:minionproboldit] \stoptypescript \starttypescript [serif] [minionpro] \definefontsynonym [Serif] [MinionPro-Regular] [features=default] \definefontsynonym [SerifBold] [MinionPro-Bold] [features=default] \definefontsynonym [SerifItalic] [MinionPro-Italic] [features=default] \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] [features=default] % \definefontsynonym [SerifSlanted] [SerifItalic] [features=default] \definefontsynonym [SerifCaps] [Serif] [features=smallcaps] \stoptypescript \starttypescript [sans] [myriadpro] \setups[font:fallback:sans] % \definefontsynonym [MyriadPro-Regular][name:MyriadPro-Regular] [features=default] % \definefontsynonym [MyriadPro-Bold] [name:MyriadPro-Bold] [features=default] % \definefontsynonym [MyriadPro-Italic] [name:MyriadPro-It] [features=default] % \definefontsynonym [MyriadPro-BoldItalic] [name:MyriadPro-BoldIt] [features=default] \definefontsynonym [MyriadPro-Regular][name:myriadproregular] \definefontsynonym [MyriadPro-Bold] [name:myriadprobold] \definefontsynonym [MyriadPro-Italic] [name:myriadproit] \definefontsynonym [MyriadPro-BoldItalic] [name:myriadproboldit] \stoptypescript \starttypescript [sans] [myriadpro] \definefontsynonym [Sans] [MyriadPro-Regular] [features=historic] \definefontsynonym [SansBold] [MyriadPro-Bold] [features=historic] \definefontsynonym [SansItalic] [MyriadPro-Italic] [features=historic] \definefontsynonym [SansBoldItalic] [MyriadPro-BoldItalic] [features=historic] \definefontsynonym [SansCaps] [Sans] [features=latin-smallcaps] \stoptypescript %%% Then i've got this in the file i want to typeset %%% \def\sc{\setfontfeature{smallcaps}} \definefontfeature [default][default] [protrusion=quality,expansion=quality,mode=node,script=latn] \definefontfeature [oldstyle][default] [protrusion=quality,expansion=quality,mode=node,script=latn,onum=yes] \definefontfeature [smallcaps][default] [protrusion=quality,expansion=quality,mode=node,script=latn,smcp=yes] \usetypescript [serif] [hanging] [pure] \setupalign [hanging] \usetypescriptfile[type-folio] \definetypeface[mainface][rm][serif][minionpro] [default] [features=default] \definetypeface[mainface][ss][sans][myriadpro] [default] [features=default] \definetypeface [mainface] [mm] [math] [palatino] [default] [encoding=texnansi] \setupbodyfont[mainface,12.5pt] \setfontfeature{oldstyle} ... text %%% xetex %%% \definefontfeature[default][deault][script=latn,onum=yes] \definetypeface[myface][rm][Xserif][Minion Pro] \definetypeface[myface][ss][Xsans][Myriad Pro] \definetypeface[myface][tt][Xmono][Consolas] \setupbodyfont[myface, 12pt] ... text Fengnan Gao wrote: Hi all, I'm learning how to use ConTeXt recently, and I find difficulty using Minion Pro, which can be fully accessed using XeTeX. Here is how I use Minion Pro, and as far as I can see, there is no problem with the setup. \starttypescript[all][myfont][name] \definefontsynonym[Minion][MinionPro-Regular] \definefontsynonym[MinionBold][MinionPro-Bold] \definefontsynonym[MinionItalic][MinionPro-It] \definefontsynonym[MinionBoldItalic][MinionPro-BoldIt] \definefontsynonym[Myriad][MyriadPro-Regular] \definefontsynonym[MyriadBold][MyriadPro-Bold] \definefontsynonym[MyriadItalic][MyriadPro-It] \definefontsynonym[MyriadBoldItalic][MyriadPro-BoldIt] \stoptypescript \definefontfeature[minion][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes, protrusion=quality, expansion=quality] \definefontfeature[minionsmcp][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, dlig=yes, smcp=yes, protrusion=quality, expansion=quality] \definefontfeature[myriad][language=dflt, script=latn, mode=node, frac=yes, onum=yes, kern=yes, liga=yes, zero=yes, protrusion=quality, expansion=quality] \starttypescript[serif][myfont][name] \definefontsynonym[Serif][Minion][features=minion] \definefontsynonym[SerifBold][MinionBold][features=minion] \definefontsynonym[SerifItalic][MinionItalic][features=minion]
Re: [NTG-context] Experience on writing a thesis with MKIV
Hi Aditya, Any news on bib module - t-bib.tex? If enable the colouring in cite commands in macros.tex I get; \setupcite [interaction=start, compress=no,color=darkgreen] Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others Instead of; Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of von Neumann and Morgenstern () and were later developed as a sub- field of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by Radner () and Marschak and Radner (), and later in control systems by Witsenhausen (a, ), Ho et al. (), Ho (), and others. Obviously I had to move t-bib.tex from the current directory to even get the it compile. Thanks Mohamed Aditya Mahajan wrote: * Bibliography. For a large part, the bib module was very easy. In the end, there were a few glitches with the formatting of the bibliography (too title space between entries) which I had to manually correct. (Look for \help inside the bbl file). The bbl file sorted authors with multiple entries incorrectly. If I had authors with four publications in a year, say 2000, the came out as 2000d, 2000c, 2000b, 2000a. I wanted 2000a, 2000b, 2000c, and 2000d, so in the end I just edited the bbl file by hand. There was also problem with maybe year. If I had 2000a and 2000b in the bib file, but only referred to 2000b in the thesis, the year came out as 2000b rather than 2000. For this also, I edited the bbl file by hand. Overall, ConTeXt made writing the thesis fairly easy. I mean the typesetting part of it. For those who are wondering, ConTeXt does not help with the content of the thesis :-) I would like to thank Hans and Taco for providing ConTeXt and everyone on the mailing list for answering my various questions. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Experience on writing a thesis with MKIV
Hi Aditya, Thanks for getting back to me. I did a fresh checkout and tried to compile, I uncommented out these lines from the beginning of macros.tex. L3 \setupcolors[state=start] ... L16 \setupcite [interaction=start, compress=no,color=] %darkgreen] L276-278 in env-thesis.tex \setupinteraction[state=start,style=,color=] \setupinteraction[focus=standard] It's still the same; Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others. Version: ConTeXt ver: 2008.11.30 14:39 MKIV fmt: 2008.12.1 int: english/english And have you seen this error; ! LuaTeX error ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: attempt to call field 'process' (a nil value) stack traceback: ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: in function 'process' ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:125: in function 'process' main ctx instance:1: in main chunk. \mkloadsortedlist ...xlua {joblists.process('#1')} \getvalue {\s!reset #1}\eg... \doplacelistofsynonyms ... ]\mkloadsortedlist {#1} \endgroup \ifutilitydone \... l.162 \placelistofabbreviations Aditya Mahajan wrote: Hi Mohamed, On Sun, 7 Dec 2008, Mohamed Bana wrote: Hi Aditya, Any news on bib module - t-bib.tex? Sorry for not replying to your earlier message. If enable the colouring in cite commands in macros.tex I get; \setupcite [interaction=start, compress=no,color=darkgreen] The current bib module does not support changing the color of links. The color=darkgreen was a local change that I did in my copy of t-bib. So, color=darkgreen should just be silently ignored. However, compress=no does affect the output of the \cite command but I do not understand why it changes things like like Aumann and Hart (...) instead of (Aumann and Hard, ... ). Can you try to create a minimal example just using the bib module specific setups? Aditya Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of and were later developed as a subfield of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by and , and later in control systems by , , , , and others Instead of; Teams and games Multi-agent systems can be classified as teams and games on the basis of the ob- jective of the agents. In teams all agents have the same objective; in games, each agent has its own objective. Historically, games were first studied in the seminal work of von Neumann and Morgenstern () and were later developed as a sub- field of mathematical economics called game theory (Aumann and Hart, , , ). Teams were first studied in mathematical economics by Radner () and Marschak and Radner (), and later in control systems by Witsenhausen (a, ), Ho et al. (), Ho (), and others. Obviously I had to move t-bib.tex from the current directory to even get the it compile. Thanks Mohamed Aditya Mahajan wrote: * Bibliography. For a large part, the bib module was very easy. In the end, there were a few glitches with the formatting of the bibliography (too title space between entries) which I had to manually correct. (Look for \help inside the bbl file). The bbl file sorted authors with multiple entries incorrectly. If I had authors with four publications in a year, say 2000, the came out as 2000d, 2000c, 2000b, 2000a. I wanted 2000a, 2000b, 2000c, and 2000d, so in the end I just edited the bbl file by hand. There was also problem with maybe year. If I had 2000a and 2000b in the bib file, but only referred to 2000b in the thesis, the year came out as 2000b rather than 2000. For this also, I edited the bbl file by hand. Overall, ConTeXt made writing the thesis fairly easy. I mean the typesetting part of it. For those who are wondering, ConTeXt does not help with the content of the thesis :-) I would like to thank Hans and Taco for providing ConTeXt and everyone on the mailing list for answering my various questions. Aditya ___ If your question is of interest to others as well, please add an entry
Re: [NTG-context] Experience on writing a thesis with MKIV
No the citations aren't working. Am I the only one who thinks ConTeXt needs a extensive set of regression tests? Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred]\titlefont \hskip 1.5em Chapters \stopcolor} Changing L191 env-thesis.tex, has no effect, such as: \setuplist [chapter][color=darkblue] \setuplist [Title] [color=darkblue] Chapters still comes out as darkred. Aditya Mahajan wrote: Hi Mohamed, On Mon, 8 Dec 2008, Mohamed Bana wrote: Hi Aditya, Thanks for getting back to me. I did a fresh checkout and tried to compile, I uncommented out these lines from the beginning of macros.tex. L3 \setupcolors[state=start] ... L16 \setupcite [interaction=start, compress=no,color=] %darkgreen] L276-278 in env-thesis.tex \setupinteraction[state=start,style=,color=] \setupinteraction[focus=standard] It's still the same; I followed the same steps. Downloaded the files from http://www.eecs.umich.edu/~adityam/publications/thesis/thesis.tar.gz unzipped them, removed t-bib.tex from the current directory, made the changes indicated by you above, and did context thesis. Everything compiles files (there is one warning about Delicious-Bold.otf). Version: ConTeXt ver: 2008.11.30 14:39 MKIV fmt: 2008.12.1 int: english/english And have you seen this error; ! LuaTeX error ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: attempt to call field 'process' (a nil value) stack traceback: ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:71: in function 'process' ...nimals/tex/texmf-local/tex/context/base/core-syn.lua:125: in function 'process' main ctx instance:1: in main chunk. \mkloadsortedlist ...xlua {joblists.process('#1')} \getvalue {\s!reset #1}\eg... \doplacelistofsynonyms ... ]\mkloadsortedlist {#1} \endgroup \ifutilitydone \... l.162 \placelistofabbreviations An error like this usually means that luatex or mtxrun is old. I am using context version version: 2008.11.10 21:40 (hmmm... that is after a fresh update from the minimals, which is strange) and LuaTeX, Version snapshot-0.31.0-2008120715. I do not know if something broke in a newer version of context, but for that I will first need to figure out why my minimals are not being updated. Since I was at it, I redid the local change in t-bib so that I can have citations of different colors. Also changed a few other macros, to work well with colors (I had stopped playing with colors a while back ...). I am uploading the changed files and the typeset pdf file at http://pantheon.yale.edu/~am894/temp/ Try to download and compile this and see if it works. In the mean time I will investigate why minimals aren't being updated on my machine. 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problem with fonts
i just updated the minimals and I can no longer typeset, even though $ mtxrun --script fonts --list shows the font ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/luat-log.lua:75: bad argument #2 to 'format' (string expected, got table) stack traceback: [C]: in function 'format' ...mals/tex/texmf-context/tex/context/base/luat-log.lua:75: in function 'report' ...mals/tex/texmf-context/tex/context/base/font-otf.lua:1431: in function 'after' ...mals/tex/texmf-context/tex/context/base/font-otf.lua:895: in function 'load' ...mals/tex/texmf-context/tex/context/base/font-otf.lua:1845: in function 'otf_to_tfm' ...mals/tex/texmf-context/tex/context/base/font-otf.lua:2066: in function 'read_from_open_type' ...mals/tex/texmf-context/tex/context/base/font-def.lua:333: in function ...mals/tex/texmf-context/tex/context/base/font-def.lua:315 (tail call): ? ...mals/tex/texmf-context/tex/context/base/font-def.lua:250: in function 'read' ...mals/tex/texmf-context/tex/context/base/font-def.lua:645: in function 'read' ...mals/tex/texmf-context/tex/context/base/font-def.lua:752: 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 [EMAIL PROTECTED]@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.148 \setupbodyfont[mainface,13pt] %should be 12pt, use 12.5pt for minion a... ? %%% test.tex %%% % engine=luatex \enableregime [utf-8] \def\sc{\setfontfeature{smallcaps}} \definefontfeature [default][default] [protrusion=quality,expansion=quality,mode=node,script=latn] \definefontfeature [oldstyle][default] [protrusion=quality,expansion=quality,mode=node,script=latn,onum=yes] \definefontfeature [smallcaps][default] [protrusion=quality,expansion=quality,mode=node,script=latn,smcp=yes] \usetypescript [serif] [hanging] [pure] \setupalign [hanging] \setfontfeature{oldstyle} \usetypescriptfile[type-folio] \definetypeface[mainface][rm][serif][warnockpro] [default] [features=default] \definetypeface[mainface][ss][sans][myriadpro] [default] [features=default] \definetypeface [mainface] [mm] [math] [palatino] [default] [encoding=texnansi] \setupbodyfont[mainface,13pt] \starttext {\tfa HELLO} {\tfb WORLD} \stoptext %%% type-folio.tex %%% \starttypescript [serif] [minionpro] \definefontsynonym [MinionPro-Regular][name:minionproregular] \definefontsynonym [MinionPro-Bold] [name:minionprobold] \definefontsynonym [MinionPro-Italic] [name:minionproit] \definefontsynonym [MinionPro-BoldItalic] [name:minionproboldit] \stoptypescript \starttypescript [serif] [minionpro] \definefontsynonym [Serif] [MinionPro-Regular] [features=default] \definefontsynonym [SerifBold] [MinionPro-Bold] [features=default] \definefontsynonym [SerifItalic] [MinionPro-Italic] [features=default] \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic] [features=default] % \definefontsynonym [SerifSlanted] [SerifItalic] [features=default] \definefontsynonym [SerifCaps] [Serif] [features=smallcaps] \stoptypescript \starttypescript [sans] [myriadpro] \setups[font:fallback:sans] % \definefontsynonym [MyriadPro-Regular][name:MyriadPro-Regular] [features=default] % \definefontsynonym [MyriadPro-Bold] [name:MyriadPro-Bold] [features=default] % \definefontsynonym [MyriadPro-Italic] [name:MyriadPro-It] [features=default] % \definefontsynonym [MyriadPro-BoldItalic] [name:MyriadPro-BoldIt] [features=default] \definefontsynonym [MyriadPro-Regular][name:myriadproregular] \definefontsynonym [MyriadPro-Bold] [name:myriadprobold] \definefontsynonym [MyriadPro-Italic] [name:myriadproit] \definefontsynonym [MyriadPro-BoldItalic] [name:myriadproboldit] \stoptypescript \starttypescript [sans] [myriadpro] \definefontsynonym [Sans] [MyriadPro-Regular] [features=historic] \definefontsynonym [SansBold] [MyriadPro-Bold] [features=historic] \definefontsynonym [SansItalic] [MyriadPro-Italic] [features=historic] \definefontsynonym [SansBoldItalic] [MyriadPro-BoldItalic] [features=historic] \definefontsynonym [SansCaps] [Sans] [features=latin-smallcaps]
Re: [NTG-context] Problem with fonts
$ luatex --version This is LuaTeX, Version snapshot-0.31.0-2008120715, build unknown Taco Hoekwater wrote: Mohamed Bana wrote: i just updated the minimals and I can no longer typeset, even though $ mtxrun --script fonts --list shows the font ! LuaTeX error Are you running luatex 0.31 ? Taco ___ 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 ___ ___ 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] Experience on writing a thesis with MKIV
sorry about the late reply, my minimals broke so i had to wait for a fix. t-bib-2008.12.01.zip $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 http://filebin.ca/jqqekq/thesis.pdf or http://filebin.ca/jqqekq http://filebin.ca/uhvgex/thesis.log or http://filebin.ca/uhvgex Aditya Mahajan wrote: On Tue, 9 Dec 2008, Mohamed Bana wrote: No the citations aren't working. This is really strange. It is working at my end with the latest version of t-bib. Can you send me your log and pdf file. Am I the only one who thinks ConTeXt needs a extensive set of regression tests? No. We have discussed this extensively in the past. There is also a context-test svn repository with a script that can automatically check if the pdf output changed with different version. However, it has been dormat for about a year now. For more info see http://wiki.contextgarden.net/Test and add more tests. Adiyta, you shouldn't have hard-coded: ./frontmatter.tex:\startcolor[darkred]\titlefont \hskip 1.5em Chapters \stopcolor} Yeah, I know. This was just a quick change, so I did not bother with elegance. The proper way of doing it would be to define a titlecolor and use that. Changing L191 env-thesis.tex, has no effect, such as: \setuplist [chapter][color=darkblue] \setuplist [Title] [color=darkblue] Chapters still comes out as darkred. 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Experience on writing a thesis with MKIV
This is very strange, I did a fresh checkout and everything *just* worked. $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown ... $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 Hopefully this will be my last question; how do you compile individual chapters? Aditya Mahajan wrote: On Tue, 9 Dec 2008, Taco Hoekwater wrote: Aditya Mahajan wrote: On Tue, 9 Dec 2008, Mohamed Bana wrote: sorry about the late reply, my minimals broke so i had to wait for a fix. t-bib-2008.12.01.zip $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 http://filebin.ca/jqqekq/thesis.pdf or http://filebin.ca/jqqekq http://filebin.ca/uhvgex/thesis.log or http://filebin.ca/uhvgex How are you compiling your files? Use context thesis and not texexec --lua thesis (texexec will run bibtex which will overwrite the existing bbl file, since you do not have any bib file, the bbl file will be empty). Please note that my latest upload to modules.contextgarden runs bibtex itself, in mkiv mode. Ah, so that explains why Mohamed is not getting any citations. I was using latest minimals from yesterday which still have t-bib from 2008.10.27. Taco, I also have a feature request for the bib module. Currently, \setupcite is defined as \def\dosetupcite[#1][#2]% {\ifsecondargument \def\dodosetupcite##1{\getparameters[\??pv##1][#2]}% \processcommalist[#1]\dodosetupcite \else % default case \getparameters[\??pv\@@citedefault][#1]% \fi } This means that if I say \setupcite[compress=no], this option is only passed to the default cite command. This means that when interaction is enabled, (and the bibl-* file says compress=yes), we get no styles for other cite styles. Does it make sense to add a keyword all so that \setupcite[all][...] is equal to \setupcite [author,authoryear,authoryears, year,serial,authornum,page,short,type,doi,url,num] [...] Also, can we add style and color options to \cite. These can be either passed to \setupinteraction in \docite or simply added using attributes in the output of \cite. Mohamed, to get the references to work comment \setupbibtex [database={IEEEfull,../collection}, sort=author] in macros.tex and add \dousepublications[thesis] You can also use the official way: \usepublications[thesis], but I think that this will cause warnings about redefined labels. Perhaps a better way would be to change thesis.bbl to say thesis-ref.bbl and then use \usepublications[thesis-ref]. 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Experience on writing a thesis with MKIV
Hi Aditya Are you aware of this using \setupindenting [big,yes] in L 263 env-thesis.tex instead of the default; \setupindenting [medium,yes] results in 'Chapters' in the TOC being indented slightly more than References, Abstract etc. give it a try, you'll notice that it protrudes slightly more than the other entries. ___ 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] PDF page numbers
Derek CORDEIRO wrote: In latex + book/memoir + hyperref, if \frontmatter \mainmatter are used, the pdf files generated use the roman numbers in the pdf itself. It appears as ii (2 of 500) in the pdfviewer. Is it possible to do the same with ConTeXt? It would be great if ConTeXt could. Is there any introduction to using fonts(typefaces) in ConTeXt? I find myself stumbling on simple things(I'm a beginner). For example, the following works fine. \usetypescriptfile[type-gyr] \usetypescript[palatino] \setupbodyfont[palatino,11pt] but the following does not work. \usetypescriptfile[type-gyr] \usetypescript[schoolbook][ec] \setupbodyfont[schoolbook,11pt] I have tried with and older distribution of ConTeXt which comes along with Fedora 10 as well as with ConTeXt minimals. Incidentally if I use \definetypeface[schola][rm][serif][schola][default][encoding=t5] it works fine. What am I doing wrong? Regards, Derek ___ 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 ___ ___ 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] moinmoin ... to ConTeXt
hey guys, just stumbled across this; http://moinmo.in/ (wiki): click on 'more actions'-'render as docbook', then use http://dblatex.sourceforge.net/ to convert to ConTeXt. ___ 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] fullpage and XeTeX typescript
hi, 1. what's the equivalent of the \usepackage{fullpage} for ConTeXt? 2. it would be convenient if LuaTeX supported typescripts like XeTeX does instead of having to define font synonyms, e.g., \definetypeface[mainface][rm][Xserif][Warnock Pro] \definetypeface[mainface][ss][Xsans][Cronos Pro] \definetypeface[mainface][tt][Xmono][Inconsolata][default]%[rscale=0.9] % use only for Monaco %\definetypeface[mainface][mm][Xmath][palatino] \definetypeface[mainface][mm][math][palatino][default]%[encoding=texnansi] \setupbodyfont[mainface, 13pt] ___ 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] lucida and mactex 2008
sorry i'm stealing your thread, but i'm thinking of buying the lucida fonts with maths, which version works with luatex and which one works with mkii, please provide a link for both. Jerónimo Alaminos Prats wrote: Hello, I have been using the lucida fonts without problems for a long time. They work like a charm with mactex 2007 but moving to the 2008 version I've found that some math symbols are shuffled or simply do not appear in the pdf. For example, \midint compiles correctly but do not appear in the pdf result. I have checked everything that I can imagine but cannot find a reason for this behaviour. As example, the result that I get when i compile \setupcolors[state=start] \usetypescript[lucida][texnansi] \usetypescript[lucidabfm][texnansi] \usetypescript[lucidaboldmath][texnansi] \setupbodyfont[lucida,10pt] \starttext \showmathcharacters \stoptext can be seen at http://www.ugr.es/~alaminos/_Media/lucida-2008.pdf Any ideas? Thanks, Jeronimo - Jer�nimo Alaminos Prats Dpto. An�lisis Matem�tico Facultad de Ciencias Universidad de Granada Granada - 18071 alami...@ugr.es ___ 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 ___ ___ 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] Looking for ConTeXt commands for ...
I'am trying to convert a doc to ConTeXt, and I'm also trying to make it as close to the original as possible. How do the command below translate to ConTeXt? 1. \geometry{a4paper, textwidth=5.5in, textheight=8.5in, marginparsep=7pt, marginparwidth=.6in} 2. \scriptsize = \tfxx? 3. \LARGE and \Large 4. \Huge and \HUGE 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Looking for ConTeXt commands for ...
! Undefined control sequence. \CVTITLE ...\ss \bfa #1} \blank [medium]{\ss \tfe #2} }\blank [2*big] l.139 \CVTITLE{}{CV} ? \tfe doesn't seem to work, the others do. $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.11.10 21:40 ConTeXt ver: 2008.11.10 21:40 MKIV fmt: 2008.12.15 int: english/english $ luatex --version This is LuaTeX, Version snapshot-0.30.3-2008112812, build unknown Aditya Mahajan wrote: On Mon, 5 Jan 2009, Mohamed Bana wrote: I'am trying to convert a doc to ConTeXt, and I'm also trying to make it as close to the original as possible. How do the command below translate to ConTeXt? 1. \geometry{a4paper, textwidth=5.5in, textheight=8.5in, marginparsep=7pt, marginparwidth=.6in} For a4 paper use \setuppapersize[a4][a4] For setting geometry, see \setuplayout. 2. \scriptsize = \tfxx? 3. \LARGE and \Large 4. \Huge and \HUGE Semantically, \scriptsize = \tfxx, \Large et. al. are \tfa \tfb \tfc \tfd \tfe, but that may not give you visually the same appearance due to different defaults in Latex and Context. In Latex, these sizes are set as part of the documentclass, or size10.clo, size12.clo, etc. So, the most reliable way to reconstruct the visual appearance will be to figure out what sizes they correspond to in latex, and then set the context font environmet to match the latex values. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Adobe ArnoPro in mkiv
hi, thanks for the reply, it's nice to hear that it's working - what was the problem? anyhow, currently my favourite font is minion/warnock pro and when the math version (that is, MinionMath) is released it'll be the ultimate font. if you want to preview material typeset with minion/warnock pro you might want to check out Daniel Jackson's page http://people.csail.mit.edu/dnj/, in particular his book; Software Abstractions: Logic, Language, and Analysis is typeset in warnock pro. do you mind sharing the typeset for arnopro, i'll give it a try to see how to compares to minion/warnock pro. Mohamed Thomas A. Schmitz wrote: On Aug 24, 2008, at 9:56 AM, Thomas A. Schmitz wrote: On Aug 20, 2008, at 8:59 PM, abbg...@city.ac.uk wrote: Thomas A. Schmitz thomas.schmitz at uni-bonn.de writes: Hi all, I'm trying to use the Adobe ArnoPro font (just testing if it will work with ConTeXt). The font does work with ConTeXt/XeTeX, but not in mkiv. Hi, Did you manage to fix it? LuaTeX goes into (what I think is) an endless cycle --- I haven't allowed it to terminate naturaly, as it takes far too long even on a quad core. Yes, I get a segmentation fault here on OS X as well. I talked to Hans in Bohinj (I'm back earlier than the rest, who are still working hard in Slovenia), and he thinks we'll just have to wait a bit till luatex integrates code from fontforge v.3. So for the time being, Arno Pro is unfortunately no go. Just for the record and in case anybody else is interested: with the latest luatex and the latest beta, ArnoPro now works in mkiv! Best 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 ___ ___ 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] installing fonts pdftex
this http://wiki.contextgarden.net/otfinst did it and it actually worked quite well, thanks a lot. it even took care of the dashes problem. do you know how to default to old style numerals the 'osf' doesn't seem to work, and i'm certain that the font supports it. and if you so happen to be the author, you've got a bug; if i chose Sans, it generates this typescript \definetypeface [sample][rm][serif][cronospro][default][encoding=texnansi] instead of \definetypeface [sample][ss][sans][cronospro][default][encoding=texnansi] Thomas A. Schmitz wrote: On Jan 27, 2009, at 12:28 AM, Mohamed Bana wrote: Hi Thomas, Hi, please address questions to the mailing-list, not to me personally. 1. when is the last time you tried to install a font manually using texfont? i've been trying to get install warnockpro and cronospro - both of which are .otf - but i've had no lack. texfont --makepath --install --fontroot=`pwd` --vendor=adobe --co=warnockpro --en=texnansi --lcdf --preproc --variant=liga,kern,smcp,onum the last time i checked texfont was generating an empty map file. texfont is really old, it predates opentype fonts, so you can't expect it to handle such fonts. It was a brave and wonderful effort to automate installation of fonts, but I gave up using it - not because texfont itself is bad, but because so many fonts are just faulty and/or idiosyncratic, and automatization just can't handle all these eceptions. I always had to double-check and edit files by hand, so I decided to go for a manual process. The --lcdf switch was added by Adam Lindsay, who also wrote a short article about otf and ConTeXt: http://www.tug.org/pracjourn/2005-2/lindsay/lindsay.pdf Too bad Adam isn't active anymore, he was a great help in ConTeXt development. If you search the mailing list archive for texfont lcdf, you will see that the problem with the empty map file is common and was never really solved, AFAIK. So you have several options: 1. install the fonts manually 2. use texfont and write the map file manually 3. try Patrick's otfinst http://wiki.contextgarden.net/otfinst 4. I have a set of support files for using Cronos and Warnock with pdftex; if you want, I can make a zip and send them to you (not before Thursday, however). the free version of lucida (.ttf) that ship with Java files worked fine 2. is there someone i must do to get to dashes working properly? as in, --- doesn't generate the right dash nor does --. These are defined as ligatures in the tfm/vf files. Doesn't texfont produce vpl-files as an intermediate format? You could open those and check whether the ligature is defined. It probably isn't, and then you have to hunt down the reason or add it manually... Good luck 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 ___ ___ 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] setuphead question
i also have a question; why can't i use different fonts in \def\myCommand#1#2{{\ss\sc #1}{\rm\sc #2}{\ss\sc\bf #1}{\rm\sc\bf #2}} \setuphead[part][command=\myCommand] the font commands are simply ignored. I don't want to have to resort to using numberstyle and textstyle. 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Ouput of compile
hi, is it possible to forward the output a compile to a specific directory to avoid cluttering the current dir? also do you guys know that --purgeall still leaves some output - such as bibtex - to the current dir. it would also be great if texexec could also accept which dir to get the temp files from to avoid generating them again. i know i can forward the PDF output to a specific place, but that's not the point. ___ 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 Math - what it is
i upgraded only to check if this would would, and it didn't, any idea why? $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 $ luatex --version This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown % engine=luatex \usetypescript[cambria] \setupbodyfont[cambria] \starttext $\mu$ µ is ok, but $µ$ is ţ \stoptext uses Latin Modern i'm getting this error when i try to use Tikz ! Undefined control sequence. recently read \usetikzlibrary l.11 \usetikzlibrary [arrows,automata,fit] ? also where exactly are the typescripts located and do you happen to have the Asana Math typescripts as well? :) btw, thanks a lot. Wolfgang Schuster wrote: Am 13.02.2009 um 18:12 schrieb Michail Vidiassov: You can already use Cambria Math or Asana Math in mkiv with the non-released LuaTeX with ConTeXt beta from Pragma. How? What are the typescripts? \usetypescript[cambria] \setupbodyfont[cambria] 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 ___ ___ 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 Math - what it is
in first-setup.sh # download or update the distribution # you may remove the --context=beta switch mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --context=alpha --texroot=$PWD/tex --extras=t-tikz $@ got this error loading : Context Synchronization ) (/home/mbana/context-minimals/tex/texmf-context/tex/context/base/math-pln.tex) (/home/mbana/context-minimals/tex/texmf-context/tex/context/base/math-ini.mkiv ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/math-noa.lua:161: table index is nil stack traceback: ...mals/tex/texmf-context/tex/context/base/math-noa.lua:161: in main chunk main ctx instance:1: in main chunk. \ctxluabytecode ...de[#1] = nil end else end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.43 \registerctxluafile{math-noa}{1.001} ? Mojca Miklavec wrote: On Fri, Feb 13, 2009 at 8:44 PM, Mohamed Bana wrote: i upgraded only to check if this would would, and it didn't, any idea why? $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 $ luatex --version This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown You need version 0.33.1 from SVN and the latest ConTeXt (about 5 days old; in minimals it's --context=alpha and it's beta on Pragma, but you need your own LuaTeX). % engine=luatex \usetypescript[cambria] \setupbodyfont[cambria] \starttext $\mu$ µ is ok, but $µ$ is ţ \stoptext uses Latin Modern i'm getting this error when i try to use Tikz ! Undefined control sequence. recently read \usetikzlibrary l.11 \usetikzlibrary [arrows,automata,fit] ? Did you check for notices like module tikz not loaded in the log? If you use the minimals you need to make sure to add --extras=t-tikz to first-setup.sh (or add that switch when you call first-setup.sh). also where exactly are the typescripts located and do you happen to have the Asana Math typescripts as well? :) They are in type-otf.tex. If you want to use Asana, just copy the whole portion of cambria typescripts and search-and-replace-all from cambria to asana (or ask Hans politely to do that in core once he's back). 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 ___ ___ 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] luatex tikz problem
hi, why does this fail with luatex? also, try \enableregime[utf-8] i got another error message when that's enabled. $ luatex --version This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 texexec --lua test.tex ! Missing \endcsname inserted. to be read again \edef \t...@finish ...\the \pgflinewidth }\fi \fi \edef \t...@temp {\noexpand \pgf... argument ...linewidth {\begingroup \t...@finish }\global \pgflinewidth =\p... \pgfu...@secondoftwo #1#2-#2 argument ...l \pgflinewidth =\pgfu...@tempdima } \pgfu...@ifundefined {...@... \pgfu...@secondoftwo #1#2-#2 ... l.52 ...ft:$s_0$] {$p,q$}; ? %\enableregime[utf-8] \usemodule[tikz] \usemodule[pgfplots] %\usetikzlibrary[fit] % ConTEXt \usetikzlibrary[arrows,automata,fit] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] \tikzstyle{every state}=[fill=grey,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] reducing compile time
maybe someone should research LuaJIT; http://luajit.org/ lua vs luajit; http://shootout.alioth.debian.org/u32q/benchmark.php?test=alllang=luajitlang2=luabox=1 thoughts? Alan Stone wrote: - does using \doifundefined{myMacro}{...} shorten tex runs/compile time ? - what are the features to avoid for shortest compile times ? -- 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 ___ ___ 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] luatex tikz problem
anyone? Mohamed Bana wrote: hi, why does this fail with luatex? also, try \enableregime[utf-8] i got another error message when that's enabled. $ luatex --version This is LuaTeX, Version snapshot-0.31.3-2008123108, build unknown $ context --version MtxRun | main context file: /home/mbana/context-minimals/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2009.01.18 14:39 texexec --lua test.tex ! Missing \endcsname inserted. to be read again \edef \t...@finish ...\the \pgflinewidth }\fi \fi \edef \t...@temp {\noexpand \pgf... argument ...linewidth {\begingroup \t...@finish }\global \pgflinewidth =\p... \pgfu...@secondoftwo #1#2-#2 argument ...l \pgflinewidth =\pgfu...@tempdima } \pgfu...@ifundefined {...@... \pgfu...@secondoftwo #1#2-#2 l.52 ...ft:$s_0$] {$p,q$}; ? %\enableregime[utf-8] \usemodule[tikz] \usemodule[pgfplots] %\usetikzlibrary[fit] % ConTEXt \usetikzlibrary[arrows,automata,fit] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] \tikzstyle{every state}=[fill=grey,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \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://tex.aanhet.net archive : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [Fwd: Re: math preview in emacs]
has anyone else looked at providing math preview with ConTeXt? ---BeginMessage--- On Thu, 5 Mar 2009, Mohamed Bana wrote: hi Aditya, maybe i should have been more explicit in my last email. auctex supports maths preview for latex, i was wondering how far you got on it. Hi Mohamed, I did not explore emacs too much. At present for context, I find vim much better (simply because I know vim very well). I rarely use latex these days, so there is not much incentive to learn emacs. I might look at this again in future if I have to use latex in a large project. One thing that I never understood was why it is hard to port preview-latex to ConTeXt, especially for displays. For displays and floats, all preview latex does is create a pdf/png; in ConTeXt, we can get that easily by using \startTEXpage ... \stopTEXpage around the environment. I assume that this would be easy for someone who knows the inner working of AucTeX. For me it is a long term project, which I will get to some day. Best, Aditya ---End Message--- ___ 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] Bib module...
Taco, hi, I've said this before, but I think you need to include a complete example (i.e., the source) with your bib PDF somehow. It wasn't as straight forward as I would have wanted it to be. Taco Hoekwater wrote: Willi Egger wrote: Hi, I should typeset an article... Now I tried out different approaches but I do not get a complete list of references. I am puzzled why I do get only Taco's reference in the list and why there is no journal mentioned in Taco's reference. You are missing the journal entry because a manual is not an article, and you are missing the Allan et al. reference because Allan-eighty is not the same as [Allan80] Best wishes, Taco ___ 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 ___ ___ 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] Bib module...
I've heard PDF now supports attaching text files. Not sure accurate that is. Thanks Taco Mohamed Bana wrote: Taco, hi, I've said this before, but I think you need to include a complete example (i.e., the source) with your bib PDF somehow. It wasn't as straight forward as I would have wanted it to be. Taco Hoekwater wrote: Willi Egger wrote: Hi, I should typeset an article... Now I tried out different approaches but I do not get a complete list of references. I am puzzled why I do get only Taco's reference in the list and why there is no journal mentioned in Taco's reference. You are missing the journal entry because a manual is not an article, and you are missing the Allan et al. reference because Allan-eighty is not the same as [Allan80] Best wishes, Taco ___ 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 ___ ___ 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 ___ ___ 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] luatex tikz problem
Aditya, thanks for looking into it. ConTeXt version: 2009.02.25 14:43 $ luatex --version This is LuaTeX, Version snapshot-0.35.0-2009022421, build unknown untouched version of tikz from minimals Aditya Mahajan wrote: On Sat, 21 Feb 2009, Mohamed Bana wrote: hi, why does this fail with luatex? also, try \enableregime[utf-8] i got another error message when that's enabled. You do not need \enableregime[utf-8] in luatex. Everything is already utf-8. The following works for me (see attached pdf). For some reason, the text in the first node is black. Notice the \tikzstyle line is different from what you had. BTW, the fix for the arrows is; \usetikzlibrary[arrows] *I think* the problem was with; \usemodule[pgfplots] if I include it get the following in the resulting PDF; mapped colorrgb0,0,0 ad2.tex is original --- ad.tex 2009-03-07 23:32:53.0 + +++ ad2.tex 2009-03-07 23:34:24.0 + @@ -3,16 +3,12 @@ \le...@\zeropoint \protect \usemodule[tikz] -\usetikzlibrary[arrows,automata] - -%\usemodule[pgfplots] -\setupcolors[state=start] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] - \tikzstyle{every state}=[fill=black,draw=none,text=white] + \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; @@ -32,5 +28,4 @@ \stoptikzpicture -\stoptext - +\stoptext Mohamed \unprotect \newtoks\toks@ \le...@\zeropoint \protect \usemodule[tikz] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \stoptext LuaTeX, Version snapshot-0.35.0-2009030712, build 1950 ConTeXt version: 2009.03.07 00:29 CVS version of tikz: date 2009-03-01 from http://www.texample.net/tikz/builds/ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ad.pdf Description: Adobe PDF document \unprotect \newtoks\toks@ \le...@\zeropoint \protect \usemodule[tikz] \starttext \starttikzpicture[-,=stealth',shorten =1pt,auto,node distance=4cm, semithick] \tikzstyle{state}=[fill=gray,draw=none,text=white] \node[state] (s0) [label=left:$s_0$] {$p,q$}; \node[state] (s1) [below right of=s0,label=right:$s_1$] {$q$}; \node[state] (s2) [below of=s0,label=right:$s_2$] {$q$}; \node[state] (s3) [below left of=s0,label=left:$s_3$] {$p$}; \path (s0) edge [loop above] (s0) edge (s1) edge (s3) (s1) edge [bend right] (s3) (s2) edge [loop below] (s2) edge (s0) edge [right] (s1) (s3) edge [right] (s1) edge [right] (s2); \stoptikzpicture \stoptext ad-pgf.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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Simplified input for natural tables
looks nice. Aditya Mahajan wrote: On Thu, 12 Mar 2009, Vyatcheslav Yatskovsky wrote: In the same way as Hans wrote them in his exmple. Cool, but will it be included in context source? Or it is too early? I think that such solutions are too fragile. A robust way will be to use a complete mediawiki (or any other markup) parser. It one in lua is available, integrating it to ConTeXt will be easy. If not, we can still have an external file based route. For some time I have been thinking about a module using which I can do \definemarkup[RST][command={pandoc -r rst -w context}] \startRST Write anything here in restructured text syntax here. For example - Two syntaxes for tables_: 1. `Grid tables`_; complete, but complex and verbose:: +++--+ | Header row, column 1 | Header 2 | Header 3 | +++==+ | body row 1, column 1 | column 2 | column 3 | +++--+ | body row 2 | Cells may span| ++---+ 2. `Simple tables`_; easy and compact, but limited:: == == Header row, column 1 Header 2Header 3 == == body row 1, column 1 column 2column 3 body row 2Cells may span columns == \stopRST Such a module will also provide a quick and dirty way of writing simple presentations. Any takers for writings such a module (basically just copying the R module a bit). 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] math problems
hi guys, i generally use this file to test if math is working, with the recent update i get a lot of errors such as; ! Missing number, treated as zero. to be read again $ \@@dobig ...o #1\bodyfontsize {}\right @space $ }} \...@mt@defaultBigl ...\puremathcomm {open}{\Big {#1} } l.99 \pauli = \dirac^2 = \Bigl( \sum_{j=1}^2 \sigma_j\big(-i\PD{}{x^j}-a_j\bi... ? with texlive 2008 it works just fine, i've attached the output of the TL2008. i'm certain that the same file was compiling just fine with (i think) luatex 0.31 (or pre 0.31). the content is from Mikael Persson's thesis. Mohamed \usemodule[bib] \def\mathbb#1{{\blackboard #1}} \def\pauli{\mathfrak{P}} \def\mathfrak#1{{\fraktur #1}} % Matriser av olika typ. % Paranthesis \definemathmatrix [pmatrix] [left={\left(\,},right={\,\right)}] % Brackets \definemathmatrix [bmatrix] [left={\left[\,},right={\,\right]}] % Curly braces \definemathmatrix [Bmatrix] [left={\left\{\,},right={\,\right\}}] % vertical bars \definemathmatrix [vmatrix] [left={\left\vert\,},right={\,\right\vert}] % double vertical bars \definemathmatrix [Vmatrix] [left={\left\Vert\,},right={\,\right\Vert}] \def\PD#1#2{\frac{\partial #1}{\partial #2}} \def\ann{\mathscr{Q}^{\vphantom{*}}} \def\mathscr#1{{\gothic #1}} \def\cre{\mathscr{Q}^*} \def\dirac{{\mathfrak{D}}} \def\pform{\mathfrak{p}} \def\ed{\mfunction{\,d}} \definemathcommand [dom] [nolop] {\mfunction{Dom}} \def\bz{\bar{z}} \def\psip{{\psi_+}} \def\psim{{\psi_-}} % \eqref \definereferenceformat[eqref][left=(,right=)] \defineenumeration[problem] [text=Problem, location=serried, width=fit, indenting=first, distance=0.5em, way=bysection, ] \subsubsection[ksec:paulitvad]{The Pauli operator in $\mathbb{R}^2$} A charged spin $1/2$ particle is described by the Pauli Hamiltonian, which acts in $L_2(\mathbb{R}^2)\otimes \mathbb{C}^2$, and is formally defined as \placeformula[keq:pauli] \startformula \pauli = \startpmatrix \NC H-\frac{g}{2}B \NC 0 \NR \NC 0 \NC H+\frac{g}{2}B\NR \stoppmatrix. \stopformula Here $H$ is the two-dimensional Schrödinger Hamiltonian $H=(-i\nabla -\vec{a})^2$, $B$ is the magnetic field (In two dimensions we identify the two-form and the coefficient function), and $g$ is the {\em gyromagnetic ratio}. We identify the real point $(x^1,x^2)$ with the complex number $z=x^1+ix^2$, and denote a scalar potential of $B$ by $W$, \startformula -\Delta W = B. \stopformula We set $\Pi_j = -i\PD{}{x^j}-a_j$ and \startformula \ann = \Pi_1 - i \Pi_2,\quad \cre = \Pi_1 + i\Pi_2, \stopformula and note that \placeformula[keq:komm] \startformula \ann\cre=\cre\ann+2B,\quad H=\cre\ann+B=\ann\cre-B. \stopformula From~\eqref[keq:pauli] and~\eqref[keq:komm] we get \placeformula[keq:paulig] \startformula \pauli = \startpmatrix \NC \cre\ann-\frac{g-2}{2}B \NC 0 \NR \NC 0 \NC \ann\cre+\frac{g-2}{2}B\NR \stoppmatrix. \stopformula The number $\frac{g-2}{2}$ is called the {\em anomaly factor} of the magnetic moment. Experiments give an anomaly factor of $0.00159$ for the electron~\cite[bovo]. We assume that $g=2$, which is the simplest case. Thus, the Pauli Hamiltonian we study in this thesis is formally defined by \placeformula[keq:pauliw] \startformula \pauli = \startpmatrix \NC \cre\ann \NC 0 \NR \NC 0 \NC \ann\cre\NR \stoppmatrix. \stopformula The Pauli operator can be written as the square of the Dirac operator \placeformula[keq:paulia] \startformula \pauli = \dirac^2 = \Bigl(\sum_{j=1}^2 \sigma_j\big(-i\PD{}{x^j}-a_j\big)\Bigr)^2 = \startpmatrix \NC 0 \NC \cre \NR \NC \ann \NC 0\NR \stoppmatrix^2 \stopformula from which it follows that it is a non-negative operator. Now let us be more precise about the domains. As in the case of the Schrödinger Hamiltonian there is a problem in defining the Pauli Hamiltonian if the magnetic field is too singular. The quadratic form corresponding to $\pauli$ is given by \placeformula[keq:pform] \startformula \pform(\psi,\psi)= \int_{\mathbb{R}^2} \Big|\sum_{j=1}^2 \sigma_j\big(-i\PD{}{x^j}-a_j\big)\psi\Big|^2\ed m(x). \stopformula If $\vec{a}\in L_{2,\text{loc}}(\mathbb{R}^2)\otimes \mathbb{R}^2$ then $\pform(\psi,\psi)$ makes sense for $\psi\in C_0^\infty(\mathbb{R}^2)\otimes \mathbb{C}^2$. We define the {\em minimal} Pauli form $\pform_{\text{min}}$ as \startformula \startalign \NC \dom(\pform_{\text{min}}) \NC = C_0^\infty(\mathbb{R}^2)\otimes \mathbb{C}^2;\NR \NC \pform_{\text{min}}(\psi,\psi) \NC = \pform(\psi,\psi),\quad \psi\in\dom(\pform_{\text{min}}).\NR \stopalign \stopformula It is closable and thus a self-adjoint operator $\pauli_{\text{min}}$ can be defined. We also define the {\em maximal} Pauli form $\pform_{\text{max}}$ as \placeformula \startformula \startalign \NC \dom(\pform_{\text{max}}) \NC = \bigl\{\,\psi\in L_2(\mathbb{R}^2)\otimes \mathbb{C}^2\bigm|
Re: [NTG-context] math problems
fairly recently as in, say, 2 months ago, i could typeset that file without changing anything, that is, it worked with luatex and pdftex from the minimals and pdtex from texlive 2008. is this because of the recent addition of the math stuff? Mohamed Aditya Mahajan wrote: On Sun, 15 Mar 2009, Mohamed Bana wrote: hi guys, i generally use this file to test if math is working, with the recent update i get a lot of errors such as; Add \let\blackboard\mathblackboard \let\fraktur\mathfraktur \let\gothic\mathfraktur in your preamble. 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] typescript repository
I personally would like see a professionally done typescript for Minion and Warnock Pro with Myriad and Cronos Pro. I posted mine a while ago, but I got no feed back. Wolfgang Schuster wrote: Hi all, what do think about a page with typescript files for good quality free fonts, we have a few typescripts on the wiki but you have to copy them first in your document or in a file before you can use them. 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 ___ ___ 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] typescript repository
Beware you might have to replace \definefontsynonym [SerifCaption-Regular] [file:MinionPro-Capt] [features=default] with \definefontsynonym [SerifCaption-Regular] [name:MinionPro-Capt] [features=default] on my install CM is used if file: is used. Bruce D'Arcus wrote: Wolfgang Schuster schuster.wolfgang at googlemail.com writes: Am 24.03.2009 um 16:27 schrieb Bruce D'Arcus: As for how to do it, I could imagine using the wiki. But I could also imagine some other approach, like someone starting a project on GitHub or something similar. I did this now, I put a few typescript files online: http://bitbucket.org/wolfs/typescripts/src/299e712756a6/ Great! So followup question, then: I saw you added the basic adobe typescripts (thanks!). How best to add opticals support to this? Should the contents from the wiki be added more-or-less as is to that typescript file? Bruce ___ 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 ___ ___ 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] typescript repository
Some strange font is used now. \usetypescriptfile[type-optical] % \starttypescript [main] [war] % \definetypeface [war] [rm] [serif] [minion] [optical] % \definetypeface [war] [ss] [sans] [cronos] [optical] % \stoptypescript % \usetypescript[main][war] % \setupbodyfont[war,rm,14pt] \starttypescript [main] \definetypeface [main] [rm] [serif] [minion] [optical] \definetypeface [main] [ss] [sans] [cronos] [optical] \stoptypescript \usetypescript[main] \setupbodyfont[main,14pt] \starttext \input tufte 123456789 {\os 123456789} hello---good morning. between the 4--5. is it type-safe. \blank[5*big] \ss \input tufte 123456789 {\os 123456789} hello---good morning. between the 4--5. is it type-safe. \stoptext Wolfgang Schuster wrote: Am 25.03.2009 um 04:31 schrieb Mohamed Bana: Beware you might have to replace \definefontsynonym [SerifCaption-Regular] [file:MinionPro-Capt] [features=default] with \definefontsynonym [SerifCaption-Regular] [name:MinionPro-Capt] [features=default] Can you test my new version. 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 ___ minionpro.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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] typescript repository
it works, great! thanks Wolfgang Schuster wrote: Am 25.03.2009 um 14:37 schrieb Mohamed Bana: Some strange font is used now. A fixed version is in the repository. 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 ___ ___ 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] typescript repository
does anyone use Asana Math? Wolfgang Schuster wrote: Hi, the repository [1] has now a few typescripts from me but it would be nice if other people can contribute more files for other fonts. Another thing I need is a license for the files because I need one for CTAN submission and TeXLive inclusion. [1] http://bitbucket.org/wolfs/typescripts/ 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 ___ ___ 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] recurse bug?
Asalamu Alakum Prof. Hamid, you sent me an email about Minion Pro opticals, did you get my reply? Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, The following, using the latest beta, moves the last recurse to the next page: \setuplayout [lines=12] \starttext \pardir TRT \dorecurse{12}{This is a recursive line. \crlf} \stoptext so we get only 11 lines on page 1. Is this a bug? Best wishes Idris ___ 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] New module simpleslides
thank you both. is there any chance that this will ship with the minimals, that is, so i don't have to download and extract it manually? i've never been content with slides that come as part of ConTeXt, some are too fancy. Thomas A. Schmitz wrote: Dear list members, We're happy to announce the initial release of the simpleslides module. It has taken us somewhat longer than we anticipated, but now it's there! simpleslides is a module that facilitates the creation of presentations in ConTeXt. It provides a few macros to position titles, text, and images on slides, some typescripts to make use of LatinModern and the TeXGyre fonts, and a few pre-defined styles that should make your presentations visually appealing. We guarantee that this release is absolutely bug-free; whoever finds a bug has the inalienable right to buy us a beer at the next ConTeXt meeting! Seriously: we are aware that some things are not working as expected. Our biggest and most embarrassing problem for the time being is that the module refuses to work with XeTeX. Neither of us uses XeTeX on a regular basis, and we're not familiar with its innards, so we're at a loss here. If you can offer help, you will be most welcome! We would of course welcome feedback, bug reports, feature suggestions, etc., so download the module at http://modules.contextgarden.net/module/detail?name=simpleslides and give it a whirl! Aditya and 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 ___ ___ 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] Font and Typescript Questions
curiouslearn wrote: Can someone please help me with the following questions so that I can use some of the typescripts that Wolfgang and some others have so kindly made available. I will use font Bera as an example, since I would like to use it. I have a Mac OS X Version 10.5.6 (1) How do I know if I have font Bera? As in, where on my computer do I look to see if I have font Bera installed? if you run the minimals, and probably also linux, this should tell you if the font has been cached. i'm not sure if the pattern is case sensitive. $ mtxrun --script font --list --pattern=*bera* (2) If I do not have the font, how do I install Bera? I see that there are files on ctan. Where should I save this? is it an OpenType font? on linux i just put it into my ~/.fonts/ dir. (3) Once I have installed the font and I have downloaded Wolfgang's type-bera.tex file, where do I save this file? Can I save it where I save the third-party modules. Once I save it, do I run the usual texhash, followed by luatools --generate followed by context --make just put it in current dir and see if it works, you won't need to run those commands (i think). (4) Once I have accomplished the top three steps, how do I use it in a document? Do I just type \usetypescript[bera] \switchtobodyfont[bera,12pt] OR, do I also have to type \usemodule[type-bera] I would really appreciate any help. ___ 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 ___ ___ 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] [OT] adobe_reader_91_for_linux
that isn't good enough, evince reloads the PDF automatically if it changes. � wrote: 2009/4/1, luigi scarso luigi.sca...@gmail.com: http://blogs.adobe.com/acroread/2009/03/adobe_reader_91_for_linux_and.html Get it. Now. It has a reload shortcut. :-) Best Martin ___ 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 ___ ___ 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] new beta
hi all, on that tangent, is it possible to get command line completion for the rest of the options for example something like mtxrun tabscripts --tabfonts --tabreload etc. Hans Hagen wrote: Ulrike Fischer wrote: Am Wed, 08 Apr 2009 19:58:19 +0200 schrieb Hans Hagen: Ulrike Fischer wrote: Am Wed, 08 Apr 2009 18:54:08 +0200 schrieb Hans Hagen: It works partly: After I called luatools --generate mtxrun now finds also fonts in my various texmf-trees (and not only the one in the system folder), but mtxrun works only if I move first font-syn.lua in the folder of mtxrun. But this only a small nuisance. hm, i'll have a look at it; i wonder why it fails since it has worked for ages what does luatools font-syn.lua return ? Nothing if I remove the file from the folder. When the file is in the folder then I get the answer font-syn.lua: I:\TeX-Roots\luatexmf\texmf\scripts\context\lualuatex --luaonly luatools.lua font-syn.lua font-syn.lua hm, strange as you made a file database I don't know. Don't forget that I'm using a very minimal system with an hand-made texmf.cnf to hook luatex to my miktex. It is quite possible that I'm simply missing some standard file or texmf.cnf-setting. I don't expect everything to run smoothly. It is already running better than I thought it would. what does luatools --verbose return? luatools --verbose xxx should report the loaded databases ___ 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] \rightarrow missing?
excuse me if this has already been fixed. $ pdfinfo test1.pdf Creator:ConTeXt - 2009.03.23 10:57 Producer: LuaTeX-0.36.0 CreationDate: Fri Apr 10 18:10:34 2009 ModDate:ConTeXt - 2009.03.23 10:57 \implies doesn't work ! Undefined control sequence. recently read \implies l.11 $\implies $ ? *I* think \Rightarrow should be exchanged for \implies, as \implies generates a slightly longer arrow. $ pdfinfo test2.pdf Creator:ConTeXt - 2009.03.23 10:57 Producer: pdfTeX-1.40.9 CreationDate: Fri Apr 10 18:11:36 2009 ModDate:Fri Apr 10 00:00:00 2009 %%% the file %%% \starttext $\rightarrow$ $\to$ $\leftarrow$ $\leftrightarrow$ $\implies$ $\Rightarrow$ \stoptext Jesse Alama wrote: I switched from MkIV to MkII today because of this gap in MkIV's math: I need to submit a dissertation that has \rightarrow's in it. Let's hope that this issue is resolved soon. Jesse Alan BRASLAU alan.bras...@cea.fr writes: Indeed, it seems to be broken in mkiv \rightarrow \to \leftarrow ... However, \leftrightarrow works. So, currently, it is hard to typeset limits under mkiv! Alan On Tuesday 31 March 2009 09:14:16 Hans Hagen wrote: Aditya Mahajan wrote: On Mon, 30 Mar 2009, Jesse Alama wrote: It seems that \rightarrow is missing. The command exists, in the sense that its use doesn't lead to an error, but it doesn't lead to anything in the output. Minimal example: \starttext $\rightarrow$ \stoptext Hans, What does the new arrow function in math-vfu.lua supposed to do? it will be used instead of the macro based one (as luatex has native support for such extenders now) but i had to wait till you fixed all the other arrows that you added someplace Hans ___ 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 ___ test1.pdf Description: Adobe PDF document test2.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___