wildgoat的个人空间 https://blog.eetop.cn/wildgoat [收藏] [复制] [分享] [RSS]

空间首页 动态 记录 日志 相册 主题 分享 留言板 个人资料

日志

[ZZ]Counting words in texmaker

已有 2068 次阅读| 2013-2-8 16:13 |个人分类:Latex相关

What a pain! Texmaker still does not have a word count feature.
I know this is far from perfect, but it is something….. Go to User->User Commands->Edit User Commands. Then, in the text box supplied, insert (all in one line):

pdftotext -nopgbrk %.pdf|sh -c "wc %.txt > %.wc" |xmessage -nearmouse -file %.wc|rm %.txt|rm %.wc

Voila! This will count the words in the actual PDF file, that is, references included. It returns line count, word count and character count. Obviously you will need to generate the PDF before counting words.

It is very sad that there is no way of passing selected text to user commands to be able to count individual sections, but alas… this is better than nothing. Ahh… texmaker… you could be so great if you took plugins.


或者使用在线的perl程序
http://wing.comp.nus.edu.sg/~min/texWordCount/

点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 关注TA
  • 加好友
  • 联系TA
  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 0

    关注
  • 122

    粉丝
  • 42

    好友
  • 272

    获赞
  • 118

    评论
  • 22104

    访问数
关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-26 00:19 , Processed in 0.011332 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部