I have written a Latex2e document on a UNIX station, and I would like to
know the number of words in this document. Is it possible with the emacs
or xemacs editor (version 3.1416), or is there a UNIX command for it?
Thank you for responding on my personal email too.
Bye.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Charles...@insa-rouen.fr
Tel: 02.32.95.97.54
Fax: 02.32.95.97.10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> I have written a Latex2e document on a UNIX station, and I would like to
> know the number of words in this document. Is it possible with the emacs
> or xemacs editor (version 3.1416), or is there a UNIX command for it?
Under Unix, you will want to look at ``detex'' and ``wc'' (yes, they have
man-pages) and pipe them together as in
detex document.tex | wc -w
Hope this helps,
Frank
--
Frank Ecke <fra...@minet.uni-jena.de>
In a world without walls and fences, who needs windows and gates?
Are you sure that that works ?
I just tried it on the plain tex document below, but did
not get anything like the number of words that I get by counting the
words in the output.
David
====== cut here
\let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF
PA''FwPA;;FPAZZFLaLPA//71F71iPAHHFLPAzzFenPASSFthP;A$$FevP
A@@FfPARR717273F737271P;ADDFRgniPAWW71FPATTFvePA**FstRsamP
AGGFRruoPAqq71.72.F717271PAYY7172F727171PA??Fi*LmPA&&71jfi
Fjfi71PAVVFjbigskipRPWGAUU71727374 75,76Fjpar71727375Djifx
:76jelse&U76jfiPLAKK7172F71l7271PAXX71FVLnOSeL71SLRyadR@oL
RrhC?yLRurtKFeLPFovPgaTLtReRomL;PABB71 72,73:Fjif.73.jelse
B73:jfiXF71PU71 72,73:PWs;AMM71F71diPAJJFRdriPAQQFRsreLPAI
I71Fo71dPA!!FRgiePBt'el@ lTLqdrYmu.Q.,Ke;vz vzLqpip.Q.,tz;
;Lql.IrsZ.eap,qn.i. i.eLlMaesLdRcna,;!;h htLqm.MRasZ.ilk,%
s$;z zLqs'.ansZ.Ymi,/sx ;LYegseZRyal,@i;@ TLRlogdLrDsW,@;G
LcYlaDLbJsW,SWXJW ree @rzchLhzsW,;WERcesInW qt.'oL.Rtrul;e
doTsW,Wk;Rri@stW aHAHHFndZPqpa.rtMRrgeLinZ.irLtYer.W,:jbye
I am astonished, full of admiration, even touched.
But really. No words.
Ben
D> I just tried it on the plain tex document below, but did not get
D> anything like the number of words that I get by counting the words
D> in the output.
The original question wasn't about plain TeX, it was about LaTeX. So
there. 8^P
--
Alan Shutko <a...@acm.org> - By consent of the corrupted
IBM: U can buy better, but U can't pay more
D> \let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF
Wow. I just ran that through TeX. I'm scared now. (I always thought
it was pear, though....)
--
Alan Shutko <a...@acm.org> - By consent of the corrupted
Chicken Little only has to be right once.
>
> >>>>> "D" == David Carlisle <dav...@nag.co.uk> writes:
>
> D> \let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF
>
> Wow. I just ran that through TeX. I'm scared now. (I always thought
> it was pear, though....)
>
Arggggggggggggggggggggg Damn, I wonder if I should have run the document
through a style checker....
update coming up:-)
David
David Carlisle wrote:
>
> \let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF
> PA''FwPA;;FPAZZFLaLPA//71F71iPAHHFLPAzzFenPASSFthP;A$$FevP
> A@@FfPARR717273F737271P;ADDFRgniPAWW71FPATTFvePA**FstRsamP
> AGGFRruoPAqq71.72.F717271PAYY7172F727171PA??Fi*LmPA&&71jfi
> Fjfi71PAVVFjbigskipRPWGAUU71727374 75,76Fjpar71727375Djifx
> :76jelse&U76jfiPLAKK7172F71l7271PAXX71FVLnOSeL71SLRyadR@oL
> RrhC?yLRurtKFeLPFovPgaTLtReRomL;PABB71 72,73:Fjif.73.jelse
> B73:jfiXF71PU71 72,73:PWs;AMM71F71diPAJJFRdriPAQQFRsreLPAI
> I71Fo71dPA!!FRgiePBt'el@ lTLqdrYmu.Q.,Ke;vz vzLqpip.Q.,tz;
> ;Lql.IrsZ.eap,qn.i. i.eLlMaesLdRcna,;!;h htLqm.MRasZ.ilk,%
> s$;z zLqs'.ansZ.Ymi,/sx ;LYegseZRyal,@i;@ TLRlogdLrDsW,@;G
> LcYlaDLbJsW,SWXJW ree @rzchLhzsW,;WERcesInW qt.'oL.Rtrul;e
> doTsW,Wk;Rri@stW aHAHHFndZPpqar.tridgeLinZpe.LtYer.W,:jbye
Obviously the spell chequer failed.
Donald Arseneau as...@triumf.ca
\let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF
> D> \let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF
> Wow. I just ran that through TeX. I'm scared now.
Yes, and I thought Perl was bad enough. I will study this, and I will
understand it. First I will understand `how.' Then I will have a go at
`why.'
--
God is real, unless declared integer.
> Wonderful! Is this for the `obfuscated TeX contest'?
What do you mean `obfuscated' ? All my documents look like that.
This is high level markup.
David
> \let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF
I think it's time to come clean David. This must be an "easter egg" in
TeX. How did you find out about it :)
Keith Refson
--
------------------------------------------------------------------------------
Email: Keith.Refson@ | Tel: +44 1865 272026 | Dr Keith Refson, |
earth.ox.ac.uk | Fax: +44 1865 272072 | Dept of Earth Sciences |
| Parks Road, Oxford OX1 3PR, UK|
------------------------------------------------------------------------------
> David Carlisle <da...@dcarlisle.demon.co.uk> writes:
>
> > \let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLF
>
> I think it's time to come clean David. This must be an "easter egg" in
> TeX. How did you find out about it :)
>
> Keith Refson
It can't be an easter egg. Wrong season.
David
> Are you sure that that works ?
>
> I just tried it on the plain tex document below, but did
> not get anything like the number of words that I get by counting the
> words in the output.
;-)
What about
tex document.tex
dvi2tty document.dvi | wc -w
What? Isn't that when the December release of LaTeX comes out? :->
Donald Arseneau as...@triumf.ca
am i to consider this a ctan submission?
proposed location, perhaps, macros/plain/contrib/xii.tex
--
Robin Fairbairns, Cambridge
No. These are "Christmas eggs". (Or were them "Christmas fools"? :-)
--
Maurizio Loreti http://wwwcdf.pd.infn.it/~loreti/mlo.html
Un. of Padova, Dept. of Physics - Padova, Italy lor...@padova.infn.it
> What do you mean `obfuscated' ? All my documents look like that.
> This is high level markup.
Are you _the_ davidc that had everybody whining here about poor old
blind people trying to read badly typed latex source with Aster?
--
Thierry Bouche, Grenoble.
No. A completely different person. You should not trust what it says in
newsgroup posting headers.
David
> No. A completely different person. You should not trust what it says in
> newsgroup posting headers.
are you rebecca & rowland?!!
David
It's the right season for David: he lives with Their calendar (cf.
LaTeX releases dates).
High level markup: hum... aerospatial markup, I like it!
--
Jean-Pierre Drucbert (JPFD) Email: druc...@onecert.fr
ONERA/CERT SRI Téléphone 05-62-25-25-15
Office National d'Études et de Recherches Aérospatiales
Centre d'Études et de Recherches de Toulouse
Service Réseaux et Informatique
Complexe Scientifique de Rangueil
2, Avenue Édouard Belin BP 4025 F-31055 TOULOUSE CEDEX
FRANCE
Barbarus hic ego sum, qui non intellegor ulli.
Publius Ovidius Naso
BINGO!
Sorry, this time I had to shout.
ROTFL,
Heinz Kusznier
>David Carlisle <dav...@nag.co.uk> writes:
>
>> No. A completely different person. You should not trust what it says in
>> newsgroup posting headers.
>
>are you rebecca & rowland?!!
BINGO!!!