@wuddy please do not ask about TEX issues here. You are suggested to ask your questions at other TEX-specific communities such as https://tex.stackexchange.com/
.
For your question, note that Font bbm10 at 600 not found
, be aware of 600.
Git Clone URL: | https://aur.archlinux.org/texlive-full.git (read-only, click to copy) |
---|---|
Package Base: | texlive-full |
Description: | This packages provides texlive-full in /opt. It also tricks ArchLinux into thinking it has its texlive packages installed. |
Upstream URL: | http://www.tug.org/texlive/ |
Licenses: | custom |
Conflicts: | git-latexdiff, texlive-basic, texlive-bibtexextra, texlive-bin, texlive-binextra, texlive-context, texlive-core, texlive-doc, texlive-fontsextra, texlive-fontsrecommended, texlive-fontutils, texlive-formatsextra, texlive-games, texlive-htmlxml, texlive-humanities, texlive-langarabic, texlive-langchinese, texlive-langcjk, texlive-langcyrillic, texlive-langczechslovak, texlive-langenglish, texlive-langeuropean, texlive-langfrench, texlive-langgerman, texlive-langgreek, texlive-langitalian, texlive-langjapanese, texlive-langkorean, texlive-langother, texlive-langpolish, texlive-langportuguese, texlive-langspanish, texlive-latex, texlive-latexextra, texlive-latexrecommended, texlive-luatex, texlive-mathscience, texlive-metapost, texlive-music, texlive-pictures, texlive-plaingeneric, texlive-pstricks, texlive-publishers, texlive-science, texlive-xetex |
Provides: | git-latexdiff, texlive-basic, texlive-bibtexextra, texlive-bin, texlive-binextra, texlive-context, texlive-core, texlive-doc, texlive-fontsextra, texlive-fontsrecommended, texlive-fontutils, texlive-formatsextra, texlive-games, texlive-htmlxml, texlive-humanities, texlive-langarabic, texlive-langchinese, texlive-langcjk, texlive-langcyrillic, texlive-langczechslovak, texlive-langenglish, texlive-langeuropean, texlive-langfrench, texlive-langgerman, texlive-langgreek, texlive-langitalian, texlive-langjapanese, texlive-langkorean, texlive-langother, texlive-langpolish, texlive-langportuguese, texlive-langspanish, texlive-latex, texlive-latexextra, texlive-latexrecommended, texlive-luatex, texlive-mathscience, texlive-metapost, texlive-music, texlive-pictures, texlive-plaingeneric, texlive-pstricks, texlive-publishers, texlive-science, texlive-xetex |
Submitter: | hottea |
Maintainer: | sukanka |
Last Packager: | sukanka |
Votes: | 12 |
Popularity: | 0.82 |
First Submitted: | 2019-05-17 13:17 (UTC) |
Last Updated: | 2024-03-31 15:52 (UTC) |
@wuddy please do not ask about TEX issues here. You are suggested to ask your questions at other TEX-specific communities such as https://tex.stackexchange.com/
.
For your question, note that Font bbm10 at 600 not found
, be aware of 600.
Hello! Everyone
I met an error when I compile a tex file, as follows:
!pdfTeX error: /usr/bin/pdflatex (file bbm10): Font bbm10 at 600 not found
==> Fatal error occurred, no output PDF file produced!
It seems that there is no bbm10 package, but I checked that there is in .../texmf-dist/fonts/source/public/bbm/
Any suggestion is helpful. Thanks
@sacrelicious, it's because of the license file. The pkgver was 2022.20220405
in PKGBUILD, but it then is updated by pkgver()
to 2022.20220406
, so install
can find the correct file. I just removed pkgver
in LICENSE file. Please try again. Thanks for your feedback.
@sukanka got this error instead
-> Install license file
install: cannot stat '/home/username/Downloads/AUR/texlive-full/src/LICENSE.2022.20220406': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
@sacrelicious, thanks for you comment. It should be fixed now.
My current version is 20220405-1
, I tried updating and got the error message as below
==> Starting pkgver()...
cat: /home/username/.cache/yay/texlive-full/src/install-tl-/release-texlive.txt: No such file or directory
==> ERROR: A failure occurred in pkgver().
Aborting...
-> error making: texlive-full
@haawda thanks! I merged your changes, and add other provides and conflicts. Next step is to move all these provides and conflicts to depends, and only install the needed files.
texlive 2022 is out.
# Maintainer: Sukanka <su975853527 [AT] gmail.com>
# Contributor: Butui Hu <hot123tea123@gmail.com>
pkgname=texlive-full
pkgver=20220405
pkgrel=1
pkgdesc="This packages provides texlive-full in /opt. It also tricks ArchLinux into thinking it has its texlive packages installed."
url="http://www.tug.org/texlive/"
arch=("x86_64")
license=('custom')
makedepends=('rsync')
depends=('libxcrypt-compat')
provides=('asymptote' 'psutils' 't1utils' 'texlive-bin' 'git-latexdiff' 'texlive-bibtexextra' 'texlive-core' 'texlive-fontsextra' 'texlive-formatsextra' 'texlive-games' 'texlive-humanities' 'texlive-latexextra' 'texlive-music' 'texlive-pictures' 'texlive-pstricks' 'texlive-publishers' 'texlive-science' 'texlive-langchinese' 'texlive-langcyrillic' 'texlive-langextra' 'texlive-langgreek' 'texlive-langjapanese' 'texlive-langkorean' 'texlive-htmlxml')
conflicts=('asymptote' 'psutils' 't1utils' 'texlive-bin' 'git-latexdiff' 'texlive-bibtexextra' 'texlive-core' 'texlive-fontsextra' 'texlive-formatsextra' 'texlive-games' 'texlive-humanities' 'texlive-latexextra' 'texlive-music' 'texlive-pictures' 'texlive-pstricks' 'texlive-publishers' 'texlive-science' 'texlive-langchinese' 'texlive-langcyrillic' 'texlive-langextra' 'texlive-langgreek' 'texlive-langjapanese' 'texlive-langkorean' 'texlive-htmlxml')
source=("https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz"
"LICENSE.$pkgver::http://texlive.tug.org/texlive/LICENSE.TL")
sha256sums=('20b661d5c8b0b080db48d685ce4017329b1ca6017f407fd25f9a70d64e4a5454'
'e8f070b2d1a9bad00af9d6cb94e687f2120591d092c8dab8727249b70adc96d0')
#PKGEXT='.pkg.tar'
options=(!strip)
# You can choose a mirror and rsync directory here.
# _syncdir works as a local CTAN mirror (about 4.5GiB) for faster installation
# For mainland China, use
# mirrors.bfsu.edu.cn/CTAN/systems/texlive/tlnet/
_mirror='rsync.dante.ctan.org/CTAN/systems/texlive/tlnet/'
_syncdir="CTAN/tlnet"
pkgver(){
ls | grep -E '[0-9]+' -o | sort -r | head -1
}
prepare(){
# TeXLive release year
_tldate=$(ls | grep -E '[0-9]+' -o | sort -r | head -1)
_year=$(cat ${srcdir}/install-tl-${_tldate}/release-texlive.txt| grep -E '[0-9]+' -o)
# creating a profile for unattened installation
echo "selected_scheme scheme-full" > "${srcdir}/texlive.profile"
echo "TEXDIR ${pkgdir}/opt/texlive/${_year}" >> "${srcdir}/texlive.profile"
echo "TEXMFLOCAL ${pkgdir}/opt/texlive/texmf-local" >> "${srcdir}/texlive.profile"
echo "TEXMFSYSCONFIG ${pkgdir}/opt/texlive/${_year}/texmf-config" >> "${srcdir}/texlive.profile"
echo "TEXMFSYSVAR ${pkgdir}/opt/texlive/${_year}/texmf-var" >> "${srcdir}/texlive.profile"
echo "TEXMFHOME ~/.config/texlive/texmf" >> "${srcdir}/texlive.profile"
echo "TEXMFCONFIG ~/.config/texlive/${_year}/texmf-config" >> "${srcdir}/texlive.profile"
echo "TEXMFVAR ~/.config/texlive/${_year}/texmf-var" >> "${srcdir}/texlive.profile"
# syncing repository
mkdir -p ${_syncdir}
msg2 "Syncing local mirror"
rsync -av --delete --info=progress2 --info=name0 rsync://${_mirror} ${_syncdir}
}
package() {
_tldate=$(ls | grep -E '[0-9]+' -o | sort -r | head -1)
_year=$(cat ${srcdir}/install-tl-${_tldate}/release-texlive.txt| grep -E '[0-9]+' -o)
# find installer path automatically.
_installer_dir=install-tl-${_tldate}
# start the installer and install
_timestamp=$(date "+%m%d%H%M")
"${srcdir}/${_installer_dir}/install-tl" \
-profile "${srcdir}/texlive.profile" -repository ${_syncdir} -logfile "/tmp/install-tl-${_timestamp}.log"
msg2 'Stripping $srcdir'
find ${pkgdir}/* -type f -print0 | xargs -0 sed -i "s|${srcdir}||g"
msg2 'Stripping $pkgdir'
find ${pkgdir}/* -type f -print0 | xargs -0 sed -i "s|${pkgdir}||g"
msg2 "Linking manpage"
mkdir -p ${pkgdir}/usr/share/man/{man1,man5}
for mann in {man1,man5}
do
cd ${pkgdir}/opt/texlive/${_year}/texmf-dist/doc/man/$mann
find . -type f,l -print0 |sed "s|\./||g"| while read -d $'\0' man
do
ln -s "/opt/texlive/${_year}/texmf-dist/doc/man/$mann/${man}" "${pkgdir}/usr/share/man/$mann/"
done
done
msg2 "Linking info"
cd ${pkgdir}/opt/texlive/${_year}/texmf-dist/doc/info/
mkdir -p ${pkgdir}/usr/share/info
find . -type f,l -print0 |sed "s|\./||g"| while read -d $'\0' info
do
ln -s "/opt/texlive/${_year}/texmf-dist/doc/info/${info}" "${pkgdir}/usr/share/info/"
done
msg2 "Linking binary"
cd ${pkgdir}/opt/texlive/${_year}/bin/${arch}-linux/
mkdir -p ${pkgdir}/usr/bin
find . -type f,l -print0 |sed "s|\./||g"| while read -d $'\0' bin
do
ln -s "/opt/texlive/${_year}/bin/${arch}-linux/${bin}" "${pkgdir}/usr/bin/"
done
# remove profile file and installation log, and wrong man link.
rm -rf ${pkgdir}/usr/bin/man
rm -vf "${pkgdir}/opt/texlive/${_year}/tlpkg/texlive.profile"
msg2 "Removing files for Windows"
rm -rf ${pkgdir}/opt/texlive/${_year}/texmf-dist/scripts/context/stubs/{win64,mswin}/*
find -H ${pkgdir} -name "*.bat" -print0 | xargs -0 rm -rf
msg2 "Install license file"
install -Dm644 "$srcdir"/LICENSE.* "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE.TL
}
I also needed texlive-htmlxml (do not understand why, but dblatex still wants it) and t1utils in the provides/conflicts array.
Pinned Comments
sukanka commented on 2022-02-20 07:17 (UTC) (edited on 2022-10-30 10:19 (UTC) by sukanka)
pandoc-bin
instead ofpandoc
.systems/texlive/tlnet/
)Users in mainland China are recommended to use
bfsu
mirror, set_syncdir
works as a localCTAN/telnet
mirror (about 4.5GiB). You can change it to a different place if yourBUILDDIR
is ontmpfs
, which may not have enough spaceMANPATH
INFOPATH
PATH
), they have been linked to the correct path already.checksum
is skipped as the shasum ofinstall-tl-unx.tar.gz
is varying. There is a directory calledinstall-tl-YYYYMMDD
(YYYYMMDD
is thepkgver
) and its contents are changing in every release.rsync
is added tomakedepends
for faster installation.pkgver
to be like2021_20220220
in future, where the first2021
means this is TeX Live 2021, and20220220
is frominstall-tl-unx.tar.gz
's contents. Currentpkgver
is not obvious enough. Especially when TeX Live 2022 has not been released yet, but we havepkgver=20220220
!