World: r3wp
[PDF-Maker] discuss Gabriele's pdf-maker
older newer | first last |
Gabriele 4-Aug-2006 [159x3] | (for those interested: http://www.colellachiara.com/soft/PDFM2/typesetter.html however I suggest you waiting for when the docs are finished) |
Henrik: that can't be done, you need low level font access for text flow. and you can't do footers or text flow without that. | |
i meant footers or automatic page splitting. | |
james_nak 4-Aug-2006 [162] | Hey, how about that MakeDoc? Gabriel, your typesetter page looks great. |
Henrik 4-Aug-2006 [163] | gabriele, I was more thinking about general page layout, not the lower level text flow functions, so you can decide a general template for your pages on your own. |
Gabriele 4-Aug-2006 [164] | of course, you decide the layout. you can make text go from one textbox to another and so on. you can place the textboxes anywhere. |
Henrik 4-Aug-2006 [165] | that's what I would like to see pre-prepared on a higher level |
Gabriele 4-Aug-2006 [166x5] | i.e. it's much more flexible than TeX actually, however there are a number of drawbacks; you can't apply a fit algorithm to pages (boxes in this case) if they are not all the same width. |
if they are all the same width, though, it's possible to use the total-fit algo on page splitting too, meaning we get something much better than TeX. | |
higher level: well, the first application of the pdfm2 will be a qml emitter, and i guess the second will be a md3 emitter. | |
so you can create books or magazines with just makedoc or qml. :) | |
(otoh, we're not using metafont, so TeX is still going to look better in most cases.) | |
Robert 4-Aug-2006 [171] | I'm going to add a MDP emitter as well :-)) Looks very good!! |
Henrik 5-Aug-2006 [172] | this question might not entirely be related to PDF Maker, but I had an idea of using Pages for MacOSX to create pretty PDF documents with areas where text can be put in by a separate program and then create a new PDF (not X-Forms) for printing. This would require the ability to search/replace text in PDFs. Is this possible with compressed PDFs? |
Gabriele 5-Aug-2006 [173] | you have to parse it out and rebuild it. (or at least recreate some objects and append them as a change, but then you have both the original and the new version in the file) |
Henrik 5-Aug-2006 [174] | no easy task it seems... |
Gabriele 11-Aug-2006 [175x3] | just typeset the first paragraph with the total-fit algo and actual font metrics. now i just add some page breaking (first fit), add the pdf file output from previous version, and i've got an alpha to test. :) (i'll be on vacation next week so this probably means the alpha will be available after that) |
if you want to play (at your own risk! it still does nothing useful), http://www.colellachiara.com/soft/PDFM2/ | |
(note, i'll be doing more changes during the afternoon) | |
Pekr 11-Aug-2006 [178] | there is so many MLs around, that one starts to lose himself in the current situation :-) |
Gabriele 11-Aug-2006 [179] | the pdf maker is not a markup language :) it's a (rather low level) dialect. you generally want to hook up higher level mls to it (like makedoc and qml) |
Pekr 11-Aug-2006 [180] | what is wetan then (or what was the name)? :-) |
Gabriele 11-Aug-2006 [181] | wetan is an emitter for makedoc. so the ml is still makedoc basically :) |
Gabriele 24-Aug-2006 [182] | first results of the typesetter: http://www.colellachiara.com/soft/PDFM2/test.pdf |
Volker 24-Aug-2006 [183] | Looks good. |
Anton 24-Aug-2006 [184] | Yep, looks good. |
Henrik 24-Aug-2006 [185] | I don't have anything to say, so I'm just going to agree with Volker and Anton :-) |
Pekr 25-Aug-2006 [186] | hmm, looked at PDF, what is special about two columns output? :-) Disclaimer - I know completly nothing about what typesetting is, so bear with me please :-) |
Graham 25-Aug-2006 [187x5] | pdf maker - you have had to specify exactly where the text went. |
Now pdf-maker2 appears you to allow text to flow from one place to another .. which is important if you don't know how much text you are starting with. | |
the example is also showing full justification, and hyphenation which is new. | |
what we also need to see is different font styles within the columns of text. | |
while still preserving justification and hyphenation, and text flow | |
Pekr 25-Aug-2006 [192] | what is hyphenation, please? division of words at the end of line? |
Graham 25-Aug-2006 [193x2] | to insert a hyphen into a word to split the word up |
eg hyphen-ation | |
Pekr 25-Aug-2006 [195] | ok, thanks :-) |
Gabriele 25-Aug-2006 [196x3] | graham: i'm not using a dictionary, and i'm not sure i want to do that in the pdf maker. i think it's more low level than that. otoh, doing so could provide some optimization (don't hypenate if it's not needed, like TeX does), so i'm not completely against it. |
currently you insert soft-hypens in the dialect and the typesetter decides if it should use it or not. | |
i'm going to play with the penalties and demerits for hypens to see if i can get a better output; however the columns in the test are pretty small so it's hard to get a good ouput anyway. | |
Graham 25-Aug-2006 [199] | hyphenation dictionaries use small tables of characters to decide where to put the hyphens |
Gabriele 25-Aug-2006 [200] | also notice that the columns have a different width (i think TeX can't do this, not easily at least) |
Graham 25-Aug-2006 [201] | I noticed that. |
Gabriele 25-Aug-2006 [202] | i think TeX has a very good hypenation algorithm (at least it was the best at the time) |
Graham 25-Aug-2006 [203] | Yes, I'm using it |
Gabriele 25-Aug-2006 [204] | yet it's something for higher level dialects to do imho. i.e. makedoc would do that. |
Graham 25-Aug-2006 [205] | Not sure .. I think I would want to see it at the pdf-maker level |
Gabriele 25-Aug-2006 [206] | that means the pdf maker has to be aware of the language of any paragraph (or part of paragraph) and so on. |
Graham 25-Aug-2006 [207] | localised versions :) |
Gabriele 25-Aug-2006 [208] | imagine you want to typeset a sentence in english that quotes a sentence in italian... |
older newer | first last |