Re: [NTG-context] After \placefigure the first paragraph of body text is not indented

2009-11-10 Thread Alan BRASLAU
On Monday 09 November 2009 18:57:30 Wolfgang Schuster wrote: Am 09.11.2009 um 18:18 schrieb Vyatcheslav Yatskovsky: Hi I noticed that after \placefigure the first paragraph of body text is not indented. Can I enable the indenting after figures? \setupfloat[figure][indentnext=yes] I

[NTG-context] After \placefigure the first paragraph of body text is not indented

2009-11-09 Thread Vyatcheslav Yatskovsky
Hi I noticed that after \placefigure the first paragraph of body text is not indented. Can I enable the indenting after figures? My setups are like this: \setupindenting[yes, big] \placefigure[middle]{ } {\externalfigure[image015][width=0.9\textwidth]} Regards, Vyatcheslav

Re: [NTG-context] After \placefigure the first paragraph of body text is not indented

2009-11-09 Thread Wolfgang Schuster
Am 09.11.2009 um 18:18 schrieb Vyatcheslav Yatskovsky: Hi I noticed that after \placefigure the first paragraph of body text is not indented. Can I enable the indenting after figures? \setupfloat[figure][indentnext=yes] Wolfgang

Re: [NTG-context] After \placefigure the first paragraph of body text is not indented

