Newsgroups: comp.text.tex
From: "nurbz" <nur...@ematic.com>
Date: Wed, 02 Jan 2002 13:43:17 +0000
Local: Wed, Jan 2 2002 8:43 am
Subject: display programming source file
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.text.tex
From: "wald" <arnout.standa...@nospamagr.kuleuven.ac.be>
Date: Wed, 2 Jan 2002 13:55:40 +0100
Local: Wed, Jan 2 2002 7:55 am
Subject: Re: display programming source file
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.text.tex
From: Herbert Voss <v...@perce.de>
Date: Wed, 02 Jan 2002 14:38:20 +0100
Local: Wed, Jan 2 2002 8:38 am
Subject: Re: display programming source file
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
| ||||||||||
Newsgroups: comp.text.tex
From: ptk <p...@dont.spam.com>
Date: Wed, 02 Jan 2002 15:38:06 GMT
Local: Wed, Jan 2 2002 10:38 am
Subject: so how do you color the source?
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.text.tex
From: ptk <p...@dont.spam.com>
Date: Wed, 02 Jan 2002 15:38:21 GMT
Local: Wed, Jan 2 2002 10:38 am
Subject: so how do you color the source?
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.text.tex
From: jheffe...@smcvt.edu (Jim Hefferon)
Date: 2 Jan 2002 10:36:06 -0800
Local: Wed, Jan 2 2002 1:36 pm
Subject: Re: so how do you color the source?
ptk <p...@dont.spam.com> wrote
> I apologize for perhaps missing the obvious, but how do you get the listings package to colorize the source code? This same question has appeared numerous times with the same link to the FAQ. It would really be nice to see an example. Here are two .sty files, and sample input that work for me; I think that you need to have a recent `listings' for this to go. I have trouble viewing the colored text in GhostScript so I convert HTH, =====ham_notes.sty======= \definecolor{darkolivegreen}{rgb}{0.333,0.420,0.184} %color 116 (GI \definecolor{sienna}{rgb}{0.627,0.322,0.176} %color 168 (coffee \definecolor{stringcolor}{rgb}{0.25,0.25,0.25} %\definecolor{indianred3}{rgb}{0.804,0.333,0.333} %color 414 \definecolor{mediumseagreen}{rgb}{0.477,0.702,0.441} %color 122 \definecolor{brown}{rgb}{0.647,0.165,0.165} % color 178 \usepackage{listings} \lstdefinestyle{sql}{language=SQL, \newcommand{\pg}{PostgreSQL} \title{KE1AZ's Internet Linux Log} \begin{document} \chapter{Making the Database} \section{Making the State Database} ALABAMA AL .. WEST VIRGINIA WV Military "State" Abbreviation Armed Forces Africa AE The \url{create_states.sql} script file INSERT INTO state_types (type) VALUES ('state'); CREATE TABLE states ( Note that I had to create the \verb!state_types! first or else Next I need to get the data into the database. infile_name="abbr_state.txt" for x in ('state','possession','military'): while 1: You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.text.tex
From: ptk <p...@dont.spam.com>
Date: Wed, 02 Jan 2002 23:02:30 GMT
Local: Wed, Jan 2 2002 6:02 pm
Subject: Re: so how do you color the source?
Thanks a bunch - I know this has help everyone much more than the usual
remarks about the FAQ, or even worse the pedantic and sarcastic remarks about RTFM. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.text.tex
From: r...@pallas.cl.cam.ac.uk (Robin Fairbairns)
Date: 2 Jan 2002 23:47:07 GMT
Local: Wed, Jan 2 2002 6:47 pm
Subject: Re: so how do you color the source?
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.text.tex
From: ptk <p...@dont.spam.com>
Date: Thu, 03 Jan 2002 00:00:37 GMT
Local: Wed, Jan 2 2002 7:00 pm
Subject: Re: so how do you color the source?
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: comp.text.tex
From: r...@pallas.cl.cam.ac.uk (Robin Fairbairns)
Date: 3 Jan 2002 10:19:15 GMT
Local: Thurs, Jan 3 2002 5:19 am
Subject: Re: so how do you color the source?
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
| Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy |
| ©2013 Google |