Christian Moe <m...@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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to