
我在測試 pst-map3d 時遇到以下錯誤:
! LaTeX Error: File 'pst-map3d.sty' not found.
並且apt
找不到它:
$ sudo apt-cache search pst-map3d
$
我在 ubuntu 18.04 上。
我的最終目標是繪製 3D 地理內容,包括經線、平行線、局部切平面等等,例如第一階段這個簡單的圖:
來源:https://commons.wikimedia.org/wiki/File:ECEF_ENU_Longitude_Latitude_relationships.svg
微量元素:
\documentclass{article}
\usepackage{pst-map3d}
\begin{document}
Hello world!
\end{document}
這個包是否已被棄用?
編輯:
texlive-pstricks
已經安裝:
$ sudo apt-get install texlive-pstricks
Reading package lists... Done
Building dependency tree
Reading state information... Done
texlive-pstricks is already the newest version (2017.20180305-2).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
更多資訊
包首頁:
https://melusine.eu.org/syracuse/pstricks/pst-map3d/
我發現的相關 CTAN 條目:
https://ctan.org/pkg/pst-geo
注意;如果我附加\usepackage{pst-geo}
到序言中,則會出現相同的錯誤。
答案1
安裝sudo apt-get install texlive-pstricks