Re: [NTG-context] Font memory issues ?
Find out which is the main texmf.cnf file: kpsewhich texmf.cnf on my system, this resolves to /usr/local/teTeX/texmf.cnf Then modify this file and regenerate the formats. HTH Thomas On Jan 12, 2006, at 12:17 AM, David Wooten wrote: Ah, unfortunately still no luck. I changed the settings in /usr/ local/teTeX/share/texmf/web2c/texmf.cnf, reset the format files with texconfig init, and for good measure texexec --make --all, but no change. Am I simply off target somewhere? Thanks, David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Reg. fonts and math
I have been using ConTeXt for a short time now, after I switched from LaTeX. I find it quite great, but I have two queries regarding it. I am using teTeX in Debian (unstable). 1. Are the Lucida Bright fonts used in the documentation part of the complete teTeX documentation or are they fonts which need to be obtained separately? I have read a thread about this on the archive of this list, and tried all possible combinations suggested there in vain. 2. The tutorial tells us to refer to other sources (The TeX Book) for more on Math typesetting. Is there any online resource which would explain TeX (as opposed to LaTeX) math? Thanks. Kumar -- Kumar Appaiah, 462, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font memory issues ?
On Jan 11, 2006, at 12:16 AM, Hans Hagen wrote: David Wooten wrote: On Jan 10, 2006, at 1:54 PM, Hans Hagen wrote: did you remake the format after increasing the memory values? This means texexec --make --all ? I did try the above, but the numbers in the log when running my file do not change. I can only imagine that there is another place to change the memory settings. In my context.cnf, the numbers are identical to yours below, although I did try to raise the font.mem.size.context as we've been discussing. ah, you need to set the values in texmf.cnf! context.cnf is just an example (unless you point the TEXMFCNF environment variable to the alternative cnf file) Hans Ah, unfortunately still no luck. I changed the settings in /usr/local/ teTeX/share/texmf/web2c/texmf.cnf, reset the format files with texconfig init, and for good measure texexec --make --all, but no change. Am I simply off target somewhere? Thanks, David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Any changes to context preventing this from compiling?
Hans, was it really the same file? Perhaps not, but it's remained untouched in our repository for a while now, so I was surprised when it didn't compile. Anyhow, you're good eyes spotted the problem and all is now well. Thanks. \startMPgraphic should be \startuseMPgraphic (now the {argument} is part of the graphic, so you get an mp error) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] completecontent, completelistoffigures and headertexts
Hi all, Assume that I have a document with more than one page for \completecontent and \completelistoffigures. My frontmatter is: \startfrontmatter \completecontent[alternative=c,criterium=all,interaction=all] \completelistoffigures[alternative=c,criterium=all,interaction=all] \component src/chapters/c_intro \stopfrontmatter I want chapter mark within the header: \startfrontmatter \completecontent[alternative=c,criterium=all,interaction=all] \completelistoffigures[alternative=c,criterium=all,interaction=all] \setupheadertexts[][{\sl \getmarking[chapter]}] \component src/chapters/c_intro \stopfrontmatter After that, I would obtain a "title" within my completecontent and completelof headers : \startfrontmatter \setuppagenumbering[conversion=romannumerals] \setuppagenumber[number=1] \setupheadertexts[][{\sl Table des matières}] \completecontent[alternative=c,criterium=all,interaction=all] \setupheadertexts[][{\sl Table des matières}] \completelistoffigures[alternative=c,criterium=all,interaction=all] \setupheadertexts[][{\sl \getmarking[chapter]}] \component src/chapters/c_intro \stopfrontmatter I doesn't work as I want since I have: completecontent page>1 header : Figures completelof page>1 header : none introduction page>1 header: Introduction Is there any proper solution I don't know ? Sure, but which ? Cheers, ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] completecontent, completelistoffigures and headertexts
Hi all, Assume that I have a document with more than one page for \completecontent and \completelistoffigures. My frontmatter is: \startfrontmatter \completecontent[alternative=c,criterium=all,interaction=all] \completelistoffigures[alternative=c,criterium=all,interaction=all] \component src/chapters/c_intro \stopfrontmatter I want chapter mark within the header: \startfrontmatter \completecontent[alternative=c,criterium=all,interaction=all] \completelistoffigures[alternative=c,criterium=all,interaction=all] \setupheadertexts[][{\sl \getmarking[chapter]}] \component src/chapters/c_intro \stopfrontmatter After that, I would obtain a "title" within my completecontent and completelof headers : \startfrontmatter \setuppagenumbering[conversion=romannumerals] \setuppagenumber[number=1] \setupheadertexts[][{\sl Table des matières}] \completecontent[alternative=c,criterium=all,interaction=all] \setupheadertexts[][{\sl Table des matières}] \completelistoffigures[alternative=c,criterium=all,interaction=all] \setupheadertexts[][{\sl \getmarking[chapter]}] \component src/chapters/c_intro \stopfrontmatter I doesn't work as I want since I have: completecontent page>1 header : Figures completelof page>1 header : none introduction page>1 header: Introduction Is there any proper solution I don't know ? Sure, but which ? Cheers, ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Any changes to context preventing this from compiling?
David Arnold wrote: All, A month ago the attach file compiled. Is there any change to context since then that would prevent it from compiling? figures $ texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5) context : ver: 2005.12.19 cont-en : ver: 2005.12.19 fmt: 2005.12.21 mes: english cont-nl : ver: 2005.12.19 fmt: 2005.12.21 mes: dutch total run time : 2 seconds figures $ was it really the same file? \startMPgraphic should be \startuseMPgraphic (now the {argument} is part of the graphic, so you get an mp error) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Any changes to context preventing this from compiling?
All, section1figs.tex Description: Binary data A month ago the attach file compiled. Is there any change to context since then that would prevent it from compiling? figures $ texexec --version TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5) context : ver: 2005.12.19 cont-en : ver: 2005.12.19 fmt: 2005.12.21 mes: english cont-nl : ver: 2005.12.19 fmt: 2005.12.21 mes: dutch total run time : 2 seconds figures $ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] framed texts for boxing stuff
On Jan 9, 2006, at 5:01 PM, Hans Hagen wrote: hm, i prefer to start from user demands and personal needs; we used latex for a very short time and i don't remember mini pages -) a minipage is a box, but i think it's in paragraph mode. \begin{minipage}[position]{width} text \end{minipage} Put two together \begin{minipage}[t]{.30\linewidth} text and images \end{minipage}\hfill % \begin{minipage}[t]{.60\linewidth} text and images \end{minipage} and you get two boxes horizontally across the page with the hfill space between them Put three together: \begin{minipage}[t]{.30\linewidth} text and images \end{minipage}\hfill % \begin{minipage}[t]{.30\linewidth} text and images \end{minipage}\hfill % \begin{minipage}[t]{.30\linewidth} text and images \end{minipage} and you get three boxes horizontally across the page with the hfill space between them Their vertical dimensions depend on the amount of content. They don't cross page breaks. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Why PDF files generated by ConTeXt are so big?
Jilani Khaldi wrote: I see that the PDF generated by MiKTeX (the bigger one) looks a little better than the one generated by TeTeX. So I understand now why this difference between their sizes. Can you make an entry in the wiki summarizing this? Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Right-to-left typesetting in Farsi for Context.
On Tuesday 10 January 2006 10:25 am, Idris Samawi Hamid wrote: > On Mon, 09 Jan 2006 16:18:54 -0700, Hans Hagen <[EMAIL PROTECTED]> wrote: > > John R. Culleton wrote: > >> First I ask the question: is Context the right tool for rtl > >> typesetting of e.g, Farsi? Second I would like a reference to the > >> pertinent Context manual > >> or module for such typesetting. Finally I would like to know if there > >> is a typescript extant for > >> Farsi (Persian) wich I believe uses the Arabic alphabet with some > >> modifications. > > > > well, idris is using context for professional publications so rlt is > > possible ... > > In a recent thread with Mojca I give instructions to do basic utf-8 or > Latin-transcription Arabic, Farsi, and Urdu typesetting in ConTeXt using > Aleph and the basic unicode fonts that came with Omega. The font is very > basic, though. Much more advanced stuff is possible as well, using better > fonts, and I am working on an advanced Arabic-script typesetting system > which, while still experimental, produces some of the nicest Arabic script > available-) (I can send you samples if you like off-list) > > No manuals, but go here to get a flavor of things: > > http://www.dtek.chalmers.se/~d97ost/omega-example.html > tex/context/base/m-gamma.tex > tex/context/base/type-omg.tex > > You can use whatever font your client prefers, particularly if it does not > involve a lot of ligatures or vowels (most fonts used in Persian > typesetting are pretty basic in this regard, with the very important > exception of Nastaliq, which TeX/Aleph cannot do quite yet...) > > As soon as Giuseppe and Hans get in sync on the future direction of things > in the internals of aleph and pdftex-) we should soon have Arabic-script > typesetting approaching a par with the Latin. Hopefully the two projects > will merge soon, and there has already been some movement in that > direction. In particular, the microtypography features of pdftex may > hopefully be extended to include, e.g., glyph substitution to get optimal > paragraph justification (since Arabic script does not have hyphenation, > etc) > > Best > Idris Thanks very much. The OP is not a client but another eager TeX novice. I relayed the information to him and he is busily acquainting himself with the tools you mentioned. -- John Culleton Books with answers to marketing and publishing questions: http://wexfordpress.com/tex/shortlist.pdf Book coaches, consultants and packagers: http://wexfordpress.com/tex/packagers.pdf ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Why PDF files generated by ConTeXt are so big?
so what do you use otherwise (instead of tetex)? Under Linux (Slackware 10.2) I have only TeTeX: pdftex => This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) pdflatex => This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) Under Windows (2000 Pro) using MikTeX: pdftex => This is pdfTeX, Version 3.141592-1.21a (MiKTeX 2.4) pdflatex => This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (*) (*) I am using this one to create PDF files from LaTeX docs. For this reason, I think, I have almost the same size of PDF files under Windows (MiKTeX/LaTeX) and Linux (TeTeX/ConTeXt). ConTeXt premable: \mainlanguage[italian] \setupbodyfont[12pt] \setuppapersize[A4] \enableregime[il1] LaTeX preamble: \documentclass[a4,10pt,fleqn]{report} \setcounter{secnumdepth}{2} \usepackage[latin1]{inputenc} \usepackage[italian]{babel} ... other packages you can run pdffonts to check this ConTeXt/MiKTeX (Windows) name type emb sub uni object ID --- --- --- - DTTIEI+LMSans12-Regular Type 1 yes yes no 39 0 EETXYV+LMSans12-Oblique Type 1 yes yes yes 42 0 DXNZSG+LMSans10-Bold Type 1 yes yes yes 45 0 BBOGPU+Utopia-Italic Type 1 yes yes no 9 0 YTDIBL+Utopia-RegularType 1 yes yes no 14 0 SODXLF+Fourier-Math-Symbols Type 1C yes yes no 15 0 CJFCZI+Fourier-Math-Letters-Italic Type 1C yes yes no 16 0 YYSITY+Fourier-Math-ExtensionType 1C yes yes no 17 0 NMJDRH+LMRoman12-Regular Type 1 yes yes yes 87 0 DQFNRX+LMRoman12-Italic Type 1 yes yes no 90 0 IHGOTS+LMSans10-Regular Type 1 yes yes yes137 0 BLEFMM+LMSans10-Oblique Type 1 yes yes yes140 0 TGZULI+LMRoman12-BoldType 1 yes yes no 194 0 FHYPVG+LOGO10Type 1 yes yes no 197 0 JDIEUM+LMRoman10-BoldType 1 yes yes no 205 0 ERNOBW+CMMI12Type 1 yes yes no 209 0 IYOQET+LMRoman12-Regular Type 1 yes yes no 212 0 HUKRQA+CMEX10Type 1 yes yes no 215 0 FKFBNU+LMRoman9-Regular Type 1 yes yes no 218 0 CNWZSY+CMSY10Type 1 yes yes no 221 0 SQCOBF+CMMI9 Type 1 yes yes no 224 0 IAKFGB+LMRoman7-Regular Type 1 yes yes no 227 0 UTYJTI+CMSY9 Type 1 yes yes no 274 0 ZCMOAX+CMMI7 Type 1 yes yes no 326 0 HFGQHV+CMSY7 Type 1 yes yes no 329 0 === ConTeXt/TeTeX (Linux) name type emb sub uni object ID --- --- --- - ZODZLY+CMSSBX10 Type 1 yes yes no 34 0 GDNCCV+CMSSI12 Type 1 yes yes no 37 0 DCDFAR+CMSS12Type 1 yes yes no 40 0 ASKJEX+CMR12 Type 1 yes yes no 43 0 AQWQFQ+CMR9 Type 1 yes yes no 46 0 QTBLYG+Utopia-Italic Type 1C yes yes no 4 0 ESSWFP+Utopia-RegularType 1C yes yes no 5 0 SODXLF+Fourier-Math-Symbols Type 1C yes yes no 6 0 CJFCZI+Fourier-Math-Letters-Italic Type 1C yes yes no 7 0 YYSITY+Fourier-Math-ExtensionType 1C yes yes no 8 0 WXACZF+CMTI12Type 1 yes yes no 88 0 RTVTJB+CMSS10Type 1 yes yes no 135 0 FGDGJS+CMBX10Type 1 yes yes no 189 0 CEDOCE+CMMI12Type 1 yes yes no 193 0 FWWPUA+CMEX10Type 1 yes yes no 196 0 LFQGNZ+CMSY10Type 1 yes yes no 199 0 SQAFLI+CMMI9 Type 1 yes yes no 202 0 BYRSZI+CMR7 Type 1 yes yes no 205 0 SSTBGA+CMSY9 Type 1 yes yes no 251 0 SEIPGZ+CMMI7 Type 1 yes yes no 304 0 EWUBSW+CMSY7 Type 1 yes yes no 307 0 RELHCG+CMBX12 ps. I see that the PDF generated by MiKTeX (the bigger one) looks a little better than the one generated by TeTeX. So I understand now why this difference between their sizes. Thank you. jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-c
Re: [NTG-context] \inmargin footnotes
I can verify the problem, but I do not know what is wrong. Taco Charles Doherty wrote: Dear all, When I put a footnote reference within \inmargin \setupinmargin[style=\tfxx\setupinterlinespace] he sent one of his followers to the man of God to put out his rekindled fire \inmargin{This is a reference to the \italic{tellach} \footnote{Cf.\ Fergus Kelly, \slanted{A Guide to Early Irish Law}, 68.} procedure for laying claim to land.} and ordered him to be expelled from the territory. When the footnote is typeset the footnote number is placed beneath the first line of the footnote text. What can I do to have the footnote number in its normal position? Thanks, Charlie ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Why PDF files generated by ConTeXt are so big?
Jilani Khaldi wrote: best compare two 10 page docs and two 100 page docs The best rate I got is in a scientific pubblication with many formulas. LaTeX: 60 pages (260 kb) ConTeXt: 61 pages (478 kb) Instead under Linux (TeTeX) the size is almost the same. so what do you use otherwise (instead of tetex)? are the same versions of pdftex used? Can you post the files someplace (tetex and non tetex variants). (maybe the tetex context is an old one and does not use latin modern; latin modern gives larger files due to extensive hinting - read: better quality; if so, a 600 page doc will have the same difference of about 218 kb) you can run pdffonts to check this Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Why PDF files generated by ConTeXt are so big?
best compare two 10 page docs and two 100 page docs The best rate I got is in a scientific pubblication with many formulas. LaTeX: 60 pages (260 kb) ConTeXt: 61 pages (478 kb) Instead under Linux (TeTeX) the size is almost the same. jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Updating to Context 2006.01.09
mktexlsr (or whatever maintainance utility MiKTeX pipes it through), although I think the new texexec automatically refreshes the fndb for you these days... That's ok. Eid Mubarak-) Shokran jazilan akhi, ualaka belmethel. Jilani -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] i-Installer / minimal TeX installation for ConTeXt?
Gerben Wierda wrote: On Jan 10, 2006, at 21:22, Idris Samawi Hamid wrote: By and by I've found that I am only using ConTeXt for my typesetting needs. I am curious as to whether someone can advise me how best to install a suitable yet minimal TeX installation: without LaTeX, etc. I am currently using Gerben's very helpful i-Installer. If someone can tell me which part of my redistro should stay, I can easily rearrange matters such that such a minimal install is possible. since the minimals have many fonts, they are not that small; they use the [10pt] subsets of cbgreek and cmsuper [karl bery and i hav ebeen playing with subsets and if i'm right tex live now also ships with subsets] which saves many megs; the minimals also don't have latex and other macro packages (only plain tex as this is used in mptopdf); this may safe quite some megs (as well as speeds up file searching) because latex ships with sourcetrees as well also, nothing metafont is included plus a subset of binaries, think of: afm2pl afm2tfm aleph dvips dvitodvi dvitomp dvipdfmx kpseaccess kpsestat kpsewhich mktexlsr mpost mpto pdfetex pltotf texmfstart tftopl ttf2afm ttf2tfm vftovp vptovf (+ xetex) (+ some tool stubs) it's still on taco/mine's agenda to set up a gforce minimal repos at fabrice's server for packagers Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Why PDF files generated by ConTeXt are so big?
Jilani Khaldi wrote: I have translated some docs from LaTeX to ConTeXt and I found that the PDF files generated by ConTeXt are almost 3 times bigger than the ones generated by LaTeX (*). Why all this difference? for that you need to look into the pdf file - are fonts embedded - how many fonts are used (maybe context has more granularity) - is the number of pages the same - is the compression level set to 9 - context uses a different hyperlink model etc best compare two 10 page docs and two 100 page docs another possibility is that there are more 'redundant' cm transforms (depends a bit); this is actually a pdftex problem but the latest/future versions will behave better also, the next version of pdftex will do object compression which means that files can get much smaller so, without examples i can't say much (how do 'hello world' docs compare?) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Struggling with ttf on Windows XP
Hello, I recently upgraded my 3-year old installation of MikTex to the latest version. I had a document which contained glyphs from the windings.tff font. Once I upgraded, this didn't work anymore. So I tried to read around to find out how it works, and so on, but couldn't find anything... I have generated an afm and tfm files from the ttf font. I created a map file which references this. My tex file apparently loads the map file without problem (at least pdftex doesn't complain). But, when I call \showfont, the generated table is empty, it doesn't contain any symbol. (I'm at work right now, so I can't post any code snippet) Does anyone have any clue or could anyone point me to any resource to guide me? Thanks, Best regards, Frederic ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Font memory issues ?
David Wooten wrote: On Jan 10, 2006, at 1:54 PM, Hans Hagen wrote: did you remake the format after increasing the memory values? This means texexec --make --all ? I did try the above, but the numbers in the log when running my file do not change. I can only imagine that there is another place to change the memory settings. In my context.cnf, the numbers are identical to yours below, although I did try to raise the font.mem.size.context as we've been discussing. ah, you need to set the values in texmf.cnf! context.cnf is just an example (unless you point the TEXMFCNF environment variable to the alternative cnf file) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context