TeXworks

TeXworks 是一个用于编写 TeX(LaTeX,ConTeXt 等)文档的环境,具有基于 Unicode、TeX 感知的编辑器、集成的 PDF 查看器以及一个简洁易用的界面,可供临时和非技术用户使用。[ TeXworks is 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. ]

Github星跟蹤圖

TeXworks 的灵感来自于 Dick Koch 为 Mac OS X 设计的获奖 TeXShop 程序,该程序通过 TeX 为更广泛的用户社区提供高质量的排版,而不需要技术性的或令人生畏的界面。TeXworks 的目标是为其他平台(特别是 GNU Linux 和 Windows)上的用户提供类似的集成的、易于使用的环境。

为了在所有系统中提供类似的体验,TeXworks 基于跨平台的开源工具和库。选择 Qt 工具包是为了提高其跨平台用户界面功能的质量,每个平台上的原生“外观和感觉”都是一个现实的目标。 Qt 还提供了丰富的应用程序框架,有助于相对快速地开发可用的产品。

普通的 TeXworks 工作流程以 PDF 为中心,使用 pdfTeX 和 XeTeX 作为排版引擎并生成 PDF 文档作为默认格式化输出。尽管可以基于 DVI 配置处理路径,但 TeX 世界的新手根本不需要关注 DVI,但通常可以将 Tex 视为一个直接从已标记的文本文件到随时可用的 pdf 文档的系统。

TeXworks 包含一个基于 Poppler 库的集成 PDF 查看器,因此无需切换到外部程序(如 Acrobat、xpdf 等)来查看排版输出。集成的查看器还支持源/预览同步(例如,在源文本中进行控制点击以定位 PDF 中的相应位置,反之亦然)。此功能基于 JérômeLaurens 开发的 “SyncTeX” 功能,并受 TeX Live 中的 pdfTeX 和 XeTeX 程序以及其他当前发行版的支持。

获得 TeXworks

您可以获得以下平台的稳定版本二进制文件:

有关最新的开发版本,请参阅在线资源

请注意,TeX Live(自2009版本起)和 MiKTeX(自2.8版本起)均包含 TeXworks for MS Windows。 对于 Linux,预先打包的二进制文件可以通过通常的渠道进行分发,或者目前正在准备中。

如果您的平台没有可用的二进制文件,您可以获取源代码的副本并自行构建 TeXworks。

更多信息

如果您发现任何错误/问题或有任何建议,请立即停在开发网页上,将邮件发送到邮件列表(最好通过“帮助>邮件发送到邮件列表”菜单项,该菜单项会自动包含一些调试信息) ),或提交错误报告。

许可

TeXworks的Jonathan Kew,StefanLöffler和Charlie Sharpsteen的版权(C)2007-2020。 根据GNU通用公共许可证版本2或(根据您的选择)任何更高版本的条款进行分发。 有关详细信息,请参见文件COPYING。

TeXworks 版权所有:Jonathan Kew, Stefan Loffler 和 Charlie Sharpsteen。在 GNU 通用公共许可证的条款下发布,版本2或(由您选择)任何以后的版本。有关详细信息,请参阅文件 COPYING。

SyncTeX 代码由 JérômeLaurens 版权所有(c)2008-2017; 有关许可证的详细信息,请参见 modules/synctex/synctex_parser.c。

构建

由 TeXworksJonathan Kew 所记录,StefanLöffler 于 2011-03-20、2015-03-29、2019-03-21、2020-06-06 更新。

要从源代码构建 TeXworks,您需要安装

以及用于以下目的的开发人员软件包(或等效软件包):

以及它们的依赖项(例如Freetype,fontconfig,zlib等),如果您还想构建脚本插件(可选),则还需要Lua和/或Python的开发包。 详细信息将取决于您的平台。 在Linux或类似系统上,您的软件包管理器可能会提供所有这些。 在Mac上,可以使用例如Homebrew获得所需的库。

尽管可以使用至少与CMake 3.1.0,Qt 5.2.3,poppler 0.24.5和hunspell 1.2.9相同的版本构建TeXworks,但强烈建议使用依赖关系的最新稳定版本。

一切设置完成后,创建一个用于构建的文件夹(例如“ build”),然后在其中运行CMake以创建Makefile或Xcode项目。 最后,运行make或使用Xcode构建应用程序。

在某些Wiki页面上可以找到从源代码构建TeXworks的更多技巧:


概覽

名稱與所有者TeXworks/texworks
主編程語言C++
編程語言CMake (語言數: 19)
平台Linux, Mac, Windows
許可證GNU General Public License v2.0
發布數21
最新版本名稱release-0.6.9 (發布於 2024-02-12 07:36:14)
第一版名稱release-0.2.0 (發布於 )
創建於2015-03-14 09:56:21
推送於2024-04-07 15:15:06
最后一次提交
星數667
關注者數37
派生數126
提交數2.7k
已啟用問題?
問題數962
打開的問題數204
拉請求數65
打開的拉請求數4
關閉的拉請求數6
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

Build Status
Build status
Codacy Badge

About TeXworks

TeXworks is 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.

Further Information

If you find any bugs/problems or have any recommendations, don't hesitate to
stop by the development webpage, send a mail to the mailing list (preferably via
the "Help > Email to mailing list" menu item which automatically includes some
debug information), or file a bug report.

License

TeXworks is copyright (C) 2007-2019 by Jonathan Kew, Stefan Löffler, and Charlie
Sharpsteen. Distributed under the terms of the GNU General Public License,
version 2 or (at your option) any later version.
See the file COPYING for details.

The SyncTeX code is copyright (c) 2008-2017 by Jérôme Laurens; see
modules/synctex/synctex_parser.c for license details.

Building TeXworks

Notes by Jonathan Kew, updated 2011-03-20, 2015-03-29, 2019-03-21 by Stefan
Löffler

To build TeXworks from source, you will need to install developer packages (or
equivalent) for:

along with their dependencies (such as Freetype, fontconfig, zlib, etc.) If you
also want to build the scripting plugins (optional), you additionally need
development packages for Lua and/or Python. Details will depend on your
platform. On Linux or similar systems, your package manager can probably provide
all these.

Once everything is set up, create a folder for building (e.g., "build") and run
CMake in it to create a Makefile or Xcode project. Finally, run make or use
Xcode to build the application.

The current TeXworks prototype has been successfully built with

  • Xcode (using gcc 4) on Mac OS X (built on 10.5, but should run on 10.4 or
    later)

  • MinGW release 5.1.4 on Windows XP (also runs on Vista and Windows 7)

  • gcc 4 on GNU/Linux, various BSDs, etc.

On the Mac, required libraries can be obtained, e.g., using Homebrew.

Further tips on building TeXworks from source are available on some of the wiki
pages:

去到頂部