Re: Introduction, PDF and docbook questions

2000-03-30 Thread Jose Abilio Oliveira Matos

On Wed, Mar 29, 2000 at 08:08:44AM -0800, Ned Konz wrote:
> Hello all,
> 
> I've just discovered lyx and joined the list.

  Welcome. :)
 
> I like lyx, but have no particular interest in tex. I do need
> to produce SGML, HTML and PDF (at least) documentation.
> 
> I had been using troff and the -me macro package, just because
> of familiarity (I actually ran a commercial database typesetting
> business in the early '80's using troff), but now have to share
> docs with other people. It's easier to point them to lyx. Also,
> I hadn't figured out yet how to do PDF bookmarks in that environment.
> 
> But I'm having a couple of problems:
> 
> (1) I've tried the linuxdoc and docbook templates, but have been
> unable to successfully include pictures.

  Could you show me  the log file? I suspect that the cause is a one line
bug where a 5 should be replaced by a 4.

  This will go in the next version and possibly the next fix release.
 
> I can include them and see them on the screen, but they're
> absent in the "View DVI" or "View PS".
> 
> That is, I go:
>   File/New from Template
>   name file
>   choose template "docbook_template.lyx"
>   insert figure (for instance, platypus clipart) at end
>   view DVI
> 
> Also, I get a bunch of error output to the console (see attached
> file lyx.log).

  You forgot the attachement. :)
 
> I'm sure I'm doing something wrong, but don't know what.
> 
> I can see the figures if I start with just a new document (not
> a docbook or linuxdoc).
> 
> (2) Also, I'd like to produce PDF output, with bookmarks automatically
> produced from my links and headings. How do I do this?

  Do you have sgmtools installed?
  Which version?
 
> I have tetex, sgmltools, and the 1.14 (patch 2) version of Lyx running
> on Redhat Linux 6.1 (2.3.42 kernel).
> 
> Thanks in advance...
> -- 
> Ned Konz
> currently: Stanwood, WA
> email: [EMAIL PROTECTED]
> homepage:  http://www.bike-nomad.com

-- 
José



Re: Introduction, PDF and docbook questions

2000-03-29 Thread Stephan E. Schlierf

On Wed, 29 Mar 2000, Ned Konz wrote:

> Hello all,
> 
> I've just discovered lyx and joined the list.
> 
> I like lyx, but have no particular interest in tex. I do need
> to produce SGML, HTML and PDF (at least) documentation.
> 
> I had been using troff and the -me macro package, just because
> of familiarity (I actually ran a commercial database typesetting
> business in the early '80's using troff), but now have to share
> docs with other people. It's easier to point them to lyx. Also,
> I hadn't figured out yet how to do PDF bookmarks in that environment.
> 
> But I'm having a couple of problems:
> 
> (1) I've tried the linuxdoc and docbook templates, but have been
> unable to successfully include pictures.
> 
> I can include them and see them on the screen, but they're
> absent in the "View DVI" or "View PS".
> 
> That is, I go:
>   File/New from Template
>   name file
>   choose template "docbook_template.lyx"
>   insert figure (for instance, platypus clipart) at end
>   view DVI
> 
> Also, I get a bunch of error output to the console (see attached
> file lyx.log).
> 
> I'm sure I'm doing something wrong, but don't know what.
> 
> I can see the figures if I start with just a new document (not
> a docbook or linuxdoc).
> 
> (2) Also, I'd like to produce PDF output, with bookmarks automatically
> produced from my links and headings. How do I do this?


Make sure you've installed a current Ghostscript release (should be 5.50
or later)

Include the follwoing line in your LaTeX preamble (via Layout -> LaTeX
preamble):

\usepackage[ps2pdf,pdftitle={what
you want},linktocpage,colorlinks=true]{hyperref}  <== one line

Export your file as a PS-file (File -> export -> as postscript)

Use the "ps2pdf"-tool to create a pdf-file, for example:

ps2pdf foo.ps foo.pdf

Enjoy your pdf-file (:-)

Regards,

Stephan

--
Stephan E. Schlierf M.A.
-  Product Management  -
PHONE:  ++49 9254 960632
FAX:++49 9254 960159
CSE GmbH Germany




Introduction, PDF and docbook questions

2000-03-29 Thread Ned Konz

Hello all,

I've just discovered lyx and joined the list.

I like lyx, but have no particular interest in tex. I do need
to produce SGML, HTML and PDF (at least) documentation.

I had been using troff and the -me macro package, just because
of familiarity (I actually ran a commercial database typesetting
business in the early '80's using troff), but now have to share
docs with other people. It's easier to point them to lyx. Also,
I hadn't figured out yet how to do PDF bookmarks in that environment.

But I'm having a couple of problems:

(1) I've tried the linuxdoc and docbook templates, but have been
unable to successfully include pictures.

I can include them and see them on the screen, but they're
absent in the "View DVI" or "View PS".

That is, I go:
File/New from Template
name file
choose template "docbook_template.lyx"
insert figure (for instance, platypus clipart) at end
view DVI

Also, I get a bunch of error output to the console (see attached
file lyx.log).

I'm sure I'm doing something wrong, but don't know what.

I can see the figures if I start with just a new document (not
a docbook or linuxdoc).

(2) Also, I'd like to produce PDF output, with bookmarks automatically
produced from my links and headings. How do I do this?

I have tetex, sgmltools, and the 1.14 (patch 2) version of Lyx running
on Redhat Linux 6.1 (2.3.42 kernel).

Thanks in advance...
-- 
Ned Konz
currently: Stanwood, WA
email: [EMAIL PROTECTED]
homepage:  http://www.bike-nomad.com