Author Topic: CodeBlocks User Manual  (Read 47110 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: CodeBlocks User Manual
« Reply #15 on: March 30, 2020, 11:31:19 am »
Thank you! I'll look into it. Probably we should finally replace the docs on the homepage with this one or at least provide both...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
Re: CodeBlocks User Manual
« Reply #16 on: March 30, 2020, 03:03:14 pm »
Here is a link to the full html version : here
You can also directly download the chm generated manual in English  here or the french one  here:D

gd_on

PS : it may be necessary to unlock .chm files in the Windows file properties to be able to visualize their contents.
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: CodeBlocks User Manual
« Reply #17 on: March 30, 2020, 05:44:07 pm »
Here is a link to the full html version : here
I'll have to find a way how to update this easily. I can only upload files one-by-one at the moment... :-/
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: CodeBlocks User Manual
« Reply #18 on: August 19, 2021, 01:48:31 am »
I have been able to build the HTML, HTMlWeb, PDF and CHM documentation using the info in the post from gd_on.

I used basic-miktex as for the LaTeX conversions. I found in my setup that the issue with the graphics was caused by the default graphics including the width and height in the HTML file, which I changed by changing the following in the htmlweb.cfg and html.cfg  files as follows:

OLD:
\Configure{Picture}{.png}
NEW
\Configure{graphics*}{png}{\Needs{\string"\csname Gin@base\endcsname.png \csname Gin@base\endcsname.png\string"}%
          \Picture[PIC]{\csname Gin@base\endcsname.png}%

Instead of manually modifying the web HTML files to remove the TOC in the Web main_codeblocks_en3.html file I created copy of the main_codeblocks_en.tex and removed the TOC and used this for the web html generation.

I did not find a way of automating the CHM generation, so I used the HelpNDoc method.

Attached is my work in progress readme.txt file that I have updated with the instructions I used to generate the docs. The zip file contains the updated/new batch and tex files that go with the readme.txt.

This is the first time I have done any work with LaTeX and as such the changes may be totally wrong or correct, but I have no idea so let me know.

If this is reasonable should I create a ticket for getting the files into the sourceforge SVN doc repo?

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
Re: CodeBlocks User Manual
« Reply #19 on: August 19, 2021, 11:40:12 am »
Cool.
May be you could add your modified .cfg files.

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: CodeBlocks User Manual
« Reply #20 on: August 19, 2021, 12:09:51 pm »
Attached is an updated ZIP that includes the two config files and readme.txt files now.

In a few weeks when I have some time to work on C:B:B again I will have a look at the building under windows section and see how I can update/enhace it so it is up to date and new developers can follow it to build C::B under windows instead of searching the WIKI and maybe hitting a good page or not. I may borrow some details from the wxPBGuide.pdf (https://forums.codeblocks.org/index.php/topic,24252.msg165332.html#msg165332) as it is easy to follow for building wxWidget on Windows or I may reference it for building wxWidget.