in All availableThis forumThis topic
 [HOWTO] LaTeX Quickstart Guide View unanswered posts View posts from last 24 hours Goto page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
slartibartfasz
Veteran

Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

 Posted: Fri Jun 04, 2004 7:21 am    Post subject: You could use the option 'texcl' or one of the possible escape sequences to typeset LaTeX code inside a listing. Also try to explicitly set 'extendedchars' as an option. Details about the options can be found in /usr/share/texmf/doc/latex/listings/listings.dvi Welcome to LaTeX _________________To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
data
n00b

Joined: 15 Jan 2004
Posts: 17
Location: France

Posted: Fri Jun 04, 2004 5:46 pm    Post subject:

Great it worked, thanks.

I just added this line towards the beginning of my document.
 Code: \lstset{extendedchars=true}

Now all the accents appear normally.
mvikred
n00b

Joined: 26 Mar 2004
Posts: 33

Posted: Mon Jun 07, 2004 12:18 pm    Post subject:

 Code: The LOG file does not exist or you do not have read permission. Maybe you forgot to create the LOG file?

thts the error i get , every time i try to run .... i followed all the steps in the guide for latex , but i still end up getting this result

plzzz help

mvikred
slartibartfasz
Veteran

Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

 Posted: Mon Jun 07, 2004 12:38 pm    Post subject: Can you give us some more details? What command did you issue, what did you try already..._________________To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
karnesky
Apprentice

Joined: 18 Mar 2004
Posts: 218

 Posted: Mon Jun 07, 2004 7:25 pm    Post subject: Try running latex from an xterm or shell. IIRC, Kile prints this error when it tried to open a log that doesn't exist. Usually the log doesn't exist because latex didn't make one. Perhaps you didn't save your file and/or didn't save it with an appropriate extension.
mvikred
n00b

Joined: 26 Mar 2004
Posts: 33

Posted: Tue Jun 08, 2004 8:07 am    Post subject:

 slartibartfasz wrote: Can you give us some more details? What command did you issue, what did you try already...

i used F2 command , tht is latex command , and the output shud be a dvi file , instaed i get this msg

mvikred
mvikred
n00b

Joined: 26 Mar 2004
Posts: 33

Posted: Tue Jun 08, 2004 8:13 am    Post subject:

 karnesky wrote: Try running latex from an xterm or shell. IIRC, Kile prints this error when it tried to open a log that doesn't exist. Usually the log doesn't exist because latex didn't make one. Perhaps you didn't save your file and/or didn't save it with an appropriate extension.

