Re: [NTG-context] Problems with the pscyr font package
Radhelorn wrote: Hello All! I'm fresh ConTeXt user, trying to move from LaTeX. And I have several problems with fonts in ConTeXt 2005.06.07 (teTeX-3.0). First of all: pscyr. It's a cyrillic type1 font package which works perfectly in LaTeX, but in Plain TeX and ConTeXt whitespaces between words disappear. I can't find any LaTeX package on CTAN except as a BaKoMa install package, and my system teTeX does not have 'fcori6a.tfm'. Under those circumstances, it becomes quite hard to help you with your problem. There may be a clue buried in the latex support macros ? Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] problem generating formatfiles after miktexupdate
Up to 10 minits ago I was using a (old) version of miktex. Then I started to update it. After the update I tried to generate the new format files but miktex hangs on cont-en. Any suggestions? Thanks Wolfgang Here some parts of the log: Creating cont-en.efmt... pdfetex.exe --ini --interaction=nonstopmode --halt-on-error --alias cont-en *\pdfcompresslevel=9 \pdfdecimaldigits=3 \pdfhorigin=1 true in \pdfoutput=1 \pdfpageheight=297 true mm \pdfpagewidth=210 true mm \pdfoptionpdfminorversion=4 \pdfpkresolution=600 \pdfvorigin=1 true in \input cont-en.tex \dump This is pdfeTeX, Version 3.141592-1.21a-2.2 (MiKTeX 2.4) (INITEX) entering extended mode (C:\texmf\tex\context\base\cont-en.tex (C:\texmf\tex\context\base\context.tex (C:\texmf\tex\context\base\syst-pln.tex) (C:\texmf\tex\context\base\syst-prm.tex) (C:\texmf\tex\context\base\syst-etx.tex) (C:\texmf\tex\context\base\syst-omg.tex) ... ... (C:\texmf\tex\context\patterns\lang-cz.hyp) language: patterns cz for cz loaded (n=15,e=ec,m=ec) (C:\texmf\tex\context\patterns\lang-cz.pat) language: hyphenations cz for cz loaded (n=15,e=ec,m=ec) (C:\texmf\tex\context\patterns\lang-cz.hyp) language: patterns sk for sk loaded (n=16,e=il2,m=il2) (C:\texmf\tex\context\patterns\lang-sk.pat ! TeX capacity exceeded, sorry [pattern memory ops=2048]. l.2407 5zv4es[tcaron] No pages of output. Transcript written on cont-en.log. initexmf: pdfetex.exe failed on cont-en.tex. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] problem generating formatfiles after miktexupdate
Ah that worked! Many thanks, Wolfgang Taco Hoekwater wrote: Wolfgang Zillig wrote: Up to 10 minits ago I was using a (old) version of miktex. Then I started to update it. After the update I tried to generate the new format files but miktex hangs on cont-en. Any suggestions? (C:\texmf\tex\context\patterns\lang-sk.pat ! TeX capacity exceeded, sorry [pattern memory ops=2048]. l.2407 5zv4es[tcaron] No pages of output. You need to increase the 'pattern memory ops'. Edit miktex.ini, and set trie_op_size=35111 trie_size=25 See also http://www.miktex.org/manual/miktexini.html Greetings, Taco ___ 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] Problems with the pscyr font package
Taco Hoekwater wrote: Radhelorn wrote: Hello All! I'm fresh ConTeXt user, trying to move from LaTeX. And I have several problems with fonts in ConTeXt 2005.06.07 (teTeX-3.0). First of all: pscyr. It's a cyrillic type1 font package which works perfectly in LaTeX, but in Plain TeX and ConTeXt whitespaces between words disappear. I can't find any LaTeX package on CTAN except as a BaKoMa install package, and my system teTeX does not have 'fcori6a.tfm'. Under those circumstances, it becomes quite hard to help you with your problem. There may be a clue buried in the latex support macros ? Well, I've already looked at this. AFAIK no magic there: from tex/latex/pscyr/pscyr.sty: \def\codefault{fco} \DeclareRobustCommand\cofamily [EMAIL PROTECTED]@alphabet\rmfamily\mathrm \fontfamily\codefault\selectfont} \DeclareTextFontCommand{\textco}{\cofamily} there is also definition of bold math mode and \renewcommand{\hbar}{{\mathchar'26\mkern-8.5muh}} from tex/latex/pscyr/t2afco.fd: \DeclareFontFamily{T2A}{fco}{} \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} from fonts/map/dvips/pscyr/pscyr.map: fcori6a CollegePSCyr-Italic T2AEncoding ReEncodeFont t2a.enc colle8.pfb Encoding file fonts/enc/dvips/pscyr/t2a.enc, but pdftex ignores ReEncodeFont, as stated in documentation. Hope this helps. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with the pscyr font package
Radhelorn wrote: \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} So you should use fcori6t in ConTeXt as well. You are using the wrong metrics, and that is the cause of the disappearing space. Encoding file fonts/enc/dvips/pscyr/t2a.enc, but pdftex ignores ReEncodeFont, as stated in documentation. Pdftx does do the actual re-encoding, it just ignores the supplied string value. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with the pscyr font package
Taco Hoekwater wrote: \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} So you should use fcori6t in ConTeXt as well. You are using the wrong metrics, and that is the cause of the disappearing space. Oh, thank you, I see it now. But how font filename and basename is resolved from map file if tfm in source and in map file differ? If LaTeX uses *6t for T2A encoding, but in map file there is only *6a, how it works? I've reread the docs, but this moment remains unclear. The *6t tfm's works as expected, I'm just trying to understand what all this files doing. Encoding file fonts/enc/dvips/pscyr/t2a.enc, but pdftex ignores ReEncodeFont, as stated in documentation. Pdftx does do the actual re-encoding, it just ignores the supplied string value. Taco Yes, I figured it out from experiments. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problem with defineenumeration [number=no]
Hello, if I'm not mistaken as usual, the number=no option of \ defineenumeration is broken in ConTeXt ver: 2005.06.08 fmt: 2005.6.13: \mainlanguage [en] \defineenumeration [test] [text=Test, number=no, location=hanging] \starttext \starttest What's that? \stoptext produces ommandTest instead of just Test. Please advise. Matthias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problem with defineenumeration [number=no]
Hi, There is a missing \noexpand in core-des.tex. Attached is a fixed version of the affected macro. Taco Matthias Weber wrote: Hello, if I'm not mistaken as usual, the number=no option of \ defineenumeration is broken in ConTeXt ver: 2005.06.08 fmt: 2005.6.13: \mainlanguage[en] \defineenumeration [test] [text=Test, number=no, location=hanging] \starttext \starttest What's that? \stoptext produces ommandTest instead of just Test. Please advise. Matthias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context deftest.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] importing figures in metapost
Thanks Mojca, (I put again the discussion on the list) andrea valle wrote: Thanks a lot, It seems that it is exactly what I need,as I want to use pdfs. Actually I'm able to scale, but not to shift. I don't understand why not. Can you send an (non-working) example? It seems to me that this: % 1 \setupcolors[state=start] \starttext \startuseMPgraphic{dummy} externalfigure mptext.pdf xyscaled (10cm, 8cm) shifted (3cm, 6cm); \stopuseMPgraphic \useMPgraphic{dummy} \stoptext and % 2 \setupcolors[state=start] \starttext \startuseMPgraphic{dummy} externalfigure mptext.pdf xyscaled (10cm, 8cm) shifted (3cm, 6cm); \stopuseMPgraphic \useMPgraphic{dummy} \stoptext ...have the same results. (these are my pdfs in output: http://www.semiotiche.it/andrea/conTest.pdf http://www.semiotiche.it/andrea/conTest1.pdf ) Where am I making a mistake? It is not extensively documented, it is only mentioned in metafun manual (CTRL-F to search in Acrobat). Or, alternatively, you can take a look at: So, how do I know all the options I can use? Simply I can't? Best -a- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problem with defineenumeration [number=no]
Thanks Taco, this works fine. Matthias On Jun 13, 2005, at 10:45 AM, Taco Hoekwater wrote: Hi, There is a missing \noexpand in core-des.tex. Attached is a fixed version of the affected macro. Taco Matthias Weber wrote: Hello, if I'm not mistaken as usual, the number=no option of \ defineenumeration is broken in ConTeXt ver: 2005.06.08 fmt: 2005.6.13: \mainlanguage[en] \defineenumeration [test] [text=Test, number=no, location=hanging] \starttext \starttest What's that? \stoptext produces ommandTest instead of just Test. Please advise. Matthias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context deftest.tex___ 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] Headers, footers, page numbering
Thanks Willi I'll keep that in mind. Keith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Willi Egger Sent: 13 June 2005 10:06 To: mailing list for ConTeXt users Subject: Re: [NTG-context] Headers, footers, page numbering Hi Keith, you might use \noheaderandfooterlines otherwise you could say \setupheader[state=high] Willi Keith McKay wrote: Dear All I have produced a nice little A5 pamphlet which I will be printing on A4 paper. I have had a lot of fun doing this and I am quite pleased that I was able to install fonts and fleurons which I needed in the process. However, I have a problem which I am having difficulty in solving. How can I stop the Header, footer and page number being printed on the first page? I have looked through the big Context manual but I can't figure it out. Any hints? Thanks Keith McKay Hamilton, Scotland ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.9 - Release Date: 11/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.9 - Release Date: 11/06/2005 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] importing figures in metapost
andrea valle wrote: Thanks Mojca, (I put again the discussion on the list) andrea valle wrote: It seems to me that this: Btw: take a look at the thread MetaFun questions in ConTeXt archive and at the command naturalfigure(expr name) defined in mp-figs.mp. externalfigure mptext.pdf xyscaled (10cm, 8cm); and externalfigure mptext.pdf xyscaled (10cm, 8cm) shifted (3cm, 6cm); ...have the same results. Of course they do. Metapost is clever enough to calculate the proper bounding box. If you draw origin or draw origin shifted anypointyoucanthinkof and if that is the only thing you draw, than both figures will be identical. If you would like the figure to be different, you can set the bounding box explicitely with: setbounds currentpicture to unitsquare xyscaled ... shifted ...; If you want your graphic to appear somewhere else on the page than you have to handle that with plain TeX/ConTeXt commands to achieve the desired placing ... or using layers in MetaFun. So, how do I know all the options I can use? Simply I can't? The command externalfigure in MetaFun has no additional options/parameters. The best place to learn metafont/post/fun is: - take The METAPOSTBook in a library (not necessary) - metapost manual: http://www.tug.org/tutorials/mp/mpman.pdf - MetaFun manual: http://www.pragma-ade.com/general/manuals/metafun-s.pdf - sources: go to http://source.contextgarden.net/ and search for externalfigure for example I usually use the metapost and metafun manual and simply the search function in Adobe Acrobat fo find what I'm looking for. Reading the whole metafun manual is no bad idea anyway. If you're looking for ConTeXt documentation: well, yes, than you start reading one manual after another, keep looking into the source code and search through the mailing list archive contribute to Wiki. I'm affraid there's no other way for the moment. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Presentation Styles
On 5/19/05, Hans Hagen [EMAIL PROTECTED] wrote: M.guravage wrote: Hello, I recently prepared a presentation using pre-05. The Topics, represented as buttons in a column on the left, are now each preceeded by a number. This was not the case when I last used the style back in January. Interestingly, s-pre-05.tex has not changed since then. This behavior is the same on both the latest ConTeXt alpha and beta releases. I'd appreciate it very much if anyone could shed some light on why these numbers are appearing. it runs ok here; i'll send you my core-lst.tex file Hans Could you provide it to all, please? I experience the same. Tobias ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] importing figures in metapost
andrea valle wrote: It seems to me that this: % 1 ... and % 2 ... ...have the same results. That's what I would expect as well, from identical input ;) Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with the pscyr font package
Radhelorn wrote: Taco Hoekwater wrote: \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} So you should use fcori6t in ConTeXt as well. You are using the wrong metrics, and that is the cause of the disappearing space. Oh, thank you, I see it now. But how font filename and basename is resolved from map file if tfm in source and in map file differ? If LaTeX This is because of virtual fonts: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=virtualfonts Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] TeX capacity exceeded, sorry [PDF memory size
I had been processing a rather complicated set of pages successfully until late this morning. Now I get this (edited) error message: This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=cont-en 2005.6.10) 13 JUN 2005 13:34 entering extended mode (/usr/local/teTeX/share/texmf.local/web2c/natural.tcx) **cont-en Geminus_Intro_c8.tex (./Geminus_Intro_c8.tex ConTeXt ver: 2005.06.08 fmt: 2005.6.10 int: english mes: english ! TeX capacity exceeded, sorry [PDF memory size (pdf_mem_size)=65536]. If you really absolutely need more capacity, you can ask a wizard to enlarge me. Here is how much of TeX's memory you used: 3111 strings out of 62015 51823 string characters out of 633399 4546524 words of memory out of 6074780 38469 multiletter control sequences out of 1+5 508064 words of font info for 219 fonts, out of 200 for 2000 172 hyphenation exceptions out of 1000 78i,22n,104p,4501b,1458s stack positions out of 5000i,500n,6000p, 20b,4s PDF statistics: 35 PDF objects out of 30 3 named destinations out of 131072 65281 words of extra memory for PDF output out of 65536 ! == Fatal error occurred, the output PDF file is not finished! So, how may I increase pdf_mem_size and by how much should I do this? Thanks for any help! Alan Bowen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] importing figures in metapost
(...) ahem, yes. Sorry, I forgot a % before a shifted (3cm, 6cm); in the second example I suppose Mojca has already replied considering the %. Thanks -a- On 13 Jun 2005, at 19:20, Taco Hoekwater wrote: andrea valle wrote: It seems to me that this: % 1 ... and % 2 ... ...have the same results. That's what I would expect as well, from identical input ;) Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context Andrea Valle Laboratorio multimediale G. Quazza Facoltà di Scienze della Formazione Università degli Studi di Torino [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TeX capacity exceeded, sorry [PDF memory size
On Mon, 13 Jun 2005, Alan Bowen wrote: I had been processing a rather complicated set of pages successfully until late this morning. Now I get this (edited) error message: ! TeX capacity exceeded, sorry [PDF memory size (pdf_mem_size)=65536]. in file teTeX/share/texmf/web2c/texmf.cnf you can set it by, e. g.: pdf_mem_size = 50 the hardcoded upper limit seems to be 524288. Regards, Hartmut ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TeX capacity exceeded, sorry [PDF memory size
Alan Bowen wrote: I had been processing a rather complicated set of pages successfully So, how may I increase pdf_mem_size and by how much should I do this? By editting texmf.cnf (enlarging or adding a pdf_mem_size setting) You can have a look at context.cnf for example settings: /usr/local/teTeX/share/texmf-local/web2c/context.cnf Your 'normal' texmf.cnf will probably be this one: /usr/local/teTeX/share/texmf/web2c/texmf.cnf the memory settings are near the end of those files. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TeX capacity exceeded, sorry [PDF memory size
Helmut and Taco Many thanks for the prompt solution to my pdf_mem_size problem. I added the line pdf_mem_size = 50 to texfm.cnf (after checking context.cnf) as instructed, and the file is now processing happily as it should. Very best, Alan On Jun 13, 2005, at 4:17 PM, Taco Hoekwater wrote: Alan Bowen wrote: I had been processing a rather complicated set of pages successfully So, how may I increase pdf_mem_size and by how much should I do this? By editting texmf.cnf (enlarging or adding a pdf_mem_size setting) You can have a look at context.cnf for example settings: /usr/local/teTeX/share/texmf-local/web2c/context.cnf Your 'normal' texmf.cnf will probably be this one: /usr/local/teTeX/share/texmf/web2c/texmf.cnf the memory settings are near the end of those files. Taco ___ 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] Problem with defineenumeration [number=no]
Taco Hoekwater wrote: Hi, There is a missing \noexpand in core-des.tex. Attached is a fixed version of the affected macro. ah, fixed, thanks! 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] importing figures in metapost
Mojca Miklavec wrote: andrea valle wrote: But: is it possible to import an external figure inside metapost giving it a precise place in terms of xy coordinates? Sure: externalfigure filename.pdf xyscaled (theWidth, theHeight) shifted (theLowerLeftX, theLowerLeftY); (However, I don't know if there's a way to include a picture without the need to provide width and height explicitly.) hack: texexec --fig=d *.png and then in the mp file: input mpfigs.mp 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with the pscyr font package
Taco Hoekwater wrote: Radhelorn wrote: Taco Hoekwater wrote: \DeclareFontShape{T2A}{fco}{m}{it}{- fcori6t}{} So you should use fcori6t in ConTeXt as well. You are using the wrong metrics, and that is the cause of the disappearing space. Oh, thank you, I see it now. But how font filename and basename is resolved from map file if tfm in source and in map file differ? If LaTeX This is because of virtual fonts: Thanks, this explains the situation. Is there a command to trace font loading? Which files are loaded, etc. -- Radhelorn [EMAIL PROTECTED] ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context