From: "Eric Schulte" <schulte.eric@gmail.com>
To: mail@christianmoe.com
Cc: emacs-orgmode@gnu.org, Paul Sexton <psexton@xnet.co.nz>
Subject: Re: Re: Context-sensitive word count in org mode (elisp)
Date: Thu, 17 Feb 2011 11:57:54 -0700 [thread overview]
Message-ID: <87mxluebf1.fsf@gmail.com> (raw)
In-Reply-To: <4D5CF245.4070503@christianmoe.com> (Christian Moe's message of "Thu, 17 Feb 2011 11:02:45 +0100")
Christian Moe <mail@christianmoe.com> writes:
> Hi,
>
>> I don't agree with changing '(match-end 0)' to '(match-beginning 2)'
>> however. For most latex macros, I don't want to count the words inside
>> the macro's arguments.
>
> Maybe you're right. I rarely use latex, so I can't think of a use case
> off the top of my head. Default no, optional yes sounds good.
>
I find the following handy for word-count of latex documents...
#+begin_src sh :var basename=(file-name-sans-extension (buffer-file-name))
pdftotext $basename.pdf - |wc -w
#+end_src
next prev parent reply other threads:[~2011-02-17 18:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 3:51 Context-sensitive word count in org mode (elisp) Paul Sexton
2011-02-16 9:12 ` Christian Moe
2011-02-16 9:47 ` Dan Davison
2011-02-16 9:45 ` Christian Moe
2011-02-16 20:34 ` Paul Sexton
2011-02-17 10:02 ` Christian Moe
2011-02-17 18:57 ` Eric Schulte [this message]
2011-02-16 10:14 ` Bastien
2011-02-16 18:15 ` Samuel Wales
2011-02-16 13:03 ` Joost Kremers
2011-02-16 23:28 ` Paul Sexton
2011-02-17 16:50 ` Samuel Wales
2011-02-17 18:55 ` Paul Sexton
2011-03-27 19:40 ` [Orgmode] " Samuel Wales
2011-02-18 14:34 ` Bastien
2011-02-20 21:49 ` Paul Sexton
2011-02-21 23:30 ` Samuel Wales
[not found] ` <4D601314.8000701@xnet.co.nz>
2011-02-22 11:28 ` Bastien
-- strict thread matches above, loose matches on Subject: below --
2011-02-16 16:22 Benjamin Beckwith
2011-02-16 16:32 ` Bastien
2011-02-16 18:56 ` Benjamin Beckwith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mxluebf1.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@christianmoe.com \
--cc=psexton@xnet.co.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).