[fpc-devel] LaTeX docs to HTML

2009-09-04 Thread Graeme Geldenhuys
Hi

I know the current LaTeX documentation is converted to HTML using tex4ht
(I think). The conversion to HTML has always produced sub-optimal results.

I was browsing through the Ubuntu APT repository and came across this
program: HeVea
From there website it seems quite promising for LaTeX to HTML
conversion. As anybody tried this product before on the FPC documentation?

  http://pauillac.inria.fr/~maranget/hevea/


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] LaTeX docs to HTML

2009-09-04 Thread Vincent Snijders

Graeme Geldenhuys schreef:

Hi

I know the current LaTeX documentation is converted to HTML using tex4ht
(I think). The conversion to HTML has always produced sub-optimal results.

I was browsing through the Ubuntu APT repository and came across this
program: HeVea

From there website it seems quite promising for LaTeX to HTML

conversion. As anybody tried this product before on the FPC documentation?

  http://pauillac.inria.fr/~maranget/hevea/



At least it was discussed before:
http://www.hu.freepascal.org/lists/fpc-devel/2008-May/013793.html

Vincent
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] LaTeX docs to HTML

2009-09-04 Thread Tomas Hajny
On Fri, September 4, 2009 12:19, Marco van de Voort wrote:
 In our previous episode, Graeme Geldenhuys said:
 I know the current LaTeX documentation is converted to HTML using tex4ht
 (I think). The conversion to HTML has always produced sub-optimal
 results.

 I was browsing through the Ubuntu APT repository and came across this
 program: HeVea
 From there website it seems quite promising for LaTeX to HTML
 conversion. As anybody tried this product before on the FPC
 documentation?

   http://pauillac.inria.fr/~maranget/hevea/

 grep -i hevea in the doc directory would answer that question

However, note that it's been used a _long_ time ago if my memory serves
well (under Win32 platform in particular, IIRC) and that the associated
Hevea specific files in FPC repository may be considerably outdated.

Tomas


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] LaTeX docs to HTML

2009-09-04 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said:
 I know the current LaTeX documentation is converted to HTML using tex4ht
 (I think). The conversion to HTML has always produced sub-optimal results.

Btw, what are the problems with the current set on the site?
 
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] LaTeX docs to HTML

2009-09-04 Thread Graeme Geldenhuys
Michael,

I know you are a BIG LaTeX fan, so it will be a hard sell to change to
anything else. :-)  Anyway, here might be another solution. Ever heard
of PanDoc? It's a document parser that can convert from many text
formats to many other text formats.

Here is one example (and where I found out about PanDoc).
The author Scott Chacon wrote and published a book called Pro Git. You
can purchase it on Amazon. Apress has since released the book under the
Creative Commons license. So the author placed the original content on
GitHub.

Pro Git:   http://github.com/progit/progit

Amazingly, the complete book was written in MarkDown text formatting.
They used a small script which use PanDoc to generate a LaTeX output and
then processes that to a PDF. They also processed the original MarkDown
to HTML output - viewable on the website.

In both cases (PDF and HTML), they are very readable and easy to
navigate. I don't know PanDoc, but judging by the output it generate for
the Pro Git book, I am quite impressed.

Pro Git HTML book is online at:
   http://progit.org/book

Pro Git PDF book from LaTeX is at:
   http://netsoc.tcd.ie/~duairc/progit.en.pdf

You can obviously generate your own PDF version if you have PanDoc and
LaTeX installed.

Anyway, I just thought I would mention this. But for the FPC
documentation, I still prefer the PDF versions. The have a clean layout,
easy to use with hyperlink support and searchable.  Now I only need to
find a local printer in South Africa so I can get actual hard-copies of
them. I have a lot of eBooks I would like hard-copies of. :-(


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] Is lnet compilation working?

2009-09-04 Thread ABorka

Hi,

Trying to send emails and load web pages from Lazarus/FPC programs.

Since the latest Indy cannot be compiled and used in Lazarus/Freepascal 
at the moment (it seems at least so), I have tried to start using lNet.


However, it seems it does not compile either.
The lNet SVN gives:
.
.
.
Compiling ...\lNet_svn\lib\lcommon.pp
lcommon.pp(319,4) Warning: User defined: check these ambiguous errors
lcommon.pp(121,12) Error: Forward declaration not solved 
GetHostName6(const AnsiString):AnsiString;
lcommon.pp(122,12) Error: Forward declaration not solved 
GetHostIP6(const AnsiString):AnsiString;

lcommon.pp(498) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: ...\pp\bin\i386-win32\ppc386.exe returned an error exitcode 
(normal if you did not specify a source file to be compiled)



Tried to just unzip the lnet-0.6.2.zip file of lNet and run a make there 
too, got the following:


.
.
.
Compiling ...\lNet\lib\lspawnfcgi.pp
lwebserver.pp(645,53) Error: absolute can only be associated with a var 
or const
lwebserver.pp(654,27) Warning: Local variable lServerSocket does not 
seem to be initialized
lwebserver.pp(705,53) Error: absolute can only be associated with a var 
or const
lwebserver.pp(729,7) Warning: Local variable lServerSocket does not 
seem to be initialized
lwebserver.pp(877,52) Error: absolute can only be associated with a var 
or const

lwebserver.pp(1119,4) Warning: User defined: TODO
lwebserver.pp(1255) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted


Any help would be appreciated.

Thanks,

AB

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Is lnet compilation working?

2009-09-04 Thread Vincent Snijders

ABorka schreef:

Hi,

Trying to send emails and load web pages from Lazarus/FPC programs.

Since the latest Indy cannot be compiled and used in Lazarus/Freepascal 
at the moment (it seems at least so), I have tried to start using lNet.




Did you try with fpc 2.2.4?

Vincent
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Is lnet compilation working?

2009-09-04 Thread ABorka

No, just with the latest FPC/Lazarus SVN

Vincent Snijders wrote:

ABorka schreef:

Hi,

Trying to send emails and load web pages from Lazarus/FPC programs.

Since the latest Indy cannot be compiled and used in 
Lazarus/Freepascal at the moment (it seems at least so), I have tried 
to start using lNet.




Did you try with fpc 2.2.4?

Vincent
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel