Re: [NTG-context] margin kerning issues
On Mon, 9 May 2005, Idris Samawi Hamid wrote: In the following example, margin kerning works for \hyphen and \endash, but not for `-' and `--'. I don't think this is an encoding problem, because e.g. \hyphen and `-' generate the same output. all four text blocks show right protrusion here, with ConTeXt as of teTeX-3.0 and pdftex-1.21b-beta. Maybe your pdftex or ConTeXt is too old. Maybe try pdftex-1.21a. Regards, Hartmut ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] combining references to several targets
On Mon, 09 May 2005 at 22:40:03+0200, Hans Hagen wrote: say that I have four tables with lables tab:A ... tab:D. Now, I would like to say something like \in{Tables}[tab:A,tab:B,tab:C,tab:D] and the output should be Tables 2, 7-9. \in{Tables}[tab:A], \in[tab:B]--\in[tab:D] Of course, this solution works, but it can easily break. So there is no automatic sorting and combining? If I don't know that table B--D have continuous numbers, or if this changes in the course of writing, those references will become wrong. implementing this is not complex, but the tricky part is in the prefixes (1.4, 2.5) Not complex... ;-) I admit that I didn't think of prefixes since I never used them so far. Anyway, I think this would be a very useful feature, even if some restrictions concerning prefixes had to be accepted. If you have the opportunity to implement it sometime - great. -- Eckhart ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] margin kerning issues
Hi Hartmut, Thnx 4 your reply. = Original Message From Hartmut Henkel [EMAIL PROTECTED] = In the following example, margin kerning works for \hyphen and \endash, but not for `-' and `--'. I don't think this is an encoding problem, because e.g. \hyphen and `-' generate the same output. all four text blocks show right protrusion here, with ConTeXt as of teTeX-3.0 and pdftex-1.21b-beta. Maybe your pdftex or ConTeXt is too old. Maybe try pdftex-1.21a. This is strange, because I am using the latest official ConTeXt (2005-03-16) with the pdfetex that comes with it: This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) ... : ConTeXt ver: 2005.03.16 fmt: 2005.4.18 Hans: If this is indeed the problem, and if there is a pdfetex binary compatible with ConTeXt ver: 2005.03.16 on Windows please let me know! Best Idris Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] inmarge figures and references
Thank you, the problems have been solved and everything is now working on all three systems. I don't know why the figure-reference problem also disappeared after changing from \inmarge to \inmargin, but I will not try to find out ... When looking at the threads in this user group and also sometimes at the answers to my questions, I realise that I should know something about the structure of the system behind ConTeXt. Therefore this general question: at the beginning of the context manual, 3 books on TeX are being recommended. But we are also assured that we don't need them for using ConTeXt (unless we want to program). Would the beginner's book help in understanding the structure of the whole system? Or is it all about how to write in TeX instead of ConTeXt, and therefore a waste of time (for me, at least)? On May 9, 2005, at 4:11 PM, Taco Hoekwater wrote: Jörg Hagmann wrote: Hi Taco, 1. \inmarge figures can't be handled. Instead they appear in the text. This is an example from the log file: ! Undefined control sequence. l.35 \inmarge {\externalfigure[8pyruvate_lab]} The command is called \inmargin (at least in the english interface). I was following the manual (Context - an excursion) where \inmarge is used with marginal figures. I thought that was the command to use, and it works on my computer here. I am using \inmargin with text; does what you are saying mean the two commands do the same? \inmarge is dutch for \inmargin, and it should have been replaced in the 'excursion when ConTeXt switched to low-level english commands last year. So yes, they are the same, but if you are not using the dutch interface explicitly, then \inmarge will only work in old ConTeXt-s. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] more on margin kerning
Dear syndicate, Hartmut may be right that this is a pdfetex problem***, but the following example makes me think there is more to it. Indeed, the following is actually more to the point of my own problem: Consider the following typescript type-test.tex and and example file hanging.tex. When TeX hyphenates the word, the dash is kerned into the margin, but when a dash is manually inserted, no kerning occurs. Note: in this example neither `-' nor \hyphen works, whereas in the previous posted problem \hyphen did work. This makes me think that this is a macro, not an engine, issue. Please help! Best to all and thnx Idris *** I am using ConTeXt ver: 2005.03.16, the full mswincontext.zip. If there is a compatible up-to-date pdfetex binary out there please point me to it (or send it to me)! =type-test.tex== %% font mapping \starttypescript [serif][test] [texnansi] \definefontsynonym [LMRSerif] [texnansi-lmbx12][encoding=texnansi] \stoptypescript %% general names \starttypescript [serif][test] [name] \definefontsynonym [Serif][LMRSerif] \stoptypescript %% font sizes \starttypescript [serif][test] [size] \definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt] [rm] [tf=Serif sa 1] \stoptypescript %% hanging \starttypescript [serif] [hanging][test] \setupfontsynonym [Serif] [handling=normal] \setupfontsynonym [SerifCapt] [handling=normal] \stoptypescript %% final typeface \starttypescript[LMRTest] \definebodyfontenvironment [LMRTest] [default] [interlinespace=2.8ex] \definetypeface [lmrtest] [rm] [serif] [test] [test] [encoding=texnansi] \stoptypescript === =hanging.tex=== \setupoutput[pdftex] \setuplayout[width=4in] \usetypescriptfile[type-test] \usetypescript[serif] [hanging] [test] \usetypescript[LMRTest] \setupbodyfont[lmrtest,10pt] \setupalign[hanging] \showframe \starttext \dorecurse{40}{lots of hy\-phen\-a\-tion\hyphen\ } \blank \dorecurse{40}{lots of hy\-phen\-a\-tion- } \hyphen\ - \stoptext === Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] texexec.pl patch
The patch in my previous message modifies texexec.pl so that some characters are doubly escaped when kpsewhich is invoked. This strictly trial and error, so I do not claim to know exactly what is going on. But I suspect that \ and $ need to be protected from both perl and the shell when included within `backward quotes`. Perhaps this is platform or shell specific. My setup is bash on linux. Things seem to work with texlive on linux now. bb On 5/9/05, bb [EMAIL PROTECTED] wrote: I think I have things working with texlive. I will reproduce the installation to make sure I capture all steps. It basically comes down to: 1) Install texlive 2004 to /usr/local/TeX 2) (possibly optional) Compile new pdftex, pdfetex and pdfxtex and replace executable and pool files in /usr/local/TeX/bin/i386-linux/ and /usr/local/TeX/texmf-local/web2c/ respectively. 3) Install beta cont-tmf.zip into /usr/local/TeX/texmf-context 4) Edit /usr/local/TeX/texmf-local/web2c/texmf.cnf to include the following modifications from the copy in /usr/local/TeX/texmf/web2c: TEXMFCONTEXT=$SELFAUTOPARENT/texmf-context TEXMF={$HOMETEXMF,!!$VARTEXMF,$TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFMAIN,!!$TEXMFDIST} 5) wget http://www.pragma-ade.com/context/install/linuxtex.zip Unzip the file into a temporary directory and cd to tex/texmf-linux/bin. Copy only the small stub scripts (all less than 50 bytes) to /usr/local/TeX/bin/i386-linux overwriting similarly named executables. Copy texmfstart to the same place, again overwriting the existing executable. Delete the rest of the temporary linuxtex installation. 6) Update /usr/local/TeX/texmf-context/scripts/context/perl/texexec.pl with the attached patch. 7) Download the latest lm fonts from CTAN and install them in the correct folders in texmf-context. 8) Run updmap. 9) Run texexec --make --all I'm sure I have forgotten some crucial step. Corrections and simplifications are welcome. On 5/9/05, Taco Hoekwater [EMAIL PROTECTED] wrote: bb wrote: Reading my own words I see how they don't exactly convey warm appreciation for all the hard work that has been put into context. That's ok, i have written stuff in the not so distant past that was much, much less appreciative. :-) below. Since texlive 2005 is in the process of being worked out, perhaps a better use of time would be to ensure that a fully functional, up-to-date (and upgradable!) context gets included. It wouldn't stay up-to-date for the whole year, only for the first six months or so. But you are right that the current (texlive2004) situation is particularly messy, and an effort should be made to make sure that the next texlive starts off with a more stable situation. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] inmarge figures and references
Jörg Hagmann wrote: Would the beginner's book help in understanding the structure of the whole system? I have never actually read Levy's book, but I doubt it will help you understand the intrinsics of the ConTeXt system. It will probably teach you how to program TeX; thereby making it easier for you to understand the constituent parts of ConTeXt and (possibly) allowing you to write the macro code needed for nice title pages and overlays. But that's hardly the same as the structure of the system. At the moment, the only way to get a feeling for that is to read the source code, I believe. Start with 'tex/context/base/context.tex'. Working through the included files in the order they are loaded is easiest, and use the source code browser at contextgarden.net ! Good luck, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] more on margin kerning
Idris Samawi Hamid wrote: Dear syndicate, Hartmut may be right that this is a pdfetex problem***, but the following example makes me think there is more to it. Indeed, the following is actually more to the point of my own problem: I think Hartmut is precisely right, because all is well using 1.21a. But I do not know whether there is a pdftex 1.21a for Windows anywhere. Greetings, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] more on margin kerning
On Tuesday, May 10, 2005 3:12 PM Taco Hoekwater wrote: I think Hartmut is precisely right, because all is well using 1.21a. But I do not know whether there is a pdftex 1.21a for Windows anywhere. the latest miktex has it ;-) Ulrich ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] more on margin kerning
On Tue, 10 May 2005 15:11:53 +0200, Taco Hoekwater [EMAIL PROTECTED] wrote: Hartmut may be right that this is a pdfetex problem***, but the following example makes me think there is more to it. Indeed, the following is actually more to the point of my own problem: I think Hartmut is precisely right, because all is well using 1.21a. I don't doubt you-) but then why does \hyphen (but not `-') protrude in the example from the original post, and not protrude in my latest example? But I do not know whether there is a pdftex 1.21a for Windows anywhere. \dorecurse{3}{Sigh}: and I have to deliver my manuscript to the sponsors in the next few days... This is really no good-( Thanks Harmut and Taco for clarifying things. Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] more on margin kerning
Hi Ulrich On Tue, 10 May 2005 16:22:02 +0200, Ulrich Dirr [EMAIL PROTECTED] wrote: On Tuesday, May 10, 2005 3:12 PM Taco Hoekwater wrote: I think Hartmut is precisely right, because all is well using 1.21a. But I do not know whether there is a pdftex 1.21a for Windows anywhere. the latest miktex has it ;-) I suspect that mswincontext.zip is based on fpTeX. I have not used MiKTeX in ages; can I just use the binary or do I need some associated dll's (the way MiKTeX worked years ago)? Can you (or someone) specify a minimal set of files needed to use the MiKTeX version? Thnx for pointing this out. Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] inmarge figures and references
Taco Hoekwater wrote: Jörg Hagmann wrote: Would the beginner's book help in understanding the structure of the whole system? At the moment, the only way to get a feeling for that is to read the source code, I believe. Start with 'tex/context/base/context.tex'. Working through the included files in the order they are loaded is I find useful also $ texexec --pdf --module modulename.tex On the other side, I'm reading The Advanced TEXBook, and I find it good. luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] more on margin kerning
On Tue, 10 May 2005 16:50:21 +0200, Ulrich Dirr [EMAIL PROTECTED] wrote: I was forced to switch because fptex isn't developed any further by Fabrice. Oh dear, this is really bad news-(( (and to think I just wrote Fabrice about this a few minutes ago) I will try to follow up on the rest of your advice. Basically, we need a pdfetex setup that mswincontext.zip users can use; others will need this as well so it should be posted somewhere (maybe on contextgarden?). Thank you very much, Ulrich. Best Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] more on margin kerning
Hi Hans, On Tue, 10 May 2005 17:02:02 +0200, Hans Hagen [EMAIL PROTECTED] wrote: originally tex live was built out of tetex, fptex and gwtex currently we see these three distribitions go their own way; : What do you suggest in the short term as the easiest/best way to get the latest pdfetex working here? Thnx as always Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] more on margin kerning
At 6:33 -0600 10/05/05, Idris Samawi Hamid wrote: Consider the following typescript type-test.tex and and example file hanging.tex. When TeX hyphenates the word, the dash is kerned into the margin, but when a dash is manually inserted, no kerning occurs. Hi Idriss, I tried both your example files on my installation (Gerben's TeX on Mac OS X and pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) ConTeXt ver: 2005.04.19 fmt: 2005.4.24 int: english mes: english). No difference is seen between the two ways of inserting the dash: there is a kerning into the margin as it should be (as far as I know...). Note: in this example neither `-' nor \hyphen works, whereas in the previous posted problem \hyphen did work. This makes me think that this is a macro, not an engine, issue. Please help! Here \hyphen, \endash and \emdash work correctly in both your example files. Probably the problem is located in your installation? Best regards: OK ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] [Fwd: [fptex] fptex becomes xemtex]
-- - 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 - ---BeginMessage--- Long time no news. In the end, I have assembled my xemtex bundle. I won't maintain fptex anymore the way I did it. There are some explanations on the new web pages. The fptex web site will be redirected to the xemtex pages. http://www.metz.supelec.fr/~popineau/xemtex-1.html People are welcome to download, try and report about the xemtex bundle. Stay tuned about the web pages. A new mailing list will be set up soon. Best regards, -- Fabrice Popineau e-mail: [EMAIL PROTECTED] | The difference between theory voice-mail: +33 (0) 387764715| and practice, is that surface-mail: Supelec, 2 rue E. Belin, | theoretically, F-57070 Metz | there is no difference ! ___ fptex mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/fptex ---End Message--- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] hook TABLE
Hi, I have tried to use Hans' recent tip concerning hooks for TABLE entries in oder to increase the horizontal separation of cells. Here is what I currently have: \newdimen\TabCol\Sep \TabColSep6pt \def\TBLcharalign#1#2{% \hskip\TabColSep\relax \framed[align=right,frame=off,rulethickness=0mm,offset=0mm,strut=yes]{#2}% \hbox to\TabColSep{\hss}% } This works - kind of, at least the horizontal cell separation is increased. Unfortunately, vertical spacing between rows is also affected. I had to introduce the \framed in order to treat multi-line entries, and the strut in order to ensure correct vertical alignment in the row. Now, my call for help: Does anybody have an idea how to control horizontal spacing without changing the inter-row space? Thanks, -- Eckhart ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] more on margin kerning
On Tue, 10 May 2005 17:15:28 +0200, Otared Kavian [EMAIL PROTECTED] wrote: At 6:33 -0600 10/05/05, Idris Samawi Hamid wrote: Consider the following typescript type-test.tex and and example file hanging.tex. When TeX hyphenates the word, the dash is kerned into the margin, but when a dash is manually inserted, no kerning occurs. Hi Idriss, I tried both your example files on my installation (Gerben's TeX on Mac OS X and pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) The latest mswincontext.zip has an older pdfetex, 1.20; this seems to be the problem. I will get the XemTeX version and test it when I get home this evening. Thanks to all for their help Idris -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] more on margin kerning
Hi Hans, On Tue, 10 May 2005, Hans Hagen wrote: The latest mswincontext.zip has an older pdfetex, 1.20; this seems to be the problem. I will get the XemTeX version and test it when I get home this evening. that version should kern as expected but we had a spurious protrusion problem still in the pdftex manual made by 1.20a, in the HZ demonstration section. It was caused by some uninitialized variable, was in since quite some time, fixed in 1.21a. Regards, Hartmut ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context