473,498 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

source code to html


the Gnu's source-highlight is not suitablt to me since it requires Boost, and
Boost by some problem can not installed on my Linux box. so i was trying find
another solution that can convert cpp as well as java code to syntax
highlighted html.

do you get any idea?
--
steven woody (id: narke)

Jesse: You want to know why I wrote that stupid book?
Celine: Why?
Jesse: So that you might come to a reading in Paris and I could walk
up to you and ask, "Where the fuck were you?"
Celine: [laughing] No - you thought I'd be here today?
Jesse: I'm serious. I think I wrote it, in a way, to try to find you.
Celine: Okay, that's - I know that's not true, but that's sweet of you
to say.
Jesse: I think it is true.

- Before Sunset (2004)
Oct 21 '05 #1
6 1847
Steven Woody wrote:
the Gnu's source-highlight is not suitablt to me since it requires Boost, and
Boost by some problem can not installed on my Linux box. so i was trying find
another solution that can convert cpp as well as java code to syntax
highlighted html.

do you get any idea?


http://www.palfrader.org/code2html/

Of course, if you want something that converts code to _valid_ HTML,
that's another matter....

Stewart.

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:- C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS-
PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox. Please keep replies on
the 'group where everyone may benefit.
Oct 21 '05 #2
heh, that is sweet. Has someone ported that to PHP already, or should
that be my next project?

Oct 21 '05 #3
Steven Woody wrote:
the Gnu's source-highlight is not suitablt to me since it requires Boost, and
Boost by some problem can not installed on my Linux box. so i was trying find
another solution that can convert cpp as well as java code to syntax
highlighted html.

do you get any idea?


Highlight at: http://www.andre-simon.de/ available for several platforms.

HTH,
Jon Riplry
--
http://jontipley.com/
Oct 21 '05 #4

Steven Woody wrote:
the Gnu's source-highlight is not suitablt to me since it requires Boost, and
Boost by some problem can not installed on my Linux box. so i was trying find
another solution that can convert cpp as well as java code to syntax
highlighted html.

[snip]

Lore's Source to HTML Converter
http://www.newty.de/lsc/

Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn

Oct 21 '05 #5
Doxygen would be a good option.

www.doxygen.org

--
EventStudio System Designer 2.5 - http://www.EventHelix.com/EventStudio
Sequence Diagram Based System Design and Object Modeling Tool

Oct 21 '05 #6
Otac0n wrote :
heh, that is sweet. Has someone ported that to PHP already, or should
that be my next project?


A highly powerful syntax hihlighter available for a lot of different
languages, written in PHP: http://qbnz.com/highlighter/

Oct 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2544
by: M.E.Farmer | last post by:
Hello c.l.py!, I have just finished this and decided to share. PySourceColor is a module to convert Python source into colored html. Yes it has been done before, but I like this better:) You can...
188
8227
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
0
2101
by: Unigroup of New York | last post by:
Content-Type: multipart/mixed; boundary="------------C465DF38DCB38DD2AF7117E0" Lines: 327 Date: Tue, 15 Feb 2005 23:36:38 -0500 NNTP-Posting-Host: 24.46.113.251 X-Complaints-To: abuse@cv.net...
11
3617
by: Patrick Van Esch | last post by:
Hello, I have the following problem of principle: in writing HTML pages containing ancient greek, there are two possibilities: one is to write the unicode characters directly (encoded as two...
18
2518
by: Lorem Ipsum | last post by:
interesting! I just found a page in which Explorer's View Source does nothing! How did they do that?
135
7338
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
4
4425
by: gkumar007 | last post by:
Greetings, Are there any HTML editors which support syntax highlighting of c program source code. Let's say I write my html code as follows: <html> <body> <code> #include<stdio.h>
2
4211
by: ste-m | last post by:
Hi there, I was wanting to calculate how long my web pages take to load, and to insert this time into my HTML source code (not visible from the browser, but only in source view) as a HTML...
2
4148
by: cttseng | last post by:
Dear all, I have a problem that how to get the page's source code which is generated by javascript code? For example: http://grouper.com/video/south%2bpark Although I can see the result page...
12
11113
by: mistral | last post by:
Can anybody tell me how to get source code of page in iframe? (popup window is clickable image). When I right click on this popup border to view source, i see just as follows <html> <head>...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7203
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4588
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
290
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.