You are not logged in.

#1 2014-05-25 10:31:35

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

[SOLVED] LaTeX broken on Arch ?

Hello dear Arch users,

I am facing a problem for, let's say, arround 4 months ago.

I am a user of LaTeX, and I am now not able to compile a calendar document based on the calendar template available here :

http://www.texample.net/tikz/examples/a … ed-din-a4/

Even the "stock", I mean unmodified .tex file, just downloaded from the above website, cannot be compiled on Arch.

On a fresh Arch install on another computer, I got exactly the same error message.

Please see enclosed screenshot.

http://postimg.org/image/g2q3renov/

Below are the packages related to Arch, installed on my system:

[bastien@zoulou ~]$ pacman -Qs texlive
local/texlive-bin 2013.30973-10
    TeX Live binaries
local/texlive-core 2013.33063-1 (texlive-most)
    TeX Live core distribution
local/texlive-fontsextra 2013.33010-1 (texlive-most)
    TeX Live - all sorts of extra fonts
local/texlive-genericextra 2013.32809-1 (texlive-most)
    TeX Live - mixed bag of generic macro packages and fonts
local/texlive-latexextra 2013.33063-1 (texlive-most)
    TeX Live - Large collection of add-on packages for LaTeX
local/texlive-pictures 2013.33045-1 (texlive-most)
    TeX Live - Packages for drawings graphics
local/texlive-plainextra 2013.32911-1 (texlive-most)
    TeX Live - A collection of add-on packages and macros for plain TeX
local/texlive-pstricks 2013.33056-1 (texlive-most)
    TeX Live - Additional PSTricks packages
local/texlive-science 2013.32850-1 (texlive-most)
    TeX Live - Typesetting for natural and computer sciences
[bastien@zoulou ~]$ pacman -Qs texstudio
local/texstudio 2.7.0-1
    Integrated writing environment for creating LaTeX documents
[bastien@zoulou ~]$ 

The system is up to date, as I run pacman -Syu everyday.

I am used to compile other documents without any problem. Only this calendar is a problem for me.

Do you have an idea?
Do you get the same error message?
Do I need to install an extra package?

Regards,
Bastien

Last edited by PolePosition (2014-05-29 19:33:49)


Life is not linear.
-----------
Arch power !

Offline

#2 2014-05-25 11:17:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: [SOLVED] LaTeX broken on Arch ?

I don't know if I get the same error messages as you, as you haven't said what errors you get.

But the document will not compile for me.  There are *many* warnings about deprecated commands, and at least one error due to not having the everyshi package which seems to be a requirement.

So it seems this calendar document requires other latex packages that are not currently packaged for arch (not in repos or AUR).  But more importantly, this document just seems to be outdated.

I don't know why your title asks whether latex is broken on arch when you claim you *can* build all other documents.  The problem is in the source for this calendar being out of date.  Latex isn't broken - that calendar document is.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-05-25 12:09:49

FreeTheBee
Member
Registered: 2011-01-02
Posts: 125

Re: [SOLVED] LaTeX broken on Arch ?

I only get some warnings, about page settings (e.g. header too small),  \sl being deprecated and fancyhdr being used together with scrartcl. It does compile though and gives a result like on the website.

Offline

#4 2014-05-25 13:39:20

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED] LaTeX broken on Arch ?

Also, the calendar is posted on a site for TeX, not LaTeX (which are not the same thing!!).


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#5 2014-05-25 13:40:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: [SOLVED] LaTeX broken on Arch ?

FreeTheBee, do you have the everyshi package installed?  If so, where from? (is yours a pacman managed tex system, or local)

Last edited by Trilby (2014-05-25 13:40:54)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2014-05-25 15:13:39

FreeTheBee
Member
Registered: 2011-01-02
Posts: 125

Re: [SOLVED] LaTeX broken on Arch ?

Yes, everyshi.sty is installed as a part of texlive-core. My texlive is managed through pacman. I compiled with pdflatex.

clfarron4, although the name of the site implies differently, most examples on TeXample are LaTeX files. I say most, because I didn't check all of them by far and there might just be a TeX or context file to be found as well.

Offline

#7 2014-05-25 16:09:11

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

Re: [SOLVED] LaTeX broken on Arch ?

I could not fix it by myself (I have tried), as the error messages refers to fonts that I am not using directly in the .tex file.
I mean, nowhere in the .tex files is written \sl and so on.
So how could I fix it... do you think I should write on the http://latex-community.org/ forum ?

Thanks a lot!
Bastien

Last edited by PolePosition (2014-05-25 16:09:38)


Life is not linear.
-----------
Arch power !

Offline

#8 2014-05-25 16:09:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: [SOLVED] LaTeX broken on Arch ?

