Re: [NTG-context] placefigure
you can load the eps graphic in ghostview, then hit the i-key. but i agree, that this method is a pain in the ???, if you have many graphics. The following command often finds the right bounding box: gs -sDEVICE=bbox -dSAFER -dBATCH -dNOPAUSE -q file.eps -Sanjoy Creativity can be a social contribution, but only in so far as society is free to use the results. --Richard Stallman ___ 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] placefigure
Hallo Sanjoy, I tried your command but it doens't work on my pc. Liesbeth 2007/7/28, Sanjoy Mahajan [EMAIL PROTECTED]: you can load the eps graphic in ghostview, then hit the i-key. but i agree, that this method is a pain in the ???, if you have many graphics. The following command often finds the right bounding box: gs -sDEVICE=bbox -dSAFER -dBATCH -dNOPAUSE -q file.eps -Sanjoy Creativity can be a social contribution, but only in so far as society is free to use the results. --Richard Stallman ___ 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 ___ -- [EMAIL PROTECTED] www.wiskunde-interactief.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] Vertical align inside a frame?
Saturday, July 28, 2007 Thomas A. Schmitz wrote: Are you maybe looking for p. 254 of cont-eni.pdf? Oh yes! top and bottom. Thanks a lot! -- Giuseppe Oblomov Bilotta ___ 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] Vertical align inside a frame?
Saturday, July 28, 2007 Patrick Gundlach wrote: Hi Giuseppe, the location= of the inner frame as desired. Am I missing something obvious? I don't think so, this was an example from Hans: \framed[width=2cm,align=middle,location=hanging]{location\\equals\\hanging} \framed[width=2cm,align=middle,location=depth] {location\\equals\\depth} \framed[width=2cm,align=middle,location=height] {location\\equals\\height} B} [snip] Yeah, this is what I was thinking too. But as Thomas pointed out, top and bottom can be used to tune the internal vertical alignment. PS: welcome back! Thanks :) -- Giuseppe Oblomov Bilotta ___ 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] Framing a linetable?
Tuesday, July 24, 2007 Hans Hagen wrote: Giuseppe Bilotta wrote: Hello all, is it possible to put a frame around a linetable? you mean the whole table? probably a matter of hooks; linetables work page-wise which may complicate things a bit so it has to be applied piecewise I've been experimenting with this a little. Putting the whole linetable inside a frame doesn't work because of the \nointerlinelineskip in \ifdim\topskipgap=\zeropoint\else¶ \verticalstrut\nobreak\kern-\struttotal\kern-\parskip\nobreak\nointerlineskip % fix topskip¶ \fi¶ in \flushlinetableparts -- if I comment out this section of the code, the table gets placed, but the frame is somewhat short. This is in fact a bug in linetables which I noticed before, even though it didn't affect me until recently: if the last line in a table is a \vtop (\linetablemode is 0) with more than one line of text, the flattening of its depth in \flushlinetableparts \dp\tablebox\linetablepart\strutdepth causes the text after the table to appear *in* the table itself. So I commented out the depth smashing, and the frame now has the correct size. There is one more thing missing, though, and it's the fact that the table is typeset halfway to the right of the frame, as if a large indentation was placed before each line. If I manage to squeeze out this last bug, I can frame the table automatically which will be a great advantage for me. -- Giuseppe Oblomov Bilotta ___ 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] Linetable height (actually, depth) bug
Hello all, as I mentioned in the 'framing a linetable' thread, there is a bug in the stable (march '07) version of ConTeXt concerning the linetable *depth*. Example file: \setupcolors[state=start] \starttext \setuplinetable[r][2][height=30pt,background=color,backgroundcolor=blue] \startlinetable \BR \BC one \EC \BC two \EC \ER \BR \BC three \EC \BC four \EC \ER \stoplinetable more text \stoptext more text will appear in the blue area of the second line, instead of after the linetable, because the depth of the table lines are smashed to be one strutdepth in \flushlinetableparts -- Giuseppe Oblomov Bilotta ___ 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] Non-printing macro disturbs line justification.
I did a big project in Context and becuse I wanted to use the special features of eplain's interface to makeindex I wrote my own indexing macro. Every place I inserted a call to this macro extra space appeared at that point. Here is my macro: \def\sidx#1{\write\ind{\\indexentry{#1}{\the\pageno}}} I had to retreat to the regular Context indexing tag. Can someone spot the flaw in my definition? -- John Culleton ATTN Publishers/authors: If you don't read you don't succeed. Free short list of publishing/marketing books. http://wexfordpress.com/tex/shortlist.pdf ___ 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] itemize with zero start
On Fri, 27 Jul 2007 22:47:33 -0400 Hamid Kamrani [EMAIL PROTECTED] wrote: Here is a minimal example of how this happens. I had posted it sometime back. \starttext \setupitemize[each][][stopper=:] \bTABLE \bTR \bTD \startitemize[a] \item Bla \item Blub \item Bautz \stopitemize \eTD \eTR \eTABLE \stoptext This is a problem related to the new way with twopassdata. You can solve it by changing one line in the definition of \checkcurrentnofitems in core-itm.tex \def\checkcurrentnofitems {\splititemtwopassdata\noflists \iftwopassdatafound \ifcase\scratchcounter \let\currentnofitems \!!zerocount \let\currentminnofitems\!!zerocount the last line should be: \let\currentminnofitems\plusone \let\currentmaxnofitems\!!zerocount \else ...rest of the macor} Wolfgang ___ 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] placefigure
On Sat, 28 Jul 2007 09:19:45 +0200 Liesbeth van der Plas [EMAIL PROTECTED] wrote: Hallo Sanjoy, I tried your command but it doens't work on my pc. Liesbeth try gswin32c -sDEVICE=bbox -dSAFER -dBATCH -dNOPAUSE -q file.eps Wolfgang ___ 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] makempy (pstoedit - gs) hangs
Hallo! Downgrading to gs version 8.11 does NOT help, but downgrading to 8.11 AND changing the makempy methode from pdf to ps helps! gs 8.57 hangs with ps too. If an ps guru can interpret the gs error message, I will send this of list!? Wolfgang the following code let ghostscript fail. What is wrong her? Wolfgang \setupcolors [state=start] \starttext \useMPlibrary[txt] \startlinecorrection \TightText{\ss\bf 123}{0cm}{3cm}{red} \stoplinecorrection \stoptext % %ConTeXt ver: 2007.07.03 19:38 MKII %pstoedit: version 3.44 / DLL interface 108 %GPL Ghostscript 8.57 (2007-05-11) ___ 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] extra math symbols and alignment
Hello, I am trying to extend the standard math collection with some symbols from the Ralph Smith Formal font and some extra integral symbols from the txexa font. I used the example from http://wiki.contextgarden.net/rsfs. The problems I am having is 1) Some of the standard math symbols are overwritten as shown by \showmathcharacters. 2) Alignment of left,right and middle is not working when I use matrices. I really hope someone can help me. Attached some test code. Kind regards Wim testalignfont.tex Description: TeX document ___ 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] placefigure
I tried your command but it doesn't work on my pc. Maybe ghostscript isn't installed? What was the exact error? On my system (i386 laptop with Ubuntu GNU/Linux): $ gs -h GPL Ghostscript 8.54 (2006-05-17) but most versions of ghostscript should work. -Sanjoy Creativity can be a social contribution, but only in so far as society is free to use the results. --Richard Stallman ___ 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 ___