* Figure Libraries
@ 2006-04-02 16:39 David Arnold
2006-04-03 8:09 ` Taco Hoekwater
0 siblings, 1 reply; 12+ messages in thread
From: David Arnold @ 2006-04-02 16:39 UTC (permalink / raw)
All,
I have chapter1.tex:
\startproduct chapter1
\project book
\startbodymatter
\setupheadnumber[chapter][0]
\chapter[chap:1]{Functions}
\component chapter1/section1
\component chapter1/section2
\component chapter1/section3
\component chapter1/section4
\stopbodymatter
\stopproduct
All the files for chapter1 are in a folder named chapter1, for
example chapter1/section1.tex. All the figures for chapter1 are in
chapter1/figures/.
section2.tex starts with:
\startcomponent section2
\project book
\product chapter1
\usemodule[newmat]
\usemodule[math-ext]
\usemodule[fig-base]
\usefigurebase[figures/figlibSection2]
\section[section:graph]{The Graph of a Function}
In chapter1/figures/figlibSection2.xml, there is:
<figure>
<file>sec2foura.png</file>
<label>foura</label>
<copyright>College of the Redwoods Mathematics Department</copyright>
<comment></comment>
</figure>
section4.tex starts with:
\startcomponent section4
\project book
\product chapter1
\usemodule[newmat]
\usemodule[math-ext]
\usemodule[fig-base]
\usefigurebase[figures/figlibSection4]
In chapter1/figures/figlibSection4.xml, there is:
<figure>
<file>sec4foura.png</file>
<label>foura</label>
<copyright>College of the Redwoods Mathematics Department</copyright>
<comment></comment>
</figure>
The difficulty was this. When I compiled chapter1.tex, the
\externalfigure[foura] in section4.tex used the foura from
figlibSection2.xml.
My workaround was to rename the second instance \externalfigure
[sec4foura], but I am wondering a bit about this mechanism.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Figure Libraries
2006-04-02 16:39 Figure Libraries David Arnold
@ 2006-04-03 8:09 ` Taco Hoekwater
0 siblings, 0 replies; 12+ messages in thread
From: Taco Hoekwater @ 2006-04-03 8:09 UTC (permalink / raw)
David Arnold wrote:
> My workaround was to rename the second instance \externalfigure
> [sec4foura], but I am wondering a bit about this mechanism.
You really should use unique names for your figures, you know.
How else can you differentiate between the one in section 4
and the one in section 2?
Greetings, Taco
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Figure libraries
2006-03-20 9:30 ` Hans Hagen
2006-03-20 9:51 ` Willi Egger
@ 2006-03-20 10:26 ` Willi Egger
1 sibling, 0 replies; 12+ messages in thread
From: Willi Egger @ 2006-03-20 10:26 UTC (permalink / raw)
Hi Hans,
Thank you for asking for the whole set of files. While looking for them
I detected that the xml file was gone. Then a new set of files was
prepared . Testing those however revealed that everything worked to
expectation!
Sorry for the noise!
Willi
Hans Hagen wrote:
>Willi Egger wrote:
>
>
>>Hi Hans,
>>
>>It seems that the figurelibrary mechanism is (still, previous post on
>>19-9-2005) broken.
>>
>>TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>>
>> texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>> texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
>> tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
>>---> context : ver: 2005.11.30 (This is the latest
>>version downloaded on 19-03-2006)
>> cont-en : ver: 2005.11.30 fmt: 2006.3.19 mes: english
>>
>>(The texexec --version reveals that the versionnumber in context has
>>not been adjusted since the version 2005-11-30)
>>
>>
>>Referencing by "label" the picture is not found.
>>Referencing by page the wrong page is found.
>>Referencing the last picture in the file: a fatal error occurs, that
>>the page does not exits.
>>
>>Please refer to the attached example files.
>>
>>Could you please take a look at this matter?
>>
>>
>>
>can you also send me the xml file and the graphic so that i can test it?
>context needs the xml file to relate the label to a page
>
>btw, page 3 is fetched ok, the libs always opens at the page where the
>ref section starts
>
>which makes me wonder ... maybe i should embed the xml file in the pdf
>file as well because one can extract it then, something to put on the
>wish list (collector/wiki)
>
>Hans
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Figure libraries
2006-03-20 9:30 ` Hans Hagen
@ 2006-03-20 9:51 ` Willi Egger
2006-03-20 10:26 ` Willi Egger
1 sibling, 0 replies; 12+ messages in thread
From: Willi Egger @ 2006-03-20 9:51 UTC (permalink / raw)
Hi Hans,
of course, this will happen of list.
Willi
Hans Hagen wrote:
>Willi Egger wrote:
>
>
>>Hi Hans,
>>
>>It seems that the figurelibrary mechanism is (still, previous post on
>>19-9-2005) broken.
>>
>>TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>>
>> texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>> texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
>> tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
>>---> context : ver: 2005.11.30 (This is the latest
>>version downloaded on 19-03-2006)
>> cont-en : ver: 2005.11.30 fmt: 2006.3.19 mes: english
>>
>>(The texexec --version reveals that the versionnumber in context has
>>not been adjusted since the version 2005-11-30)
>>
>>
>>Referencing by "label" the picture is not found.
>>Referencing by page the wrong page is found.
>>Referencing the last picture in the file: a fatal error occurs, that
>>the page does not exits.
>>
>>Please refer to the attached example files.
>>
>>Could you please take a look at this matter?
>>
>>
>>
>can you also send me the xml file and the graphic so that i can test it?
>context needs the xml file to relate the label to a page
>
>btw, page 3 is fetched ok, the libs always opens at the page where the
>ref section starts
>
>which makes me wonder ... maybe i should embed the xml file in the pdf
>file as well because one can extract it then, something to put on the
>wish list (collector/wiki)
>
>Hans
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Figure libraries
2006-03-20 9:15 ` Taco Hoekwater
@ 2006-03-20 9:50 ` Willi Egger
0 siblings, 0 replies; 12+ messages in thread
From: Willi Egger @ 2006-03-20 9:50 UTC (permalink / raw)
Hm,
Strange, I have no duplicate tree-segments. I have the distro in the
texmf-local tree.
Even after reextractign the file I downloaded yesterday en regenerating
the formats I get the same result except that the format gets the date
of 20 march.
Willi
Taco Hoekwater wrote:
>Hans Hagen wrote:
>
>
>>Willi Egger wrote:
>>
>>
>>
>>>Hi Hans,
>>>
>>>It seems that the figurelibrary mechanism is (still, previous post on
>>>19-9-2005) broken.
>>>
>>>TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>>>
>>> texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>>> texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
>>> tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
>>>---> context : ver: 2005.11.30 (This is the latest
>>>version downloaded on 19-03-2006)
>>> cont-en : ver: 2005.11.30 fmt: 2006.3.19 mes: english
>>>
>>>(The texexec --version reveals that the versionnumber in context has
>>>not been adjusted since the version 2005-11-30)
>>>
>>>
>
>No it does not, it reveals that you regenerated the november 30 format
>on march 19, the version in context has definately changed. ;)
>
>My guess is: you extracted the archive in the wrong place, and none
>of it found by any of the runtime programs.
>
>Cheers, Taco
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Figure libraries
2006-03-19 17:10 Figure libraries Willi Egger
2006-03-20 8:57 ` Hans Hagen
@ 2006-03-20 9:30 ` Hans Hagen
2006-03-20 9:51 ` Willi Egger
2006-03-20 10:26 ` Willi Egger
1 sibling, 2 replies; 12+ messages in thread
From: Hans Hagen @ 2006-03-20 9:30 UTC (permalink / raw)
Willi Egger wrote:
> Hi Hans,
>
> It seems that the figurelibrary mechanism is (still, previous post on
> 19-9-2005) broken.
>
> TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>
> texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
> texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
> tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
> ---> context : ver: 2005.11.30 (This is the latest
> version downloaded on 19-03-2006)
> cont-en : ver: 2005.11.30 fmt: 2006.3.19 mes: english
>
> (The texexec --version reveals that the versionnumber in context has
> not been adjusted since the version 2005-11-30)
>
>
> Referencing by "label" the picture is not found.
> Referencing by page the wrong page is found.
> Referencing the last picture in the file: a fatal error occurs, that
> the page does not exits.
>
> Please refer to the attached example files.
>
> Could you please take a look at this matter?
>
can you also send me the xml file and the graphic so that i can test it?
context needs the xml file to relate the label to a page
btw, page 3 is fetched ok, the libs always opens at the page where the
ref section starts
which makes me wonder ... maybe i should embed the xml file in the pdf
file as well because one can extract it then, something to put on the
wish list (collector/wiki)
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] 12+ messages in thread
* Re: Figure libraries
2006-03-20 8:57 ` Hans Hagen
@ 2006-03-20 9:15 ` Taco Hoekwater
2006-03-20 9:50 ` Willi Egger
0 siblings, 1 reply; 12+ messages in thread
From: Taco Hoekwater @ 2006-03-20 9:15 UTC (permalink / raw)
Hans Hagen wrote:
> Willi Egger wrote:
>
>>Hi Hans,
>>
>>It seems that the figurelibrary mechanism is (still, previous post on
>>19-9-2005) broken.
>>
>>TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>>
>> texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>> texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
>> tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
>>---> context : ver: 2005.11.30 (This is the latest
>>version downloaded on 19-03-2006)
>> cont-en : ver: 2005.11.30 fmt: 2006.3.19 mes: english
>>
>>(The texexec --version reveals that the versionnumber in context has
>>not been adjusted since the version 2005-11-30)
No it does not, it reveals that you regenerated the november 30 format
on march 19, the version in context has definately changed. ;)
My guess is: you extracted the archive in the wrong place, and none
of it found by any of the runtime programs.
Cheers, Taco
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Figure libraries
2006-03-19 17:10 Figure libraries Willi Egger
@ 2006-03-20 8:57 ` Hans Hagen
2006-03-20 9:15 ` Taco Hoekwater
2006-03-20 9:30 ` Hans Hagen
1 sibling, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2006-03-20 8:57 UTC (permalink / raw)
Willi Egger wrote:
> Hi Hans,
>
> It seems that the figurelibrary mechanism is (still, previous post on
> 19-9-2005) broken.
>
> TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
>
> texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
> texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
> tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
> ---> context : ver: 2005.11.30 (This is the latest
> version downloaded on 19-03-2006)
> cont-en : ver: 2005.11.30 fmt: 2006.3.19 mes: english
>
> (The texexec --version reveals that the versionnumber in context has
> not been adjusted since the version 2005-11-30)
here i have (in the zip):
\def\contextversion{2006.02.20 16:09}
-----------------------------------------------------------------
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] 12+ messages in thread
* Figure libraries
@ 2006-03-19 17:10 Willi Egger
2006-03-20 8:57 ` Hans Hagen
2006-03-20 9:30 ` Hans Hagen
0 siblings, 2 replies; 12+ messages in thread
From: Willi Egger @ 2006-03-19 17:10 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 958 bytes --]
Hi Hans,
It seems that the figurelibrary mechanism is (still, previous post on
19-9-2005) broken.
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
tex : pdfeTeX, 3.141592-1.30.3-2.2 (Web2c 7.5.5)
---> context : ver: 2005.11.30 (This is the latest
version downloaded on 19-03-2006)
cont-en : ver: 2005.11.30 fmt: 2006.3.19 mes: english
(The texexec --version reveals that the versionnumber in context has not
been adjusted since the version 2005-11-30)
Referencing by "label" the picture is not found.
Referencing by page the wrong page is found.
Referencing the last picture in the file: a fatal error occurs, that
the page does not exits.
Please refer to the attached example files.
Could you please take a look at this matter?
Kind regards
Willi
[-- Attachment #2: test-lib.pdf --]
[-- Type: application/pdf, Size: 46795 bytes --]
[-- Attachment #3: testfig.tex --]
[-- Type: text/plain, Size: 923 bytes --]
% Testfile selecting pictures from a figure-library
% CONTEXt file
% filename: testfig.tex
% Willi Egger
% 18-09-2005
\setupoutput[pdftex]
\mainlanguage[de]
\usemodule[fig-base]
\usefigurebase[test-lib]
\starttext
\placefigure
[here]
[fig:ord1898]
{Ordonnanzeisen 1898 $\rightarrow$ referenced by \quotation{label}}
{\externalfigure[ord1898][width=0.45\makeupwidth]}
\placefigure
[here]
[fig:hinterhufwinkel2]
{Ordonnanzeisen 1898 $\rightarrow$ referenced by page }
{\externalfigure[test-lib][page=3,width=0.45\makeupwidth]}
% \placefigure
% [here]
% [fig:u-flaeche-trab]
% {Unterst\"utzungsfl\"ache im Trab $\rightarrow$ referenced by \quotation{label}}
% {\externalfigure[u-flaeche-trab][width=0.45\makeupwidth]}
% \placefigure
% [here]
% [fig:schmieden2]
% {Unterst\"utzungsfl\"ache im Trab $\rightarrow$ referenced by page}
% {\externalfigure[test-lib][page=8,width=0.45\makeupwidth]}
\stoptext
[-- Attachment #4: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Figure libraries
2006-01-15 3:15 David Arnold
2006-01-15 12:46 ` Henning Hraban Ramm
@ 2006-01-16 8:51 ` Willi Egger
1 sibling, 0 replies; 12+ messages in thread
From: Willi Egger @ 2006-01-16 8:51 UTC (permalink / raw)
Hi David,
yes you can. In your doc you can refer to the library's content either
by symbolic names as given in the library or by reference to a page in
the library
\usemodule[fig-base]
\usefigurebase[mylibrary]
.....
{\externalfigure[mynicepicture][...]}
.....
{\externalfigure[mylibrary][page=xx]}
Willi
David Arnold wrote:
> All,
>
> After you run:
>
> figures $ texexec --pdf --use=fig-make --mode=letter figlibSection3.xml
>
> are the figures embedded in figlibSection3.pdf? That is, could you
> now remove the files used to create figlibSection3.pdf?
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Figure libraries
2006-01-15 3:15 David Arnold
@ 2006-01-15 12:46 ` Henning Hraban Ramm
2006-01-16 8:51 ` Willi Egger
1 sibling, 0 replies; 12+ messages in thread
From: Henning Hraban Ramm @ 2006-01-15 12:46 UTC (permalink / raw)
Am 2006-01-15 um 04:15 schrieb David Arnold:
> After you run:
> figures $ texexec --pdf --use=fig-make --mode=letter
> figlibSection3.xml
> are the figures embedded in figlibSection3.pdf? That is, could you
> now remove the files used to create figlibSection3.pdf?
If you see them in the PDF, they're embedded. There's no such like
linked pictures in a PDF.
(There may be linked media contents like movies, and PDF/X-2 was
planned for incomplete PDF files, but the latter never got implemented.)
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Figure libraries
@ 2006-01-15 3:15 David Arnold
2006-01-15 12:46 ` Henning Hraban Ramm
2006-01-16 8:51 ` Willi Egger
0 siblings, 2 replies; 12+ messages in thread
From: David Arnold @ 2006-01-15 3:15 UTC (permalink / raw)
All,
After you run:
figures $ texexec --pdf --use=fig-make --mode=letter figlibSection3.xml
are the figures embedded in figlibSection3.pdf? That is, could you
now remove the files used to create figlibSection3.pdf?
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-04-03 8:09 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-02 16:39 Figure Libraries David Arnold
2006-04-03 8:09 ` Taco Hoekwater
-- strict thread matches above, loose matches on Subject: below --
2006-03-19 17:10 Figure libraries Willi Egger
2006-03-20 8:57 ` Hans Hagen
2006-03-20 9:15 ` Taco Hoekwater
2006-03-20 9:50 ` Willi Egger
2006-03-20 9:30 ` Hans Hagen
2006-03-20 9:51 ` Willi Egger
2006-03-20 10:26 ` Willi Egger
2006-01-15 3:15 David Arnold
2006-01-15 12:46 ` Henning Hraban Ramm
2006-01-16 8:51 ` Willi Egger
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).