mvikred@Tamarlane mvikred \$ ls
Desktop DjSuketu-BinTereSanam.mp3 Kihim Beach Pics-June 1st MyDownloads Output.avi int.tex int.tex~ temp wordlist
mvikred@Tamarlane mvikred \$ latex
This is TeX, Version 3.14159 (Web2C 7.3.1)
**
**int.tex
(Fatal format file error; I'm stymied)
mvikred@Tamarlane mvikred \$

this is what i get when i do what u say , and i did save the file with .tex extension from kile also

mvikred
karnesky
Apprentice

Joined: 18 Mar 2004
Posts: 218

 Posted: Tue Jun 08, 2004 2:18 pm    Post subject:
mvikred
n00b

Joined: 26 Mar 2004
Posts: 33

Posted: Tue Jun 08, 2004 6:01 pm    Post subject:

 karnesky wrote: See if http://www.tex.ac.uk/cgi-bin/texfaq2html?label=formatstymy helps

thanx man this worked

mvikred
arand
Apprentice

Joined: 22 Apr 2003
Posts: 215

Posted: Tue Jul 06, 2004 4:02 pm    Post subject:

A little note for the front page of this thread.

dvipdfm now depends on tetex <2 and is blocked by tetex 2*. What this means is if you do a emerge -uD world it will downgrade you to tetex1*. Currently tetex 2* will install its own dvipdfm. I have not tried it out personally to see how it works.

I would recommend at least for the time being removing
 Code: emerge dvipdfm
from the first post.
slartibartfasz
Veteran

Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

 Posted: Tue Jul 06, 2004 6:45 pm    Post subject: Thanks, arand, i didnt notice that - the version of dvipdfm works fine for me. I'll remove the line._________________To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
karnesky
Apprentice

Joined: 18 Mar 2004
Posts: 218

 Posted: Mon Aug 09, 2004 12:32 am    Post subject: vim-latexsuite latex-suite for vim is quite nice. But I'm having a problem with the Alt Key Macros. I can't seem to use any of the macros in vim on the console or in rxvt. In gvim, alt-[l,c,b] but alt-i inserts an 'é' Anyone have any ideas regarding the use of these? Thanks! EDIT: It appears alt-m has been replaced with alt-b.
slartibartfasz
Veteran

Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

 Posted: Mon Aug 09, 2004 6:38 am    Post subject: vim and gvim read different rc files (/etc/vim) maybe thats the reason._________________To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
karnesky
Apprentice

Joined: 18 Mar 2004
Posts: 218

Posted: Mon Aug 09, 2004 1:54 pm    Post subject:

Thanks for the reply. I don't think that is the problem.

gvim reads both .vimrc and .gvimrc. vim just reads the former. I have absolutely nothing in ~/.gvimrc and nothing relevant in /etc/vim/gvimrc.

As a work-around, I've put this into my tex.vim file:
 Code: imap Tex_MathBF imap Tex_MathCal imap Tex_LeftRight imap Tex_InsertItem imap IMAP_JumpBack
discostu
Guru

Joined: 01 Nov 2002
Posts: 333

 Posted: Sun Aug 29, 2004 8:34 pm    Post subject: latex document with fancyhdr and fullpage I'm using latex for my English class and we're required to have our name, date, and assignment number in the upper right hand corner. To keep my assignment to 1 page, I'm using the fullpage package. I'm also using the fancyhdr package to do the header. However, because the header is 3 lines, it overlaps the body. When I add \headheight it kind of fixes it, but it seems to move everything down the page and it doesn't look good. What's the best way to fix this? Thanks, Stu_________________"Disco Stu doesn't advertise."
arand
Apprentice

Joined: 22 Apr 2003
Posts: 215

Posted: Sun Aug 29, 2004 10:39 pm    Post subject: Re: latex document with fancyhdr and fullpage

 discostu wrote: \ldots However, because the header is 3 lines, it overlaps the body. When I add \headheight it kind of fixes it, but it seems to move everything down the page and it doesn't look good. What's the best way to fix this? Thanks, Stu

A quick fix might be to subtract the same amount from \textheight.

Another soution might be to remove the full page package but I am not sure on that fact.

dpl
Tux's lil' helper

Joined: 22 Apr 2003
Posts: 137

 Posted: Tue Oct 05, 2004 8:34 pm    Post subject: After a professor of mine suggested I learn LaTeX, I did a quick search on the forums for LaTeX and how to use it, and found this. This is friggin' fantastic! Thanks a ton to slartibartfasz and all others who pitched in. If it were not for these easy to use and follow instructions, I'd still be lost. - dpl_________________puto risi vidi
Pseud
Apprentice

Joined: 19 Mar 2004
Posts: 273
Location: Bangalore, India

Posted: Sun Oct 17, 2004 1:32 am    Post subject:

I get this error after I sync'd today:
 Code: # emerge -pvt tetex These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [blocks B     ] app-text/tetex (from pkg app-text/ptex-3.1.3) [blocks B     ] app-text/tetex (from pkg app-text/xdvik-22.40y-r2) [ebuild  N    ] app-text/xdvik-22.40y-r2  -cjk +libwww 2,203 kB [ebuild  N    ]  app-text/ptex-3.1.3  +X -debug +doc 1,966 kB [ebuild   R   ] app-text/tetex-2.0.2-r3  +X -debug +doc 0 kB

Why the blocking?
_________________
eschew obfuscation
tfh
n00b

Joined: 03 Aug 2004
Posts: 59

Posted: Sat Oct 23, 2004 12:41 am    Post subject:

Same type of issue here with another latex package :

 Code: [blocks B     ] dev-tex/eurosym (from pkg app-text/tetex-2.0.2-r3) [blocks B     ] >=app-text/tetex-2 (from pkg dev-tex/eurosym-1.4)

Maybe those packages got included in tetex ? I don't know the solution either .
_________________
tfh
GPG Key:0x960AAEF2
Key Fingerprint: 6763 E0E0 29AC A928 2612 4B14 15FE 6A45 960A AEF2
BlackEdder

Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

 Posted: Sat Oct 23, 2004 2:14 pm    Post subject: From the emerge man page: [blocks B ] app-text/dos2unix (from pkg app-text/hd2u-0.8.0) Dos2unix is Blocking hd2u from being emerged. Blockers are defined when two packages will clobber each others files, or otherwise cause some form of breakage in your system. How- ever, blockers usually do not need to be simultaneously emerged because they usually provide the same functionality. You will have to unmerge tetex to be able to emerge the others
twam
Apprentice

Joined: 15 Feb 2005
Posts: 189
Location: Ammerbuch, Germany

 Posted: Sat Apr 09, 2005 12:32 pm    Post subject: Is there no easy and automatic way of updating the packages like Miktex for Windows? I don't want to download 20 packages by hand and include them.
karnesky
Apprentice

Joined: 18 Mar 2004
Posts: 218

Posted: Sat Apr 09, 2005 2:18 pm    Post subject:

 twam wrote: Is there no easy and automatic way of updating the packages like Miktex for Windows? I don't want to download 20 packages by hand and include them.
I suggest getting the packages you use into portage. However, the main tetex site runs a rsync server.
_________________
Donate to F/OSS
slartibartfasz
Veteran

Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

Posted: Sun Apr 10, 2005 6:56 pm    Post subject:

 twam wrote: Is there no easy and automatic way of updating the packages like Miktex for Windows? I don't want to download 20 packages by hand and include them.

There is en eclass for tex packages - just take a look at one of the existing ebuilds - most of them consist of three steps:

inherit eclass
run tex and install

If the packages you want to install follow the standards, all you need to do is to save such a basic ebuild under the proper name in /usr/local/portage/dev-tex and emerge it. If it works and you want to be nice you can then submit the ebuild to bugs.gentoo.org for inclusion, next time the package is upgraded someone (not necessarily you) will adjust the ebuild and everyone will be update automatically. Gentoo rocks
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
erebus
n00b

Joined: 17 May 2002
Posts: 49
Location: United Kingdom

 Posted: Thu Jun 09, 2005 3:52 pm    Post subject: Truetype fonts Is there any chance someone could extend this guide to include making truetype fonts available to latex/pdflatex? I can't seem to get it work. I'm following the guide here and trying to install the genium font; http://ipe.compgeom.org/pdftex_1.html But for some reason can't get pdflatex to detect my gentium.map file.
Flandry
n00b

Joined: 27 Feb 2004
Posts: 52
Location: Boston, MA

Posted: Thu Jul 07, 2005 6:21 pm    Post subject: Are small caps not available by default?

I've tried putting some small caps into my thesis with \textsc (also tried \sc), but apparently small caps aren't in the default install because i get this warning:
 Code: Font shape `OT1/cmr/bx/sc' undefined(Font) using `OT1/cmr/bx/n' instead on input line 1. Font shape `OT1/cmr/bx/sc' undefined(Font) using `OT1/cmr/bx/n' instead ./methods.tex:0: Some font shapes were not available, defaults substituted.

Is that unusual? How can i get the small caps font shapes installed?
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMTGoto page Previous  1, 2, 3, 4, 5, 6  Next Page 4 of 6

 Jump to: Select a forum Assistance----------------News & AnnouncementsFrequently Asked QuestionsInstalling GentooMultimediaDesktop EnvironmentsNetworking & SecurityKernel & HardwarePortage & ProgrammingGamers & PlayersOther Things GentooUnsupported Software Discussion & Documentation----------------Documentation, Tips & TricksGentoo ChatGentoo Forums FeedbackOff the WallDuplicate Threads International Gentoo Users----------------中文 (Chinese)DutchFinnishFrenchDeutsches Forum (German)  Diskussionsforum  Deutsche DokumentationGreekForum italiano (Italian)  Forum di discussione italiano  Risorse italiane (documentazione e tools)Polskie forum (Polish)  Instalacja i sprzęt  Polish OTWPortuguese  Documentação, Ferramentas e DicasRussianScandinavianSpanishOther Languages Architectures & Platforms----------------Gentoo on AMD64Gentoo on ARMGentoo on PPCGentoo on SparcGentoo on Alternative ArchitecturesGentoo for Mac OS X (Portage for Mac OS X)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum