latex,emacs学习记录1
来源:互联网 发布:网络相亲平台 编辑:程序博客网 时间:2024/06/05 20:40
昨天下了codeRunner。发现可用latex.想到还没用熟latex,就下了macTex。但是发现还需要:于是:
https://www.zhihu.com/question/19954023
我的配置3(Emacs + AUCTex)
TeXLive + Emacs + AUCTex + SumatraPDF。
这个配置唯一难在需要熟练使用 Emacs,如果不是常用,比较费时,不过,从效率上来看,熟练后的效率当是最高的。
1.下载macTex
emacs: http://emacsformacosx.com/
2.下aucTex
http://www.gnu.org/software/auctex/download-for-macosx.html
3.
Go to the Auctex directory, configure with the command:
./configure --with-emacs=/Applications/Emacs.app/Contents/MacOS/Emacs --with-lispdir=/Applications/Emacs.app/Contents/Resources/site-lisp --with-texmf-dir=/usr/local/texlive/texmf-local
Execute:
make; sudo make install
to install the elisp
files inside the Emacs.app
, the info files to /usr/local/share/info
, etc.
Edit your ~/.emacs
file to load Auctex/preview-latex, and point Emacs to your Latex executables:
(setenv "PATH" (concat "/usr/texbin:/usr/local/bin:" (getenv "PATH")))(setq exec-path (append '("/usr/texbin" "/usr/local/bin") exec-path))(load "auctex.el" nil t t)(load "preview-latex.el" nil t t)
在pdf选择上,SumatraPDF。发现了一个问题:
https://github.com/sumatrapdfreader/sumatrapdf/wiki/Why-only-Windows%3F
People sometimes suggest that Sumatra should be available for some other operating system: Linux, Mac, Android etc.
This won't happen.
The first reason is that current developers don't know how to write software for those other platforms.
Second reason is that it would mean writing the whole program from scratch for a new platform.
Sumatra is tightly integrated with and optimized for Windows. Making a version for another operating system is not a matter of making a few changes here and there but writing all the UI code from scratch i.e. redoing years of development that went into Sumatra.
SumatraPDF is an open-source project so anyone is free to take our source code and use as much of it as they want to create equivalent for some other operating system, but we're unlikely to do it ourselves.
初学latex:
- latex,emacs学习记录1
- LaTeX学习记录
- LaTeX排版学习记录
- 个人学习Emacs的一些记录!
- emacs学习笔记1
- Emacs 学习笔记[1]
- latex学习1:再来说说LaTeX
- latex学习(1)
- LATEX 学习1
- Latex学习(1)
- Latex学习---1
- LaTeX学习1
- Emacs学习笔记(1)
- Emacs 中文学习手册-1
- LaTeX 学习笔记 1 文件格式
- LaTeX学习笔记(1)
- Emacs 编辑环境,第1部分:学习Emacs的基础知识
- Emacs 学习
- linux配置java环境变量
- C语言中结构体指针的定义和引用
- 课程练习一Problem E 电视节目
- Makefile中”=“”?=“”+=“的区别
- HQL语言基本语法
- latex,emacs学习记录1
- SPI工作原理分析
- springMVC增强
- 从零开始的Android新项目2 - Gradle篇
- Java构造器
- SELECT INTO 和 INSERT INTO SELECT 两种表复制语句
- JDBC编程之数据库基本操作
- [LeetCode]289. Game of Life
- IOS开发中NSRunloop跟NSTimer的问题