Re: [NTG-context] relative scaling for fonts
Hans Hagen wrote: Pablo Rodríguez wrote: After using \showfontstrip to get fonts with the same x-height by calculating the rscale factor, I guess it would be very useful (at least for me) to have an option that calculates relative scaling automatically to match both x-heights. I think it would be a useful option for rscale. hm, it's not that hard to do, but then the question is: what is the reference font; also, my experience is that an automated scaling in most cases looks as ugly as no scaling; it's a visual thing; the xheight is a factor but the 'boldness' too The reference font would be the roman font and the automated scaling with the same x-height might be wrong in some cases, but it is a useful starting point to start learning for newcomers (like me) how to set the proper visual scaling factor. My most common scenario for font scaling is not roman with sansserif or typewritter, but roman Latin with roman Greek characters and setting the same x-height for both. And I thought there were fine with the same x-height for both. My typographical ability wouldn't let my set other relative scaling factor other than 1 or the same x-height for both fonts. Thanks, Pablo ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] negative indenting
Aditya Mahajan wrote: On Wed, 15 Nov 2006, Oliver Buerschaper wrote: I have set \setupindenting[yes,big,first] and I would like to have all paragraphs in a given document with negative indentation. AFAIK, first should enable indentation for all paragraphs, but the ones after \section, \subsection or \subsubtsection are not indented. With exactly the same setting I'm experiencing the same problem ... Anyone knows a solution? \setuphead[section,subsection,subsubsection][indentnext=yes] Thanks for your answer, Aditya. After I sent the message, I found somewhere that \setupheads[indentnext=yes] did what I wanted. If you want negative indenting, use a negative width, like \setupindenting[-2em,yes] Sorry, I'm afraid my description was not accurate. I meant pure negative indenting, but hanging indentation (what you get when you write \hang\noindenting at the beginning of the paragraph). Thanks, Pablo ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] unic-xxx.tex glyph lists: minor bugs, questions
Hans Hagen schrieb: hm, will be in the mkiv zip soon (or maybe all mkiv code will be in the main zip; depends on how many context users want to experiment with the declared-stable parts of luatex) I would. But OpenType fonts also work on Linux Windows. sure, but one needs this fontconfig thing ; But at least on Windows that's relatively transparent. You tell fontconfig once where your fonts are (e.g. c:\windows\fonts), and that's it, basically. Philipp ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] relative scaling for fonts
Pablo Rodríguez wrote: Hans Hagen wrote: Pablo Rodríguez wrote: After using \showfontstrip to get fonts with the same x-height by calculating the rscale factor, I guess it would be very useful (at least for me) to have an option that calculates relative scaling automatically to match both x-heights. I think it would be a useful option for rscale. hm, it's not that hard to do, but then the question is: what is the reference font; also, my experience is that an automated scaling in most cases looks as ugly as no scaling; it's a visual thing; the xheight is a factor but the 'boldness' too The reference font would be the roman font and the automated scaling with the same x-height might be wrong in some cases, but it is a useful starting point to start learning for newcomers (like me) how to set the proper visual scaling factor. My most common scenario for font scaling is not roman with sansserif or typewritter, but roman Latin with roman Greek characters and setting the same x-height for both. And I thought there were fine with the same x-height for both. My typographical ability wouldn't let my set other relative scaling factor other than 1 or the same x-height for both fonts. Hm. Just typeset fontstrips, scale the doc up/down on the screen and find the best visual match. You need to do that only once for a given combination of fonts. In most cases i use lm for monospaced and palatino for math when combined with other fonts, and my experience is that one really need to typeset some text (with e.g. inline verbatim) in order to find out what value is best. The problem is that in that case, we would end up with 4 line definitions replaced by 4 line definitions; ok, when we have luatex, we can think of some aux macros (\rscaled{fontname}) because then fully expandable solutions are possible. Adam Lindsay made/had plans for predefined typefaces and actually that is then the best way to go: predefine interesting combinations of fonts with optimized values for relative scaling and ht/dp ratios. 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
[NTG-context] volunteer wanted
Hi, Is there someone here who wants to check (roughly) the context related man pages that ship with tex live? I have a tgz file. 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
[NTG-context] beta - current
Hi, We've gone current with the beta. Next week there will be release notes as well as the formal tex live/collection code freeze. Apart from the usual bug fixes and extensions, the most noticeable change is that from now on there are also mkii files (and mkiv as well as lua files for those testing luatex). Next year, when the TeXGyre project has released all new base fonts, there will be a switch to using these fonts instead of the existing variants, for this release, one has to load type-gyr. There has been some organizational changes to the metapost inclusion (mptopdf uses supp-pdf, while context itself uses an [to be futher] optimized version as a prelude to mkiv conversion). If you want to know to what extend luatex will influence context, keep an eye on the mk.pdf document (or read the coming Maps, TugBoat or other user group magazines) which (will) describe some experiments, history and usage. 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] volunteer wanted
Is there someone here who wants to check (roughly) the context related man pages that ship with tex live? I have a tgz file. Sure. Are they to be checked against a reasonably current mkii? -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] How to get a PhD with ConTeXt (+ hard work ;) )
Hi Mojca, Mojca Miklavec a écrit : textext? Did it work? On my computer it hangs after approximately 13 plots. The suggested option is to use sometxt now. textext works for me, all my plots use this option. Even better (faster) if you have a compiled version of plots and only include PDF ;) Ok, but what about font embedding ? I precisely like to proceed the plot as mp code because of the embedding of fonts... I explain: when I began ConTeXt, I included plots as pdf from LaTeX+PStricks and I observed an annoying fact, i.e. the fonts are embedded twice ! For this reason, when I heard of a context (via mp) term, I tried it... with success... Renaud ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] unic-xxx.tex glyph lists: minor bugs, questions
Sanjoy Mahajan wrote: Hans Hagen wrote: depends on how many context users want to experiment with the declared-stable parts of luatex I'll experiment, especially if I can figure out a set of magic kpathsea paths to keep mkii and mkiv in parallel. no need for that ; it is made to run in parallel, just an extra zip with mkiv and lua files ending up in base, and luatools.lua ending up in the script path; also, mkiv does not use kpse -) 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
[NTG-context] Error compiling latest luatext
In luatex-snapshot-20061023 ./build.sh gives config.status: error: cannot find input file: test/Makefile.in make: *** [../../libs/zziplib/zzip/.libs/libzzip.a] Error 1 Do I need something ? - TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 texexec : TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.20a-2.2 (Web2C 7.5.3) context : ver: 2005.01.13 cont-en : ver: 2005.01.13 fmt: 2005.3.7 mes: english cont-nl : ver: 2005.01.13 fmt: 2005.8.25 mes: dutch Linux marcus.logo.net 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686 Pentium III (Coppermine) unknown GNU/Linux ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Error compiling latest luatext
luigi scarso wrote: In luatex-snapshot-20061023 ./build.sh gives Can you try the linux-specific build script? (build.sh.linux) config.status: error: cannot find input file: test/Makefile.in make: *** [../../libs/zziplib/zzip/.libs/libzzip.a] Error 1 Do I need something ? No. If it still complains, that is almost certainly a configuration error caused by my lack of understanding of autoconf, but not something you actually miss. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problems with texexec pdfarrange
Hello, everybody In page 8 of the mtexexec manual we can see the following command: texexec --pdfarrange --paper=A5A4 --print=up live.pdf If I try it with a PDF file, for example, texexec --pdfarrange --paper=A5A4 --print=up --print gri.pdf I get an error message: ! Missing number, treated as zero. to be read again A \@@ppoffset -A 5A4 \calculatepaperoffsets ...lue {\??pp #1\c!offset } \divide \scratchdimen \arr... argument ...dth }\fi \calculatepaperoffsets {A4} \xdef \papersize {A4} \firstofoneargument #1-#1 \next1 #1,-\docommand {#1} \doprocesscommaitem ... l.3 \setuplayout ? Do I miss something? Greetings Marcus Vinicius Details from the command: D:\contexttexexec --pdfarrange --paper=A5A4 gri.pdf TeXExec | arranging file gri.pdf TeXExec | processing document 'texexec' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | writing option file texexec.top TeXExec | using randomseed 761 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en TeXExec | progname: context This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2c 7.5.5) \write18 enabled. (d:\context\usr\local\context\tex\texmf-local/web2c/natural.tcx) entering extended mode (./texexec.tex ConTeXt ver: 2006.11.16 12:02 MK II fmt: 2006.11.16 int: english/english language: language en is active system : cont-new loaded (d:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (d:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-new.mkii)) system : cont-old loaded (d:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (d:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (d:\context\usr\local\context\tex\texmf-local/tex/context/user/cont-sys.tex) bodyfont: 12pt rm is loaded language: patterns nl-texnansi:texnansi-1-2:3 nl-ec:ec-2-2:3 fr- texnansi:texnansi-3-2:3 fr-ec:ec-4-2:3 de-texnansi:texnansi-5-2:3 de-e c:ec-6-2:3 it-texnansi:texnansi-7-2:3 it-ec:ec-8-2:3 pt-texnansi:texna nsi-9-2:3 pt-ec:ec-10-2:3 hr-ec:ec-11-2:3 pl-pl0:pl0-12-2:3 pl-ec:e c-13-2:3 pl-qx:qx-14-2:3 cz-il2:il2-15-2:3 cz-ec:ec-16-2:3 sk-il2:i l2-17-2:3 sk-ec:ec-18-2:3 sl-ec:ec-19-2:3 ru-t2a:t2a-21-2:3 en-ec:e c-22-2:3 uk-ec:ec-23-2:3 us-ec:ec-24-2:3 agr-agr:agr-25-2:3 da-ec:e c-26-2:3 sv-ec:ec-27-2:3 af-ec:ec-28-2:3 no-ec:ec-29-2:3 deo-ec:ec- 30-2:3 es-ec:ec-31-2:3 ca-ec:ec-32-2:3 la-ec:ec-33-2:3 ro-ec:ec-34 -2:3 tr-ec:ec-35-2:3 fi-ec:ec-37-2:3 hu-ec:ec-38-2:3 loaded specials: tex,postscript,rokicki loaded system : texexec.top loaded (./texexec.top specials: loading definition file tpd (d:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (d:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.tex (d:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.mkii)) specials: fdf loaded ) specials: fdf,tpd loaded ) systems : system commands are enabled ! Missing number, treated as zero. to be read again A \@@ppoffset -A 5A4 \calculatepaperoffsets ...lue {\??pp #1\c!offset } \divide \scratchdimen \arr... argument ...dth }\fi \calculatepaperoffsets {A4} \xdef \papersize {A4} \firstofoneargument #1-#1 \next1 #1,-\docommand {#1} \doprocesscommaitem ... l.3 \setuplayout ? - Sponsored Link Mortgage rates near 39yr lows. $510,000 Mortgage for $1,698/mo - Calculate new house payment___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Bug in Description?
Hello, I need to mimick enumerated lists with descriptions, as the list labels are passed to context by an external program. For this I need the text after the label indented exactly as far as the following lines. Following the wiki I set distance=0cm, but this does not seem to be honored, but setting it to a very small value does work. So I suppose it's a bug. Yours, Karsten \definedescription[DescA][align=left,location=hanging,width=1cm,margin=1cm,distance=0cm] \definedescription[DescB][align=left,location=hanging,width=1cm,margin=1cm,distance=0.0001cm] \starttext Wrong: \DescA{1.} \input knuth \DescA{2.} \input knuth Right: \DescB{1.} \input knuth \DescB{2.} \input knuth \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Problems with \fillinfield
Hi, PDF fields created with \fillinfield lose their filled in values as soon as they lose focus. I have tried several different documents, including mwidget-s.pdf, with the latest Acrobat Reader on both Linux and Windows but I always get the same result. Any others with similar problems? Regards, Fredrik ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with texexec pdfarrange
Hi, In the meantime the paper command option is --paperformat=A4A5. in my opinion the print command option is --print=2up Willi Marcus Vinicius Mesquita de So wrote: Hello, everybody In page 8 of the mtexexec manual we can see the following command: texexec --pdfarrange --paper=A5A4 --print=up live.pdf If I try it with a PDF file, for example, texexec --pdfarrange --paper=A5A4 --print=up --print gri.pdf I get an error message: ! Missing number, treated as zero. to be read again A \@@ppoffset -A 5A4 \calculatepaperoffsets ...lue {\??pp #1\c!offset } \divide \scratchdimen \arr... argument ...dth }\fi \calculatepaperoffsets {A4} \xdef \papersize {A4} \firstofoneargument #1-#1 \next1 #1,-\docommand {#1} \doprocesscommaitem ... l.3 \setuplayout ? Do I miss something? Greetings Marcus Vinicius Details from the command: D:\contexttexexec --pdfarrange --paper=A5A4 gri.pdf TeXExec | arranging file gri.pdf TeXExec | processing document 'texexec' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | writing option file texexec.top TeXExec | using randomseed 761 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en TeXExec | progname: context This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2c 7.5.5) \write18 enabled. (d:\context\usr\local\context\tex\texmf-local/web2c/natural.tcx) entering extended mode (./texexec.tex ConTeXt ver: 2006.11.16 12:02 MK II fmt: 2006.11.16 int: english/english language: language en is active system : cont-new loaded (d:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (d:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-new.mkii)) system : cont-old loaded (d:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (d:\context\usr\local\context\tex\texmf-local/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (d:\context\usr\local\context\tex\texmf-local/tex/context/user/cont-sys.tex) bodyfont: 12pt rm is loaded language: patterns nl-texnansi:texnansi-1-2:3 nl-ec:ec-2-2:3 fr- texnansi:texnansi-3-2:3 fr-ec:ec-4-2:3 de-texnansi:texnansi-5-2:3 de-e c:ec-6-2:3 it-texnansi:texnansi-7-2:3 it-ec:ec-8-2:3 pt-texnansi:texna nsi-9-2:3 pt-ec:ec-10-2:3 hr-ec:ec-11-2:3 pl-pl0:pl0-12-2:3 pl-ec:e c-13-2:3 pl-qx:qx-14-2:3 cz-il2:il2-15-2:3 cz-ec:ec-16-2:3 sk-il2:i l2-17-2:3 sk-ec:ec-18-2:3 sl-ec:ec-19-2:3 ru-t2a:t2a-21-2:3 en-ec:e c-22-2:3 uk-ec:ec-23-2:3 us-ec:ec-24-2:3 agr-agr:agr-25-2:3 da-ec:e c-26-2:3 sv-ec:ec-27-2:3 af-ec:ec-28-2:3 no-ec:ec-29-2:3 deo-ec:ec- 30-2:3 es-ec:ec-31-2:3 ca-ec:ec-32-2:3 la-ec:ec-33-2:3 ro-ec:ec-34 -2:3 tr-ec:ec-35-2:3 fi-ec:ec-37-2:3 hu-ec:ec-38-2:3 loaded specials: tex,postscript,rokicki loaded system : texexec.top loaded (./texexec.top specials: loading definition file tpd (d:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-tpd.tex specials: loading definition file fdf (d:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.tex (d:\context\usr\local\context\tex\texmf-local/tex/context/base/spec-fdf.mkii)) specials: fdf loaded ) specials: fdf,tpd loaded ) systems : system commands are enabled ! Missing number, treated as zero. to be read again A \@@ppoffset -A 5A4 \calculatepaperoffsets ...lue {\??pp #1\c!offset } \divide \scratchdimen \arr... argument ...dth }\fi \calculatepaperoffsets {A4} \xdef \papersize {A4} \firstofoneargument #1-#1 \next1 #1,-\docommand {#1} \doprocesscommaitem ... l.3 \setuplayout ? Sponsored Link Mortgage rates near 39yr lows. $510,000 Mortgage for $1,698/mo - Calculate new house payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9134-16416moid=4119 ___ 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 texexec pdfarrange
in my opinion the print command option is --print=2up It shouldn't matter (2up vs up). The tex.rb script has this: case getvariable('printformat') when '' then arrangement \\v!normal when /.*up/oi then arrangement [2UP,\\v!rotated] when /.*down/oi then arrangement [2DOWN,\\v!rotated] when /.*side/oi then arrangement [2SIDE,\\v!rotated] end So --printformat looks whether 'up', 'down', or 'side' is given as the key and then chooses 2UP, 2DOWN, or 2SIDE accordingly. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problems with texexec pdfarrange
texexec --pdfarrange --paper=A5A4 --print=up live.pdf It needs to be given as '--paperformat'. I'm pretty sure '--paper' gets disambiguated as --paperoffset, so ConTeXt looks for a dimension but gets A5A4, and then complains about a missing number. -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] postponed block and headers
Below is somewhat of a silly example, but it does show the problem I am experiencing. It looks like the commands inside of the postponing block can not effect the headers. Is this a bug or am I doing something wrong? The only way I have been able to change the headers is to place a \page[blank] at the beginning of my postponed block, but then there are no headers for the rest of the document. Basically I just want there to be no headers on any page where I postpone a block. Any help would be much appreciated \setuppagenumbering[conversion=numbers, location=] \setupheadertexts[pagenumber] \setuphead[chapter][header=high, footer=high] \startpostponing[+2] \chapter{Chapter with header} \stoppostponing \starttext \chapter{Chapter no header} \dorecurse{20}{\input davis } \stoptext paul ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context