This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CVS PDF-docs


Andrew Lunn wrote:
What patch is this? I don't see anything on the lists.

Its not been on the list yet...

You also need a file called jadetex.cfg in doc/sgml and its
subdirectories. It should contain:

\hypersetup{pdfpagemode=None,  pdfauthor=eCos (pdfjadetex) ,  colorlinks=true,
 linkcolor=blue,  pdfstartview=FitH}
Wouldn't the link stuff be in a stylesheet? And other than pdfauthor (which I wouldn't have thought would be used) what are the other bits for.

\def\Gin@extensions{.pdf,.png,.jpg,.mps,.tif,.gif}
Why is this needed? It should work without that surely... The names are specified in the ENTITIES.

And in the patch below, why the subst .html? The .sgml, .html and starting page of the .pdf should all have the same prefixes (even though it's based on the <TITLE>). And the .html file may not exist.

Although anyway this should probably be posted on ecos-patches and discussed there. I know Bart takes quite an interest in documentation generation and I wouldn't want him to be excluded if he wants to have a say. In fact, I think I'll CC it now anyway.

Jifl

Index: rules.doc
===================================================================
RCS file: /cvs/ecos/ecos/packages/pkgconf/rules.doc,v
retrieving revision 1.5
diff -u -r1.5 rules.doc
--- rules.doc 7 Aug 2002 15:10:41 -0000 1.5
+++ rules.doc 14 Oct 2002 16:51:20 -0000
@@ -85,7 +85,7 @@
MAIN_HTML := $(subst .sgml,.html,$(MAIN_SGML))
endif
ifeq (,$(MAIN_PDF))
- MAIN_PDF := $(subst .sgml,.pdf,$(MAIN_SGML))
+ MAIN_PDF := $(subst .html,.pdf,$(MAIN_HTML))
endif
# Rules for generating pictures
@@ -116,19 +116,15 @@
# PDF files can be generated in a similar fashion.
pdf: $(MAIN_PDF)
+#force ignore all pdfjadetex errors!!!
+.IGNORE:
+
+# this version does not import gifs!
$(MAIN_PDF): $(MAIN_SGML) $(OTHER_SGML) $(EPS) $(ECOS_STYLESHEET)
- jade -o $(subst .sgml,.tex,$(MAIN_SGML)) -t tex -V tex-backend -c $(DSSSL_CATALOG) -d $(ECOS_STYLESHEET)#print $<
- pdfjadetex $(subst .sgml,.tex,$(MAIN_SGML))
- pdfjadetex $(subst .sgml,.tex,$(MAIN_SGML))
- pdfjadetex $(subst .sgml,.tex,$(MAIN_SGML))
-
-#$(MAIN_PDF): $(MAIN_SGML) $(OTHER_SGML) $(EPS) $(ECOS_STYLESHEET)
-# jade -o $(subst .sgml,.tex,$(MAIN_SGML)) -t tex -V tex-backend -d $(ECOS_STYLESHEET)#print $<
-# jadetex $(subst .sgml,.tex,$(MAIN_SGML))
-# jadetex $(subst .sgml,.tex,$(MAIN_SGML))
-# jadetex $(subst .sgml,.tex,$(MAIN_SGML))
-# dvips -o $(subst .sgml,.ps,$(MAIN_SGML)) $(subst .sgml,.dvi,$(MAIN_SGML))
-# ps2pdf $(subst .sgml,.ps,$(MAIN_SGML)) $(subst .sgml,.pdf,$(MAIN_SGML))
+ jade -o $(subst .html,.tex,$(MAIN_HTML)) -t tex -V tex-backend -c $(DSSSL_CATALOG) -d $(ECOS_STYLESHEET)#print $<
+ pdfjadetex $(subst .html,.tex,$(MAIN_HTML))
+ pdfjadetex $(subst .html,.tex,$(MAIN_HTML))
+ pdfjadetex $(subst .html,.tex,$(MAIN_HTML))
# Clean. For now assume that all .html, .gif etc files are generated
clean:

--
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]