* how to place figures next to each other
@ 2005-03-18 11:20 Peter
2005-03-25 15:57 ` Peter
0 siblings, 1 reply; 7+ messages in thread
From: Peter @ 2005-03-18 11:20 UTC (permalink / raw)
Dear list,
How can I place two figures next to each other without using a
\startcombination ... \stopcombination group?
I now have this, but it is not what I want:
\gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
\gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
\plaatsfiguur
[hier]
[fig:klavieren]
{Enkele varianten van het groot octaaf}
{\startcombinatie[2*1]
{\kortoctaaf}{kort octaaf}
{\gebrokenoctaaf}{gebroken octaaf}
\stopcombinatie}
I want to have the two figures numbered as seperate, independent
figures, but when using a combination, the whole combination is treated
as one figure and gets only one number and one label.
XXXX XXXX
X X X X
XXXX XXXX
fig.n fig.n+1
I've consulted the manuals and searched the list archives, but I have
not found a solution.
tnx in advance,
Peter van Kranenburg
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to place figures next to each other
2005-03-18 11:20 how to place figures next to each other Peter
@ 2005-03-25 15:57 ` Peter
2005-03-28 22:59 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Peter @ 2005-03-25 15:57 UTC (permalink / raw)
Peter wrote:
> How can I place two figures next to each other without using a
> \startcombination ... \stopcombination group?
>
> I now have this, but it is not what I want:
>
> \gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
> \gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
> \plaatsfiguur
> [hier]
> [fig:klavieren]
> {Enkele varianten van het groot octaaf}
> {\startcombinatie[2*1]
> {\kortoctaaf}{kort octaaf}
> {\gebrokenoctaaf}{gebroken octaaf}
> \stopcombinatie}
>
> I want to have the two figures numbered as seperate, independent
> figures, but when using a combination, the whole combination is treated
> as one figure and gets only one number and one label.
>
> XXXX XXXX
> X X X X
> XXXX XXXX
>
> fig.n fig.n+1
>
> I've consulted the manuals and searched the list archives, but I have
> not found a solution.
>
> tnx in advance,
>
I now know how to suppress the caption of the combination. By using the
option "none".
Now I have to generate the captions of the two figures with the correct
numbers and the reference-labels by hand. So my questions:
- How can I increment the figure counter?
- How can I print the current figure number?
- How can I add labels for referencing to the two figures?
- Is there a better approach to do this?
I have two small figures. So I really want them next to each other. It's
a waste of space to put them underneath each other.
Peter
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to place figures next to each other
2005-03-25 15:57 ` Peter
@ 2005-03-28 22:59 ` Hans Hagen
2005-03-29 10:25 ` Peter
0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2005-03-28 22:59 UTC (permalink / raw)
Peter wrote:
> Peter wrote:
>
>> How can I place two figures next to each other without using a
>> \startcombination ... \stopcombination group?
>>
>> I now have this, but it is not what I want:
>>
>> \gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
>> \gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
>> \plaatsfiguur
>> [hier]
>> [fig:klavieren]
>> {Enkele varianten van het groot octaaf}
>> {\startcombinatie[2*1]
>> {\kortoctaaf}{kort octaaf}
>> {\gebrokenoctaaf}{gebroken octaaf}
>> \stopcombinatie}
>>
>> I want to have the two figures numbered as seperate, independent
>> figures, but when using a combination, the whole combination is
>> treated as one figure and gets only one number and one label.
>>
>> XXXX XXXX
>> X X X X
>> XXXX XXXX
>>
>> fig.n fig.n+1
>>
>> I've consulted the manuals and searched the list archives, but I have
>> not found a solution.
>>
>> tnx in advance,
>>
>
> I now know how to suppress the caption of the combination. By using the
> option "none".
> Now I have to generate the captions of the two figures with the correct
> numbers and the reference-labels by hand. So my questions:
> - How can I increment the figure counter?
> - How can I print the current figure number?
> - How can I add labels for referencing to the two figures?
> - Is there a better approach to do this?
>
> I have two small figures. So I really want them next to each other. It's
> a waste of space to put them underneath each other.
ok then, since no one comes to your help ...
\starttext
\placefigure
[none]
{}
{\startcombination
{\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{one}}
{\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{two}}
\stopcombination}
\stoptext
-----------------------------------------------------------------
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to place figures next to each other
2005-03-28 22:59 ` Hans Hagen
@ 2005-03-29 10:25 ` Peter
0 siblings, 0 replies; 7+ messages in thread
From: Peter @ 2005-03-29 10:25 UTC (permalink / raw)
Hans Hagen wrote:
> \starttext
>
> \placefigure
> [none]
> {}
> {\startcombination
> {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{one}}
> {\externalfigure[cow][width=4cm]} {\placefloatcaption[figure]{two}}
> \stopcombination}
>
> \stoptext
>
Wow, is it that simple and elegant...
I had to figure out to replace 'figure' by 'figuur' in the dutch
interface. But doing so gives me exactly what I want.
Many thanks!
Peter
^ permalink raw reply [flat|nested] 7+ messages in thread
* hyphenation not working
@ 2005-03-18 6:05 Paul Tremblay
2005-03-18 9:05 ` Hans Hagen
0 siblings, 1 reply; 7+ messages in thread
From: Paul Tremblay @ 2005-03-18 6:05 UTC (permalink / raw)
Has anyone else had problems with hyphenation? I have a brand new
version of ConTeXt, and cannot get one of its main features, hyphenation,
to work.
I looked at the documentation, specifically the file called hypenation
patterns. According to this, I should be able to invoke a took called
ctxtools, or at least a tool called texmfstart ctxtools. Neither tool
exists with my distribution.
I do have a file called hyphen.tex. On Hans' suggestion, I copied this
to ushyph1.tex and ushyph2.tex. That didn't help. I also changed my cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also didn't work.
I am at a loss, and I consider hyphenation pretty important. How do I
proceed from here?
Thanks
Paul
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: hyphenation not working
2005-03-18 6:05 hyphenation not working Paul Tremblay
@ 2005-03-18 9:05 ` Hans Hagen
2005-03-19 1:01 ` Paul Tremblay
0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2005-03-18 9:05 UTC (permalink / raw)
Paul Tremblay wrote:
> Has anyone else had problems with hyphenation? I have a brand new
> version of ConTeXt, and cannot get one of its main features, hyphenation,
> to work.
>
> I looked at the documentation, specifically the file called hypenation
> patterns. According to this, I should be able to invoke a took called
> ctxtools, or at least a tool called texmfstart ctxtools. Neither tool
> exists with my distribution.
>
> I do have a file called hyphen.tex. On Hans' suggestion, I copied this
> to ushyph1.tex and ushyph2.tex. That didn't help. I also changed my cont-usr.tex file, changing all lines that had ushyp* to hyphen. This also didn't work.
did you run mktexlsr ?
> I am at a loss, and I consider hyphenation pretty important. How do I
> proceed from here?
another option is to fetch cont-pat.zip from our website and install that one in
the same texmf tree as context; run mktexlsr, and regenerate the formats (with
--all option)
i'd appreciate feedback about this working or not (since it's step 1 towards
shipping context with its own instances of patterns)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: hyphenation not working
2005-03-18 9:05 ` Hans Hagen
@ 2005-03-19 1:01 ` Paul Tremblay
2005-03-19 11:17 ` how to place figures next to each other Peter
0 siblings, 1 reply; 7+ messages in thread
From: Paul Tremblay @ 2005-03-19 1:01 UTC (permalink / raw)
> another option is to fetch cont-pat.zip from our website and install that
> one in the same texmf tree as context; run mktexlsr, and regenerate the
> formats (with --all option)
>
> i'd appreciate feedback about this working or not (since it's step 1
> towards shipping context with its own instances of patterns)
I downloaded the patterns file and unzipped it. It put the following
directory in my texmf directory:
.tex/context/patterns
I then ran texhash. I then ran ./mktexlsr --all.
I then ran texexec test.tex.
Still no hyphenation.
My log file is below.
Thanks
Paul
This is pdfeTeXk, Version 3.141592-1.20a-2.2 (Web2C 7.5.3) (format=cont-en 2005.2.20) 18 MAR 2005 19:55
entering extended mode
%&-line parsing enabled.
(/usr/TeX/texmf/web2c/natural.tcx)
**&cont-en test.tex
(./test.tex
ConTeXt ver: 2005.01.31 fmt: 2005.2.20 int: english mes: english
language : language en is active
<protectionstate 0>
system : cont-new loaded
(/usr/TeX/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 878]
system (E-TEX) : [line 933]
)
system : cont-old loaded
(/usr/TeX/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(/usr/TeX/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(/usr/TeX/texmf/tex/context/user/cont-sys.tex
(/usr/TeX/texmf/tex/context/base/type-syn.tex)
(/usr/TeX/texmf/tex/context/base/type-enc.tex)
(/usr/TeX/texmf/tex/context/base/type-dis.tex)
(/usr/TeX/texmf/tex/context/base/type-siz.tex)
(/usr/TeX/texmf/tex/context/base/type-map.tex)
(/usr/TeX/texmf/tex/context/base/type-spe.tex)
(/usr/TeX/texmf/tex/context/base/type-exa.tex)
(/usr/TeX/texmf/tex/context/base/type-akb.tex))
bodyfont : 12pt rm is loaded
language : patterns de->texnansi:texnansi->3->2:2 de->ec:ec->4->2:2 fr->
texnansi:texnansi->5->2:2 fr->ec:ec->6->2:2 es->default:default->7->2:2 it->tex
nansi:texnansi->8->2:2 it->ec:ec->9->2:2 nl->texnansi:texnansi->10->2:2 nl->ec:
ec->11->2:2 loaded
specials : tex,postscript,rokicki loaded
\openout2 = `test.tui'.
system : test.top loaded
(./test.top)
\openout0 = `test-mpgraph.mp'.
\openout0 = `mpgraph.mp'.
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo)
fonts : using map file: texnansi-public-lm.map
fonts : using map file: original-public-vnr.map
fonts : using map file: original-public-csr.map
fonts : using map file: original-public-plr.map
fonts : using map file: original-public-lm.map
fonts : using map file: original-ams-euler.map
fonts : using map file: original-ams-cmr.map
fonts : using map file: texnansi-base.map
fonts : using map file: t5-base.map
fonts : using map file: qx-base.map
fonts : using map file: 8r-base.map
fonts : using map file: ec-base.map
fonts : using map file: ec-public-lm.map
fonts : using map file: original-base.map
systems : begin file test at line 12
(/usr/TeX/texmf/tex/context/base/page-run.tex
loading : Context Page Macros / Runtime Macros
) (/usr/TeX/texmf/tex/context/sample/tufte.tex)
Overfull \hbox (2.48778pt too wide) in paragraph at lines 1--34
\*12ptmmmr* our marvelous and everyday capacity to select, edit,
\hbox(8.33331+2.33331)x256.07481, glue set - 1.0
.\*12ptmmmr* o
.\*12ptmmmr* u
.\*12ptmmmr* r
.\glue 3.91663 plus 1.95831 minus 1.30554
.\*12ptmmmr* m
.etc.
Overfull \hbox (16.65291pt too wide) in paragraph at lines 1--34
\*12ptmmmr* reduce, boil down, choose, categorize, catalog, classify,
\hbox(8.33331+2.33331)x256.07481, glue set - 1.0
.\*12ptmmmr* r
.\*12ptmmmr* e
.\*12ptmmmr* d
.\*12ptmmmr* u
.\*12ptmmmr* c
.etc.
(/usr/TeX/texmf/tex/context/sample/knuth.tex [4.4])
Overfull \hbox (7.28357pt too wide) in paragraph at lines 12--34
[]\*12ptmmmr* But a system cannot be successful if it is too strongly
\hbox(8.33331+2.33331)x256.07481, glue set - 1.0
.\hbox(0.0+0.0)x0.0
.\*12ptmmmr* B
.\*12ptmmmr* u
.\*12ptmmmr* t
.\glue 3.91663 plus 1.95831 minus 1.30554
.etc.
A LOT OF OTHER OVERFILL MESSAGES WHICH I CUT OUT
[5.5] [6.6]
systems : end file test at line 37
)
Here is how much of TeX's memory you used:
691 strings out of 62989
11662 string characters out of 668839
4464250 words of memory out of 5506310
35404 multiletter control sequences out of 10000+50000
10284 words of font info for 34 fonts, out of 1000000 for 2000
82 hyphenation exceptions out of 1000
39i,20n,52p,181b,433s stack positions out of 5000i,500n,6000p,200000b,40000s
0 PDF objects out of 300000
0 named destinations out of 131072
1 words of extra memory for PDF output out of 65536
Output written on test.dvi (6 pages, 17272 bytes).
--
************************
*Paul Tremblay *
*phthenry@iglou.com *
************************
^ permalink raw reply [flat|nested] 7+ messages in thread
* how to place figures next to each other
2005-03-19 1:01 ` Paul Tremblay
@ 2005-03-19 11:17 ` Peter
2005-03-20 22:35 ` Matthias Weber
0 siblings, 1 reply; 7+ messages in thread
From: Peter @ 2005-03-19 11:17 UTC (permalink / raw)
Dear list,
How can I place two figures next to each other without using a
\startcombination ... \stopcombination group?
I now have this, but it is not what I want:
\gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
\gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
\plaatsfiguur
[hier]
[fig:klavieren]
{Enkele varianten van het groot octaaf}
{\startcombinatie[2*1]
{\kortoctaaf}{kort octaaf}
{\gebrokenoctaaf}{gebroken octaaf}
\stopcombinatie}
I want to have the two figures numbered as seperate, independent
figures, but when using a combination, the whole combination is treated
as one figure and gets only one number and one label.
XXXX XXXX
X X X X
XXXX XXXX
fig.n fig.n+1
I've consulted the manuals and searched the list archives, but I have
not found a solution.
tnx in advance,
Peter van Kranenburg
p.s. I've already sent this message to the list, thursday, but it didn't
show up in my inbox. So this is another try.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to place figures next to each other
2005-03-19 11:17 ` how to place figures next to each other Peter
@ 2005-03-20 22:35 ` Matthias Weber
2005-03-21 22:26 ` Peter
0 siblings, 1 reply; 7+ messages in thread
From: Matthias Weber @ 2005-03-20 22:35 UTC (permalink / raw)
The best I can get is
\starttext
\useexternalfigure[myfigure][filename][width=1in]
\placetable[here][tab:2figures]{none}
\starttable[|c|c|]
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\placefigure[here]{My Caption 1}{\externalfigure[myfigure]}
\NC
\FR
\stoptable
\stoptext
But something in \placefigure produces undesired glue so that the
figures
end up in the margins.
Somebody else?
Matthias
On Mar 19, 2005, at 6:17 AM, Peter wrote:
> Dear list,
>
> How can I place two figures next to each other without using a
> \startcombination ... \stopcombination group?
>
> I now have this, but it is not what I want:
>
> \gebruikexternfiguur[kortoctaaf][cekort][type=eps,hoogte=30mm]
> \gebruikexternfiguur[gebrokenoctaaf][gebroken][type=eps,hoogte=30mm]
> \plaatsfiguur
> [hier]
> [fig:klavieren]
> {Enkele varianten van het groot octaaf}
> {\startcombinatie[2*1]
> {\kortoctaaf}{kort octaaf}
> {\gebrokenoctaaf}{gebroken octaaf}
> \stopcombinatie}
>
> I want to have the two figures numbered as seperate, independent
> figures, but when using a combination, the whole combination is
> treated as one figure and gets only one number and one label.
>
> XXXX XXXX
> X X X X
> XXXX XXXX
>
> fig.n fig.n+1
>
> I've consulted the manuals and searched the list archives, but I have
> not found a solution.
>
> tnx in advance,
>
> Peter van Kranenburg
>
> p.s. I've already sent this message to the list, thursday, but it
> didn't show up in my inbox. So this is another try.
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to place figures next to each other
2005-03-20 22:35 ` Matthias Weber
@ 2005-03-21 22:26 ` Peter
0 siblings, 0 replies; 7+ messages in thread
From: Peter @ 2005-03-21 22:26 UTC (permalink / raw)
Matthias Weber wrote:
> The best I can get is
>
> \starttext
> \useexternalfigure[myfigure][filename][width=1in]
> \placetable[here][tab:2figures]{none}
> [...]
Thanks for the try. I've also tried columns. But the floating mechanism
and columns/tables doesn't cooperate very well...
Maybe there is a way to increment the figure counter by hand? And to add
a label for the added figurenumber? Then I can make the
[2*1]-combination appear as two independent figures.
the only problem then is the caption of the combination. I don't want
that caption, and I don't want the space that is occupied by that caption.
greetings
Peter
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-03-29 10:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-18 11:20 how to place figures next to each other Peter
2005-03-25 15:57 ` Peter
2005-03-28 22:59 ` Hans Hagen
2005-03-29 10:25 ` Peter
-- strict thread matches above, loose matches on Subject: below --
2005-03-18 6:05 hyphenation not working Paul Tremblay
2005-03-18 9:05 ` Hans Hagen
2005-03-19 1:01 ` Paul Tremblay
2005-03-19 11:17 ` how to place figures next to each other Peter
2005-03-20 22:35 ` Matthias Weber
2005-03-21 22:26 ` Peter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).