View mode: basic / threaded / horizontal-split · Log in · Help
December 11, 2006
PDF verssion of D manuals
Hi,
http://sourceforge.net/project/showfiles.php?group_id=83044

is is an open source ANSI C PDF lib. I guess available on Win. and Linux. //
lib.a.so.dll

hth and hopefully not too OT
Bjoern
December 12, 2006
Re: PDF verssion of D manuals
Rather than writing to PDF directly, we'd probably be better off 
figuring out some DDoc macros to spit out [La]TeX, then using tex2pdf to 
create a PDF. I'd imagine this would be less painful in the long-run.

bls wrote:
> Hi,
> http://sourceforge.net/project/showfiles.php?group_id=83044
> 
> is is an open source ANSI C PDF lib. I guess available on Win. and Linux. //
> lib.a.so.dll
> 
> hth and hopefully not too OT
> Bjoern
> 
>
December 12, 2006
Re: PDF verssion of D manuals
Come to think of it, if nobody's already working on this, I'd be willing 
to take a shot. Anyone interested?

Jeff wrote:
> Rather than writing to PDF directly, we'd probably be better off 
> figuring out some DDoc macros to spit out [La]TeX, then using tex2pdf to 
> create a PDF. I'd imagine this would be less painful in the long-run.
> 
> bls wrote:
>> Hi,
>> http://sourceforge.net/project/showfiles.php?group_id=83044
>>
>> is is an open source ANSI C PDF lib. I guess available on Win. and 
>> Linux. //
>> lib.a.so.dll
>>
>> hth and hopefully not too OT
>> Bjoern
>>
>>
December 12, 2006
Re: PDF verssion of D manuals
Jeff wrote:
> Come to think of it, if nobody's already working on this, I'd be willing 
> to take a shot. Anyone interested?
> 

Feel free to start on it, the only reason I'll not doing it yet is that:
1) W hasn't distributed any source files that use only DDoc macros and
2) This is finals week here.

sometime later this week or next week, I plan to get started on a set of 
macros.
December 13, 2006
Re: PDF verssion of D manuals
Feel free!

Jeff wrote:
> Come to think of it, if nobody's already working on this, I'd be willing 
> to take a shot. Anyone interested?
> 
> Jeff wrote:
>> Rather than writing to PDF directly, we'd probably be better off 
>> figuring out some DDoc macros to spit out [La]TeX, then using tex2pdf 
>> to create a PDF. I'd imagine this would be less painful in the long-run.
>>
>> bls wrote:
>>> Hi,
>>> http://sourceforge.net/project/showfiles.php?group_id=83044
>>>
>>> is is an open source ANSI C PDF lib. I guess available on Win. and 
>>> Linux. //
>>> lib.a.so.dll
December 13, 2006
Re: PDF verssion of D manuals
BCS wrote:
> Jeff wrote:
>> Come to think of it, if nobody's already working on this, I'd be 
>> willing to take a shot. Anyone interested?
>>
> 
> Feel free to start on it, the only reason I'll not doing it yet is that:
> 1) W hasn't distributed any source files that use only DDoc macros and

I did put the doc sources up. They still have the odd use of html tags 
in them, but that shouldn't impeded getting the conversion macros worked 
out.

> 2) This is finals week here.
> 
> sometime later this week or next week, I plan to get started on a set of 
> macros.
December 13, 2006
Re: PDF verssion of D manuals
Walter Bright wrote:
> BCS wrote:
> 
>> Jeff wrote:
>>
>>> Come to think of it, if nobody's already working on this, I'd be 
>>> willing to take a shot. Anyone interested?
>>>
>>
>> Feel free to start on it, the only reason I'll not doing it yet is that:
>> 1) W hasn't distributed any source files that use only DDoc macros and
> 
> 
> I did put the doc sources up. They still have the odd use of html tags 
> in them, but that shouldn't impeded getting the conversion macros worked 
> out.
> 

I guess I could do a few conversions. I was kinda hoping to get a 
"official" version to work with, but oh well. If I get any conversion 
done, I'll post the converted version for you and anyone else to use.

p.s. If anyone has converted any of the files, I would like to get a 
copy of it.
December 13, 2006
Re: PDF verssion of D manuals
BCS wrote:
> Walter Bright wrote:
>> I did put the doc sources up. They still have the odd use of html tags 
>> in them, but that shouldn't impeded getting the conversion macros 
>> worked out.
>>
> 
> I guess I could do a few conversions. I was kinda hoping to get a 
> "official" version to work with, but oh well. If I get any conversion 
> done, I'll post the converted version for you and anyone else to use.
> 
> p.s. If anyone has converted any of the files, I would like to get a 
> copy of it.

Just pick one or two of the files to develop the technique. Once that 
works, we can fix the rest.
December 14, 2006
Re: PDF verssion of D manuals
Walter Bright wrote:
> 
> 
> Just pick one or two of the files to develop the technique. Once that 
> works, we can fix the rest.

Here is the first attack


PDFs here:

http://www.webpages.uidaho.edu/~shro8822/type.pdf

The table environment is proving hard to deal with. Also, it's looking 
like Ddoc is going to need some sort of find-and-replace for escaping 
special strings (think SED).

and here:

http://www.webpages.uidaho.edu/~shro8822/glossary.pdf
December 14, 2006
Re: PDF verssion of D manuals
BCS wrote:
> Here is the first attack

It's a good start. If you can write up the roadblocks you're 
encountering, I can try and figure out a way to deal with them.
« First   ‹ Prev
1 2 3
Top | Discussion index | About this forum | D home