Re: [NTG-context] ConTeXt + BibTeX problem
Mohamed Bana wrote: 1. Using \completepublications[criterium=all] produces the error message; Because there is no bbl file, as Jean said. You should run bibtex 'by hand' in mkiv, but I'll upload a mkiv-aware version of the bib module later today. 2. Compiling with the following using \completepublications and \subsubject{Top trading procedures} or \subsection{Top trading procedures}; Why? Same reason as under 1. 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. Is that the biblatex guy? 4. Why is the [criterium=all] parameter needed? Because the default is to create local bibliography list (just like local toc's ). This may have been the wrong decision, but it is too late to change now, I fear. 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 ___
Re: [NTG-context] ConTeXt + BibTeX problem
Le 01 décembre à 09:06:20 Taco Hoekwater [EMAIL PROTECTED] écrit notamment: | Because there is no bbl file, as Jean said. You should run bibtex | 'by hand' in mkiv, but I'll upload a mkiv-aware version of the bib | module later today. Strange! My experience is that texexec with «%engine=luatex» on top of the file creates the bbl file, so mkiv seems to be able to work with bibtex already. cheers, -- Jean ___ 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] minimals: cannot find cmsy10.pfb
On Mon, Dec 1, 2008 at 4:50 AM, Sanjoy Mahajan wrote: While testing Norbert's latest Debian packages, I ran across the following font problem with the recent ConTeXt minimals. The following test file: = cut here = \usetypescript[palatino][ec] \definetypeface [palatino] [mm] [math] [euler] [euler] [rscale=1.03] \setupbodyfont[palatino,11pt] \starttext $\equiv$ \stoptext = cut here = fails with: !pdfTeX error: pdftex (file cmsy10.pfb): cannot open Type 1 font file for readi ng == Fatal error occurred, no output PDF file produced! Among the many map files that are read in, only original-public-lm.map mentions cmsy10.pfb, and it contains this mapping: cmsy10CMSY10 cmsy10.pfb Since cmsy10.pfb isn't in the minimals, I tried to fake it by symlinking to the texlive fonts and running mktexlsr, but that didn't work. The ls-R database contained cmsy10.pfb, but kpsewhich cmsy10.pfb wouldn't find it. Hello Sanjoy, we somehow deliberately decided not to put any cmr files into distribution, but if some of them are needed, it would make sense to fix that. Another workaround that I tried was to add this line \pdfmapfile{+pdftex.map} to the start of the test file. But that trick only produced errors about duplicated fontmap entries. That's the trick that we used to be able *not to include* the cmr files. It's used by pdftex format and declared cmsy10 to be: cmsy10 LMMathSymbols10-Regular enclmmathsy ReEncodeFont lm-mathsy.enc lmsy10.pfb But I guess that the problem lies somewhere else. I'm almost sure that the virtual font in Euler calls for cmsy10.pfb in which case you cannot trick TeX with map files pointing to some other font. I'm using Debian GNU/Linux i386, context minimals 2008.11.10 w/ MKII. I tested it with the 2008.10.31 minimals but found the same problem. I can also test it with other versions. Is there a list of available dates to feed the --context=.MM.DD switch? See: http://minimals.contextgarden.net/current/context/ (though Hans just implemented a way to fetch that list and list the available modules, so this could be used to list available versions as well. Not included yet.) I deleted older distributions since there was a critical lack of space on the garden. But this would not solve your problem. It lies in distribution, not in ConTeXt itself. I would suggest you to put cmsy10.pfb to texmf-local/fonts/... in order to solve your problem right away. But for the general solution ... any ideas? I can still include CM Type1 fonts if really needed ... it's just that noone has complained so far. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt + BibTeX problem
Jean Magnan de Bornier wrote: Le 01 décembre à 09:06:20 Taco Hoekwater [EMAIL PROTECTED] écrit notamment: | Because there is no bbl file, as Jean said. You should run bibtex | 'by hand' in mkiv, but I'll upload a mkiv-aware version of the bib | module later today. Strange! My experience is that texexec with «%engine=luatex» on top of the file creates the bbl file, so mkiv seems to be able to work with bibtex already. texexec does, context doesn't (yet). I have uploaded a patched version of the bib module that runs bibtex internally in mkiv mode. http://modules.contextgarden.net/bib 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 ___
Re: [NTG-context] minimals: cannot find cmsy10.pfb
Mojca Miklavec wrote: cmsy10 LMMathSymbols10-Regular enclmmathsy ReEncodeFont lm-mathsy.enc lmsy10.pfb But I guess that the problem lies somewhere else. I'm almost sure that the virtual font in Euler calls for cmsy10.pfb in which case you cannot trick TeX with map files pointing to some other font. The vf calls for the cmsy10 tfm. That name is then passed through the font mapping machinery, so the trick above should have worked. The fact that the name cmsy10.pfb is discovered means that there is a mapfile line for cmsy10 CMSY10 cmsy10.pfb in one of the map files (original-public-lm?) 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 ___
Re: [NTG-context] looking for equivalence to LaTeX algorithm package
On Sun, Nov 30, 2008 at 5:09 PM, Zhaopeng Xing [EMAIL PROTECTED] 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. \starttext \setuplines[space=yes] \startlines $sum \leftarrow 0$ \bold{for} $i \leftarrow 1,n$ \bold{do} $sum \leftarrow sum + i$ \bold{end for} \stoplines \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 ___
Re: [NTG-context] [Fwd: PV126: typographic programming course info (fwd)]
On Mon, Dec 1, 2008 at 5:22 PM, Hans Hagen [EMAIL PROTECTED] wrote: Yue Wang wrote: Great. will the courses be recorded and posted on web? not that i know; so you have to be there in person -) well, I wish I could, but it's too far away... And I think all the context fans are looking forward to attend that lecture --- so, if we can record it, then everyone will benefit (just like the MIT's 6.001 courses) ^_^ Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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
Thank you, Walfgang. I will try. It is a good exercise. 2008/12/1 Wolfgang Schuster [EMAIL PROTECTED] On Sun, Nov 30, 2008 at 5:09 PM, Zhaopeng Xing [EMAIL PROTECTED] 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. \starttext \setuplines[space=yes] \startlines $sum \leftarrow 0$ \bold{for} $i \leftarrow 1,n$ \bold{do} $sum \leftarrow sum + i$ \bold{end for} \stoplines \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 ___ -- 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 ___
Re: [NTG-context] The rules of Chinese breaking lines don't work
On Mon, Dec 1, 2008 at 7:48 AM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Dec 1, 2008, at 3:28 AM, Yue Wang wrote: no, it's a bug of ConTeXt. Hans had already fixed that. (Context version hasn't changed, but the font-ini.mkiv changed in the TRUNK. with the new font-ini.mkiv from Hans, the problem is solved. remember: ConTeXt version is only the number defined in context.tex file. If other files are changed, the ConTeXt version remains the same) Ah OK, thanks for the pointer! You're right, it works now. By TRUNK, you mean the alpha version that Hans posted yesterday? no. I mean the minimals repository. the alpha version of ConTeXt is not in the repo yet. yesterday, the repo only update two files (mtxrun and font-ini.mkiv). and the version number is still 2008.11.10 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] minimals: cannot find cmsy10.pfb
On Mon, Dec 1, 2008 at 11:48 AM, Taco Hoekwater wrote: Mojca Miklavec wrote: cmsy10 LMMathSymbols10-Regular enclmmathsy ReEncodeFont lm-mathsy.enc lmsy10.pfb But I guess that the problem lies somewhere else. I'm almost sure that the virtual font in Euler calls for cmsy10.pfb in which case you cannot trick TeX with map files pointing to some other font. The vf calls for the cmsy10 tfm. That name is then passed through the font mapping machinery, so the trick above should have worked. The fact that the name cmsy10.pfb is discovered means that there is a mapfile line for cmsy10 CMSY10 cmsy10.pfb in one of the map files (original-public-lm?) Hello, Taco, thanks for the remark (and sorry for my stupid thinking - there are too many ConTeXt files lying around on my machine). I'm attaching a fixed original-public-lm.map. Hans, can you please have a look and possibly include the file in next version if it seems ok (I added some more really minor fixes)? Mojca original-public-lm.map Description: Binary data ___ 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] Times New Roman
I am running the ConTeXt Minimals of 11/10 and am trying to access Times New Roman using the script \usetypescript [timesnewroman][ec] \definetypeface[timesnewroman][rm][serif][timesnewroman][default] [encoding=ec] \definebodyfont[9pt,11pt][rm][default] \setupbodyfont[timesnewroman,rm,11pt] I am not sure what I getting and I am puzzled by the log file , hence, my question: Is Times New Roman distributed with the minimals and is this the way to access it? Thanks for any help or suggestions. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Times New Roman
On Mon, Dec 1, 2008 at 2:46 PM, Alan Bowen wrote: I am running the ConTeXt Minimals of 11/10 and am trying to access Times New Roman using the script \usetypescript [timesnewroman][ec] \definetypeface[timesnewroman][rm][serif][timesnewroman][default] [encoding=ec] \definebodyfont[9pt,11pt][rm][default] \setupbodyfont[timesnewroman,rm,11pt] I am not sure what I getting and I am puzzled by the log file , hence, my question: Is Times New Roman distributed with the minimals and is this the way to access it? Hello Alan, Do you need something-like-times or Times New Roman? This works: % possibly \usetypescriptfile[type-gyr] \usetypescript[times][ec] \setupbodyfont[times,12pt] It will give you times-like typeface (TeX Gyre Termes), but not Times New Roman. Times New Roman is not distributied (and possibly copyrighted). Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Times New Roman
Hi, Mojca! Thanks for the clarification. I had thought that I was getting Latin Modern instead but wanted to be sure. Termes sounds like a good alternative to me, but I had best consult the publisher, since he originally specified Times New Roman. It is apaprently no longer a typesetting problem. Again, thanks for your help. Alan On Dec 1, 2008, at 09;04,49 , Mojca Miklavec wrote: On Mon, Dec 1, 2008 at 2:46 PM, Alan Bowen wrote: I am running the ConTeXt Minimals of 11/10 and am trying to access Times New Roman using the script \usetypescript [timesnewroman][ec] \definetypeface[timesnewroman][rm][serif][timesnewroman][default] [encoding=ec] \definebodyfont[9pt,11pt][rm][default] \setupbodyfont[timesnewroman,rm,11pt] I am not sure what I getting and I am puzzled by the log file , hence, my question: Is Times New Roman distributed with the minimals and is this the way to access it? Hello Alan, Do you need something-like-times or Times New Roman? This works: % possibly \usetypescriptfile[type-gyr] \usetypescript[times][ec] \setupbodyfont[times,12pt] It will give you times-like typeface (TeX Gyre Termes), but not Times New Roman. Times New Roman is not distributied (and possibly copyrighted). 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 ___
Re: [NTG-context] Times New Roman
Termes is a TeX Gyre version of Times Roman (almost the same glyphs). Times New Roman is a Microsoft version of Times Roman. Times New Roman is more illegible than Times Roman. On Mon, Dec 1, 2008 at 10:19 PM, Alan Bowen [EMAIL PROTECTED] wrote: Hi, Mojca! Thanks for the clarification. I had thought that I was getting Latin Modern instead but wanted to be sure. Termes sounds like a good alternative to me, but I had best consult the publisher, since he originally specified Times New Roman. It is apaprently no longer a typesetting problem. Again, thanks for your help. Alan On Dec 1, 2008, at 09;04,49 , Mojca Miklavec wrote: On Mon, Dec 1, 2008 at 2:46 PM, Alan Bowen wrote: I am running the ConTeXt Minimals of 11/10 and am trying to access Times New Roman using the script \usetypescript [timesnewroman][ec] \definetypeface[timesnewroman][rm][serif][timesnewroman][default] [encoding=ec] \definebodyfont[9pt,11pt][rm][default] \setupbodyfont[timesnewroman,rm,11pt] I am not sure what I getting and I am puzzled by the log file , hence, my question: Is Times New Roman distributed with the minimals and is this the way to access it? Hello Alan, Do you need something-like-times or Times New Roman? This works: % possibly \usetypescriptfile[type-gyr] \usetypescript[times][ec] \setupbodyfont[times,12pt] It will give you times-like typeface (TeX Gyre Termes), but not Times New Roman. Times New Roman is not distributied (and possibly copyrighted). 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 ___ ___ 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] Times New Roman
On Mon, Dec 1, 2008 at 3:19 PM, Alan Bowen wrote: Hi, Mojca! Thanks for the clarification. I had thought that I was getting Latin Modern instead but wanted to be sure. Termes sounds like a good alternative to me, but I had best consult the publisher, since he originally specified Times New Roman. It is apaprently no longer a typesetting problem. It definitely makes sense to ask him, but most people (including me) do not notice the difference at all. Even if you need exactly Times New Roman, it should not be too difficult to change, but you can ask the publisher where to get the math glyphs in case he insists :) :) :) Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Times New Roman
That is good to know, I will use it in talking with the publisher. Many thanks. Alan On Dec 1, 2008, at 09;28,08 , Yue Wang wrote: Termes is a TeX Gyre version of Times Roman (almost the same glyphs). Times New Roman is a Microsoft version of Times Roman. Times New Roman is more illegible than Times Roman. On Mon, Dec 1, 2008 at 10:19 PM, Alan Bowen [EMAIL PROTECTED] wrote: Hi, Mojca! Thanks for the clarification. I had thought that I was getting Latin Modern instead but wanted to be sure. Termes sounds like a good alternative to me, but I had best consult the publisher, since he originally specified Times New Roman. It is apaprently no longer a typesetting problem. Again, thanks for your help. Alan On Dec 1, 2008, at 09;04,49 , Mojca Miklavec wrote: On Mon, Dec 1, 2008 at 2:46 PM, Alan Bowen wrote: I am running the ConTeXt Minimals of 11/10 and am trying to access Times New Roman using the script \usetypescript [timesnewroman][ec] \definetypeface[timesnewroman][rm][serif][timesnewroman][default] [encoding=ec] \definebodyfont[9pt,11pt][rm][default] \setupbodyfont[timesnewroman,rm,11pt] I am not sure what I getting and I am puzzled by the log file , hence, my question: Is Times New Roman distributed with the minimals and is this the way to access it? Hello Alan, Do you need something-like-times or Times New Roman? This works: % possibly \usetypescriptfile[type-gyr] \usetypescript[times][ec] \setupbodyfont[times,12pt] It will give you times-like typeface (TeX Gyre Termes), but not Times New Roman. Times New Roman is not distributied (and possibly copyrighted). 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 ___ ___ 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] Times New Roman
On Dec 1, 2008, at 9:28 AM, Yue Wang wrote: Termes is a TeX Gyre version of Times Roman (almost the same glyphs). Which stems from URW Nimbus, a clone of Linotype version of Times Roman. Times New Roman is a Microsoft version of Times Roman. Actually, TNR is the Monotype version of the typeface, licensed by Microsoft, but with widths adjusted to match Times Roman, which was a Linotype typeface. To make matters more fun, Apple licensed its version from Linotype. And for cosmic revenge, Monotype bought Linotype, so there's just one company now. Times New Roman is more illegible than Times Roman. The only design differences are minimal. The serifs of C and S, for example, are more vertical in the Monotype version, and the italic z is more calligraphic in the Linotype version, but in large part, the two versions are identical. Personally, for book text, I think you ought to use Times Ten, which is designed for that. Both Times Roman and Times New Roman were originally designed as newspapers typefaces to be set on very short measures and are therefore too narrow for book use. Steve ___ 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] Important: ConTeXt Minimals and --delete/--keep switch
Hello, This is a rather important notice for users of ConTeXt minimals. You might want to add --keep to ./first-setup.sh There are some options for which I'm not sure if they should be enabled by default or not. The script (mtx-update.lua and consequently the simplistic ./first-setup.sh script) provides two switches: --keep and --delete. The --delete switch deletes all the files that are not part of distribution. The --keep switch doesn't care about those files (that have been remove from distribution or that you added) and leaves them where they are. Your own files should go to texmf-local that update doesn't touch at all. Now the important info: if you want your files to be kept, you should use the --keep switch in ./first-setup.sh. --delete has been misfunctional for a while, and maybe it should not be kept as the default option. But as it stands now, it is the default. Recently there has been a new option added (--extras=list,of,context,modules), but I would like the option to be renamed to something more self-explanatory than --extras= (--modules= for example). You can test if fetching modules works OK, but I would like to rename the option. Mojca (Maybe we should add --cvs-exclude rule to rsync to prevent deleting kpathsea files and formats.) ___ 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] minimals: cannot find cmsy10.pfb
Taco Hoekwater [EMAIL PROTECTED] wrote: The fact that the name cmsy10.pfb is discovered means that there is a mapfile line for cmsy10 CMSY10 cmsy10.pfb in one of the map files (original-public-lm?) Right, in my message I had also suspected the same file: Among the many map files that are read in, only original-public-lm.map mentions cmsy10.pfb, and it contains this mapping: cmsy10CMSY10 cmsy10.pfb Mojca Miklavec [EMAIL PROTECTED] wrote: I'm attaching a fixed original-public-lm.map. I just tested with this fixed file, and my small test file compiles fine. However, the longer file from which it came (100+-page math textbook) fails because it cannot find cmex10.pfb. I'll do some more debugging on the longer file to make a minimal (sorry) test. -Sanjoy `Until lions have their historians, tales of the hunt shall always glorify the hunters.' --African Proverb ___ 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] Important: ConTeXt Minimals and --delete/--keep switch
Mojca Miklavec wrote: (Maybe we should add --cvs-exclude rule to rsync to prevent deleting kpathsea files and formats.) hm, but formats are regenerated anyway so why bother Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] difference between TeX behavior and ConTeXt
On 11/27/2008 3:57 AM, Taco Hoekwater wrote: Lars Huttar wrote: something like this: switch to a serif style (if that's what \rm means in ConTeXt -- I still don't know for sure). \rm in ConTeXT means: switch to the internal style group named rm (and likewise for \ss - ss etc.) Whether rm points to a group of fonts that actually have serifs attached to the glyph shapes depends totally on the specific typescript that is being used in the document (usually they will, and I think all the predefined typescripts are set up that way, but that is not a requirement at all). The basic idea is that the style rm switches to the font set used for the main portion of the text. ss is the style for supporting texts, like section heads and headers/footers. tt is useful for fixed-width text, (this gets it own special group because it is very often needed in manuals). hw, and cg are variations for different forms of supporting texts, these are rarely used. Does it make more sense now? Thank you, that helps a lot. I understand now that \rm is more abstract than I'd initially thought... more powerful but also harder to predict. Nevertheless useful generalizations can be made (as you showed) that are helpful in learning the system. I think it would be worthwhile to explain that in the manual you are writing (if it doesn't already... sorry, I'm on a tight deadline now and can't recheck!)... that the style rm switches to the font set used for the main portion of the text, which typically is a serif font. I think it would also be helpful to note that this switch does not (normally?) affect italicization, because some TeX-world users will be coming in with wrong expectations regarding rm and italics. Best wishes, Lars ___ 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] Times New Roman
Fantastic, Wolfgang! An image is worth 1000 words. Many thanks for the visual support. Alan On Dec 1, 2008, at 12;38,41 , Wolfgang Schuster wrote: times.pdf Am 01.12.2008 um 16:13 schrieb Mojca Miklavec: On Mon, Dec 1, 2008 at 3:19 PM, Alan Bowen wrote: Hi, Mojca! Thanks for the clarification. I had thought that I was getting Latin Modern instead but wanted to be sure. Termes sounds like a good alternative to me, but I had best consult the publisher, since he originally specified Times New Roman. It is apaprently no longer a typesetting problem. It definitely makes sense to ask him, but most people (including me) do not notice the difference at all. You could try to find the differences in my example. Even if you need exactly Times New Roman, it should not be too difficult to change, but you can ask the publisher where to get the math glyphs in case he insists :) :) :) ??? 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] [Context] Important: ConTeXt Minimals and --delete/--keep switch
On Mon, Dec 1, 2008 at 7:09 PM, Hans Hagen wrote: Mojca Miklavec wrote: (Maybe we should add --cvs-exclude rule to rsync to prevent deleting kpathsea files and formats.) hm, but formats are regenerated anyway so why bother It depends on user. Format generation takes quite some time. When there is no ConTeXt version or binary update, I usually don't regenerate formats at all. (There can be a module update or no update at all, so I have --make switched off.) Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] minimals: cannot find cmsy10.pfb
Mojca Miklavec [EMAIL PROTECTED] wrote: I'm attaching a fixed original-public-lm.map. After testing that file, I emailed that: 1. this new .map file fixed the small test file, but 2. the larger test file did not work (couldn't find cmex10.pfb). #1 is true, but #2 was my error: I hadn't copied the fixed .map file to the subdirectory with the large test file. Once I did so, it compiled fine. So, I think you are right that there's no need for the minimals to contain the cm* fonts; the new .map file points pdftex to available replacements. Thanks for the fix, -Sanjoy `Until lions have their historians, tales of the hunt shall always glorify the hunters.' --African Proverb ___ 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] minimals: cannot find cmsy10.pfb
On Mon, 1 Dec 2008, Sanjoy Mahajan wrote: Mojca Miklavec [EMAIL PROTECTED] wrote: I'm attaching a fixed original-public-lm.map. After testing that file, I emailed that: 1. this new .map file fixed the small test file, but 2. the larger test file did not work (couldn't find cmex10.pfb). #1 is true, but #2 was my error: I hadn't copied the fixed .map file to the subdirectory with the large test file. Once I did so, it compiled fine. So, I think you are right that there's no need for the minimals to contain the cm* fonts; the new .map file points pdftex to available replacements. Thanks for the fix, I can confirm that the fix is working. I had a project using Euler and so far I had simply copied all the CM pfb files from texlive in my working directory. With the new lm.map file, I do not need any CM pfb file. However, the CM tfm files are still read (and they are part of the minimals). Mojca, thanks a lot for the fix. 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] looking for equivalence to LaTeX algorithm package
Zhaopeng Xing schrieb: 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 ___ Hello, I once tried to copy the LaTeX environment to ConTeXt. And this is, what came out of it: *t-algorithmic.tex* It works for me, but i'm open to new and better implementations... richard rascher-friesenhausen -- == Dr. Richard Rascher-Friesenhausen Hochschule Bremerhaven, Studiengang Medizintechnik An der Karlstadt 8 27568 Bremerhaven und MeVis Research GmbH Universitaetsallee 29 D-28359 Bremen Amtsgericht Bremen, HRB 16222 Geschäftsführer: Prof. Dr. Heinz-Otto Peitgen email: [EMAIL PROTECTED], [EMAIL PROTECTED] www : http://www.mevis-research.de/, http://www.hs-bremerhaven.de/ fon : +49 - 421 - 218 7707 (mevis) fax : +49 - 421 - 218 4236 (mevis) == % output=pdf %=== % begin of file *t-algorithmic.tex* %=== % [EMAIL PROTECTED] (c) 2003, 2004, 2005 %D \module %D [ file=algorithmic.tex, %Dversion=2005.02.12, %D title=Environments for algorithms, %D author=richard rascher friesenhausen, %D date=\currentdate, %D [EMAIL PROTECTED] %D algorithmic defs \definefloat[algorithm][algorithms] \setupfloat[algorithm][location=middle] \setuplabeltext[de][algorithm={Algorithmus\,}] \define[1]\Algorithm{% \startframedtext[frame=off,%leftframe=on,%bottomframe=on, framecolor=darkyellow, background=screen,offset=none] % \setuplinenumbering[location=intext] % \startlinenumbering #1 % \stoplinenumbering \stopframedtext } %D names \def\algorithmicend{{\bf end}} \def\algorithmicif{{\bf if}} \def\algorithmicthen{{\bf then}} \def\algorithmicelse{{\bf else}} \def\algorithmicelseif{\algorithmicelse\algorithmicif} \def\algorithmicendif{\algorithmicend{\bf.}\algorithmicif} \def\algorithmicfor{{\bf for}} \def\algorithmicendfor{\algorithmicend{\bf.}\algorithmicfor} \def\algorithmicforall{{\bf for all}} \def\algorithmicdo{{\bf do}} \def\algorithmicwhile{{\bf while}} \def\algorithmicendwhile{\algorithmicend{\bf.}\algorithmicwhile} \def\algorithmicrepeat{{\bf repeat}} \def\algorithmicuntil{{\bf until}} %D macros \newdimen\algorithmicindent \algorithmicindent=0cm \newdimen\algorithmicskip \algorithmicskip=.5cm \newcount\algorithmicline \algorithmicline=0 \def\startIF{\advance\algorithmicindent by \algorithmicskip} \def\stopIF {\advance\algorithmicindent by -\algorithmicskip} \let\startFOR=\startIF \let\stopFOR =\stopIF \let\startWHILE=\startIF \let\stopWHILE =\stopIF \let\startREPEAT=\startIF \let\stopREPEAT =\stopIF \def\algorithmiclineintro{% \inframed[width=.5cm,frame=off,offset=none, background=color,backgroundcolor=darkyellow] {\strut\hfill\color[black]{\the\algorithmicline}\,}\quad \hskip\algorithmicindent% } %D if then elseif else endif \def\IF#1{% \advance\algorithmicline by 1 \hbox{% \algorithmiclineintro \algorithmicif\ #1\ \algorithmicthen }\par \startIF } \def\ENDIF{% \stopIF \advance\algorithmicline by 1 \hbox{% \algorithmiclineintro % \the\algorithmicline\ \hskip\algorithmicindent% \algorithmicendif }\par } \def\ELSE{% \stopIF \advance\algorithmicline by 1 \hbox{% \algorithmiclineintro % \the\algorithmicline\ \hskip\algorithmicindent% \algorithmicelse }\par \startIF } \def\ELSEIF#1{% \stopIF \advance\algorithmicline by 1 \hbox{% \algorithmiclineintro \algorithmicelseif\ #1\ \algorithmicthen }\par \startIF } %D for forall do endfor \def\FOR#1{% \advance\algorithmicline by 1 \hbox{% \algorithmiclineintro \algorithmicfor\ #1\ \algorithmicdo }\par \startFOR } \def\FORALL#1{% \advance\algorithmicline by 1 \hbox{% \algorithmiclineintro \algorithmicforall\ #1\ \algorithmicdo }\par \startFOR } \def\ENDFOR{% \stopFOR \advance\algorithmicline by 1 \hbox{% \algorithmiclineintro \algorithmicendfor }\par } %D while do endwhile \def\WHILE#1{% \advance\algorithmicline by 1 \the\algorithmicline\