Is it possible to create PDFs using a command line? *nix or PC OS?
I need to convert SGML files to PDF without using EPIC Editor. I'm
trying to establish a case to build PDF files and develop in a
UNIX/Linux environment. No, I don't hate Windows--I use it at home. We
use Solaris systems at work to file and organize our SGML files. We use
EPIC Editor in Windows because have to use Adobe Acrobat version 6 --
it's a long story but we have to use version 6 and we're having a lot
of Windows XP/UNIX network rights problems.
My immediate solution is to get rid of the PCs and to simply use a UNIX
environment. But I need to publish technical documents -- thousands of
them -- in PDF format.
And, of course, I have a limited budget, very limited. So limited that
I'm looking to Open source solutions to build my proof of concept.
Thanks,
alex@techdoc
|
|
0
|
|
|
|
Reply
|
alex.cordero (14)
|
4/13/2006 2:38:21 PM |
|
Hi,
On 13 Apr 2006 07:38:21 -0700 "ac@techDoc" <alex.cordero@gmail.com>
wrote:
> Is it possible to create PDFs using a command line? *nix or PC OS?
When this should be interpreted as "convert some files to PDF": yes, of
course. Why would a GUI be needed for that?
> I need to convert SGML files to PDF without using EPIC Editor.
Have a look at openjade (http://openjade.sourceforge.net/) and jadetex
(http://jadetex.sourceforge.net/).
> And, of course, I have a limited budget, very limited. So limited that
> I'm looking to Open source solutions to build my proof of concept.
Google should really, really help you. And since your problem seems
more related to SGML than to PDF, I'd suggest asking in comp.text.sgml,
too.
-hwh
|
|
0
|
|
|
|
Reply
|
Hans
|
4/13/2006 3:28:44 PM
|
|
>When this should be interpreted as "convert some files to PDF": yes, of
>course. Why would a GUI be needed for that?
Not that we 'have' to have a GUI. But presently the people I have to
put this together for like using the Adobe Acrobat GUI because they're
also bookmarking in it. Something else that I have to automate at a
later date.
thanks Hans. I hadn't thought of the SGML group. I'll take a look at
those Jade tools.
-ac@TechDoc
|
|
0
|
|
|
|
Reply
|
ac
|
4/13/2006 3:48:30 PM
|
|
I don't know if xpdf takes SGML as input but you might look into to.
Search google with: +download +xpdf
|
|
0
|
|
|
|
Reply
|
A
|
4/13/2006 4:04:10 PM
|
|
A Man <uce@ftc.gov> writes:
> I don't know if xpdf takes SGML as input but you might look into to.
> Search google with: +download +xpdf
xpdf doesn't generate PDF files... it interprets and displays them.
--
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
|
|
0
|
|
|
|
Reply
|
Micah
|
4/13/2006 10:15:28 PM
|
|
ac@techDoc wrote:
> Is it possible to create PDFs using a command line? *nix or PC OS?
>
> I need to convert SGML files to PDF without using EPIC Editor. I'm
> trying to establish a case to build PDF files and develop in a
> UNIX/Linux environment. No, I don't hate Windows--I use it at home. We
> use Solaris systems at work to file and organize our SGML files. We use
> EPIC Editor in Windows because have to use Adobe Acrobat version 6 --
> it's a long story but we have to use version 6 and we're having a lot
> of Windows XP/UNIX network rights problems.
>
> My immediate solution is to get rid of the PCs and to simply use a UNIX
> environment. But I need to publish technical documents -- thousands of
> them -- in PDF format.
>
> And, of course, I have a limited budget, very limited. So limited that
> I'm looking to Open source solutions to build my proof of concept.
Making a PDF from PostScript is easy; the open source way is to use
GhostScript.
The issue that you will have is typesetting the SGML. It has to be
transformed into typesetting instructions that can be used to set type and
makeup pages. These eventually get turned into PS/PDF. Whether these stages
are explicit, and you unix pipe them together or hidden in a shrinkwrapped
product is a different issue.
What sort of typesetting quality do you want?
--
Eric
|
|
0
|
|
|
|
Reply
|
Eric
|
4/14/2006 7:40:02 AM
|
|
On Thu, 13 Apr 2006, ac@techDoc wrote:
> Is it possible to create PDFs using a command line? *nix or PC OS?
This is routine, and is used for many technical books, journals, reports,
etc. Read up on the American Math Society's electronic document program.
> I need to convert SGML files to PDF without using EPIC Editor. I'm
> trying to establish a case to build PDF files and develop in a
> UNIX/Linux environment. No, I don't hate Windows--I use it at home. We
> use Solaris systems at work to file and organize our SGML files. We use
> EPIC Editor in Windows because have to use Adobe Acrobat version 6 --
> it's a long story but we have to use version 6 and we're having a lot
> of Windows XP/UNIX network rights problems.
>
> My immediate solution is to get rid of the PCs and to simply use a UNIX
> environment. But I need to publish technical documents -- thousands of
> them -- in PDF format.
ConTeXt is used for this, and many documents are produced in multiple
forms (e.g., screen and print) from the same source. The command-line
tool is texexec:
$ man texexec
[...]
--convert=FORMAT
Convert the input file to ConTeXt format from FORMAT before pro-
cessing. In most cases, this conversion will result in a TeX
file. Currently supported input FORMATs are xml and sgml.
ConTeXt uses pdftex to convert the TeX file to pdf format. This is a very
good batch formatter with microtypographic capabilities. When my wife
took a document formatted with TeX to her printer he remarked that it had
been years since he'd seen a document formatted as nicely.
The DocBook system is another SGML based tool that can generate pdf's via
pdftex. My understanding is that some large commercial publishers have
in-house production systems using SGML sources and ultimately feeding a
TeX formatting engine.
> And, of course, I have a limited budget, very limited. So limited that
> I'm looking to Open source solutions to build my proof of concept.
There are some outstanding examples on the ConTeXt web site
<http://www.pragma-ade.com>. This site produces shock and awe in
people who work for Adobe; M$ employees turn green after viewing these
documents.
--
George N. White III <aa056@chebucto.ns.ca>
|
|
0
|
|
|
|
Reply
|
George
|
4/14/2006 12:13:57 PM
|
|
If your SGML files are valid XML files (:>) then try XSL-FO from Apache
or AntennaHouse.
Regards
Dominic
|
|
0
|
|
|
|
Reply
|
Aqua
|
4/15/2006 3:15:19 AM
|
|
|
7 Replies
210 Views
(page loaded in 0.155 seconds)
Similiar Articles: Command line options for Acrobat - comp.text.pdfHello, Are there any (DOS) command line options for Acrobat (Reader) that I could use for printing (at a certain point in time) just one copy a PDF ... Acrord32 command line arguments - comp.text.pdfHi you all! I need to launch via script, command line or vb code the adobe pdf reader, positioning the opened document in a page containing a string ... Automating Cute PDF? - comp.text.pdfSorry, I might have asked this before. Is there a way to execute CutePDF from command line? I mean, is there a way to send parameters / data / list ... Rotate a pdf using command line in linux - comp.text.pdf ...Hi, Is there a way for me to rotate a PDF using a command line tool in Linux? I am producing a pdf from a .fig file using fig2dev but the output get... PDF => Text in command line - comp.text.pdfHi, Is there a program available with wich I can put PDF files in a text file trough a command line? Thanks Joris ... Printing pdf with acrord32 from windows command line - comp.text ...Hi, when I use the default windows printer the syntax is like: acrord32 /p /h c:/test/test.pdf but what is the syntax when I want to choose a printe... convert any file to pdf by command line - comp.text.pdfHi, I need a software (free is better...) which allow me to convert any file to pdf by command line. Would you know anyone? Thanks for you reply! ... Populate form-fillable pdf from command line - comp.text.pdf ...I'd like to make a form-fillable pdf, fill in some fields with a command- line script and save the result (still fillable). The idea is to fill in r... how to print a pdf file in command prompt in Win xp? - comp.text ...Hi all, I am using Windows Xp with acrobat reader installed. Can I print a pdf file in commond prompt(by type a command only)? thanks. ... Automating Acrobat PDF to JPG conversion via COM ? - comp.text.pdf ...Command line options for Acrobat - comp.text.pdf Automating Acrobat PDF to JPG conversion via COM ? - comp.text.pdf ... Command line options for Acrobat - comp.text.pdf ... Command Line PDF Printing | CLPrint - Home PageCLPrint is the command line pdf printer which enables you to print all your PDF documents from the commandline with a simple interface. It is easy to use and affordable.. Coherent PDF Command Line Tools and .NET ToolsPDF Command Line Tools and .NET Tools : Split, Merge, Encrypt, Scale, Stamp, Bookmark, Add Text etc. Windows, Mac and Linux. Get Free Trial 7/22/2012 1:55:10 AM
|