New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Mac Office Syntax Highlighting


Post Reply New Thread Subscribe

 
Thread Tools
eddielee

 
eddielee's Avatar
 
Member Since: Sep 19, 2008
Location: Nottingham, UK
Posts: 302
eddielee is on a distinguished road
Mac Specs: 20" iM ac,13.3" Aluminium Unibody Macbook, iPhone 4

eddielee is offline
I have to prepare a report in Mac Office Word and the report will contain several sections of PHP and C++ code. Is there an easy way to add syntax highlighting to make the code easier to read?

Thanks

Thanks, Eddie
Software Engineering Student, NTU
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,686
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
Depending on the source editor you're using, you may be able to simply copy and paste the code. For example, see here. What are you using to edit your code? Is there an option to copy the code to the clipboard as rtf?

You could also look at source highlighter tools such as GNU source-highlight. You may be able to use the output of that.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
eddielee

 
eddielee's Avatar
 
Member Since: Sep 19, 2008
Location: Nottingham, UK
Posts: 302
eddielee is on a distinguished road
Mac Specs: 20" iM ac,13.3" Aluminium Unibody Macbook, iPhone 4

eddielee is offline
Unfortunately I can't seem to get it working with Dreamweaver, I have managed to use the methods you said for Visual Studio and Xcode though.

I guess I could just copy to an other HTML editor to get the syntax highlighting I need.

Thanks

Thanks, Eddie
Software Engineering Student, NTU
QUOTE Thanks

Post Reply New Thread Subscribe


« crossword game ? | Aquamacs use 'command' button in shortcut »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Data Partition: Using a FAT32 Partition to exchange data between Mac and Windows XP MartinT Running Windows (or anything else) on your Mac 9 11-12-2009 02:56 AM
Mac Office Suite Choices-Office08/NeoOffice3/iWork09...what do YOU recommend? PKGuy323 Switcher Hangout 6 05-18-2009 05:42 PM
Mac Users Get More ISP Choices schweb Apple Rumors and Reports 1 03-06-2003 10:57 AM

All times are GMT -4. The time now is 10:07 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?