Re: [NTG-context] FO and ConTeXt: my new wiki page
Paul Tremblay said this at Wed, 2 Mar 2005 02:04:26 -0500: http://contextgarden.net/Page_layout Thanks for your contribution... I would feel a bit better if you made the relationship to http://contextgarden.net/Layout clearer. This page is my best effort at describing how someone who is used to FO would do the same thing in ConTeXt. The page is just one of many I hope to write on FO and ConTeXt. Perhaps you could make a family of pages like FO_Layout and FO_Fonts, to make The FO Way clearer--these things are informative to people coming from ConTeXt and XSL-FO alike... This is from the page itself: ConTeXt has no equivalent to the FO attributes margin-right and margin-bottom. cutspace and bottomspace, respectively. I'll agree that the documentation on layout stuff is now lagging behind reality, but there are some sources for this information, like the list archives and: http://texshow.contextgarden.net/ts.rb? lang=enwhat=descif=encmd=setuplayout [sorry, I would go in and change the wiki myself, but can't at the moment.] -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] small caps
On Mar 2, 2005, at 10:59 AM, Adam Lindsay wrote: Hold on one minute... we're talking about encodings for alternate glyphs, right? That's orthogonal to what Unicode is about. 'a' and 'Asmall' pretty much take up the same unicode slot. Only 'a' appears in the .cmap.xml file. No, of course you're right. I thought that they were given a value in the FFxx range, but that's not right; they don't appear in the cmap, only in the afm. So the only thing I can think of: there are only so many ways to refer to small caps, Xsmall or X.small or X_small or even X-small. We could provide alternatives for that in perl, making additions as we go. It's a brute-force attack, kind of aiming with a machine gun, but since fonts are such moving targets... Now that would be a useful thing, regardless. I don't know, but I'll have a look. I suspect we'll have to create one ourselves. An idle thought (with the corresponding devilishness) occurs to me: all that information is in ConTeXt already. Hmm... What form would be the best? Some simple XML? A perl-friendly list? For the time being, I'm thinking of a very simple list that could just serve as a pattern for arranging the lines I get from processing the cmap.xml. I'm just thinking, not writing code yet... Best Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] small caps
Hans Hagen said this at Wed, 2 Mar 2005 11:54:35 +0100: about code ... wybo dekker has cleaned up the texfont code, so that will be the starting point for extensions Wow. Thanks, Wybo! -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: [OS X TeX] TeX run : 8
Hans Hagen [EMAIL PROTECTED] wrote: ... just post to the context list what you want to achieve with that and i will look into it (minimal example and such) so, nothing for gerben to worry about since it's not related to the mac, but more to trickery -) Hans After playing a bit with minimal examples I think the bug has to do with the project structure. Here comes a very minimal example that *still* runs 8 times under Mac (2 times under Win)! Why? Given a main TEST.tex file and besides that a PARTS folder containing the files ONE.tex and TWO.tex : TEST.tex \startproject TEST \startfrontmatter \component PARTS/ONE.tex \component PARTS/TWO.tex \stopfrontmatter \stopproject ONE.tex \startcomponent ONE text \stopcomponent TWO.tex \startcomponent TWO text \stopcomponent The Mac output (plus the Win output) were unfortunately bounced back - Message body is too big: 59628 bytes with a limit of 40 KB. But if someone is interested I can send it privately. Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: [OS X TeX] TeX run : 8
Steffen Wolfrum wrote: Hans Hagen [EMAIL PROTECTED] wrote: ... just post to the context list what you want to achieve with that and i will look into it (minimal example and such) so, nothing for gerben to worry about since it's not related to the mac, but more to trickery -) Hans After playing a bit with minimal examples I think the bug has to do with the project structure. Here comes a very minimal example that *still* runs 8 times under Mac (2 times under Win)! Why? Given a main TEST.tex file and besides that a PARTS folder containing the files ONE.tex and TWO.tex : TEST.tex \startproject TEST \startfrontmatter \component PARTS/ONE.tex \component PARTS/TWO.tex \stopfrontmatter \stopproject ONE.tex \startcomponent ONE text \stopcomponent TWO.tex \startcomponent TWO text \stopcomponent this runs normal here; (but your big zip didn't as mentioned in a previous mail) 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] Re: [OS X TeX] TeX run : 8
Steffen Wolfrum wrote: TEST.tex \startproject TEST \startfrontmatter \component PARTS/ONE.tex \component PARTS/TWO.tex \stopfrontmatter \stopproject ONE.tex \startcomponent ONE text \stopcomponent TWO.tex \startcomponent TWO text \stopcomponent The Mac output (plus the Win output) were unfortunately bounced back - Message body is too big: 59628 bytes with a limit of 40 KB. texexec test --pdf --runs=1 copy test.tui 1.tui texexec test --pdf --runs=2 copy test.tui 2.tui texexec test --pdf --runs=3 copy test.tui 3.tui texexec test --pdf copy test.tui n.tui where do the tui's difer? 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] Re: [OS X TeX] TeX run : 8
Hans Hagen [EMAIL PROTECTED] wrote: Steffen Wolfrum wrote: After playing a bit with minimal examples I think the bug has to do with the project structure. Here comes a very minimal example that *still* runs 8 times under Mac (2 times under Win)! Why? Given a main TEST.tex file and besides that a PARTS folder containing the files ONE.tex and TWO.tex : TEST.tex \startproject TEST \startfrontmatter \component PARTS/ONE.tex \component PARTS/TWO.tex \stopfrontmatter \stopproject ONE.tex \startcomponent ONE text \stopcomponent TWO.tex \startcomponent TWO text \stopcomponent this runs normal here; (but your big zip didn't as mentioned in a previous mail) Hans How many runs do you have under Mac OS X? And what is your setup for Mac: Gerben's tex.ii2 plus your recent cont-tmf.zip? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] small caps
Thomas A.Schmitz wrote: For the time being, I'm thinking of a very simple list that could just serve as a pattern for arranging the lines I get from processing the cmap.xml. I'm just thinking, not writing code yet... about code ... wybo dekker has cleaned up the texfont code, so that will be the starting point for extensions 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] Re: [OS X TeX] TeX run : 8
Steffen Wolfrum wrote: How many runs do you have under Mac OS X? ps. it's on my agenda to have a mini mac with decent keyboard on my desk (instead of the cumbersome 17 inch laptop) sharing the large display i use on my workhorse laptop; at that time i'll also sync the mac versions of context 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] Re: [OS X TeX] TeX run : 8
Hans Hagen [EMAIL PROTECTED] wrote: Steffen Wolfrum wrote: TEST.tex \startproject TEST \startfrontmatter \component PARTS/ONE.tex \component PARTS/TWO.tex \stopfrontmatter \stopproject ONE.tex \startcomponent ONE text \stopcomponent TWO.tex \startcomponent TWO text \stopcomponent The Mac output (plus the Win output) were unfortunately bounced back - Message body is too big: 59628 bytes with a limit of 40 KB. texexec test --pdf --runs=1 copy test.tui 1.tui texexec test --pdf --runs=2 copy test.tui 2.tui texexec test --pdf --runs=3 copy test.tui 3.tui texexec test --pdf copy test.tui n.tui where do the tui's difer? Hans They don't. They are all the same. But nevertheless texexec test --pdf ran 8 runs ... Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: [OS X TeX] TeX run : 8
Hans Hagen [EMAIL PROTECTED] wrote: texexec test --pdf --runs=1 copy test.tui 1.tui texexec test --pdf --runs=2 copy test.tui 2.tui texexec test --pdf --runs=3 copy test.tui 3.tui texexec test --pdf copy test.tui n.tui where do the tui's difer? Hans They don't. They are all the same. But nevertheless texexec test --pdf ran 8 runs ... - How do you check that they are the same? (cmp command?) - How does texexec check if another run is needed? Hans, if you want me to test something tonight on Mac OS X, different versions of TeX, I can. I'll first update to any latest ConTeXt beta if any. G ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] FO and ConTeXt: my new wiki page
On Wed, Mar 02, 2005 at 10:15:11AM +, Adam Lindsay wrote: Paul Tremblay said this at Wed, 2 Mar 2005 02:04:26 -0500: http://contextgarden.net/Page_layout Thanks for your contribution... I would feel a bit better if you made the relationship to http://contextgarden.net/Layout clearer. This page is my best effort at describing how someone who is used to FO would do the same thing in ConTeXt. The page is just one of many I hope to write on FO and ConTeXt. Perhaps you could make a family of pages like FO_Layout and FO_Fonts, to make The FO Way clearer--these things are informative to people coming from ConTeXt and XSL-FO alike... I see. So if I am understanding things correctly, you just want me to rename my pages? So instead of having Layout, use FO_Layout? This is from the page itself: ConTeXt has no equivalent to the FO attributes margin-right and margin-bottom. cutspace and bottomspace, respectively. I'll agree that the documentation on layout stuff is now lagging behind reality, but there are some sources for this information, like the list archives and: http://texshow.contextgarden.net/ts.rb? lang=enwhat=descif=encmd=setuplayout Thanks. I'll have a look and change the page. Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: [OS X TeX] TeX run : 8
Steffen Wolfrum wrote: They don't. They are all the same. But nevertheless texexec test --pdf ran 8 runs ... ah ... and how bout the tuo file? are they produced? 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] Re: [OS X TeX] TeX run : 8
Gerben Wierda wrote: - How do you check that they are the same? (cmp command?) - How does texexec check if another run is needed? texexec calls texutil which converts a tui file into a tuo file (in the process it sorts indexes and such); when a job is aborted (or has errors) no tuo file is generated (saves an additional later run after a fix); copied from texexec: use File::Compare; sub RunTeXutil { my $StopRunning; my $JobName = shift; unlink $JobName.tup; rename $JobName.tuo, $JobName.tup; print sorting and checking : running texutil\n; my $TcXSwitch = ''; if ( $TcXPath ne '' ) { $TcXSwitch = --tcxpath=$TcXPath } RunPerlScript( $TeXUtil, --ref --ij --high $TcXPath $JobName ); if ( -e $JobName.tuo ) { CheckPositions($JobName); $StopRunning = !compare( $JobName.tup, $JobName.tuo ); } else { $StopRunning = 1; }# otherwise potential loop if ( !$StopRunning ) { print \n utility file analysis : another run needed\n; } return $StopRunning; } maybe some file permissions problem? 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] Re: [OS X TeX] TeX run : 8
Hans wrote: unlink $JobName.tup; rename $JobName.tuo, $JobName.tup; I mistrust these two lines. Essentially, these are system calls without error checking. Lots of stuff can go wrong here. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: [OS X TeX] TeX run : 8
Gerben Wierda [EMAIL PROTECTED] wrote: Hans Hagen [EMAIL PROTECTED] wrote: texexec test --pdf --runs=1 copy test.tui 1.tui texexec test --pdf --runs=2 copy test.tui 2.tui texexec test --pdf --runs=3 copy test.tui 3.tui texexec test --pdf copy test.tui n.tui where do the tui's difer? Hans They don't. They are all the same. But nevertheless texexec test --pdf ran 8 runs ... - How do you check that they are the same? (cmp command?) ... G I opened them and they wrote all the same: c \thisissectionseparator{:} c \thisisutilityversion{2003.07.19} c \thisisbytesequence{} f b {test} f b {PARTS/ONE.tex} f e {PARTS/ONE.tex} f b {PARTS/TWO.tex} f e {PARTS/TWO.tex} c \initializevariable\usedcolorchannels{} f e {test} c \initializevariable\lastpage{1} c \initializevariable\lastpagenumber{1} c \initializevariable\totalnofMPgraphics{0} c \initializevariable\totalnofpositions{0} c \initializevariable\totalnofparbackgrounds{0} c \initializevariable\currentstrategypass{1} Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: [OS X TeX] TeX run : 8
... I meant: maybe this is too old? c \thisisutilityversion{2003.07.19} Steffen Gerben Wierda [EMAIL PROTECTED] wrote: Hans Hagen [EMAIL PROTECTED] wrote: texexec test --pdf --runs=1 copy test.tui 1.tui texexec test --pdf --runs=2 copy test.tui 2.tui texexec test --pdf --runs=3 copy test.tui 3.tui texexec test --pdf copy test.tui n.tui where do the tui's difer? Hans They don't. They are all the same. But nevertheless texexec test --pdf ran 8 runs ... - How do you check that they are the same? (cmp command?) ... G I opened them and they wrote all the same: c \thisissectionseparator{:} c \thisisutilityversion{2003.07.19} c \thisisbytesequence{} f b {test} f b {PARTS/ONE.tex} f e {PARTS/ONE.tex} f b {PARTS/TWO.tex} f e {PARTS/TWO.tex} c \initializevariable\usedcolorchannels{} f e {test} c \initializevariable\lastpage{1} c \initializevariable\lastpagenumber{1} c \initializevariable\totalnofMPgraphics{0} c \initializevariable\totalnofpositions{0} c \initializevariable\totalnofparbackgrounds{0} c \initializevariable\currentstrategypass{1} Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: [OS X TeX] TeX run : 8
Gerben Wierda wrote: Lines like these make my eyebrows go up though it might not be th eproblem at hand. What if $JobName contains whitespace? it has worked ok for many years on our linux and windows boxes, and quoting in perl is mostly a problem for windows (perl being more unix oriented) and all quoting magic in texexec is for windows 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] Re: [OS X TeX] TeX run : 8
Steffen Wolfrum wrote: I opened them and they wrote all the same: c \thisissectionseparator{:} c \thisisutilityversion{2003.07.19} c \thisisbytesequence{} f b {test} f b {PARTS/ONE.tex} f e {PARTS/ONE.tex} f b {PARTS/TWO.tex} f e {PARTS/TWO.tex} c \initializevariable\usedcolorchannels{} f e {test} c \initializevariable\lastpage{1} c \initializevariable\lastpagenumber{1} c \initializevariable\totalnofMPgraphics{0} c \initializevariable\totalnofpositions{0} c \initializevariable\totalnofparbackgrounds{0} c \initializevariable\currentstrategypass{1} and the tuo files? texexec --pdf test.tex --runs=2 copy test.tuo test-2.tuo texexec --pdf test.tex --runs=3 copy test.tuo test-3.tuo texexec --pdf test.tex --runs=4 copy test.tuo test-4.tuo - 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] Re: [OS X TeX] TeX run : 8
Steffen Wolfrum wrote: c \thisisutilityversion{2003.07.19} no, the version only chnages when the format of the tui file changes and is used to catch - a version mismatch with texutil (needs updating) - updates in the formats (needs one extra run one time) 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] lettrine.sty, but not LaTeX
- The text font seems to be defaulted to small capitals. However, this is merely one of the conventions how text after a dropcap is set. Other conventions include e.g. roman or italic caps, roman or italic lower case etc. You can set the 'TextFont' parameter to something else. - Regarding the slope one should be able to set indentation separately for each line. This depends on the fact that some characters call for a different type of intendation of the lines - e.g. the character L. I will keep this in mind for a future extension - Sometimes there is a need to indent the dropcap slightly itself, e.g. if one uses a quotation mark before the dropcap. So a parameter to control that would be great. You can set the 'Hang' parameter to a negative value. Many thanks! Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
RE: [NTG-context] lettrine.sty, but not LaTeX
On Tue, 1 Mar 2005 14:37:21 -0800 (PST), Ciro A. Soto [EMAIL PROTECTED] wrote: trivial question from a novice: What are the steps to use a new module like the lettrine.sty? Where do I put this file? what command should I type to make is available to context? etc... thank you ciro PS: I am using Fedora Core 3 + texlive2004 + context from February 2005. In teTeX 3.0 (FC3 box) I put the file t-lettri.tex in $HOME/texmf/tex/context/user/ and run command texhash. That's all :) HTH, Q. OK, so this is the 'standard of procedure'? Not to put it in \base and run mktexlsr? Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: [OS X TeX] TeX run : 8
Hans Hagen [EMAIL PROTECTED] wrote: and the tuo files? texexec --pdf test.tex --runs=2 copy test.tuo test-2.tuo texexec --pdf test.tex --runs=3 copy test.tuo test-3.tuo texexec --pdf test.tex --runs=4 copy test.tuo test-4.tuo test-3.tuo and test-4.tuo are identical (via openssl md5 *.tui - as Gerben explained) : % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Commands % \thisissectionseparator{:} \thisisutilityversion{2003.07.19} \thisisbytesequence{} \initializevariable\usedcolorchannels{} \initializevariable\lastpage{1} \initializevariable\lastpagenumber{1} \initializevariable\totalnofMPgraphics{0} \initializevariable\totalnofpositions{0} \initializevariable\totalnofparbackgrounds{0} \initializevariable\currentstrategypass{1} % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Registers % % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Synonyms % % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Files % % PARTS/TWO.tex (2) % test (2) % PARTS/ONE.tex (2) % % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Status % % embedded files: 3 (0 errors) % synonym entries : 0 (0 errors) % register entries : 0 (0 errors) % metapost graphics : 0 % position commands : 0 (not used) % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / System % AND test-2.tuo and test-n.tuo (texexec --pdf test.tex) are identical : % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Commands % \thisissectionseparator{:} \thisisutilityversion{2003.07.19} \thisisbytesequence{} \initializevariable\usedcolorchannels{} \initializevariable\lastpage{1} \initializevariable\lastpagenumber{1} \initializevariable\totalnofMPgraphics{0} \initializevariable\totalnofpositions{0} \initializevariable\totalnofparbackgrounds{0} \initializevariable\currentstrategypass{1} % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Registers % % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Synonyms % % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Files % % PARTS/ONE.tex (2) % test (2) % PARTS/TWO.tex (2) % % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / Status % % embedded files: 3 (0 errors) % synonym entries : 0 (0 errors) % register entries : 0 (0 errors) % metapost graphics : 0 % position commands : 0 (not used) % % TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 / System % Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Fixed spaces overfullrule
Dear listmembers, I have two questions tonight: 1: Is it possible to define and then use different kind of fixed and non-breaking spaces in ConTeXt? For something I am working with I need 1/8th of an em, 1/4th of an em, and 1/3rd of an em - but would ideally want to be able to define any kind of fraction of an em. 2: Is it possible to have the overfull rules printed out in the margins? That way one can flip through the pages fast and instantly get an idea of the quality of the typesetting. Best regards, Mats Broberg ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Fixed spaces overfullrule
On Wed, 2 Mar 2005, Mats Broberg wrote: 2: Is it possible to have the overfull rules printed out in the margins? That way one can flip through the pages fast and instantly get an idea of the quality of the typesetting. \version[temporary] Cheers, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: TeX run : 8
Hello Hans, Steffen and all the others involved, dunno, the mac is not updated yet and actually not sitting on my desk but in my library; best let patrick and/or adam test that since they normally have the latest (alpha/beta/current) versions I have tried your small file (the one you have sent me) an a vanilla tetex 3.0 and an older texlive (I had to dig out my iBook -- anybody wants to buy a used iBook?) and both were two runs. I do not use Gerben's tex, so we cannot really compare the results. Patrick (sorry for not reading this earlier) -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] lettrine.sty, but not LaTeX
Hi Mats, I followed this thread. Basically the t-lettri.tex must be placed in a path known to TeX. Indeed if you place it in \base or \user this is the case. - In earlier discussion I think to remember that one could best create a directory \third (or similar) where such files can be placed. Kind regards Willi Mats Broberg wrote: On Tue, 1 Mar 2005 14:37:21 -0800 (PST), Ciro A. Soto [EMAIL PROTECTED] wrote: trivial question from a novice: What are the steps to use a new module like the lettrine.sty? Where do I put this file? what command should I type to make is available to context? etc... thank you ciro PS: I am using Fedora Core 3 + texlive2004 + context from February 2005. In teTeX 3.0 (FC3 box) I put the file t-lettri.tex in $HOME/texmf/tex/context/user/ and run command texhash. That's all :) HTH, Q. OK, so this is the 'standard of procedure'? Not to put it in \base and run mktexlsr? Best regards, Mats Broberg ___ 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] Fixed spaces overfullrule
Mats Broberg wrote: Dear listmembers, I have two questions tonight: 1: Is it possible to define and then use different kind of fixed and non-breaking spaces in ConTeXt? For something I am working with I need 1/8th of an em, 1/4th of an em, and 1/3rd of an em - but would ideally want to be able to define any kind of fraction of an em. predefined: \definehspace [\v!small] [.25\emspaceamount] \definehspace [\v!medium] [.5\emspaceamount] \definehspace [\v!big] [1\emspaceamount] \definehspace [\v!normal] [1\spaceamount] \definehspace [\v!default] [\spaceamount] to be used as: test \hspace[small] test\hspace[small]test 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] Re: TeX run : 8
Patrick Gundlach wrote: I have tried your small file (the one you have sent me) an a vanilla tetex 3.0 and an older texlive (I had to dig out my iBook -- anybody wants to buy a used iBook?) and both were two runs. Ah, not so fast, Patrick. I can reproduce your problem: $ ls -lR .: total 4 drwxr-xr-x4 pg pg136 Mar 2 20:27 PARTS -rw-r--r--1 pg pg117 Mar 2 20:28 TEST.tex ./PARTS: total 8 -rw-r--r--1 pg pg 40 Mar 2 20:27 ONE.tex -rw-r--r--1 pg pg 40 Mar 2 20:27 TWO.tex (so setup is TEST.tex in all capitals and ONE.tex and TWO.tex in subdir, tetex 3.0). Now I run texexec --pdf test.tex (lowercase test.tex !) and I get: [...] utility file analysis : another run needed TeX run : 8 [...] Note that the standard OS X filesystem is case preserving, but not case sensitive when accessing a file. So accessing test.tex would be happy with a file called TEST.tex. It is possible to create a pure case sensitive HFS+ filesystem, but it isn't necessary to reproduce the problem. (It would probably avoid it, though). ah, i explicitly tried both lower and uppercase variants of the sample files, but windows does not care, i.e. all access deep down in the system is (afaik) cap. So i saw no difference here. so, what do you recomend, renaming the file to lowercase? 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] Re: TeX run : 8
Hi Patrick, Patrick Gundlach [EMAIL PROTECTED] wrote: Hello again, I have tried your small file (the one you have sent me) an a vanilla tetex 3.0 and an older texlive (I had to dig out my iBook -- anybody wants to buy a used iBook?) and both were two runs. Ah, not so fast, Patrick. I can reproduce your problem: $ ls -lR .: total 4 drwxr-xr-x4 pg pg136 Mar 2 20:27 PARTS -rw-r--r--1 pg pg117 Mar 2 20:28 TEST.tex ./PARTS: total 8 -rw-r--r--1 pg pg 40 Mar 2 20:27 ONE.tex -rw-r--r--1 pg pg 40 Mar 2 20:27 TWO.tex (so setup is TEST.tex in all capitals and ONE.tex and TWO.tex in subdir, tetex 3.0). Now I run texexec --pdf test.tex (lowercase test.tex !) and I get: [...] utility file analysis : another run needed TeX run : 8 [...] Note that the standard OS X filesystem is case preserving, but not case sensitive when accessing a file. So accessing test.tex would be happy with a file called TEST.tex. It is possible to create a pure case sensitive HFS+ filesystem, but it isn't necessary to reproduce the problem. (It would probably avoid it, though). Patrick So I made a new setup: new files/folders and every names lowercase (folders, files, references). The first time I executed texexec --pdf test.tex it looked good: 2 runs! Then I executed texexec --pdf test.tex once more and now it was 8 runs again! Does this make sense? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] FO and ConTeXt: my new wiki page
This page is my best effort at describing how someone who is used to FO would do the same thing in ConTeXt. The page is just one of many I hope to write on FO and ConTeXt. Excuse my ignorance, but what is FO? 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
[NTG-context] Re: TeX run : 8
Hello Steffen, it is starting to make fun! ok, clean setup, all lowercase. 8 runs. Now texutil --purgeall. 2 runs. purge again. 8 runs. purge again. 2 runs. No purge. 8 runs. Purge. 8 runs. 2 runs. purge. 4 runs (!!!). purge. 2 runs. purge. 8 runs. 3 runs. purge. 5 runs. purge. 5 runs. purge. 8 runs. - 8, 2, 8, 2, 8, 8, 2, 4, 2, 8, 3, 5, 5, 8 I'll stop here. This looks a bit like the fibonacci numbers to me, but the 4 must be an error. Is it full moon? Patrick (no need to put me in cc anymore, I woke up) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] FO and ConTeXt: my new wiki page
On Wed, Mar 02, 2005 at 01:41:32PM -0700, Idris Samawi Hamid wrote: This page is my best effort at describing how someone who is used to FO would do the same thing in ConTeXt. The page is just one of many I hope to write on FO and ConTeXt. Excuse my ignorance, but what is FO? Sorry for not explaining that. Once I get an introductory page set up, I can explain. FO is short for Formatting Object. It serves the same purpose as ConTeXt, except in XML. You markup the document in FO, then run it through a processor, and the output is PDF. Normally, one does not actually write the document directly in FO. Usually one has the document already written in another type of XML, like docbook or TEI. Then one converts the document to FO. FO had great promise in that it was a a standard developed by the same consortium that developed the new standards for HTML. However, the actual open source software to convert FO to PDF is seriously lacking in comparison to LaTeX or ConTeXt. For example, the open source application FOP, written in java, does not let you move tables around on a page. The version of FOP is .2, and if you consider that a mature piece of software has a number of 1.0, you can see how far FOP has to come. One need not know FOP to actually follow my tutorial. Anyone who has to convert from XML, and knows XSLT, will hopefully find some of the tips useful. What I am trying to do is strip down ConTeXt to the bare minimum needed, because with an XSLT conversion, you need less of ConTeXt's features, such as list numbering. Paul -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] FO and ConTeXt: my new wiki page
Paul Tremblay said this at Wed, 2 Mar 2005 09:48:49 -0500: Perhaps you could make a family of pages like FO_Layout and FO_Fonts, to make The FO Way clearer--these things are informative to people coming from ConTeXt and XSL-FO alike... I see. So if I am understanding things correctly, you just want me to rename my pages? So instead of having Layout, use FO_Layout? That's just my suggestion. Page Layout suggests that the page is more authoritative than it intends to be. (Yes, nature of the wiki, etc. etc., but there was already a page starting on the general Layout problem.) Best, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: TeX run : 8
Hello Hans, [...] ah, i explicitly tried both lower and uppercase variants of the sample files, but windows does not care, i.e. all access deep down in the system is (afaik) cap. So i saw no difference here. so, what do you recomend, renaming the file to lowercase? Well, my mail was sent too soon. The problems also arises without the uppercase variant. So currently I doubt that it has to do with the naming alone. Patrick -- ConTeXt wiki: http://contextgarden.net ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: TeX run : 8
Patrick Gundlach said this at Wed, 2 Mar 2005 20:46:05 +0100: dunno, the mac is not updated yet and actually not sitting on my desk but in my library; best let patrick and/or adam test that since they normally have the latest (alpha/beta/current) versions I can't add much to this discussion, other than I get 1 n 9 runs with Steffen's minimal test case as well. I'm running Hans's minimal distro and the latest alpha. (On my new Mac mini. :) [And boy, it sure is faster than the setup I had on my PowerBook!] -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. [EMAIL PROTECTED] Lancaster University, InfoLab21+44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] lettrine.sty, but not LaTeX
Another question, this one is for Hans: I tried your file from feb 27: supp-fu3.tex. I typed texexec --pdf supp-fu3.tex and got: Undefined control sequence. \doDroppedCaps ...arindent \fi \keeplinestogether {#4}\setbox 0\hbox {#1{#6}... l.190 \NiceDroppedCaps {\red}{Serif}{0pt}{3}{W} \input tufte \endgraf Where could be the problem? I see the definition of doDroppedCaps in the file, but thank you ciro ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] FO and ConTeXt: my new wiki page
Paul Tremblay wrote: I have a new page on the wiki http://contextgarden.net/Page_layout This has nothing to do with the content of the page, I just got an idea when I saw it: To write a highlighting module, say xmlcode, similar to that one for texcode (I don't how it is made), is probably not so difficult. If more stuff in XML is going to appear on the wiki, XML highlighting would be great. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: TeX run : 8
Patrick Gundlach wrote: ok, clean setup, all lowercase. 8 runs. Now texutil --purgeall. 2 runs. purge again. 8 runs. purge again. 2 runs. No purge. 8 runs. Purge. 8 runs. 2 runs. purge. 4 runs (!!!). purge. 2 runs. purge. 8 runs. 3 runs. purge. 5 runs. purge. 5 runs. purge. 8 runs. - 8, 2, 8, 2, 8, 8, 2, 4, 2, 8, 3, 5, 5, 8 can you patch texexec to provide some info about the file compare? (filesizes or so) what puzzles me is that the tui/tuo does not change 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] lack of hyphenation
Mats Broberg wrote: - make inter-column spacing a bit bigger/smaller - make page slightly larger/smaller - increse/decrease bodyfont size - etc the problem is that one can end up in oscillating Hans Wouldn't it be possible to use something like \ballast, in the way it is used in the ledmac package for LaTeX? I don't have the documentation at hand, but if I don't remember wrong, if e.g. a pagebreak starts oscillating, the value of the \ballast is subtracted from the set of different values that makes the pagebreak oscillate. it depends a bit on what effect one wants to achieve, a local fix, say page 7-9),may as well spoil the one at page 123-127, which then spoils the toc, which in turn results in page 7 being messed up because the content moves to page 8, and a figure now ends up on a different side of the spread, and since in that doc graphic alignment is page dependent, we get yet more changes there is quote some two pass info going around and although it may look like things are ok (by looking are some pages) someplace else in the doc things may have gone wrong, which goes unnoticed for a while 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] Re: [OS X TeX] TeX run : 8
Steffen Wolfrum wrote: Hans Hagen [EMAIL PROTECTED] wrote: Steffen Wolfrum wrote: TEST.tex \startproject TEST \startfrontmatter \component PARTS/ONE.tex \component PARTS/TWO.tex \stopfrontmatter \stopproject (not related to the problem but ...) projects normally only have references to products/components/environments, so you example should be: \startproduct TEST \startfrontmatter \component PARTS/ONE.tex \component PARTS/TWO.tex \stopfrontmatter \stopproduct 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] Re: TeX run : 8
Adam Lindsay wrote: Patrick Gundlach said this at Wed, 2 Mar 2005 20:46:05 +0100: dunno, the mac is not updated yet and actually not sitting on my desk but in my library; best let patrick and/or adam test that since they normally have the latest (alpha/beta/current) versions I can't add much to this discussion, other than I get 1 n 9 runs with Steffen's minimal test case as well. I'm running Hans's minimal distro and the latest alpha. (On my new Mac mini. :) [And boy, it sure is faster than the setup I had on my PowerBook!] if it runs ok on your old box ... is it related to the version of perl? 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] \definelayout question
Thanks Adam for the suggestions on the wiki page. You point out that I can use \definelayout for odd and even pages. I assume I can use this command in place of \setuplayout? I had a problem using \definelayout. I found that I had to use a \setuplayout before my text, or the first page would not get formatted. Is the ConTeXt code right below? Also, is there any way to change the layout for the first page? \definelayout[first] [ Thanks Paul \part{} \definelayout[odd][ topspace=.5in, % the space at the very top of the page backspace=3in, % the space in the gutter header=2in, % the space for headers footer=2in, % the space for footers leftmargin=1in, % the space for margin notes rightmargin=1.5in, % the space for right margin notes width=3in, % the width of the body text height=7in % the height of the body text ] \definelayout[even][ topspace=.5in, % the space at the very top of the page backspace=3in, % the space in the gutter header=2in, % the space for headers footer=2in, % the space for footers leftmargin=1in, % the space for margin notes rightmargin=1.5in, % the space for right margin notes width=3in, % the width of the body text height=4in % the height of the body text ] \setuplayout % the header for the first page of part 1 \definetext[partStart1][header][\vbox{Chapter 1 \vskip5pt Author}] \setuphead[part][header=partStart1] -- *Paul Tremblay * [EMAIL PROTECTED]* ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context