From ml13 at onlinehome.de Sat Oct 7 11:21:35 2006 From: ml13 at onlinehome.de (Kilian Sprotte) Date: Sat, 7 Oct 2006 13:21:35 +0200 Subject: [cl-typesetting-devel] umlauts Message-ID: Hi, in order to have some fun writing my diploma thesis, I have started using Peters markup package. Sorry, if this is a little off-topic and also not knowing much about typesetting in general, but I just wanted to ask you about german umlauts... I am doing this on unicode enabled sbcl, so I thought its easiest to write my markup in utf-8 encoding, since this seems to be sbcl default format for reading in the file. So far so good - html works easily after adding a little encoding information to the header - but now I do not know what to do for the pdf... I thought maybe setting (setq pdf::*default-encoding* :unicode- encoding) is a good idea, but then I get the following error: Rendering test-utf8.txt as PDF...unhandled SIMPLE-ERROR: There is no applicable method for the generic function # when called with arguments (#). I would be grateful for any hints. Thanks, Kilian From marc.battyani at fractalconcept.com Sat Oct 14 08:24:50 2006 From: marc.battyani at fractalconcept.com (Marc Battyani) Date: Sat, 14 Oct 2006 10:24:50 +0200 Subject: [cl-typesetting-devel] umlauts References: Message-ID: <094301c6ef6a$3783bc70$1402a8c0@marcx2> "Kilian Sprotte" wrote: > in order to have some fun writing my diploma thesis, I have started > using Peters markup package. Sorry, if this is a little off-topic and > also not knowing much about typesetting in general, but I just wanted > to ask you about german umlauts... > > I am doing this on unicode enabled sbcl, so I thought its easiest to > write my markup in utf-8 encoding, since this seems to be sbcl > default format for reading in the file. > > So far so good - html works easily after adding a little encoding > information to the header - but now I do not know what to do for the > pdf... > > I thought maybe setting (setq pdf::*default-encoding* :unicode- > encoding) is a good idea, but then I get the following error: > > Rendering test-utf8.txt as PDF...unhandled SIMPLE-ERROR: > There is no applicable method for the generic function > # > when called with arguments > (#). > > I would be grateful for any hints. [sorry for the reply delay] Have you found a solution for this since then? Marc From ml13 at onlinehome.de Sat Oct 14 08:40:08 2006 From: ml13 at onlinehome.de (Kilian Sprotte) Date: Sat, 14 Oct 2006 10:40:08 +0200 Subject: [cl-typesetting-devel] umlauts In-Reply-To: <094301c6ef6a$3783bc70$1402a8c0@marcx2> References: <094301c6ef6a$3783bc70$1402a8c0@marcx2> Message-ID: <4194C636-C4F6-4CD0-848E-EA84CD28165E@onlinehome.de> Am 14.10.2006 um 10:24 schrieb Marc Battyani: > "Kilian Sprotte" wrote: >> in order to have some fun writing my diploma thesis, I have >> started using Peters markup package. Sorry, if this is a little >> off-topic and also not knowing much about typesetting in general, >> but I just wanted to ask you about german umlauts... >> I am doing this on unicode enabled sbcl, so I thought its easiest >> to write my markup in utf-8 encoding, since this seems to be >> sbcl default format for reading in the file. >> So far so good - html works easily after adding a little encoding >> information to the header - but now I do not know what to do for >> the pdf... >> I thought maybe setting (setq pdf::*default-encoding* :unicode- >> encoding) is a good idea, but then I get the following error: >> Rendering test-utf8.txt as PDF...unhandled SIMPLE-ERROR: >> There is no applicable method for the generic function >> # >> when called with arguments >> (#). >> I would be grateful for any hints. > > [sorry for the reply delay] > > Have you found a solution for this since then? Only one that you would not like to hear about.... So admittedly, I have not played around with this any longer and don't need a solution for it right now.... But of course, I would be curious to know, if I have just overseen something... Cheers, Kilian From marc.battyani at fractalconcept.com Sat Oct 14 09:00:41 2006 From: marc.battyani at fractalconcept.com (Marc Battyani) Date: Sat, 14 Oct 2006 11:00:41 +0200 Subject: [cl-typesetting-devel] umlauts References: <094301c6ef6a$3783bc70$1402a8c0@marcx2> <4194C636-C4F6-4CD0-848E-EA84CD28165E@onlinehome.de> Message-ID: <097c01c6ef6f$39fba800$1402a8c0@marcx2> "Kilian Sprotte" wrote: > Am 14.10.2006 um 10:24 schrieb Marc Battyani: > >> Have you found a solution for this since then? > > Only one that you would not like to hear about.... > So admittedly, I have not played around with this any longer and > don't need a solution for it right now.... > But of course, I would be curious to know, if I have just > overseen something... Well I suspected something like that. This is why I asked you before even looking at the problem... ;-) Marc From jcm at FreeBSD-uk.eu.org Fri Oct 20 17:01:36 2006 From: jcm at FreeBSD-uk.eu.org (Jonathon McKitrick) Date: Fri, 20 Oct 2006 18:01:36 +0100 Subject: [cl-typesetting-devel] Including charts in content Message-ID: <20061020170136.GB46698@dogma.freebsd-uk.eu.org> I have a page that I render in 3 parts, with draw-block, draw-object, then draw-block. Each one has x, y, dx, dy separately set up, of course. Is there a way to add a pdf graph as a part of the block? I saw user-drawn-box, is that the best way, or is there another? Jonathon McKitrick -- My other computer is your Windows box. From jcm at FreeBSD-uk.eu.org Fri Oct 20 18:13:41 2006 From: jcm at FreeBSD-uk.eu.org (Jonathon McKitrick) Date: Fri, 20 Oct 2006 19:13:41 +0100 Subject: [cl-typesetting-devel] Question about vfill? Message-ID: <20061020181340.GA47151@dogma.freebsd-uk.eu.org> What exactly does :vfill do? I thought it was there to fill out space to the end of the page, but that clearly isn't correct. Jonathon McKitrick -- My other computer is your Windows box. From marc.battyani at fractalconcept.com Fri Oct 20 18:55:16 2006 From: marc.battyani at fractalconcept.com (Marc Battyani) Date: Fri, 20 Oct 2006 20:55:16 +0200 Subject: [cl-typesetting-devel] Including charts in content References: <20061020170136.GB46698@dogma.freebsd-uk.eu.org> Message-ID: <02fd01c6f479$483dd5f0$1402a8c0@marcx2> "Jonathon McKitrick" wrote: > > I have a page that I render in 3 parts, with draw-block, draw-object, then > draw-block. Each one has x, y, dx, dy separately set up, of course. Is > there > a way to add a pdf graph as a part of the block? I saw user-drawn-box, is > that the best way, or is there another? Yes, it's the correct way of doing it. You can look at the examples. Marc From jcm at FreeBSD-uk.eu.org Sun Oct 22 05:10:12 2006 From: jcm at FreeBSD-uk.eu.org (Jonathon McKitrick) Date: Sun, 22 Oct 2006 06:10:12 +0100 Subject: [cl-typesetting-devel] Multi-page content Message-ID: <20061022051012.GA60877@dogma.freebsd-uk.eu.org> I've finally been forced to deal with content that I cannot guarantee can fit on one page. What is the technique to assemble content, then output it onto pages, possibly with headers and footers on each page? Jonathon McKitrick -- My other computer is your Windows box. From alemmens at xs4all.nl Sun Oct 22 13:30:28 2006 From: alemmens at xs4all.nl (Arthur Lemmens) Date: Sun, 22 Oct 2006 15:30:28 +0200 Subject: [cl-typesetting-devel] Multi-page content In-Reply-To: <20061022051012.GA60877@dogma.freebsd-uk.eu.org> References: <20061022051012.GA60877@dogma.freebsd-uk.eu.org> Message-ID: Jonathon McKitrick wrote: > I've finally been forced to deal with content that I cannot guarantee can fit > on one page. What is the technique to assemble content, then output it onto > pages, possibly with headers and footers on each page? Have a look at the multi-page-example in test.lisp. Arthur Lemmens From jcm at FreeBSD-uk.eu.org Sun Oct 22 21:14:53 2006 From: jcm at FreeBSD-uk.eu.org (Jonathon McKitrick) Date: Sun, 22 Oct 2006 22:14:53 +0100 Subject: [cl-typesetting-devel] Including charts in content In-Reply-To: <02fd01c6f479$483dd5f0$1402a8c0@marcx2> References: <20061020170136.GB46698@dogma.freebsd-uk.eu.org> <02fd01c6f479$483dd5f0$1402a8c0@marcx2> Message-ID: <20061022211452.GA65900@dogma.freebsd-uk.eu.org> On Fri, Oct 20, 2006 at 08:55:16PM +0200, Marc Battyani wrote: : >a way to add a pdf graph as a part of the block? I saw user-drawn-box, is : >that the best way, or is there another? : : Yes, it's the correct way of doing it. : You can look at the examples. Hey Marc, are there any plans to work on the graphing in cl-pdf? I saw a few comments that could happen, so I'm wondering how concerned I should be that there might be some changes that could break what I've done so far, or some improvements that would warrant refactoring some of what I've done in my current project. Jonathon McKitrick -- My other computer is your Windows box.