LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2010, 06:41 PM   #1
elishac
Member
 
Registered: Nov 2009
Posts: 522

Rep: Reputation: 33
latex on linux


hello,

I'm using ubuntu and I'd like to write latex documents.
In windows, I was using miktex and texniccenter, but I think these softwares don't work on linux. What are the best softwares in linux to write latex documents, and how to install them ?

Thanks.
 
Old 01-24-2010, 06:50 PM   #2
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 47
There's a program called 'lyx', I've heard good things about it, haven't tried it myself.
 
Old 01-24-2010, 06:55 PM   #3
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Would that be the compiler (miktex) or the word processor ?
Doesn't anybody use latex on linux ?
What's the most used software ?
 
Old 01-24-2010, 07:04 PM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 4,703

Rep: Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731
Latex was developed on and for Unix 3 decades before Windows became popular, so there is a fair chance it is available.

In your package manager, chose too install:
texlive-latex-base
texlive-latex-base-doc
texlive-latex-extra
texlive-latex-extra-doc
texlive-latex-recommended
texlive-latex-recommended-doc

I think pdflatex is included in one of them

jlinkels

Last edited by jlinkels; 01-24-2010 at 07:07 PM.
 
Old 01-24-2010, 07:35 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
Yes, texlive is the package. Here are some tutorials how to set it up on ubuntu:
https://help.ubuntu.com/community/LaTeX
http://linuxandfriends.com/2009/10/0...-ubuntu-linux/

As far as an editor is concerned, I started with texmaker and then switched to emacs.
 
Old 01-24-2010, 08:00 PM   #6
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 47
lyx is a word processor.

I just download it using

Code:
$ sudo apt-get install lyx lyx-common
and got 231MB worth of dependencies... so you're going to get the kitchen sink in there...
 
Old 01-25-2010, 05:49 AM   #7
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 553

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by elishac View Post
hello,

I'm using ubuntu and I'd like to write latex documents.
In windows, I was using miktex and texniccenter, but I think these softwares don't work on linux. What are the best softwares in linux to write latex documents, and how to install them ?

Thanks.
Erm, I'd say the best "software" to write LaTeX documents would be whatever text editor you prefer to use. In my case this is nedit, however you could use vi, emacs, joe, kate etc etc...
Compiling - use the "latex" command! I couldn't say whether it comes with ubuntu but it does with slackware and certainly used to with Fedora when it was at core 2/3!
 
Old 01-25-2010, 06:44 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
If you used Kubuntu, I would recommend Kile for editing LaTeX documents. It is an ide for LaTeX projects.
 
Old 01-25-2010, 07:36 PM   #9
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Ok so I installed these :
texlive-latex-base
texlive-latex-base-doc
texlive-latex-extra
texlive-latex-extra-doc
texlive-latex-recommended
texlive-latex-recommended-doc
and texmaker.

I have a few problems.
First of all texmaker doesn't show as many tools as I would like. I would prefer something that looks like texniccenter, or at least something that looks like what I found here on google, while searching for "texmaker screenshots". Instead, I get this.
Second of all, as you can see on the screenshot that I made, there's an error on compiling. What should I do so that at least each package listed in the screenshot is available ?
Moreover, as you can see on the screenshot as well, there seems to be a problem with the line count : the line number should be 2 and not 3. How to fix that ?

Thanks.
 
Old 01-25-2010, 10:30 PM   #10
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Can someone help me to solve these problems please ??

Last edited by elishac; 01-26-2010 at 12:43 AM.
 
Old 01-26-2010, 12:44 AM   #11
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Doesn't anyone know the answer to at least one of my problems?
 
Old 01-26-2010, 05:30 AM   #12
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
help.
 
Old 01-26-2010, 06:09 AM   #13
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
Look, behaving in such a childish way will definitely not get you an answer quicker - what it may do is simply annoy forum members.

Google shows that stmaryrd.sty is part of texlive-math-extra. Have you installed it?
 
Old 01-26-2010, 06:38 AM   #14
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
Hi,
thanks for your answer.
I'm sorry if I didn't act in a correct manner, I just thought I'd bring up my post to get more people to see it and to get answered.
No, I didn't know stmaryrd.sty is part of texlive-math-extra. I installed it.
It works better now, but I found some new problems :
- accents are not supported (,,...) (I think the babel package is to blame for that).
- By default, it's compiled as dvi. How to change it to pdf ?
 
Old 01-26-2010, 06:57 AM   #15
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 4,703

Rep: Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731
Quote:
Originally Posted by jlinkels View Post
I think pdflatex is included in one of them
jlinkels
jlinkels
 
  


Reply

Tags
latex


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
LaTeX forum / Where to ask LaTeX questions? max_sipos Linux - Software 2 12-21-2011 01:01 PM
Program accepting Latex source as input and outputs Latex file. stf92 Slackware 5 12-10-2009 02:56 AM
LaTex in linux Anden008 Linux - Software 4 12-04-2005 04:53 AM
LaTeX commands: texi2pdf, latex, dvipdf kaon Linux - Software 7 01-23-2005 04:32 PM
LaTex for Linux loke137 Linux - Software 4 06-07-2003 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration