🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.tex
Article #50

Re: Estimer la taille d'un buffer (source LaTeX)

#50
From: Eric Marsden
Date: Fri, 14 Sep 2001 09:03
29 lines
2230 bytes
>>>>> "mm" == Maxime MORGE <morge@simade.emse.fr> writes:

  mm> je r�dige un article en LaTeX via Emacs. Cet article doit
  mm> contenir moins de 2000 mots. j'aimerais donc disposer d'un outil
  mm> me permettant d'estimer la taille de cet article. Id�alement,
  mm> une fonction Lisp prennant en compte le formatage LaTeX pourrait
  mm> convenir. Toutefois tout autre type de solution m'int�resse.

je passe par LaTeX -> PDF -> texte | wc, automatis� avec des r�gles de
Makefile. Malheureusement ca compte tout, y compris la table des
mati�res, r�f�rences etc.

,----
| wc: article.txt
|         wc -w $<
|         rm $<
| 
| .tex.pdf:
|         $(PDFLATEX) $<
|         rm $*.log
| 
| .pdf.txt:
|         pdftotext $<
`----

L'outil pdftotext est distribu� avec le visualisateur xpdf.

-- 
Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>
Technical Details
Message-ID: <wzivgim87qk.fsf@laas.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!isdnet!enst!univ-angers.fr!news.unicaen.fr!univ-lille1.fr!news.cict.fr!news.laas.fr!not-for-mail
References: <20010914.104752.654887343.3157@localhost.localdomain>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 10ee61,7ba7e10ea1a2c0c
X-Google-Attributes: gid10ee61,public
X-Google-Thread: f5a1a,7ba7e10ea1a2c0c
X-Google-Attributes: gidf5a1a,public
X-Google-ArrivalTime: 2001-09-14 02:15:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!isdnet!enst!univ-angers.fr!news.unicaen.fr!univ-lille1.fr!news.cict.fr!news.laas.fr!not-for-mail
From: Eric Marsden <emarsden@laas.fr>
Newsgroups: fr.comp.text.tex,fr.comp.applications.emacs
Subject: Re: Estimer la taille d'un buffer (source LaTeX)
Followup-To: fr.comp.text.tex
Date: 14 Sep 2001 11:03:15 +0200
Organization: LAAS-CNRS  http://www.laas.fr/
Lines: 29
Message-ID: <wzivgim87qk.fsf@laas.fr>
References: <20010914.104752.654887343.3157@localhost.localdomain>
NNTP-Posting-Host: moustacho.laas.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: kane.laas.fr 1000458202 13584 140.93.21.71 (14 Sep 2001 09:03:22 GMT)
X-Complaints-To: abuse@laas.fr
NNTP-Posting-Date: 14 Sep 2001 09:03:22 GMT
X-Eric-Conspiracy: there is no conspiracy
X-Attribution: ecm
X-URL: http://www.chez.com/emarsden/
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.6