From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 18:59:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6BED1065675 for ; Tue, 26 Oct 2010 18:59:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id A73C48FC15 for ; Tue, 26 Oct 2010 18:59:26 +0000 (UTC) Received: from r55.edvax.de (port-92-195-16-227.dynamic.qsc.de [92.195.16.227]) by mx02.qsc.de (Postfix) with ESMTP id 09A5E1EBC4; Tue, 26 Oct 2010 20:59:24 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o9QIxOGG001496; Tue, 26 Oct 2010 20:59:24 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 26 Oct 2010 20:59:24 +0200 From: Polytropon To: Liontaur Message-Id: <20101026205924.91748d4c.freebsd@edvax.de> In-Reply-To: References: <20101026182958.GA3646@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: Is there any way of transfering my excellent PDF file into plain HTML X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2010 18:59:27 -0000 On Tue, 26 Oct 2010 11:38:20 -0700, Liontaur wrote: > Related but slightly OT, I've never had much luck getting it the other way > around, HTML to PDF. It's often off a bit. I can't remember off the top of > my head what ports i've tried but yea. Either the images are wonky or my > forms go wonky. This is simply because HTML is not typesetting-capable. Depending on the source of the PDF file, it may help to convert from THAT format instead from PDF. E. g. if you have a .tex (LaTeX) file that has been the source of the PDF file, you can use a converter from LaTeX to HTML, often with acceptable results. The HTML concept, especially when incorporating CSS for formatting, _can_ be used to gain a bit typographic quality, e. g. by defining parameters for "screen" and for "printed" media. Still it suffers from things like maintaining good grey values, hypenation and ligatures. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...