Export source code for use on MS-word ?

Started by silis, February 24, 2010, 04:14:15 PM

Previous topic - Next topic

silis

I liked Pelles C and I want to know if there is any way to save the source code as rtf or similar format. The goal is to load it on microsoft word with the commands and comments colored.

Thanks in advance!

AlexN

John offers on his webpage http://www.johnfindlay.plus.com/pellesc/addin/addin.html an add-in which can export the source to HTML or PDF.
best regards
Alex ;)

silis

#2
I compiled the export.c file and I put the produced file (export.dll) in the ...bin/addins folder.
I went at the pelle-c->source and I didn't found any "Export to HTML" menu.

Can you please tell me what is the procedure of installing and using this export.dll file ?

EDIT:
Ok! I found it! I had to go to "Tools->customize" and select "Export C source as HTML".

Now it's working. Thanks!

henrin

I have built a tool to export source files as PDF.
The output file is a compressed PDF; it may contain several files with source date&time, line numbering and cross references.

Links:
- sample output: http://perso.numericable.fr/hserindat/snip9707.pdf (many source files with bookmarks; 2 Mbytes),
- help is here (1 page) : http://perso.numericable.fr/hserindat/xprint-en.pdf
- package download is : http://perso.numericable.fr/hserindat/xprint_inst.exe
- html page in french: http://perso.numericable.fr/hserindat


sapero

henrin, could you change the 'bad' Zoom level (current is fit page) to Inherit in all bookmarks?
It's bad, because the reader's preferences are ignored, forcing readers to view with zoom preferred by the writer.
Document properties->page layout is forced too, 'single page' instead 'defaut'.