Fedora 系统上的 sudo apt-get install texlive-full 相当于什么?我读到它是 yum install texlive-scheme-full。我对么?
我听说 troff/groff 在很大程度上已被 TeX 取代。这是真的?
我现在唯一知道实际使用 troff 的是联机帮助页。这也是真的吗?如果没有,还有什么其他用途?
我使用 LaTeX 并使用 Git 进行版本控制。对于书目管理,我使用 Mendeley。
问题是每次 Mendeley 同步它的.bib导出时,它们的顺序不同,这使得书目版本控制变得更加困难。
我的想法是在.bib每次提交之前对文件中的BibTex 条目进行排序。
你能帮我吗,如何以智能(短而甜蜜)的方式做到这一点?:)
PS我可以手动运行这个程序。我不需要 git 集成。我只想要程序/脚本对.bib文件进行排序。
我试图texmaker从存储库安装。对于安装,texlive我遵循了此处描述的步骤。为此,我使用的控制文件是这个. 它有 texlive-binaries 文件。
然后我尝试texmaker从apt. 它的依赖项列为
# apt-cache depends texmaker
texmaker
Depends: libc6
Depends: libgcc1
Depends: libpoppler-qt4-3
Depends: libqt4-network
Depends: libqt4-xml
Depends: libqtcore4
Depends: libqtgui4
Depends: libqtwebkit4
Depends: libstdc++6
Depends: zlib1g
Depends: texmaker-data
Recommends: aspell
Recommends: ghostscript
Recommends: netpbm
Recommends: psutils
texlive-local
Recommends: texlive-latex-extra
texlive-local
|Recommends: <hunspell-dictionary>
myspell-fr
myspell-ru
hunspell-an
hunspell-ar
hunspell-be
hunspell-da
hunspell-de-at
hunspell-de-at-frami
hunspell-de-ch
hunspell-de-ch-frami
hunspell-de-de
hunspell-de-de-frami
hunspell-en-ca
hunspell-en-us
hunspell-eu-es
hunspell-fr
hunspell-gl-es
hunspell-hu
hunspell-kk …Run Code Online (Sandbox Code Playgroud) 我有一个现有的 PDF(没有任何相应的源文件)和一个文本文件,它是引用 PDF 文件中部分的项目列表,以及每个项目的页码。我想生成一个新的 PDF,它以生成的目录索引开头,然后是原始 PDF 的内容。生成的索引需要超链接,这样点击任何项目都会自动跳转到包含引用部分的页面。
我正在寻找一套合适的工具(最好是面向 CLI 的)来在 Linux 上完成这项工作;到目前为止,我看过的所有工具似乎都没有提供解决方案。我是一名经验丰富的程序员,如果需要(最好使用 Ruby/Python/Perl/shell)编写代码来解析我的文本文件并将其转换为超链接索引,我非常乐意,但我找不到合适的工具来解决它。我认为问题的一部分是超链接需要指向同一个文件,但它们的目标直到 ToC 与原始 PDF 结合后才会存在。
我还熟悉各种标记语言,例如 Markdown、reStructuredText、TeX、LaTeX、org-mode,理想的解决方案将使用其中之一作为生成超链接 ToC 的中间步骤。
我通常pdflatex用来编译 Latex 文档,但在 NixOS 上我看不到pdflatex可以通过$ nix-env -i pdflatex.
$ nix-env -qa pdflatex
error: selector ‘pdflatex’ matches no derivations
Run Code Online (Sandbox Code Playgroud)
的结果pdflatex也不会出现在nixos.org/nixos/packages.html 的搜索中。但是,我确实注意到了包rubber,它显然包装了其他乳胶程序,包括pdflatex. 安装rubber并尝试用它编译我的乳胶文档后,我收到以下“找不到 pdflatex”错误。
$ rubber --pdf doc.tex
compiling doc.tex...
pdflatex not found
Running pdflatex failed.
Run Code Online (Sandbox Code Playgroud)
如何在 NixOS 上安装 pdflatex 来编译 Latex 文档?
为什么rubber可通过 安装,nix-env而pdflatex的依赖项rubber则不是?
作为旁注,手册的“Tex/Latex”部分没有解释这一点。
我已经通过官方网站安装了 TexLive 2012,并想安装依赖于旧版本的 epydoc。但是,当我尝试安装依赖于 texlive 的 epydoc 时,出现以下错误。
我怎样才能解决这个问题?
; sudo yum install epydoc
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, remove-
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, remove-
: with-leaves
Loading mirror speeds from cached hostfile
* fedora: ftp.tudelft.nl
* livna: rpm.livna.org
* rpmfusion-free: ftp.upjs.sk
* rpmfusion-free-updates: ftp.upjs.sk
* rpmfusion-nonfree: ftp.upjs.sk
* rpmfusion-nonfree-updates: ftp.upjs.sk
* updates: ftp.tudelft.nl
Resolving Dependencies
--> Running transaction check
---> Package epydoc.noarch 0:3.0.1-9.fc15 will be installed
--> Processing Dependency: texlive-latex for package: epydoc-3.0.1-9.fc15.noarch
Package …Run Code Online (Sandbox Code Playgroud) 我是使用 Linux 系统的新手。
我被分配了使用 LaTeX 编写文档并将文件转换为 pdf 文件以提交的作业。所以我尝试使用我的 CentOS 来做到这一点。我的Linux系统版本是RedHat。我在网上查找了将 .tex 文件转换为 .pdf 的方法,它告诉我要安装 texlive。所以我这样做了。
[csi2102@localhost]$ yum install -y texlive
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: data.nicehosting.co.kr
* extras: data.nicehosting.co.kr
* updates: data.nicehosting.co.kr
Setting up Install Process
Package texlive-2007-57.e.16_2.i686 already installed and latest version
Nothing to do
Run Code Online (Sandbox Code Playgroud)
因此,我寻找解决此问题的方法以及建议使用rpm -qa | grep tex命令的网站之一。但我无处可找到 pdflatex 文件。
[csi2102@localhost]$ rpm -qa | grep tex
texlive-texmf-errata-dvips-2007.7.1.e16.noarch
texlive-2007.57.e16_2.i686
texlive-texmf-errata-fonts-2007.7.1e16.noarch
texlive-texmf-2007-38.e16.noarch
texlive-texmf-fonts-2007-38.e16.noarch
texlive-texmf-errata-2007-7.1.e16.noarch
texlive-texmf-dvips-2007-38.e16.noarch
[csi2102@localhost]$
Run Code Online (Sandbox Code Playgroud)
这是我输入命令时看到的。
当我尝试使用 pdflatex、latex 或 …
我有一个缩进混乱的 LaTeX 源文件。我正在寻找一种方法来强制 vim(可能是通过一个vim-latex-suite命令)再次在整个文件上重新运行自动缩进命令。
通过用一个简单的 regex 吃掉每行开头的所有空格,我可以轻松摆脱混乱的缩进:%s/^\s\+//。我的问题是如何在整个文件上重新运行自动缩进命令。
(我基本上是在寻找类似于smart indentin MATLAB Editor 或其他一些文本编辑器的东西,它可以重新缩进已经存在的文本)。
我在编写和偶尔编译时使用 Okular 来查看 LaTeX 文档。我曾经使用过 Evince,但在设置正向/反向搜索时遇到了很多麻烦,而这在 Okular 中很容易做到。
为了从文本编辑器进行正向搜索(如果相关,我使用 GVim),使用 --unique 选项打开 Okular 非常有用,这样正向搜索就不会不断打开新实例。
但是,我经常在两个不同的工作区、文本编辑器的两个不同实例中打开两个不同的文档。结果是,当我在任一文档中调用它时,无论使用 --unique 打开哪个 Okular 实例,它都会首先用于正向搜索。这很糟糕,因为如果首先调用文档 A 并且我正在不同的工作区中处理文档 B,则调用文档 B 的前向搜索将跳回到文档 A 窗口。
似乎要解决这个问题,我需要能够拥有多个带有“--unique”的窗口,并有某种方式来引用哪个实例确实是我想要的。有没有办法做到这一点,也许需要一些创造性的 shell 脚本?其他解决方法的建议也将不胜感激。