Hmm - how the *** did I miss that - it is here.  I must have had a typo when searching for that package.  But I do get an error that EveryShipout is not defined.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2014-05-26 05:45:40

FreeTheBee
Member
Registered: 2011-01-02
Posts: 125

Re: [SOLVED] LaTeX broken on Arch ?

How do you compile the document? Those errors on the center and document environment are a bit strange.

Offline

#10 2014-05-26 11:58:29

\hbar
Member
Registered: 2014-03-15
Posts: 165

Re: [SOLVED] LaTeX broken on Arch ?

Are the error messages those in the screenshot posted above? I.e.

undefined control sequence \end{document}

and such? Because that looks like what one would get by trying to typeset a LaTeX file with a plain TeX typesetter. Are you using pdflatex or pdftex?

Last edited by \hbar (2014-05-26 11:59:12)

Offline

#11 2014-05-27 09:55:28

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

Re: [SOLVED] LaTeX broken on Arch ?

Hi,
When I press F1, the engine pdflatex is called.


Life is not linear.
-----------
Arch power !

Offline

#12 2014-05-27 11:38:36

FreeTheBee
Member
Registered: 2011-01-02
Posts: 125

Re: [SOLVED] LaTeX broken on Arch ?

I was thinking the same as \hbar, the errors on document and center could relate to TeX being called instead of LateX. Could you try to run the compilation once from a terminal, just to be sure?

pdflatex docname.tex

Offline

#13 2014-05-27 11:47:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: [SOLVED] LaTeX broken on Arch ?

FWIW I also can't compile this - and I use pdflatex.  I get the following error:

! Undefined control sequence.
\@EveryShipout@Output ...EveryShipout@Org@Shipout 
                                                  \box \@cclv 
l.217 \end{center}

There are several typearea and scrartcl warnings before that, but no other errors.

FreeTheBee, do you use a pacman installed latex, or a locally managed?  I know hbar uses locally managed (tlmgr?) - I use a pacman installed.

I am, however, inclined to be suspicious of the document - I have no problems making any other latex documents.

Last edited by Trilby (2014-05-27 11:49:23)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#14 2014-05-27 12:27:42

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED] LaTeX broken on Arch ?

Trilby wrote:

FWIW I also can't compile this - and I use pdflatex.  I get the following error:

! Undefined control sequence.
\@EveryShipout@Output ...EveryShipout@Org@Shipout 
                                                  \box \@cclv 
l.217 \end{center}

There are several typearea and scrartcl warnings before that, but no other errors.

FreeTheBee, do you use a pacman installed latex, or a locally managed?  I know hbar uses locally managed (tlmgr?) - I use a pacman installed.

I am, however, inclined to be suspicious of the document - I have no problems making any other latex documents.

I get these errors as well, and I'm using a pacman installed one as well.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#15 2014-05-27 12:59:27

FreeTheBee
Member
Registered: 2011-01-02
Posts: 125

Re: [SOLVED] LaTeX broken on Arch ?

My texlive is managed through pacman.

I think I found the culprit though. Earlier, when testing, I copied the source from the site and pasted into a new file, this compiles fine, with a few warnings. Now I downloaded the tex file directly from the site and this gives me the same error you get. The tex file contains these extra lines after the usepackage tikpicture line,

%%%<
\usepackage{verbatim}
\usepackage[tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{5pt}%
%%%>
\begin{comment}
:Title: A calender for doublesided DIN-A4
Tags: Calendar library;Calendars
:Author: Robert Krause

An example how the calendar package can be used to provide
an doublesided calendar for the whole year.
\end{comment}

The problem seems to lie with the preview package. If I comment out the related 3 lines it works, but if I just uncomment the \usepackage[tightpage]{preview} line it gives EveryShipOut errors.

Offline

#16 2014-05-27 13:59:11

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: [SOLVED] LaTeX broken on Arch ?

I can confirm the above.  It works after commenting the following lines:

%\usepackage[tightpage]{preview}
%\PreviewEnvironment{tikzpicture}
%\setlength\PreviewBorder{5pt}

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#17 2014-05-27 18:01:00

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [SOLVED] LaTeX broken on Arch ?

Trilby wrote:

I can confirm the above.  It works after commenting the following lines:

%\usepackage[tightpage]{preview}
%\PreviewEnvironment{tikzpicture}
%\setlength\PreviewBorder{5pt}

Same here.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#18 2014-05-29 19:37:51

PolePosition
Member
From: France
Registered: 2012-04-15
Posts: 90

Re: [SOLVED] LaTeX broken on Arch ?

Ahaha thanks!
Do you think I should tell them?
I mean, on the http://www.texample.net/ website?

Last edited by PolePosition (2014-05-29 19:38:26)


Life is not linear.
-----------
Arch power !

Offline

Board footer

Powered by FluxBB