安装libreoffice
ubuntu自带的libreoffice通常不是最新的,这里安装最新版的libreoffice同时安装两个常见的插件TexMath
和zotero
- 在中科大源文件中下载libreoffice软件和语言包。
wget http://mirrors.ustc.edu.cn/tdf/libreoffice/stable/6.2.3/deb/x86_64/LibreOffice_6.2.3_Linux_x86-64_deb_langpack_zh-CN.tar.gz
wget http://mirrors.ustc.edu.cn/tdf/libreoffice/stable/6.2.3/deb/x86_64/LibreOffice_6.2.3_Linux_x86-64_deb.tar.gz
tar xzvf LibreOffice_6.2.3_Linux_x86-64_deb.tar.gz
cd LibreOffice_6.2.3.2_Linux_x86-64_deb/DEBS/
sudo dpkg -i *.deb
tar xzvf LibreOffice_6.2.3_Linux_x86-64_deb_langpack_zh-CN.tar.gz
cd LibreOffice_6.2.3.2_Linux_x86-64_deb_langpack_zh-CN/DEBS
sudo dpkg -i *.deb
重启安装好libreoffice和中文界面。
安装zetero
到zotero官网下载压缩包
wget https://download.zotero.org/client/release/5.0.66/Zotero-5.0.66_linux-x86_64.tar.bz2
tar xJvf Zotero-5.0.66_linux-x86_64.tar.bz2
sudo mv Zotero-5.0.66_linux-x86_64 /opt/zotero
添加图标,编辑/usr/share/applications/zotero.desktop
,下面的Icon如果没有对应自己的图标。
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=zotero
Comment=Reference
Exec=bash /opt/zotero/zotero &
Icon=/usr/share/themes/Papirus/48x48/apps/zotero.svg
Terminal=false
安装TexMath
- 打开
libreoffice->工具->扩展管理器->联机获取更多扩展
- 在搜索TexMath下载
TexMaths-0.46.oxt
libreoffice->工具->扩展管理器->选择TexMaths-0.46.oxt
- 重启
安装zotero扩展
扩展文件所在位置/opt/zotero/extensions/[email protected]/install
libreoffice->工具->扩展管理器->选中扩展文件即可