LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-07-2023, 11:03 PM   #1
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Rep: Reputation: Disabled
Latex - missing `zref-abspage.sty'


I'm trying to use a template (Eisvogel) with pandoc to convert a markdown file to a specifically formatted PDF.

The command fails with:

Code:
Error producing PDF.
! LaTeX Error: File `zref-abspage.sty' not found.
The template documentation mentions that these errors come from an incomplete Latex installation:

Quote:
Eisvogel requires a full texlive distribution that can be installed by running apt-get install texlive-full in the terminal. Because texlive-full is very large (about 5 Gigabytes) you can also install the smaller texlive bundles and add any missing packages manually.

A smaller texlive bundle is texlive-latex-extra. With texlive-latex-extra you also need to install these packages manually:

adjustbox babel-german background bidi collectbox csquotes everypage filehook
footmisc footnotebackref framed fvextra letltxmacro ly1 mdframed mweights
needspace pagecolor sourcecodepro sourcesanspro titling ucharcat ulem
unicode-math upquote xecjk xurl zref.
I have texlive-extra installed and updated from SBo (I'm using 15.0). I'm assuming once I fix the zref package error, I'll run into others from the list above. Is there a "Slackware" way of easily finding and installing these? I found a "zref" package, but it contains no .sty files.

I found this thread: https://www.linuxquestions.org/quest...-a-4175725348/

...but have not been able to parse a useful answer from it for my specific problem. TIA
 
Old 08-08-2023, 12:15 AM   #2
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,852

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
At least zref-abspage.sty and zref.sty are in texlive-extra. Did you read file README: "To integrate this package, you have to do the following steps as root user..." (See page https://slackbuilds.org/repository/1...texlive-extra/ )

You can see that you have zref-abspage.sty by
Code:
grep zref-abspage.sty /var/adm/packages/texlive*
Or, if you first do what README tells you to do:
Code:
grep zref-abspage.sty /usr/share/texmf-*/ls-R
If you miss a package, use the search box in https://ctan.org/. To install the package, look at post #22 in the thread you found.

Last edited by Petri Kaukasoina; 08-08-2023 at 01:17 AM.
 
Old 08-08-2023, 09:45 AM   #3
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
Thanks for the response. I've been using Latex on Slackware for awhile now without many issues, and I'm pretty sure I followed the steps in the README. The packages lists the missing file:

Code:
$ grep zref-abspage.sty /var/lib/pkgtools/packages/texlive-*
/var/lib/pkgtools/packages/texlive-extra-2023.230322-x86_64-1_SBo:usr/share/texmf-dist/tex/latex/zref/zref-abspage.sty
But it's not where it should be:

Code:
$ find /usr/share/texmf-dist/ -name zref-abspage.sty
<no output>
There are files in the tex/latex subdir, so they're not all missing. I obviously screwed something up somewhere. Removing and re-installing texlive-extra fixed the issue. From reading the other thread I just assumed it was a missing package and went down that rabbit hole without checking the obvious first.

Thanks for getting me back on track.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] texlive-extra missing *.sty unInstance Slackware 4 03-03-2023 09:40 AM
latex: missing constantweb.sty Xeratul Linux - Software 2 03-17-2017 09:34 AM
[SOLVED] texlive2013 in Slackware64-14.0 can only build documents as root, .sty not found flokofcgulls Slackware 7 07-28-2013 10:46 AM
[SOLVED] Latex not finding .sty, .bst files in slackware even with texhash or mktexlsr thethinker Slackware 3 11-23-2009 05:29 AM
latex .sty directory in debian feri79 Linux - Software 2 04-18-2005 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration