Re: [Haskell-cafe] Re: PDF generation?

2010-06-07 Thread Brandon S. Allbery KF8NH

should have included this in previous...

On Jun 5, 2010, at 10:37 , Maciej Piechotka wrote:

For example PDF can have hyper-links (both to local and external
content). It can be scripted in JavaScript (don't ask me why) and can
have form (OK. So I can fill them and print probably).



The only thing that stops PostScript from doing this is that it's  
almost always used with devices where neither feature is useful.   
Indeed, PostScript is fully network capable in theory; in practice I  
doubt many printers implement the entire I/O model.


--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon universityKF8NH




PGP.sig
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: PDF generation?

2010-06-07 Thread Ivan Miljenovic
On 6 June 2010 00:37, Maciej Piechotka  wrote:
>
> PDF is not just simplified, compressed encoding of PostScript. Or at
> least - LaTeX have some features PDF-only.
>
> For example PDF can have hyper-links (both to local and external
> content). It can be scripted in JavaScript (don't ask me why) and can
> have form (OK. So I can fill them and print probably).

The form stuff is also for online submission, and the javascript
allows editing of what is possible.

For example (requires Adobe Reader plugin, which I don't have and thus
haven't seen it myself) this form (I believe) auto-fills in some
details and saves a copy online, etc.:
https://forms.australia.gov.au/forms/aec/Electoral%20enrolment/

>
> Regards
>
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>



-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: PDF generation?

2010-06-07 Thread Brandon S. Allbery KF8NH

On Jun 5, 2010, at 10:37 , Maciej Piechotka wrote:

PDF is not just simplified, compressed encoding of PostScript. Or at
least - LaTeX have some features PDF-only.


I think that has more to do with the fact that pdftex/pdflatex is  
tightly integrated with a dvi converter that understands many PDF- 
specific \special{}s.


--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon universityKF8NH




PGP.sig
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: PDF generation?

2010-06-07 Thread Maciej Piechotka
On Tue, 2010-06-01 at 21:45 +0300, Yitzchak Gale wrote:
> I wrote:
> >> I have often generated PostScript from Haskell...
> >> Then you convert the PS to PDF using any of the nice
> >> utilities around for that
> 
> Pierre-Etienne Meunier wrote:
> > Isn't there a problem with non-type 1 vectorial fonts being
> > rasterized during this conversion ?
> 
> No.
> 
> PDF is just a simplified, compressed encoding of PostScript.
> Unless there is some special reason to do so, why would
> a conversion utility go to the trouble of rasterizing fonts
> instead of just copying them in?
> 
> Perhaps something like ImageMagick might do that; its
> internal format is a raster.
> 
> Regards,
> Yitz

PDF is not just simplified, compressed encoding of PostScript. Or at
least - LaTeX have some features PDF-only.

For example PDF can have hyper-links (both to local and external
content). It can be scripted in JavaScript (don't ask me why) and can
have form (OK. So I can fill them and print probably). 

Regards 


signature.asc
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe