Recent

Author Topic: [Solved] How to get latest doc of FPC?  (Read 1357 times)

ikel

  • New Member
  • *
  • Posts: 26
[Solved] How to get latest doc of FPC?
« on: August 06, 2019, 10:14:40 pm »
Hi,

The doc here -- https://www.freepascal.org/docs.html -- has the 2017 version.
The one with Lazarus is dated 2018. Not sure if this is the latest of not.

How do I get the HTML version of the latest doc?
My purpose is to publish a copy on my website and change the formatting/layout a little to make reading (for me) easier.

Thanks!
« Last Edit: August 07, 2019, 05:06:30 am by ikel »

Thaddy

  • Hero Member
  • *****
  • Posts: 14204
  • Probably until I exterminate Putin.
Re: How to get latest doc of FPC?
« Reply #1 on: August 06, 2019, 10:19:41 pm »
The docs always matches the release version.
If you want later docs, like 3.2.0 or current trunk, you have to build the docs from source.
That is NOT recommended, because of all the new features. Stick to the release version, 3.0.4.

Also note the doc sources are in TeX so you can reformat to your heart's content.

(That is actually a cruel remark for Windows programmers, but true)
« Last Edit: August 07, 2019, 08:12:34 am by Thaddy »
Specialize a type, not a var.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: How to get latest doc of FPC?
« Reply #2 on: August 06, 2019, 11:47:47 pm »
The docs always matches the release version.
If you want later docs, like 3.2.0 or current trunk, you have to build the docs from source.

Actually it is quite doable.

Quote
Also note the doc sources are in TeX so you can reformat to your heart's content.

Most are in fpdoc, not latex. Only the user/prog/ref manual are in latex.

I occasionally create  snapshots for chm and put them at http://www.stack.nl/~marcov/doc-chmbeta.zip 

ikel

  • New Member
  • *
  • Posts: 26
Re: How to get latest doc of FPC?
« Reply #3 on: August 07, 2019, 05:06:08 am »
Thanks marcov and Thaddy for the info; I didn't know you could get the latest doc using tex and fpcdoc. 

Also, I've just realised we can download the HTML doc of fpc 3.0.4 from

https://sourceforge.net/projects/freepascal/files/Documentation/3.0.4/


Thaddy

  • Hero Member
  • *****
  • Posts: 14204
  • Probably until I exterminate Putin.
Re: How to get latest doc of FPC?
« Reply #4 on: August 07, 2019, 08:11:32 am »
Most are in fpdoc, not latex. Only the user/prog/ref manual are in latex.
I was referring to  user/prog/ref manual  These are to me the important ones.
That is quite doable, except on Windows. (may be me: I never succeeded, where I always succeed on Linux)
Specialize a type, not a var.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: How to get latest doc of FPC?
« Reply #5 on: August 07, 2019, 12:30:44 pm »
Also note the doc sources are in TeX so you can reformat to your heart's content.
Nice to hear this, although I used to work with TeX extensively almost 30 years ago.  ;)
And unlike many, I always preferred TeX over LaTeX...
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: [Solved] How to get latest doc of FPC?
« Reply #6 on: August 22, 2019, 01:24:46 pm »
It's latex not tex, but a default install of a latex distro like texlive can compile them nowadays. Just latex to html is a bit more involved.

I think you can generate pdfs of the latex docs also on windows with some effort.


 

TinyPortal © 2005-2018