ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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
* 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
* 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

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-01-15  3:15 Figure libraries David Arnold
2006-01-15 12:46 ` Henning Hraban Ramm
2006-01-16  8:51 ` Willi Egger
2006-03-19 17:10 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-04-02 16:39 Figure Libraries David Arnold
2006-04-03  8:09 ` Taco Hoekwater

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).