Chinaunix首页 | 论坛 | 博客
  • 博客访问: 278063
  • 博文数量: 55
  • 博客积分: 2535
  • 博客等级: 少校
  • 技术积分: 585
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-25 16:41
个人简介

Je pense donc je suis.

文章分类

全部博文(55)

文章存档

2014年(11)

2011年(3)

2010年(40)

2009年(1)

我的朋友

分类: LINUX

2010-08-13 09:36:31

如题所言,该LaTeX编辑器的的确确能够实现LaTeX源文件和pdf文件之间的双向搜索(forward and inverse search with pdf),Debian下的描述如下
[08:51:49@~]$ apt-cache show texworks
Package: texworks
Priority: extra
Section: editors
Installed-Size: 2452
Maintainer: Atsuhito KOHDA
Architecture: amd64
Version: 0.2.3-2
Depends: libc6 (>= 2.2.5), libdbus-1-3 (>= 1.0.2), libgcc1 (>= 1:4.1.1), libhunspell-1.2-0 (>= 1.2.8), libpoppler-qt4-3 (>= 0.12), libqt4-dbus (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.5.3), libqtgui4 (>= 4:4.5.3), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.1.4)
Recommends: texlive-latex-base
Suggests: texlive-xetex
Filename: pool/main/t/texworks/texworks_0.2.3-2_amd64.deb
Size: 1208214
MD5sum: d671f5b6c09c64a0b059099119126e0f
SHA1: 80ae16a62b5748d65117e4952ca0593f62309f1e
SHA256: 56dd7de227a8c3a31343d7592f05e566b770b97344535882d8f6840f36d6a7dd
Description: An environment for authoring TeX (LaTeX, ConTeXt, etc) documents
 An environment for authoring TeX (LaTeX, ConTeXt, etc) documents, with
 a Unicode-based, TeX-aware editor, integrated PDF viewer, and a clean,
 simple interface accessible to casual and non-technical users.
 .
 TeXworks is inspired by Dick Koch's award-winning TeXShop program for
 Mac OS X, which has made quality typesetting through TeX accessible to
 a wider community of users, without a technical or intimidating face.
 The goal of TeXworks is to deliver a similarly integrated, easy-to-use
 environment for users on other platforms, especially GNU/Linux and Windows.
Homepage:
Tag: uitoolkit::qt


安装方法:
sudo apt-get install texworks

特点:直接把latex文件编译后生成pdf文件,不再使用dvi作为中间过渡(或者最终)文件格式。

配置:
打开方式:从Applications->Accessories->Texworks打开该程式。
设置编译方式: Edit->Preferences->
Editor里面设置界面语言,我用的WenQuanYi Zen Hei

Typesetting里面,在Paths for TeX and related programs里,找到你的诸如TeXLive2009的安装路径,并上移到最上方。

Processing tools
对于单纯的LaTeX文档,直接选择pdfLaTeX即可,(但如果只是纯英文文档,没有中文的话)也可以选用XeLaTeX
如果是调用了xeCJK包进行中英文排版的话,就要选择xeLaTeX了。

Auto-completion的使用方法:
直接敲击Tab键就可以了,末尾可能会出现一个黑色的小圆点,不去理会。

Forward and Inverse search功能:
forward search: 先用鼠标选定需要预览的文本,然后点击右键,选择 Jump to PDF,随即就可以定位到pdf文件了。
inverse search: 在pdf文档的适当位置点击右键,选择 Jump to Source,然后就可以定位到源文件的相应位置了。

关于Block Selection (Column Selection)功能,目前还没有。可能以后会增加该功能吧!

这里顺便贴上使用说明
文件:texworks-manual.pdf
大小:234KB
下载:下载

阅读(2016) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~