v0.8.2: There is a known issue on UNIX systems ashthespy/Atom-LaTeX#110. (Fixed in version v0.8.3)
Therefore you have to edit the file /home/<user>/.atom/packages/atom-latex/lib/builder.coffee in line 66 from @buildErrs += data to @buildErrs[@buildErrs.length - 1] += data
language-latex
Open the atom-latex package settings and change
LaTeX compiler to use to xelatex
BibTex compiler to use to biber
Add to the default values of Files to clean the file extensions *.run.xml, *.gz, *.atfi, *.bcf, *.maf, *mtc*, *.ilg, *.lol, *.glsdefs
make sure that Clean LaTeX auxiliary files after building process is enabled.
Linux
To build with the Atom editor on Linux you have to execute the below steps.
Installation of TeX Live
Install TeX Live with the required packages. Therefore execute the below command
v0.8.2: There is a known issue on UNIX systems ashthespy/Atom-LaTeX#110. (Fixed in version v0.8.3)
Therefore you have to edit the file /home/<user>/.atom/packages/atom-latex/lib/builder.coffee in line 66 from @buildErrs += data to @buildErrs[@buildErrs.length - 1] += data
language-latex
Open the atom-latex package settings and change
LaTeX compiler to use to xelatex
BibTex compiler to use to biber
Add to the default values of Files to clean the file extensions *.run.xml, *.gz, *.atfi, *.bcf, *.maf, *mtc*, *.ilg, *.lol, *.glsdefs
make sure that Clean LaTeX auxiliary files after building process is enabled.
Shell Script
Just execute the build.sh script.
sh build.sh
Write Japanese
Installation of Japanese (Mozc) (IBus) on Debian.
First, set up locales:
sudo dpkg-reconfigure locales
In addition to the English locale (en_US.UTF-8) or German locale (de_DE.UTF-8), include Japanese locales (ja_JP.EUC-JP and ja_JP.UTF-8). However, set the default locale for the system to en_US.UTF-8 or de_DE.UTF-8.
Install im-config:
sudo apt-get install im-config
Install and configure IBus-related packages:
sudo apt-get install ibus ibus-clutter ibus-mozc
sudo apt-get install ibus-gtk3
Run
im-config
Select No to the question from im-config.
Run the IBus setup program:
ibus-setup
If asked, start ibus-daemon.
Under the Input Method tab, add -> Japanese -> Mozc.
Under IBus Preferences, configure things to your liking. For example, I prefer making Ctrl + Space (as opposed to Shift + Space) trigger the switch between input modes. The IBus icon also shows up in the system tray, from which various settings can be changed. The default key short cut might be Super(Windows) Key + Space.
The document style can be changed from one-sided to two-sided using the documentclass property in main.tex line 6
Enable / Disable Sections
You can decide to include or exclude the below sections. By default all sections are included. If you wish to exclude a section you have to replace true with false in config/config.tex for the desired section. (see line 9-19 + 22-23)
Title Page
Disclaimer text (If disclaimer and copyright is exluded the entire page is removed)
Copyright text (If copyright and disclaimer is exluded the entire page is removed)
Table of Appendix (If appendix is excluded the table of appendix will be excluded, too.)
References Page
Index
Font Family
The preferred font family can be set in
config/config.tex. (see line 7)
Href Frame
The frame around links can be enabled or disabled in config/config.tex line 25
Table of Contents Layout
You can define the indent of the sections in config/layout.tex. (see line 203)
Counter of figures, tables and lstlisting
You can decide if the counter of figures, tables lstlisting will be affected by the chapter number. By default the counter is affected by the chapter number. If you wish to change this behavior you have to replace false with true in config/config.tex. (see line 28)
请发表评论