[NTG-context] figure placement and flushbottom
Hello, in general, the suggested method to get LaTeX \flushbottom behaviour, shown on http://contextgarden.net/Flush_bottom, works quite well. But here I have a situation, where I do not understand, why the first page is not filled: \setupwhitespace[0pt plus 1fill] \defineblank[aroundfloat][0.8\lineheight plus 3fill minus 0.2\lineheight] \setupfloats[spacebefore=aroundfloat,spaceafter=aroundfloat] \let\stoptextO=\stoptext \def\stoptext{\vfilll\stoptextO} %\setupfloats[default={top,bottom,page}]% same as [EMAIL PROTECTED] in LaTeX? \starttext bla \section{bla}% strange: if there is no table, then the figure placement is ok. \starttable[|c|] \NC bla\NC\AR \stoptable bla \placefigure{bla}{\framed[height=10cm]{bla}} \dorecurse{30}{\dorecurse{30}{bla }\par} \stoptext TIA for any hint, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] no graph after compilation
Hello Floris, it seems that you haven't reached page 307 Have fun, Peter Floris van Manen wrote: i'm working through the metafun manual. i noticed at some point that changes to the source do not appear in the pdf output. sometimes after another texexec round, sometimes not at all until i do something different in the tex file... how come (or how to work around :-) thanks! //f ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re[2]: [NTG-context] no graph after compilation
VZ Floris, you are not alone. I also have not find the quick solution. So I VZ call texexec two times when working with MP graphics, VZ color definitions, ... :-( running it twice is something i can live with, but if it will not solve the problem, then it is... what do i do wrong? //f ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] no graph after compilation
Floris van Manen [EMAIL PROTECTED] writes: VZ Floris, you are not alone. I also have not find the quick solution. So I VZ call texexec two times when working with MP graphics, VZ color definitions, ... :-( running it twice is something i can live with, but if it will not solve the problem, then it is... what do i do wrong? Vit and Floris, if your TeX source is one file only, please do me a favour: try the TeX files on live.contextgarden.net and see if the output comes out right. If it doesn't, I'd like to know about it. If it does, please report on the list. Do you have write18 (texmf.cnf) enabled? How does your cont-sys.tex look like? What distribution do you use? I have (on live..) disabled write18, \runMPgraphicstrue and \runMPTEXgraphicstrue. Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] no graph after compilation
Hello Floris, where do i do this? in C:\texLive\texmf\tex\context\user\cont-sys.rme ? and what do i type there? see the wiki: http://contextgarden.net/Cont-sys.tex and http://contextgarden.net/Texmf.cnf Does this help? Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re[2]: [NTG-context] no graph after compilation
PG currentpicture :=nullpicture; PG draw pic scaled 3 ; PG PG clears the first picture. but i only intend to draw one picture... PG PG is this a question? Did you try the code? i did, but it has side-effects... it will scale, but the color disappears too. try. - %% interface=english output=pdftex \setupcolors[state=start] \starttext \startuseMPgraphic{dummy} drawoptions(withpen pencircle scaled .1pt) ; w0 := 0cm ; w1 := 1.2cm ; w2 := 2.7 cm ; w3 := 3.0cm ; ww0 := 0.96cm ; ww1 := 1.2cm ; ww2 := 1.8cm ; ww3 := 2.4cm ; path p ; p := (w0,w0)--(w0,ww0)--(w1,ww1)--(w3,ww2)--(w3,w0)--cycle ; drawoptions(withpen pencircle scaled .1pt withcolor .625yellow) ; draw hlingrid(0, 5, 1, 3cm, 3cm) ; draw vlingrid(0, 10, 1, 3cm, 3cm) ; drawoptions(withpen pencircle scaled 1mm withcolor black) ; dotlabel.top (1 , point 1 of p) ; dotlabel.top (2 , point 2 of p) ; dotlabel.top (3 , point 3 of p) ; % enable/disable this section %% picture pic ; pic := currentpicture ; currentpicture := nullpicture ; draw pic scaled 1.0 ; % \stopuseMPgraphic \useMPgraphic{dummy} \stoptext ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] no graph after compilation
VZ Floris, you are not alone. I also have not find the quick solution. So I VZ call texexec two times when working with MP graphics, VZ color definitions, ... :-( running it twice is something i can live with, but if it will not solve the problem, then it is... what do i do wrong? Vit and Floris, if your TeX source is one file only, please do me a favour: try the TeX files on live.contextgarden.net and see if the output comes out right. If it doesn't, I'd like to know about it. If it does, please report on the list. Do you have write18 (texmf.cnf) enabled? How does your cont-sys.tex look like? What distribution do you use? I have (on live..) disabled write18, \runMPgraphicstrue and \runMPTEXgraphicstrue. Thank you, Patrick, I will monitor the case and I will let you know if it occures again. I am using two distributions (the case was observed on both): 1) TeX Live 2002/Linux; write18 enabled 2) TeX Live 2003/Win 2K, updated ConTeXt on Win 2000; write18 disabled for a long time, but it was enabled a month ago cont-sys.tex (without comments): \usetypescript [berry] [\defaultencoding] \runMPgraphicstrue \runMPTEXgraphicstrue \useMETAFUNformattrue \newprettytrue \protectbufferstrue Vit ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] no graph after compilation
Hello, i did, but it has side-effects... it will scale, but the color disappears too. try. This is indeed strange. Any metapost experts? Patrick -- ConTeXt wiki: http://contextgarden.net texshow-web: http://texshow.contextgarden.net List archive: http://archive.contextgarden.net ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] figure placement and flushbottom
Peter Münster wrote: \let\stoptextO=\stoptext \def\stoptext{\vfilll\stoptextO} I don't know what you want to achieve but this is not working because 0 is not a character (and therefore not part of a \cs) \let\Mystoptext\stoptext \def\stoptext{\vfilll\Mystoptext} could but you may expect funny side effects, so better use: \prependtoks \vfilll \to \everystoptext 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] figure placement and flushbottom
On Wed, 11 Aug 2004, Hans Hagen wrote: Peter Münster wrote: \let\stoptextO=\stoptext \def\stoptext{\vfilll\stoptextO} I don't know what you want to achieve but this is not working because 0 is not a character (and therefore not part of a \cs) It's an O (for Original), not a 0 (zero). \prependtoks \vfilll \to \everystoptext Thanks, this looks cleaner. Cheers, Peter -- http://pmrb.free.fr/contact/ _ FilmSearch engine: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re[2]: [NTG-context] no graph after compilation
i guess it might have to do with the versions of the programs involved. below you see the output of my version and the contextgarden version. i got my LiveTex last week from the web. Any idea how to (automatically) update to the most recent versions? //f = my version: TeXExec 4.0 - ConTeXt / PRAGMA ADE 1997-2003 executable : pdfetex format : cont-en inputfile : testtex output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeXk, Version 3.141592-1.11b-2.1 (Web2c 7.5.2) %-line parsing enabled. (c:/TeXLive/texmf/web2c/cp8bit.tcx) entering extended mode (./testtex.tex{c:/TeXLive/texmf-var/pdftex/config/pdftex.cfg} ConTeXt ver: 2003.9.25 fmt: 2004.8.6 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (c:/TeXLive/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! ) system : cont-old loaded (c:/TeXLive/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (c:/TeXLive/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (c:/TeXLive/texmf/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded language : patterns 2:2-en-2 8:2-nl-2 loaded specials : tex,postscript,rokicki loaded system : testtex.top loaded (./testtex.top specials : loading definition file tpd (c:/TeXLive/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (c:/TeXLive/texmf/tex/context/base/spec-fdf.tex unprotect 3 unprotect 4 system (E-TEX) : [line 1907] \ifcsname protect 4 protect 3) specials : fdf loaded unprotect 3 protect 3) specials : fdf,tpd loaded ) == contextgarden: TeXExec 4.3 - ConTeXt / PRAGMA ADE 1997-2004 executable : pdfetex format : cont-en inputfile : texweb output : pdftex interface : en current mode : none TeX run : 1 This is pdfeTeX, Version 3.141592-1.20a-rc7.1-2.1 (Web2C 7.5.3) (/opt/tetex/20040711/texmf/web2c/natural.tcx) output format initialized to DVI entering extended mode (./texweb.tex ConTeXt ver: 2004.6.26 fmt: 2004.7.27 int: english mes: english language : language en is active protectionstate 0 system : cont-new loaded (/opt/tetex/20040711/texmf/tex/context/base/cont-new.tex systems: beware: some patches loaded from cont-new.tex! color : palette rollover is available system (E-TEX) : [line 599] system (E-TEX) : [line 654] ) system : cont-old loaded (/opt/tetex/20040711/texmf/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (/opt/tetex/20040711/texmf/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (/opt/local/texmf/tex/context/cont-sys.tex specials : loading definition file tpd (/opt/tetex/20040711/texmf/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/opt/tetex/20040711/texmf/tex/context/base/spec-fdf.tex unprotect 3 unprotect 4 system (E-TEX) : [line 2270] \ifcsname protect 4 protect 3) specials : fdf loaded unprotect 3 protect 3) specials : fdf,tpd loaded ) ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Custom Numbering Problem
Two problems: 1) With the following: \setuphead[section][ownnumber=yes] \setupbodyfont[cmr,12pt] \starttext \completecontent \section{1a0101}{Objective} There is no objective at this moment. \stoptext There is no spacing between the text 1a0101 and Objective in the table of contents---this looks really ugly. However, what I really want is the ownnumber to apply to \title, not a \section. So if I do this: \setuphead[title][ownnumber=yes] \setupbodyfont[cmr,12pt] \starttext \completecontent \title{1a0101}{Minimum Radius Turn} \section{Objective} There is no objective at this moment. \stoptext Then the number 1a0101 does not appear right next to a title. (I only see Minimum Radius Turn as opposed to the expected 1a0101 Minimum Radius Turn. Also my \section{Objective} has numbering. I thought numbering was turned off by default on \title \section \subsection etc. ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context