It's a nice idea, thanks. I once tried something like this for my own use, but I gave up because the precise counting is picky and journal dependent, e.g. for aps journals: http://journals.aps.org/authors/length-guide-faq They want the footnotes, but don't want the bibliography nor figures and equations, that are counted separately with their own measure...
On Sat, Oct 18, 2014 at 3:03 PM, Jürgen Spitzmüller <sp...@lyx.org> wrote: > Alfredo Braunstein wrote: >> I see. IMO the LFUN way is preferable. I'll give one use case where I >> would find this useful: when writing a document with length >> constraints (e.g. # words, # chars), it would be nice to have the >> information accessible through a shortcut on the status bar (instead >> of going to where the inset was inserted). Something sligthy more >> human-friendly would be nicer (e.g. words: ## chars: ## chars+spaces: >> ##) instead of ## ## ## as in the patch. > > OTOH LyX's statistic data is unusable (if not misleading) for such tasks in > many cases anyway, since it does not account for macro expansion, bibtex- > generated bibliography etc. > > Since I often have to consider length constraints in papers, I have set up an > external statistics tool that is placed into a "PDF (Statistics)" converter > chain and counts words/chars in the produced pdf file instead. Using kdialog > from KDE, it pops up a dialog with more accurate statistic numbers. But of > course, this tool is strictly limited to my own needs. > > Jürgen