1. 程式人生 > >LaTeX Error: File `lastpage.sty' not found. 解決辦法

LaTeX Error: File `lastpage.sty' not found. 解決辦法

又是參考一堆。。。。

LaTeX .sty檔案缺失解決辦法 點選開啟連結

關鍵在於把.sty檔案找回來。有些巨集包可能是從CTAN直接下載就有sty檔案在,那樣就是直接cp再texhash就行。
但是對於沒有的(我的這個問題就是這樣),只有用其他辦法。

texhash用於更新。

=============================================================

沒有起作用的,但是解決其他問題可能有用的:

下載檔案:http://www.ctan.org/tex-archive/macros/latex/contrib/lastpage

解壓後放到主資料夾

 在終端裡輸入:

sudo cp ~/lastpage/lastpage.dtx /usr/local/texlive/2013/texmf-dist/tex/latex/lastpage

sudo texhash

這一個辦法連.sty都沒獲取到。下一個辦法至少sty到手:

cd /usr/local/texlive/2013/texmf-dist/source/latex/lastpage

sudo latex lastpage.ins

sudo cp /usr/local/texlive/2013/texmf-dist/source/latex/lastpage/lastpage.sty /usr/local/texlive/2013/texmf-dist/tex/latex/lastpage

sudo texhash

還是報錯。。。。但是至少把sty檔案拿到手了,從路徑名的source這個詞來看,這個路徑下的檔案說不定都是用來解決這種檔案丟失的問題的。要找特定的包可以試試在TeX的安裝資料夾裡搜尋一下。可能會有用。

只能解決到這一步了。。。

相關推薦

LaTeX Error: File `lastpage.sty' not found. 解決辦法

又是參考一堆。。。。 LaTeX .sty檔案缺失解決辦法 點選開啟連結 關鍵在於把.sty檔案找回來。有些巨集包可能是從CTAN直接下載就有sty檔案在,那樣就是直接cp再texhash就行。 但是對於沒有的(我的這個問題就是這樣),只有用其他辦法。 texhash用於

LaTeX Error: File ''picins.sty'' not Found.

CTeX是包含了這個檔案(picins.sty)的,但是TeXLive沒有,需要手動安裝。 Step 1 點選這裡下載整個zip,把解壓出來的整個 picins 目錄,拷貝到 texmf-dist/tex/latex 目錄下。 或更準確的辦法是把兩個

class file editor source not found 解決Eclipse打開.class文件

.cn ins ips tar 文件路徑 .net exe com 文件類型 1.準備材料 jad.exe 下載地址 https://varaneckas.com/jad/,根據系統去選擇(就當是廢話) 下載下來的是jad158g.win.zip壓縮文件,解

安裝zabbix報錯: configure: error: Curl library not found 解決辦法

網上有諸多說法: 1.  yum install mysql-devel -y 2.把--with-mysql改成 --with-mysql=/usr/local/mysql/bin/mysql_config 上面的兩種都沒有解決

Android Studio gradle 編譯提示‘Error:Configuration with name 'default' not found.’ 解決辦法

在匯入studio工程的時候,進行sync的時候,提示Error:Configuration with name 'default' not found. 之前由於對gradle不熟悉,所以沒有找到原因,其實也是偷懶,沒有認真去排查問題,今天又遇到了,就折騰了會,把所有的配置檔案都開啟看,最終解決問題了,發

Error:Configuration with name 'default' not found. 解決辦法

原文地址 在匯入studio工程的時候,進行sync的時候,提示Error:Configuration with name ‘default’ not found. 之前由於對gradle不熟悉,所以沒有找到原因,其實也是偷懶,沒有認真去排查問題,今天又遇到

tftp: server says: File not found解決辦法

在linux下,不管使用的是哪一種super-server,inetd或者xinetd,預設情況下TFTP服務是禁用的,所以要修改檔案來開啟服務。 根據(1)的安裝方法,可以修改檔案/etc/xinetd.d/tftp。主要是設定TFTP伺服器的根目錄,開啟服務。修改後

"AFNetworking.h" file not found 解決辦法

第一步: 開啟 Project->Info->Configurations,檢視Configurations裡面Debug 和Release是否有為None的配置項: 如果有,請看第2步:

Ubuntu source: not found解決辦法

source:note foundUbuntu source: not found解決辦法:# dpkg-reconfigure dash(需在root下執行)選擇no 本文出自 “linux” 博客,請務必保留此出處http://yangzhiming.blog.51cto.com/4849999/1980

Eclipse中查看JAVA源代碼顯示SOURCE NOT FOUND解決辦法

inf java jdk1.5 文件拷貝 安裝路徑 .com jdk1 clip 下載 Problem:Java利用快捷鍵查看源代碼顯示Source not found 出現問題的原因:JDK目錄下缺失src.zip文件只有javafx-src.zip src.zip

Docker進入容器後使用ifconfig等命令“command not found解決辦法

bar tab fault -a mage ont bsp tools net 當進入一個容器後,使用ifconfig、ip addr等命令時,出現如下“command not found”: 解決辦法:

invalid bound statement (not found)解決辦法 (掃描路徑是正確的)

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.

升級10.12後使用CocoaPod出現-bash: pod: command not found 解決辦法

升級10.12後使用CocoaPod出現-bash: pod: command not found 解決辦法 升級10.11後,執行pod命令出現: -bash: pod: command not found 解決辦法: sudo gem ins

org.apache.ibatis.binding.BindingException: Parameter 'idList' not found解決辦法

org.apache.ibatis.binding.BindingException: Parameter ‘idList’ not found解決辦法 問題描述 使用Mybatis查詢資料庫報錯: o

【laravel】Class 'HTML' not found,解決辦法

錯誤提示: Class 'HTML' not found 錯誤起因:blade模板引入public目錄內的bootstrap樣式檔案,重新整理頁面報錯,通過搜尋找到以下解決辦法。 {{HTML::style('css/bootstrap3.css')}} 一、在專

org.apache.ibatis.binding.BindingException: Parameter 'idList' not found解決辦法

https://blog.csdn.net/qq_28379809/article/details/83342196  問題描述 使用Mybatis查詢資料庫報錯: org.apache.ibatis.binding.BindingException: Parameter 'i

ifconfig eth0命令出現command not found&解決辦法&匯入命令路徑

我們在使用ifconfig eht0命令檢視網路IP的時候, 會出現command not found,這個訊息提示。 而且root許可權也是沒有用,這是什麼問題呢,正常執行命令是不需要輸入路徑的,除非環境變數中沒有才會手動寫入目錄,那麼如何手動寫入目錄呢

anaconda libgomp.so.1: version `GOMP_4.0' not found 解決辦法

pytorch no kernel image is available for execution on the device /home/caocao/anaconda3/compiler_compat/ld: cannot find -lpthread /home/caocao/anaco

linux修改/etc/profile出錯command not found解決辦法

linux修改/etc/profile出錯導致所有命令都command not found的解決辦法 執行命令 export PATH=/usr/bin:/usr/sbin:/bin:/sbin

arm開發板執行應用程式出現:-/bin/sh:xxx:not found 解決辦法

百度可知是因為缺少動態庫,在PC 執行arm-linux-readlf  xxx(應用程式)   列印結果如下: ELF Header:   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00   Class: