LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-25-2012, 11:30 AM   #1
palsar
LQ Newbie
 
Registered: Apr 2011
Location: greece
Distribution: slackware
Posts: 26

Rep: Reputation: 0
error with texlive configuration


do i have latex or not...i'm trying to install texlive slackbuild and there's an error configuration :

e -Wdeclaration-after-statement -Wno-unknown-pragmas
checking for clisp... clisp
checking for perl... perl
checking for latex... no
checking for elatex... no
checking for lambda... no
checking for pdflatex... no
configure: error: LATEX is required to build xindy rules
=== configuring in xindy failed
make[2]: *** [subutils] Error 1
make[2]: Leaving directory `/tmp/SBo/texlive-20120701-source/build/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/texlive-20120701-source/build/utils'
make: *** [all-recursive] Error 1

i want to install texlive because i don't know how to display greek letters on latex pdf paper.
 
Old 10-25-2012, 12:26 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hi,

Slackware comes with tetex in the t series. And as far as I've read you'll need this package in order to build texlive from the sources. Here a quote from slackbuilds.org
Quote:
Originally Posted by http://slackbuilds.org/repository/14.0/office/texlive/
Note that this package is intended to completely replace (and then some) the
tetex packages in Slackware, so you'll need to remove tetex and tetex-doc
before installing TeXLive (but NOT before BUILDING it).
This means you'll have to leave the t-series installed until you've built texlive!

I have texlive running but installed it not from slackbuilds.org but with the installer: http://mirror.ctan.org/systems/texli...-tl-unx.tar.gz unfortunately it downloads about 2GB of data while it installs but runs properly on Slackware.

Markus

Last edited by markush; 10-25-2012 at 12:27 PM.
 
1 members found this post helpful.
Old 10-25-2012, 12:35 PM   #3
palsar
LQ Newbie
 
Registered: Apr 2011
Location: greece
Distribution: slackware
Posts: 26

Original Poster
Rep: Reputation: 0
thanx!!!i'm trying to display greeks...i think i'll find a solution without installing texlive
 
Old 10-25-2012, 12:39 PM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Could you please explain what's exactly the problem when you try to create greek letters in LaTeX? As you know these letters are often used in mathmatics and it should be no problem to get them for example
Code:
\alpha, \beta, \Gamma, \gamma etc.
Markus
 
Old 10-25-2012, 12:57 PM   #5
palsar
LQ Newbie
 
Registered: Apr 2011
Location: greece
Distribution: slackware
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Could you please explain what's exactly the problem when you try to create greek letters in LaTeX? As you know these letters are often used in mathmatics and it should be no problem to get them for example
Code:
\alpha, \beta, \Gamma, \gamma etc.
Markus
i know that but i want to write in greek language...
 
Old 10-25-2012, 01:05 PM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Well, that should be similar as writing german language. You should search in the internet for examples of a LaTeX-header for greek-language. For example here: http://users.uom.gr/~athang/latex_gr.html, it works here
Code:
\documentclass[12pt]{article}
\usepackage[english,greek]{babel} %% i teleftaia glossa tha einai default

\begin{document}

\section{Eisagwg'h}

Aut'o e'inai 'ena par'adeigma tou
\selectlanguage{english}site         %% Edo mporoume na valoume kai tin entoli \textlatin{site}
\selectlanguage{greek}tou Gi'annh. %% kai etsi den xreiazetai na xanakanoume \selectlanguage
\end{document}
I'll append the output to this posting.

Markus
Attached Files
File Type: pdf greek.pdf (30.2 KB, 6 views)
 
1 members found this post helpful.
Old 10-25-2012, 01:13 PM   #7
palsar
LQ Newbie
 
Registered: Apr 2011
Location: greece
Distribution: slackware
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Well, that should be similar as writing german language. You should search in the internet for examples of a LaTeX-header for greek-language. For example here: http://users.uom.gr/~athang/latex_gr.html, it works here
Code:
\documentclass[12pt]{article}
\usepackage[english,greek]{babel} %% i teleftaia glossa tha einai default

\begin{document}

\section{Eisagwg'h}

Aut'o e'inai 'ena par'adeigma tou
\selectlanguage{english}site         %% Edo mporoume na valoume kai tin entoli \textlatin{site}
\selectlanguage{greek}tou Gi'annh. %% kai etsi den xreiazetai na xanakanoume \selectlanguage
\end{document}
I'll append the output to this posting.

Markus
thanx markus....i've been searching in google and i saw this example...maybe i have to use latin characters!
 
Old 10-25-2012, 01:34 PM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You should also check the newgroup comp.text.tex

Markus
 
Old 10-25-2012, 02:54 PM   #9
san
Member
 
Registered: Jan 2006
Location: vienna, .at
Distribution: Slackware64 13.37
Posts: 50

Rep: Reputation: 12
1. this solution works with the latest texlive.
Code:
\documentclass[12pt,a4paper]{article}
\usepackage{xltxtra} 
\usepackage{xgreek} 
\setmainfont[Mapping=tex-text]{Linux Libertine O} % I've replaced the font
\begin{document} 
Χαίρε κόσμε 
\end{document}
this requires xetex instead of latex, so you will need texlive.

for shorter texts in greek, there is also the betababel package that you can load instead of babel.

2. you should be able to compile texlive just by replacing --enable-xindy by --disable-xindy in the slackbuild (this is what i did).
 
1 members found this post helpful.
Old 10-25-2012, 03:05 PM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Originally Posted by san View Post
...
2. you should be able to compile texlive just by replacing --enable-xindy by --disable-xindy in the slackbuild (this is what i did).
You do not need to compile texlive when you install the package with the installer http://mirror.ctan.org/systems/texli...-tl-unx.tar.gz
It is no problem that this version doesn't come as a Slackwarepackage, because it installs as /usr/local/texlive/ and one has only to set the pathes correctly. The package can be uninstalled completely by deleting this directory.

Markus
 
1 members found this post helpful.
Old 10-25-2012, 03:35 PM   #11
palsar
LQ Newbie
 
Registered: Apr 2011
Location: greece
Distribution: slackware
Posts: 26

Original Poster
Rep: Reputation: 0
thanx for the help!!!i think i will install texlive slackbuild because i'm tired enough!!
 
Old 10-26-2012, 07:22 AM   #12
palsar
LQ Newbie
 
Registered: Apr 2011
Location: greece
Distribution: slackware
Posts: 26

Original Poster
Rep: Reputation: 0
i finally installed the texlive slackbuild and works fine with greeks...xelatex is fine...thanx for the help!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Build error for texlive lkraemer Slackware 3 10-13-2012 10:14 AM
[SOLVED] latex error installing texlive via sbopkg Cultist Slackware 11 01-23-2012 02:40 PM
update texlive (tlmgr): no texlive.tlpdb tramni1980 Slackware 3 03-30-2011 08:30 AM
Error installing texlive-base package igadoter Ubuntu 1 01-02-2011 09:05 AM
[SOLVED] Texlive SlackBuild error brianL Slackware 6 05-30-2010 08:11 AM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration