On 11 Mar 2000, at 14:09, Maurice Lombardi wrote:
I use miktex. It works to produce pdf, but I have no hyperlinks (especially from index to actual page). Am I missing something ?
Yes, there is a "texinfo.tex" present in the p/doc directory that interferes with the PDF process. Remove this file and re-run.
However, there is another problem. The GPC documentation has some incompatibility with the "texinfo.tex" that is part of the PDFTeX distribution. When you run, you will get errors such as:
! Undefined control sequence. @unnumberedsubseczzz #1->@seccheck {unnumberedsubsec}@plainsubsechead... @unnmhead ...@or @unnumberedsubseczzz {#2} @or @unnumberedsubsubseczz... l.334 @unnumberedsubsec Syntax
You can enter "q" to ignore the errors and continue quietly, but you will then have to run "texi2dvi -p gpc.texi" again to resolve the references and to get hyperlinks in the body, table of contents, and index.
Peter: I don't know anything about texinfo, but perhaps the GPC documentation is relying on a custom texinfo.tex file. That will work for TeX but not for PDFTeX. Can this be changed so that it does not rely on a custom file?
And there is a third problem (maybe). If you are processing the files in the GPC source tree, you are not getting the proper "gpcpas.texi" file. The proper version of this file is created during the GPC build process. You must build GPC before building the documentation to get the up-to-date file.
Peter: it might be more helpful if the current "gpcpas.texi" file was included in the source, so that those needing the documentation but *not* wanting or needing to build the compiler could use this file directly from the distribution. Would this be possible?
How do you produce WinHelp version ?
"makertf --force --hpj gpc.hpj -o gpc.rtf gpc.texi". This produces "gpc.rtf" (the WinHelp source file) and "gpc.hpj" (the WinHelp job file). These file must then be processed with the WinHelp compiler to produce "gpc.hlp".
The WinHelp compiler is available at:
ftp://ftp.microsoft.com/softlib/mslfiles/HCWSETUP.EXE
-- Dave Bryan