Re: [NTG-context] Latin Modern bug in lm-texnansi-os.enc
Hi, On the ConTeXT mailing list, Idris posted some messages because he was trying to use oldstyle numerals in the latest Latin Modern release, and was experiencing two pretty big problems: * really bad kerning around the oldstyle numerals We would be grateful if we could get more details (which font, which tfm, which encoding, pdftex or tex/dvips, on the screen or on the paper, etc.) My first guess is that proportional figures were used with tabular metrics... * pdftex generated errors for the typewriter fonts, complaining glyph `one.oldstyle' undefined etc. Yeah... This is the result of our decision to comply with the currently obeying naming conventions (better to say: fashion). The oldstyle figures that appear in ts1 (text companion) encoding are actually *.taboldstyle; the names *.oldstyle are reserved for proportional glyphs. We included also proportional oldstyle figures in LMs (and in the TeX Gyre fonts). The implementation of 'automatic' oldstyle numbers in ConTeXt uses a set of encoding files that used to ship with LM (lm-xx-os.enc). By way of a map file fragment, this allows to switch the fonts 'en masse' from lining to oldstyle (and back) without the need for special metric files, which is a pretty nice feature. Don't understand -- the vertical oldstyle digits, in general, have different metric data (tabular digits differ only with respect to vertical dimensions). So, the replacement of the encoding implies the replacement of TFMs. Or I misundersood something. Those encoding files now apparently obsolete: they still refer to glyphs named e.g. `one.oldstyle', whereas in the current release of the LM fonts it really should be `one.taboldstyle'. Yes, as I explained above. While writing a bug report, I noticed that these encoding files are no longer in the font distribution No. We have a lot enough of TFMs and I'd be reluctant to add more. The only resort I can see is to use OTFs... Is this trick to get oldstyle now officially unsupported? Rather not, I've just learned about it. ;-) because there are no oldstyle-using TFM files in the LM distribution either ... There are. As I mentioned, ts1 encoding contains oldstyle tabular figures. Perhaps accessing them needs other tricks, but as long as 256-glyph fonts are to be used, some glyphs must be accessed clumsily. e.g., proportional digits (normal and oldstyle). Cheers -- Jacko ___ 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] installprogram problem
Am 2007-05-24 um 22:00 schrieb Aditya Mahajan: and everything runs correctly. Hraban, I have not tested this with lilypond, but this may be part of the problem there. Thank you very much, Aditya, that is the WHOLE problem! Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] Header height multipage Text.
hi, we have a dokument with a multipage Text. For this dokument we set a firstpage Header and a header for all following Pages. This Headers had different heights. The problem is, the height off the text. It is at all pages the same, so on the second Page and all following the Text is placed higher but it does not fill the Page till footerheight. We've tried setting the textheight in the second Header bigger but without effects. An Example ist attached. Can someone help us? Thanks Oliver -- -- ::iscope gmbh osnabrück, berlin, lingen ::oliver siegemund, servertechnik / php - programmierung ::kollegienwall 17 ::49074 osnabrück ::tel 0541 350286-0 fax -5 ::[EMAIL PROTECTED] ::http://www.iscope.de || http://produkte.iscope.de \setuppapersize[A4] \installlanguage[german][de] \mainlanguage[de] \enableregime[utf] \setuplayout[ paperwidth=21cm, textwidth=16.5cm, header=5.16cm, topspace=2cm,topdistance=0cm, footer=0mm, bottomspace=2.63mm,bottomdistance=20pt ] \setupencoding[default=texnansi] \setuppagenumbering[state=stop] \startsetups[firstpage] \setuplayout[ header=6.16cm, ] \hbox { \framed[height=6.16cm,width=6.22cm,x=0mm,y=0mm,frame=off,offset=none,frameoffset=0mm] {} \framed[height=61.6mm,width=21.4mm,x=0mm,y=0mm,frame=off,offset=none,frameoffset=0mm,align=right] { \startcolor[myblack] \startuseMPgraphic{mycircle} draw fullcircle scaled 20.2mm; draw fullcircle scaled 8.6mm; \stopuseMPgraphic \useMPgraphic{mycircle} } \framed [height=61.6mm,width=68mm,x=0mm,y=0mm,frame=off,offset=0pt,align=left] { \startcolor[myblack] \starttabulate[|l w(3.2cm) | r w(3.3cm) |] \NC Teststreet 50 \NC 12345 Testcity \NR \NC telefon 12345 \NC telefax 12345-12 \NC \NR \stoptabulate \ignorespaces \starttabulate[|l w(2cm)| r w(4.5cm) |] \NC mail: \hfill \NC [EMAIL PROTECTED] \NC \NR \NC netz: \hfill \NC www.test-test-test.de \NC \NR \stoptabulate \startalignment[right] Ausdruck des Webseitenbereiches: \stopalignment \starttabulate[| l w(2cm) | r w(4.5cm) |] \NC 1.Eingelogged: \NC Testperson \NC \NR \NC Ausgabedatum: \NC 14.06.2007 \NC \NR \stoptabulate Seite {\pagenumber} von {\lastpagenumber} } } \stopsetups \startsetups[allpage] \setuplayout[ header=3.6cm, ] \hbox {\framed[height=3.6cm,width=6.22cm,x=0cm,y=0mm,frame=off,offset=none,frameoffset=0mm] {} \framed [height=3.6cm,width=2.14cm,x=0cm,y=0mm,frame=off,offset=none,frameoffset=0mm,align=right] { \startcolor[myblack] \startuseMPgraphic{mycircle} draw fullcircle scaled 20.2mm; draw fullcircle scaled 8.6mm; \stopuseMPgraphic \useMPgraphic{mycircle} } \framed [height=3.6cm,width=6.8cm,x=0mm,y=0mm,frame=off,offset=0pt,align=left] { \startcolor[myblack] \starttabulate[|l w(2cm) | r w(4.5cm) |] \NC \NC{\bf geographische Verteilung}\NR \NC \NC Testperson\NR \NC \NC 14.06.2007\NR \NC \NC Seite {\pagenumber} von {\lastpagenumber}\NR \stoptabulate } } \stopsetups \setupheadertexts[\ifnum\pageno=1\setups{firstpage}\else\setups{allpage}\fi][][][\setups{allpage}] \starttext \startalignment[hanging] Erkenntnisform, Auffassungen von Logik, Wahrheit: von der Organisation der Theoretischen, Sprachlichen der Normen, die darauf sich beziehen, zu historisieren und sie zu kritisieren als das, was historische Untersuchung ergibt, setzt sich der Gefahr aus, vom Gang empirischer Forschung uberholt zu werden. Ich habe diese Fragen immer anders gestellt: was sollen wir am besten tun, was verstehen wir am zweckma{\SS}igsten unter einem Argument. Aber auch wenn Adorno die Entstehung der Identitatsphilosophie historisch rekonstruiert, die Rekonstruktion alleine gibt noch keine Erkenntnis uber das jetzt Bestehende. Er selbst sagt da{\SS} es (dialektisch) seinen Charakter andern kann. Und etwas uber die theoretischen, begrifflichen, metaphysischen Anordnungen zu erfahren mu{\SS} auch im Sinne meiner Frage sein. Wenn sich dennoch ein Unterschied ergibt, wird er auf etwas anderes ausgehen. Sich einbilden, etwas uber die Dinge herauszufinden? Eine Theorie auf etwas so Vagem aufbauen wie auf religionshistorischen\\ Vorstellungen? Meine Skepsis gegenuber dem Wert historischer Forschung, ich sehe nicht merh als heuristischen Wert in ihr: da{\SS} etwas mal so war, sagt nichts daruber aus, wie es heute ist. Alles mu{\SS} sich am Heute erweisen lassen. (Aber da liegen wahrscheinlich die Probleme. Das Ganze ist das ganz unwahre.) Wie im Falle der Psychologie, die immer ein unendliches Wesen vor sich hat, so in jedem anderen Fall: der Versuch, zu Bestimmungen zu kommen, die das Ding selbst meinen, mu{\SS} aufgegeben werden. Im Pragmatismus ist das ersetzende Prinzip einfach: gultig fur uns ist, was fur uns funktioniert. Begriffe werden operational gefasst. (Ich ahne, da{\SS} diese Fassung eines reformierten Wissens, Erkennens, die selbst eine Interpretation ist, entscheidendes verbirgt, entscheidende Bedingungen oder/und Resultate der Anordnung/Praxis, die sie meint, vielleicht auch
Re: [NTG-context] Ubuntu edgy/feisty: texlive and context packages
Le Tue, 22 May 2007 00:25:43 -0400, Sanjoy Mahajan a écrit: I made texlive and context packages for Ubuntu edgy (6.10) and feisty (7.04). They are compiled on edgy (in a clean chroot) and should work on both. I haven't tested them on an edgy system, but I use them on my feisty laptop with no problems so far. Let me know of any problems. Here are the two lines for /etc/apt/sources.list (which supercede the ones in my last email): deb http://web.mit.edu/download/sanjoy/texlive-backports/ edgy/ deb-src http://web.mit.edu/download/sanjoy/texlive-backports/ edgy/ Then apt-get install context or apt-get install context context-doc-nonfree context-nonfree Would many users would like packages for Ubuntu dapper (6.06)? I'm not optimistic whether the backport from gutsy will work that far back, since library versions get farther apart. But if there's interest, I'll try it. -Sanjoy ___ 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 ___ Thanks a lot Sanjoy, I was a bit desperate to be able to update context via the apt mecanism, to a point that I was willing to test indesign ... I can now use optima font whith a (borrowed again from Hans perfect docs) whithout any hassle : % definetypeface[mainface][ss][sans] [iwona] [default][encoding=texnansi] \definetypeface[mainface][ss][sans] [iwona] [default][encoding=ec] \definetypeface[mainface][rm][serif][latin-modern] [default][encoding=texnansi,rscale=1.05] \definetypeface[mainface][tt][mono] [latin-modern] [default][encoding=texnansi,rscale=1.1] \definetypeface[mainface][mm][math] [times] [default][encoding=default, rscale=1.05] % definetypeface[heavyss] [ss][sans] [iwona-heavy] [default][encoding=texnansi] \definetypeface[narrowtt][tt][mono] [latin-modern-cond][default][encoding=texnansi,rscale=1.1] \setupbodyfont[mainface,ss,11pt] But whith this new version of context (2007.04.17) I loose features for a good number of files : It will be another post. Thanks again for permitting us to work on ubuntu. Olivier Turlier ___ 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] installprogram problem
Aditya Mahajan wrote: Hi, There is a bug in texutil.rb Here is a simple test. Create test.tex strange indeed, mayb esome leftover from the perl version 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 - ___ 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] installprogram problem
Quoting Hans Hagen [EMAIL PROTECTED]: Aditya Mahajan wrote: Hi, There is a bug in texutil.rb Here is a simple test. Create test.tex strange indeed, mayb esome leftover from the perl version fixed; thanks The to_i in def MyExtras::writer also looks suspicious. The tuo file has wrong information % programs: 2 % % echo test (echo test) % echo test again (echo test) I think that def MyExtras::writer can be simplified to def MyExtras::writer(logger,handle) handle logger.banner(programs: #{@@programs.size}) @@programs.each do |p| # handle % #{p} (#{@@programs[p.to_i]})\n handle % #{p}\n end end or maybe the slightly more informative def MyExtras::writer(logger,handle) handle logger.banner(programs: #{@@programs.size}) @@programs.each_with_index do |cmd, p| # handle % #{p} (#{@@programs[p.to_i]})\n handle % #{p+1} (#{cmd})\n end end BTW, using p as a variable name is not a good idea in ruby. p prints out the output of inspect, and is useful while debugging programs. Compare a = /ad?/ b = a.match(Dad) puts b p b puts b.inspect 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] Header height multipage Text.
iscope GmbH // Oliver Siegemund wrote: hi, we have a dokument with a multipage Text. For this dokument we set a firstpage Header and a header for all following Pages. This Headers had different heights. The problem is, the height off the text. It is at all pages the same, so on the second Page and all following the Text is placed higher but it does not fill the Page till footerheight. We've tried setting the textheight in the second Header bigger but without effects. An Example ist attached. Can someone help us? cleaned up code (not the design, which need some cleanup too) \enableregime[utf] \mainlanguage[de] \setupencoding [default=texnansi] \setuplayout[ width=16.5cm, header=3.6cm, height=middle, topspace=2cm, footer=0mm, bottomspace=2.63cm] \setuppagenumbering [state=stop] \definecolor[myblack][s=.4] \startuseMPgraphic{mycircle} draw fullcircle scaled 20.2mm withcolor \MPcolor{myblack} ; draw fullcircle scaled 8.6mm withcolor \MPcolor{myblack} ; \stopuseMPgraphic \startsetups[commonpage] \framed [height=\headerheight, width=6.22cm, frame=off, offset=none, frameoffset=0mm] {} \framed [height=\headerheight, width=21.4mm, frame=off, foregroundcolor=myblack, offset=none, frameoffset=0mm, align=right] {\useMPgraphic{mycircle}} \stopsetups \startsetups[firstpage] \hbox \bgroup \setups{commonpage} \framed [height=\headerheight, width=68mm, frame=off, foregroundcolor=myblack, offset=0pt, align=left] {\starttabulate[|l w(3.2cm) | r w(3.3cm) |] \NC Teststreet 50 \NC 12345 Testcity \NR \NC telefon 12345 \NC telefax 12345-12 \NC \NR \stoptabulate \starttabulate[|l w(2cm)| r w(4.5cm) |] \NC mail: \hfill \NC [EMAIL PROTECTED] \NC \NR \NC netz: \hfill \NC www.test-test-test.de \NC \NR \stoptabulate \startalignment[right] Ausdruck des Webseitenbereiches: \stopalignment \starttabulate[| l w(2cm) | r w(4.5cm) |] \NC 1.Eingelogged: \NC Testperson \NC \NR \NC Ausgabedatum: \NC 14.06.2007 \NC \NR \stoptabulate Seite {\pagenumber} von {\lastpagenumber}} \egroup \stopsetups \startsetups allpage \hbox \bgroup \setups{commonpage} \framed [height=\headerheight, width=6.8cm, frame=off, foregroundcolor=myblack, offset=0pt, align=left] {\starttabulate[|l w(2cm) | r w(4.5cm) |] \NC \NC{\bf geographische Verteilung}\NR \NC \NC Testperson\NR \NC \NC 14.06.2007\NR \NC \NC Seite {\pagenumber} von {\lastpagenumber}\NR \stoptabulate}% \egroup \stopsetups \definelayout [1] [header=6.16cm] \definelayout [2] [header=3.6cm] \definetext [1] [header] [\setups{firstpage}][] [][\setups{allpage}] \setupheadertexts [\setups{allpage}][] [][\setups{allpage}] \setupheader[state=1] \showframe \starttext \dorecurse{20}{\input tufte \relax} \stoptext - 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] Ubuntu edgy/feisty: texlive and context packages
Olivier TURLIER [EMAIL PROTECTED] wrote: I was a bit desperate to be able to update context via the apt mecanism, to a point that I was willing to test indesign ... That is desperation! But I agree. Installing packages straight from source, not through the package mechanism, feels like I am messing up my system. Whereas via apt feels organized. An hour ago I put newer backports at the same spot: deb http://web.mit.edu/download/sanjoy/texlive-backports/ edgy/ deb-src http://web.mit.edu/download/sanjoy/texlive-backports/ edgy/ They are based on Norbert's latest Debian packages for 'unstable', which are slightly newer than the latest Ubuntu gutsy packages. I tested the backports slightly on an edgy 'system' (actually a chroot) and they installed fine and worked with the simple test file \starttext \input tufte \stoptext I also use them for all my tex'ing with no problems so far on my feisty laptop. The apt-get that I recommend, which is on the wiki too, is apt-get update apt-get install cm-super texlive-fonts-recommended context \ context-nonfree context-doc-nonfree Warning: on 'edgy' cm-super pulls in tons of texlive-lang-* packages, so have O(100MB) of disk space available for them. -Sanjoy `If we are fortunate, Republicans will complete their self-destruction before they extinguish the Constitution and destroy America.' --Paul Roberts, former assistant Treasury Secretary under Reagan ___ 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 ___