🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #206

Re: HELP! c++2latex messes up my comments!

#206
From: Joerg Heitkoetter
Date: Tue, 03 Nov 1992 12:17
35 lines
1913 bytes
In article <3727@creatures.cs.vt.edu>, alanlb@bethesda.cs.vt.edu (Alan L.
Batongbacal) writes:
|> Hi there!  I'm using c++2latex to typeset some programs.  I've
|> stripped all tabs from my source file and have neatly aligned
|> my TRAILING comments with spaces.  Trouble is, c++2latex seems to
|> dislike
|> the way I align and insists on misaligning my TRAILING comments.  Any
|> ideas, anyone?
Yes: c++2latex is right! Well -- there is no patch currently available,
but
when version 2.2 comes out it will adjust trailing comments correctly.
(It's in the pipe, but see below...it will also feature Objective C, and
other stuff I received from various Patchers, from usenet...)

Currently, all you can do is hand-edit c++2latex output, replace the flusheft
stuff with a tabbing environment, insert a sample ruler, and replace the
indentation by tabbing chars, that's all. (Else you flushright the comments,
as it is done by default.)

Another way is buried in Jerry Leichter's tgrind package, or George V. Reilly's
lgrind stuff, but it's hard to describe what's going on there. (look at their
.sty e.g. macro package(s))

Happy TeXing

	-joke

--
Joerg Heitkoetter
Systems Analysis Group
University of Dortmund, Germany
(joke@ls11.informatik.uni-dortmund.de).

***
"Thinks take time. Good things take longer..."  --Anon
Technical Details
Message-ID: <1d5qkdINN6sr@fbi-news.Informatik.Uni-Dortmund.DE>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!chsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!lucky!heitkoet
References: <3727@creatures.cs.vt.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!chsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!lucky!heitkoet
From: heitkoet@lucky.informatik.uni-dortmund.de (Joerg Heitkoetter)
Newsgroups: comp.text.tex
Subject: Re: HELP! c++2latex messes up my comments!
Date: 3 Nov 1992 12:17:17 GMT
Organization: CS Department, Dortmund University, Germany
Lines: 35
Sender: heitkoet@lucky (Joerg Heitkoetter)
Distribution: world
Message-ID: <1d5qkdINN6sr@fbi-news.Informatik.Uni-Dortmund.DE>
References: <3727@creatures.cs.vt.edu>
NNTP-Posting-Host: lucky
Keywords: C++2LaTeX