2009-11-09 Thread Peter Münster
On Mon, 9 Nov 2009, Vyatcheslav Yatskovsky wrote: I noticed that after \placefigure the first paragraph of body text is not indented. Can I enable the indenting after figures? My setups are like this: \setupindenting[yes, big] \placefigure[middle]{ } {\externalfigure[image015][width=0.9

[NTG-context] \placefigure setups

2009-11-01 Thread Vyatcheslav Yatskovsky
Hello, Sorry for another newbie question, but how can I setup \placefigure so that its caption appeared as Рис. 1.1? That is, with Рис. prefix and numbered by subsection? Best regards, Vyatcheslav ___ If your

Re: [NTG-context] \placefigure setups

2009-11-01 Thread Wolfgang Schuster
Am 01.11.2009 um 15:23 schrieb Vyatcheslav Yatskovsky: Hello, Sorry for another newbie question, but how can I setup \placefigure so that its caption appeared as Рис. 1.1? That is, with Рис. prefix and numbered by subsection? \setuplabeltext[ru][figure=Рис. ] Wolfgang

Re: [NTG-context] placefigure broken in mkiv?

2009-10-16 Thread Hans Hagen
Alan BRASLAU wrote: However, on the subject of \placefigure, there appears to be a small bug in mkiv. (Untested) minimal example: \usemodule[bib] \starttext \placefigure[right,none]{}{\externalfigure[file][width=.3\textwidth] Text...\cite{Me2009} \blank[2*line] \placepublications

Re: [NTG-context] placefigure broken in mkiv?

2009-10-16 Thread Vyatcheslav Yatskovsky
Hello, Thanks, Wolfgang. \placefigure[middle,none]{}{...} the official way in mkiv (please add this to the new mkii/mkiv difference page on the wiki) OK, but where this page is? (Oh, I we could get rid of these empty parenthesizes, it would be even nicer. Let's clean the syntax

Re: [NTG-context] placefigure broken in mkiv?

2009-10-16 Thread Wolfgang Schuster
Am 16.10.2009 um 15:29 schrieb Vyatcheslav Yatskovsky: please add this to the new mkii/mkiv difference page on the wiki) OK, but where this page is? http://wiki.contextgarden.net/MkIV_Differences (Oh, I we could get rid of these empty parenthesizes, it would be even nicer. Let's clean

[NTG-context] placefigure broken in mkiv?

2009-10-15 Thread Vyatcheslav Yatskovsky
Hello, A document that was previously compiled successfully a few months ago, now throws an exception. My code: \placefigure [middle] {none} {\externalfigure[2009-05-26_200309s][width=0.9\textwidth]} My result: ! Missing number, treated as zero. to be read again

Re: [NTG-context] placefigure broken in mkiv?

2009-10-15 Thread Wolfgang Schuster
Am 15.10.2009 um 16:04 schrieb Vyatcheslav Yatskovsky: Hello, A document that was previously compiled successfully a few months ago, now throws an exception. My code: \placefigure [middle] {none} {\externalfigure[2009-05-26_200309s][width=0.9\textwidth]} \placefigure[middle,none

Re: [NTG-context] placefigure broken in mkiv?

2009-10-15 Thread Alan BRASLAU
On Thursday 15 October 2009 17:29:12 Wolfgang Schuster wrote: Am 15.10.2009 um 16:04 schrieb Vyatcheslav Yatskovsky: Hello, A document that was previously compiled successfully a few months ago, now throws an exception. My code: \placefigure [middle] {none} {\externalfigure

Re: [NTG-context] reference in \placefigure

2009-09-08 Thread Hans Hagen
Peter Münster wrote: Hello, References to figures don't seem to work with latest version: \starttext \section[secref]{section} \placefigure[][figref]{caption}{figure} In section \in[secref] and in figure \in[figref]. % nothing here... \stoptext fixed in next beta

[NTG-context] reference in \placefigure

2009-09-03 Thread Peter Münster
Hello, References to figures don't seem to work with latest version: \starttext \section[secref]{section} \placefigure[][figref]{caption}{figure} In section \in[secref] and in figure \in[figref]. % nothing here... \stoptext Cheers, Peter

[NTG-context] placefigure[right] draws figures inside framed text

2009-07-08 Thread Jos van Gisbergen
ahra rrasulayng gqps braawraran ahra fyxrad shqpras. Syncra ahra crmpqcayrn rangynra cqnnra prarfrrm ahys kynd rf rvrarcrnsarqyna rrasrluayrn, q wrrkqrrund ys prrprsrad yn ahra frrm rf \placefigure [right][fig:nano] {nano} {\externalfigure[a-1][width=0.4\textwidth]} Whran crmpqcayng

Re: [NTG-context] placefigure[right] draws figures inside framed text

2009-07-08 Thread Willi Egger
rvrarcrnsarqyna rrasrluayrn, q wrrkqrrund ys prrprsrad yn ahra frrm rf \placefigure [right][fig:nano] {nano} {\externalfigure[a-1][width=0.4\textwidth]} Whran crmpqcayng lqyruas crnaqynyng cralls ahqa yncludra fyxrad shqpras, rvrarcrnsarqynas mqy yssura qs q crnsraqurancra rf hyrarqrchy

Re: [NTG-context] placefigure[right] draws figures inside framed text (Willi Egger)

2009-07-08 Thread Jos van Gisbergen
placefigure[right] to be clever enough to see that there is no room beside the framed text, and either place the figure above it or beneath it. My current workaround is to put the placefigure[right] macro earlier in the flow of text if possible, or use placefigure[force]. Regards, Jos

Re: [NTG-context] get rid of placefigure and startcombination captions

2009-06-27 Thread Thomas Floeren
On Jun 26, 2009, at 1:42 PM, Vyatcheslav Yatskovsky wrote: Hello I used \placefigure just for centering the figure. And even if I put \startcombination directly, won't it reserve blank space for empty subcaptions? Actually, I found nice snipped that works like a charm for my needs

Re: [NTG-context] get rid of placefigure and startcombination captions

2009-06-26 Thread Vyatcheslav Yatskovsky
Hello I used \placefigure just for centering the figure. And even if I put \startcombination directly, won't it reserve blank space for empty subcaptions? Actually, I found nice snipped that works like a charm for my needs: \hbox to \hsize{ \externalfigure[serg1][width=3.5cm] \hss

[NTG-context] get rid of placefigure and startcombination captions

2009-06-24 Thread Vyatcheslav Yatskovsky
Hello, Another urgent problem: how to get rid of placefigure and startcombination captions altogether? When I use the following, I get too much wasted space after the illustration. \placefigure [fit] {none} {\startcombination[4*1] {\externalfigure[serg1][width=4cm

Re: [NTG-context] get rid of placefigure and startcombination captions

2009-06-24 Thread Thomas A. Schmitz
On Jun 24, 2009, at 4:48 PM, Vyatcheslav Yatskovsky wrote: Hello, Another urgent problem: how to get rid of placefigure and startcombination captions altogether? When I use the following, I get too much wasted space after the illustration. \placefigure [fit] {none} {\startcombination

[NTG-context] anyway to treat placefigure as a frame?

2008-12-08 Thread Yue Wang
Hi, Hans: Is there some command to treat figure (both the caption and graphic) as a frame? setupfloats only deside what the graphics side should be like. I want to add a background to the caption+graphic. Yue Wang

Re: [NTG-context] anyway to treat placefigure as a frame?

2008-12-08 Thread Hans Hagen
Yue Wang wrote: Hi, Hans: Is there some command to treat figure (both the caption and graphic) as a frame? setupfloats only deside what the graphics side should be like. I want to add a background to the caption+graphic. currently not

Re: [NTG-context] \placefigure not centering

2008-08-28 Thread Taco Hoekwater
Marcin Borkowski wrote: Dnia Wed, Aug 27, 2008 at 11:14:26AM +0200, Marcin Borkowski napisa#322;(a): Why this does not center the figure horizontally? What should I do to center it? \placefigure{none}{ \starttikzpicture[scale=0.3] \draw (0,0) -- (5,0) -- (4.5,6) -- (1.5,6

[NTG-context] \placefigure not centering

2008-08-27 Thread Marcin Borkowski
Hey! Seems I'm going to ask lots of questions here - I'm starting to _really_ use ConTeXt;). Why this does not center the figure horizontally? What should I do to center it? \placefigure{none}{ \starttikzpicture[scale=0.3] \draw (0,0) -- (5,0) -- (4.5,6) -- (1.5,6) -- cycle

Re: [NTG-context] \placefigure not centering

2008-08-27 Thread Marcin Borkowski
Dnia Wed, Aug 27, 2008 at 11:14:26AM +0200, Marcin Borkowski napisa#322;(a): Why this does not center the figure horizontally? What should I do to center it? \placefigure{none}{ \starttikzpicture[scale=0.3] \draw (0,0) -- (5,0) -- (4.5,6) -- (1.5,6) -- cycle

Re: [NTG-context] \placefigure not centering

2008-08-27 Thread Hans Hagen
Marcin Borkowski wrote: Dnia Wed, Aug 27, 2008 at 11:14:26AM +0200, Marcin Borkowski napisa#322;(a): Why this does not center the figure horizontally? What should I do to center it? \placefigure{none}{ \starttikzpicture[scale=0.3] \draw (0,0) -- (5,0) -- (4.5,6) -- (1.5,6

Re: [NTG-context] combination with an additional line centered in a placefigure?

2007-11-23 Thread Wolfgang Schuster
On Thu, 22 Nov 2007 22:02:24 +0100 Peter Schorsch [EMAIL PROTECTED] wrote: \placefigure [force][fig:xy] {captiontext} {\placelegend {\startcombination[2*1] {\externalfigure[xxx]}{} {\externalfigure[yyy]}{} \stopcombination} {Quelle: XY

Re: [NTG-context] combination with an additional line centered in a placefigure?

2007-11-22 Thread Peter Schorsch
\placefigure [force][fig:xy] {captiontext} {\placelegend {\startcombination[2*1] {\externalfigure[xxx]}{} {\externalfigure[yyy]}{} \stopcombination} {Quelle: XY}} Thanks, both solutions work. Is there something simelar for placelegend in splitfloat

Re: [NTG-context] combination with an additional line centered in a placefigure?

2007-11-16 Thread Wolfgang Schuster
2007/11/16, Peter Schorsch [EMAIL PROTECTED]: Hi, as soon I enter the cbox-line the combination is not longer centered. I tried to embed the combination in a cbox, but that had no effect. Has anyone a hint how to center the combination successfullly? \starttext \placefigure [force

[NTG-context] combination with an additional line centered in a placefigure?

2007-11-15 Thread Peter Schorsch
Hi, as soon I enter the cbox-line the combination is not longer centered. I tried to embed the combination in a cbox, but that had no effect. Has anyone a hint how to center the combination successfullly? \starttext \placefigure [force][fig:xy] {captiontext

Re: [NTG-context] combination with an additional line centered in a placefigure?

2007-11-15 Thread Thomas A. Schmitz
On Nov 16, 2007, at 8:14 AM, Peter Schorsch wrote: Hi, as soon I enter the cbox-line the combination is not longer centered. I tried to embed the combination in a cbox, but that had no effect. Has anyone a hint how to center the combination successfullly? \starttext \placefigure

[NTG-context] placefigure[hang] in columns

2007-10-01 Thread Christof Meigen
Hi, I'm quite new to ConTeXT, so excuse me if the solution is obvious. I'm trying to typeset a document with three columns which contains _a lot_ of graphics, most of which are pretty small, about one third of a column. Unfortunately, while \placefigure[left,hang] works fine with one column

Re: [NTG-context] placefigure[hang] in columns

2007-10-01 Thread Hans Hagen
Christof Meigen wrote: Hi, I'm quite new to ConTeXT, so excuse me if the solution is obvious. I'm trying to typeset a document with three columns which contains _a lot_ of graphics, most of which are pretty small, about one third of a column. Unfortunately, while \placefigure[left

Re: [NTG-context] placefigure

2007-07-28 Thread Sanjoy Mahajan
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

Re: [NTG-context] placefigure

2007-07-28 Thread Liesbeth van der Plas
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

Re: [NTG-context] placefigure

2007-07-28 Thread Wolfgang Schuster
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

Re: [NTG-context] placefigure

2007-07-28 Thread Sanjoy Mahajan
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

Re: [NTG-context] placefigure

2007-07-27 Thread Peter Rolf
Liesbeth van der Plas schrieb: Hello Patrick, Peter,.. The 3-step method doesn't work? I tried it over and over again. yes, sorry about that. only changing the media size works. Changing the media size by hand does work if I guess the size of the picture (I don't have an option bb or

Re: [NTG-context] placefigure

2007-07-27 Thread Jörg Hagmann
I use Illustrator. That certainly works -- you can save the pictures as pdfs (it's Adobe, after all). Liesbeth van der Plas wrote: Hello Patrick, Peter,.. The 3-step method doesn't work? I tried it over and over again. Changing the media size by hand does work if I guess the size of the

Re: [NTG-context] placefigure

2007-07-27 Thread Liesbeth van der Plas
Hello Patrick, Peter,.. The 3-step method doesn't work? I tried it over and over again. Changing the media size by hand does work if I guess the size of the picture (I don't have an option bb or bounding box). I think I can work with this method for the time being. Do you know if this

Re: [NTG-context] placefigure

2007-07-27 Thread Sanjoy Mahajan
Here are the three most important files from yesterday's map. I looked at the .eps file in emacs, and it has junk at the beginning and the end. My system (GNU/Linux) says: $ file testPlaatje.eps testPlaatje.eps: DOS EPS Binary File Postscript starts at byte 30 length 4085 Metafile

Re: [NTG-context] placefigure

2007-07-26 Thread Patrick Gundlach
Hello Liesbeth, Yesterday I sent a few files, but I got a return that the message body was too big. Here are the three most important files from yesterday's map. epstopdf breaks with this file. If, by chance, you use Mac OS X, you can use 'pstopdf' (the distiller from adobe). Then the pdf

Re: [NTG-context] placefigure

2007-07-26 Thread Peter Rolf
Peter Rolf schrieb: Hi Liesbeth, There is a problem with the bounding box (bb) of the eps file. Although gs shows it correctly (Info), it uses the media size (default A4) as border for the pdf. You can change the media size by hand (set it to bb), but it's less error prone to use

Re: [NTG-context] placefigure

2007-07-26 Thread olivier Turlier
Le Thu, 26 Jul 2007 08:36:53 +0200, Liesbeth van der Plas a écrit : Hallo Patrick, Yesterday I sent a few files, but I got a return that the message body was too big. Here are the three most important files from yesterday's map. Liesbeth 2007/7/25, Liesbeth van der Plas [EMAIL

Re: [NTG-context] placefigure

2007-07-26 Thread Peter Rolf
Hi Liesbeth, There is a problem with the bounding box (bb) of the eps file. Although gs shows it correctly (Info), it uses the media size (default A4) as border for the pdf. You can change the media size by hand (set it to bb), but it's less error prone to use extract... or ps to eps from the

Re: [NTG-context] placefigure

2007-07-26 Thread Patrick Gundlach
I use Windows XP. Sorry Liesbeth, I am out of my wits then, perhaps there is somebody out here with some tricks. Perhaps you can use some special printer driver that is able to create different kind of eps or pdf and then use 'print to file' to create the pdf. Does ghostscript offer such a

Re: [NTG-context] placefigure

2007-07-26 Thread Liesbeth van der Plas
I use Windows XP. 2007/7/26, Patrick Gundlach [EMAIL PROTECTED]: Hello Liesbeth, Yesterday I sent a few files, but I got a return that the message body was too big. Here are the three most important files from yesterday's map. epstopdf breaks with this file. If, by chance, you use Mac OS

Re: [NTG-context] placefigure

2007-07-25 Thread Liesbeth van der Plas
In GhostScript: Options àEPS Clip File à Convert à pdfwrite, Variable Page File à Convert à pdfwrite, Fixed Page Size File à Convert à pdfwrite, Shrink to fit Page Size I do get the picture now, but it is inbedded in a

Re: [NTG-context] placefigure

2007-07-25 Thread Patrick Gundlach
Hello Liesbeth, do you have a small sample eps file which gives you a problem? That way we might be able to help you better. Patrick ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] placefigure

2007-07-24 Thread Liesbeth van der Plas
[jpgPhotoBig][photo][type=jpg,width=4cm] \useexternalfigure[epsDrawingCat][cat][type=eps,width=4cm] \starttext \placefigure{A cat drawing (eps)}{\externalfigure[epsDrawingCat]} \placefigure{A small photo (jpg)}{\externalfigure[jpgPhotoSmall]} \placefigure{A big photo (jpg) }{\externalfigure

Re: [NTG-context] placefigure

2007-07-24 Thread luigi scarso
. \useexternalfigure[jpgPhotoSmall][photo][type=jpg,width=2cm] \useexternalfigure[jpgPhotoBig][photo][type=jpg,width=4cm] \useexternalfigure[epsDrawingCat][cat][type=eps,width=4cm] \starttext \placefigure{A cat drawing (eps)}{\externalfigure[epsDrawingCat]} \placefigure{A small photo (jpg)}{\externalfigure

Re: [NTG-context] placefigure

2007-07-24 Thread Patrick Gundlach
Hello, I have a basic problem on laoding vector drawings. The photograph loads all right, the cat-drawing doensn't show up. Perhaps this is due to the fact that pdftex doesn't handle eps? If this is true, you can convert eps files to pdf with epstopdf, that ships with texlive. Patrick

Re: [NTG-context] placefigure

2007-07-24 Thread Liesbeth van der Plas
I don't succeed in using the program epstopdf for my drawing. Probably it is also not very handy to alter a lot of drawings bij hand first? Or maybe there is a way to make MetaPost drawings without learning the MetaPost language? I have a lot of drawings made in Macromedia(=Adobe) Flash (or

Re: [NTG-context] placefigure

2007-07-24 Thread Roelof Langman
This is a simple case of rtfm. From chapter 7 of the pdftex manual: pdfTEX supports inclusion of pictures in png, jpeg, tiff and pdf format. The most common technique -the inclusion of eps figures- is replaced by pdf inclusion. eps files can be converted to pdf by GhostScript, Acrobat Distiller

Re: [NTG-context] placefigure

2007-07-24 Thread Martin Schröder
2007/7/24, Roelof Langman [EMAIL PROTECTED]: This is a simple case of rtfm. From chapter 7 of the pdftex manual: pdfTEX supports inclusion of pictures in png, jpeg, tiff and pdf format. Please update. tiff is long gone... Best Martin

Re: [NTG-context] \placefigure problems in Xetex

2007-04-23 Thread Mojca Miklavec
Hello, Just to let you all know: ConTeXt with pdfTeX creates PDF version 1.5 by default, and xdvipdfmx driver of XeTeX (which became the default one) isn't capable to handle those files. It handles PDF 1.4 OK, so if you have some PDFs with a too recent version, you should convert them to a lower

Re: [NTG-context] \placefigure problems in Xetex

2007-04-23 Thread luigi scarso
On 4/23/07, Mojca Miklavec [EMAIL PROTECTED] wrote: Hello, Just to let you all know: ConTeXt with pdfTeX creates PDF version 1.5 by default, and xdvipdfmx driver of XeTeX (which became the default one) isn't capable to handle those files. It handles PDF 1.4 OK, so if you have some PDFs with

Re: [NTG-context] \placefigure problems in Xetex

2007-04-17 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote: Hello Unfortunately, I get dummy boxes instead of .pdf figures in the XeteXed document. I know, it has been discussed already in the list. However, I downloaded and installed the fresh version of TexLive2007 today, and no problems from updating shouldn't arise.

[NTG-context] \placefigure problems in Xetex

2007-04-13 Thread Vyatcheslav Yatskovsky
Hello Unfortunately, I get dummy boxes instead of .pdf figures in the XeteXed document. I know, it has been discussed already in the list. However, I downloaded and installed the fresh version of TexLive2007 today, and no problems from updating shouldn't arise. The log says: figures :

Re: [NTG-context] \placefigure problems in Xetex

2007-04-13 Thread Oliver Buerschaper
Hi, again, I've been through this a couple of days ago so I'm happy to share my experience with you ;-) For me the problem was not having installed ImageMagick in the first place. But judging from your log this doesn't seem to be the problem. Let me think ... perhaps your glitch might be

Re: [NTG-context] \placefigure problems in Xetex

2007-04-13 Thread Aditya Mahajan
On Fri, 13 Apr 2007, Vyatcheslav Yatskovsky wrote: Hello Unfortunately, I get dummy boxes instead of .pdf figures in the XeteXed document. I know, it has been discussed already in the list. However, I downloaded and installed the fresh version of TexLive2007 today, and no problems from

Re: [NTG-context] Gap above \placefigure[top] ?

2007-02-12 Thread Taco Hoekwater
Hi Steffen, Steffen Wolfrum wrote: Hi, sorry, the next looks so simple, it's probably an often answered thing (I just could not find the answer anywhere…) Why is there a little gap above the figure, though it should be top. How to avoid it? \starttext \showframe \placefigure[top

Re: [NTG-context] Gap above \placefigure[top] ?

2007-02-12 Thread Hans Hagen
\showframe \placefigure[top]{}{\externalfigure[../Figures/Test][frame=off]} \stoptext The gap is the difference between the height of a typical line (\blank) and TeX's \topskip parameter. That explains it, but I do not see a nice way to correct the behaviour. i'll add a switch

[NTG-context] Gap above \placefigure[top] ?

2007-02-10 Thread Steffen Wolfrum
Hi, sorry, the next looks so simple, it's probably an often answered thing (I just could not find the answer anywhere…) Why is there a little gap above the figure, though it should be top. How to avoid it? \starttext \showframe \placefigure[top]{}{\externalfigure[../Figures/Test][frame=off

Re: [NTG-context] Two misfeatures in placefigure

2006-10-25 Thread Taco Hoekwater
Aditya Mahajan wrote: Hi, I found two misfeatures in placefigure. 1) with \placefigure[top] the figure can float to the top of the page, even if the page starts a title or a chapter. 2) The paragraph after the figure is indented, even if it comes right after a \section

Re: [NTG-context] Two misfeatures in placefigure

2006-10-25 Thread Hans Hagen
Taco Hoekwater wrote: Aditya Mahajan wrote: Hi, I found two misfeatures in placefigure. 1) with \placefigure[top] the figure can float to the top of the page, even if the page starts a title or a chapter. 2) The paragraph after the figure is indented, even if it comes right after

Re: [NTG-context] Two misfeatures in placefigure

2006-10-25 Thread Sanjoy Mahajan
2) The paragraph after the figure is indented, even if it comes right after a \section. wild speculation Thinking about how I prevented such parindents in my plain TeX days, by using \ignorespaces\noindent in the definition of \section. If that's what ConTeXt does, perhaps the \placefigure

Re: [NTG-context] Two misfeatures in placefigure

2006-10-25 Thread Aditya Mahajan
On Wed, 25 Oct 2006, Hans Hagen wrote: Taco Hoekwater wrote: Aditya Mahajan wrote: Hi, I found two misfeatures in placefigure. 1) with \placefigure[top] the figure can float to the top of the page, even if the page starts a title or a chapter. 2) The paragraph after the figure

Re: [NTG-context] Two misfeatures in placefigure

2006-10-25 Thread Peter Münster
On Tue, 24 Oct 2006, Aditya Mahajan wrote: 2) The paragraph after the figure is indented, even if it comes right after a \section. Hello, this seems to be already in the bug-database: http://context.literatesolutions.com/collector/65 Cheers, Peter -- http://pmrb.free.fr/contact/

[NTG-context] Two misfeatures in placefigure

2006-10-24 Thread Aditya Mahajan
Hi, I found two misfeatures in placefigure. 1) with \placefigure[top] the figure can float to the top of the page, even if the page starts a title or a chapter. 2) The paragraph after the figure is indented, even if it comes right after a \section. For example, \setupindenting[medium,yes

Re: [NTG-context] itemize and placefigure

2006-10-04 Thread plink
Mojca Miklavec wrote: \placefigure will always start a new paragraph, but usually you don't notice that since you want it in a separate paragraph anyway. It has to do with boxes, although I have no idea how exactly Hans implemented itemize/itemgroup environment. You can help yourself a bit

[NTG-context] itemize and placefigure

2006-10-03 Thread plink
Hi, as soon as I put a placefigure in an \item paragraph, the whole paragraph starts one line below the stopper. Is this a conceptual issue or just a weirdness? What is the best way to start at the same height? I couldn´t find anything in the wiki or the details ... As an example, see

Re: [NTG-context] itemize and placefigure

2006-10-03 Thread Mojca Miklavec
On 10/3/06, plink wrote: Hi, as soon as I put a placefigure in an \item paragraph, the whole paragraph starts one line below the stopper. Is this a conceptual issue or just a weirdness? What is the best way to start at the same height? I couldn´t find anything in the wiki or the details

Re: [NTG-context] XeTeX and \placefigure

2006-08-25 Thread Hans Hagen
Jeff Smith wrote: On 8/24/06, Mojca Miklavec [EMAIL PROTECTED] wrote: - You need to install ImageMagic if you don't have it yet. - My files didn't want to compile either. I deleted everything and installed ConTeXt from scratch (mswintex.zip, justtex.zip, XeTeX from W32TeX + ctxtools

Re: [NTG-context] XeTeX and \placefigure

2006-08-25 Thread Jeff Smith
Huh...lo and behold! This morning, it works. But I have done nothing?! That's really strange... but I sure won't complain. :-) One thing... But what exactly do you mean by I enabled the shell-escape? Isn't it enabled by default already (contrary to other distributions such as MikTeXt)? Yes,

Re: [NTG-context] XeTeX and \placefigure

2006-08-24 Thread Ricard Roca
It works with jpg, pdf and png, with ConTeXt 2006-08-16 (beta). Thanks, Ricard ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] XeTeX and \placefigure

2006-08-24 Thread Mojca Miklavec
On 8/24/06, Hans Hagen wrote: Pepe Barbe wrote: Hello, I've been trying to compile my document using XeTeX and it gives me the following error: you probably need a newer context Hmmm ... most probably ImageMagic then. From rlxtools: result = `identify -units PixelsPerCentimeter

Re: [NTG-context] XeTeX and \placefigure

2006-08-24 Thread Pepe Barbe
On 8/24/06, Mojca Miklavec [EMAIL PROTECTED] wrote: (From time to time it helps to delete the whole ConTeXt and then istall it again. I have no idea what went wrong before, but at least the document compiles now, although I don't get the images yet.) I have reinstalled ConTeXt several times

Re: [NTG-context] XeTeX and \placefigure

2006-08-24 Thread Mojca Miklavec
On 8/24/06, Pepe Barbe wrote: On 8/24/06, Hans Hagen wrote: Pepe Barbe wrote: I've been trying to compile my document using XeTeX and it gives me the following error: you probably need a newer context This is what I am running right now: TeXExec | TeXExec | version 6.2.0 -

Re: [NTG-context] XeTeX and \placefigure

2006-08-24 Thread Pepe Barbe
On 8/24/06, Mojca Miklavec [EMAIL PROTECTED] wrote: Can you take a look at write18 (or shell-escape)? Try to google for it since I don't know MacOS, but I'm sure you'll find it. You have to enable it on your computer, usually it's residing in texmf.cnf, but that depends on the system used (on

Re: [NTG-context] XeTeX and \placefigure

2006-08-24 Thread Hans Hagen
Pepe Barbe wrote: On 8/24/06, Mojca Miklavec [EMAIL PROTECTED] wrote: (From time to time it helps to delete the whole ConTeXt and then istall it again. I have no idea what went wrong before, but at least the document compiles now, although I don't get the images yet.) I have

Re: [NTG-context] XeTeX and \placefigure

2006-08-24 Thread Hans Hagen
Pepe Barbe wrote:how does you rlog (of the tex run look), i.e. the real log texexec --xetex yourfile some.log Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] XeTeX and \placefigure

2006-08-24 Thread Jeff Smith
On 8/24/06, Mojca Miklavec [EMAIL PROTECTED] wrote: - You need to install ImageMagic if you don't have it yet. - My files didn't want to compile either. I deleted everything and installed ConTeXt from scratch (mswintex.zip, justtex.zip, XeTeX from W32TeX + ctxtools --update + remake formats

Re: [NTG-context] XeTeX and \placefigure

2006-08-24 Thread Mojca Miklavec
On 8/24/06, Jeff Smith wrote: On 8/24/06, Mojca Miklavec wrote: - You need to install ImageMagic if you don't have it yet. - My files didn't want to compile either. I deleted everything and installed ConTeXt from scratch (mswintex.zip, justtex.zip, XeTeX from W32TeX + ctxtools --update

[NTG-context] XeTeX and \placefigure

2006-08-23 Thread Pepe Barbe
. \placefigure [here] [fig:cell_type_diag] {Typical diagram of the main cell types \cite[Web:2006aa], \cite[Web:2006ab]} \startcombination[2*1] { \externalfigure[chp1_prokaryote_diagram] [height=.25\textheight] }{Prokaryote

Re: [NTG-context] placefigure

2006-07-21 Thread Taco Hoekwater
Hans van der Meer wrote: Is this known behaviour? Can it perhaps be massaged with parameter settings or is ConText here taking just somewhat oversized vertical space? You can try to do \setupfloats[after=] to remove the whitespace below the image. Taco

[NTG-context] placefigure

2006-07-20 Thread Hans van der Meer
I found a small flaw in the placement of floats. \placefigure[left]...ended at the bottom of the page (before the footnotes), but on the next page the text began as if the figure was still there:  flowing textx figure x  flowing text  flowing text(some

Re: [NTG-context] brace error after a \placefigure

2006-05-14 Thread Taco Hoekwater
nico wrote: Yes, strange. Looks like a grouping issue around this in page-flt: Yes. It works ok with \leavevmode {test}. Also. The problem is the timing of \everypar, what TeX actually executes is this: \bgroup \everypar {\egroup} \par {test} Cheers, Taco

Re: [NTG-context] brace error after a \placefigure

2006-05-14 Thread Sanjoy Mahajan
From:Hans Hagen [EMAIL PROTECTED] \def\dodocomplexplacefloat[#1][#2][#3]#4% [magic code snipped] may work better Tested and working here, thanks! -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.

Re: [NTG-context] brace error after a \placefigure

2006-05-13 Thread nico
On Sat, 13 May 2006 04:08:58 -0400, Sanjoy Mahajan [EMAIL PROTECTED] wrote: I can't figure out what causes the brace error with this test.tex example file: \starttext \placefigure[margin]{A caption}{\externalfigure[]} {test}. \stoptext Yes, strange. Looks like a grouping issue around

Re: [NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-18 Thread Aditya Mahajan
On Fri, 14 Apr 2006, Hans Hagen wrote: Hans Hagen wrote: Aditya Mahajan wrote: Hi, When I use \placefigure[left] with some test, the text wraps around the figure. But if the paragraph, contains some formula, it does not wrap even after the figure is complete. How can I prevent

Re: [NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-18 Thread Hans Hagen
Aditya Mahajan wrote: On Fri, 14 Apr 2006, Hans Hagen wrote: Hans Hagen wrote: Aditya Mahajan wrote: Hi, When I use \placefigure[left] with some test, the text wraps around the figure. But if the paragraph, contains some formula, it does not wrap even after the figure

Re: [NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-18 Thread Hans Hagen
Aditya Mahajan wrote: On Tue, 18 Apr 2006, Hans Hagen wrote: Aditya Mahajan wrote: On Fri, 14 Apr 2006, Hans Hagen wrote: Hans Hagen wrote: Aditya Mahajan wrote: Hi, When I use \placefigure[left] with some test, the text wraps around

Re: [NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-14 Thread Hans Hagen
Aditya Mahajan wrote: Hi, When I use \placefigure[left] with some test, the text wraps around the figure. But if the paragraph, contains some formula, it does not wrap even after the figure is complete. How can I prevent such a behaviour. Example \startbuffer[figure] \placefigure

Re: [NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-14 Thread Hans Hagen
Hans Hagen wrote: Aditya Mahajan wrote: Hi, When I use \placefigure[left] with some test, the text wraps around the figure. But if the paragraph, contains some formula, it does not wrap even after the figure is complete. How can I prevent such a behaviour. btw, can you make

Re: [NTG-context] placefigure feature request ?

2006-04-14 Thread Hans Hagen
{\noexpand\twopassentry {\s!float}% {\numberedfloat}% {\composedsectionnumber} \protect \setupfloats[numbering=text] % we use the marginwidth as criterium \setupfloat[figure][criterium=\marginwidth,fallback=bottom] \starttext \placefigure[bottom]{1

Re: [NTG-context] placefigure feature request ?

2006-04-13 Thread Hans Hagen
Sanjoy Mahajan wrote: this 'choose between locations' feature is kind of present but only with 'here' as fallback but it's trivial to make that configurable: I've been experimenting a bit with the code, and it is much appreciated. I added \unprotect..\protect and it compiled fine. The

Re: [NTG-context] placefigure feature request ?

2006-04-13 Thread Sanjoy Mahajan
\twopassentry {\s!float}% {\numberedfloat}% {\composedsectionnumber} \protect \setupfloats[numbering=text] % we use the marginwidth as criterium \setupfloat[figure][criterium=\marginwidth,fallback=bottom] \starttext \placefigure[bottom]{1}{} \input tufte \placefigure[left

[NTG-context] Inconsistent behaviour of placefigure[left] for math and text

2006-04-13 Thread Aditya Mahajan
Hi, When I use \placefigure[left] with some test, the text wraps around the figure. But if the paragraph, contains some formula, it does not wrap even after the figure is complete. How can I prevent such a behaviour. Example \startbuffer[figure] \placefigure [left] {}{} \stopbuffer

<    1   2   3   4   >