You are not logged in.

#101 2007-11-20 16:24:00

Firmicus
Forum Fellow
From: Germany
Registered: 2006-02-28
Posts: 168

Re: TeX Live packages

<From http://archlinux.org/pipermail/tur-user … 6254.html>

I have produced svn packages of all texlive packages whose content has been updated on the texlive svn repo since the official 2007 release. I have also split the binaries, libraries and configuration files out of the core package so that we have now texlive-core-svn containing only the texmf-dist tree, and depending on texlive-bin.

Note that texlive-core (stable) will also be split in the same way soon and will depend on the SAME texlive-bin package as texlive-core-svn. So "svn" is not necessarily synonymous with "dangerous" here: only the CTAN stuff (tex & latex macros, fonts, documentation, etc) is bleeding edge. The rest is "stable".

This has the advantage that future updates of texlive-core and texlive-core-svn will not require recompiling the whole beast tongue

As of yesterday I have uploaded only texlive-core-svn and texlive-bin to [community]. Now I would appreciate if TeXLive users could test texlive-core-svn for a little while before I proceed with the other svn packages. Then I will upload the new, leaner version of texlive-core that depends on texlive-bin.

Firmicus

Offline

#102 2007-11-20 17:33:18

Xilon
Member
Registered: 2007-01-01
Posts: 243

Re: TeX Live packages

Does this mean that the required packages, as in the most minimal set of packages required to get a basic document compiled, are now smaller in size, or just that there are more of them? I remember texlive-core being over 100mb, though it's now only 85mb, it's still quite big for me. Hopefully this will take the file size down a bit.

Last edited by Xilon (2007-11-20 17:34:10)

Offline

#103 2007-11-20 19:20:20

Firmicus
Forum Fellow
From: Germany
Registered: 2006-02-28
Posts: 168

Re: TeX Live packages

Xilon wrote:

Does this mean that the required packages, as in the most minimal set of packages required to get a basic document compiled, are now smaller in size, or just that there are more of them? I remember texlive-core being over 100mb, though it's now only 85mb, it's still quite big for me. Hopefully this will take the file size down a bit.

Currently we have:

texlive-core-svn: 64MB + texlive-bin: 13MB = 77MB

This is the absolute minimum, sorry! I have taken pains to keep it as small as possible while avoiding major maintainance pains. And you should know that this provides A LOT MORE typetting power than tetex wink

Offline

#104 2007-11-21 05:54:57

Xilon
Member
Registered: 2007-01-01
Posts: 243

Re: TeX Live packages

That's a good effort, half the size of what it was previously, iirc. It'll make updating a lot less painful, thanks.

Offline

#105 2007-11-22 11:43:04

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: TeX Live packages

I salute the effort to reduce the size and modularize packages!

That said, I'm new to TeX (alghough I tried some years ago). I wanted to ask a few questions.
First, does TeXLive handle utf8? I remember close to no TeX distro used to...
Second, any non-ascii character seems to be dropped by TeX (regardless of the source file encoding), notably accented characters.
Third, I tried this and while the outputted dvi is good, it chokes on dvipdf:

dvipdf hello.dvi hello.pdf
Error: /invalidfont in /findfont
Operand stack:
GPL Ghostscript 8.60: Unrecoverable error, exit code 1

because of

\usepackage{times}

I'm clueless here. A missing font? Which package? Is that out of TeX scope and relies on /usr/share/fonts?

Last edited by lloeki (2007-11-22 11:43:22)


To know recursion, you must first know recursion.

Offline

#106 2007-11-22 12:01:07

awagner
Member
From: Mainz, Germany
Registered: 2007-08-24
Posts: 191

Re: TeX Live packages

lloeki wrote:

First, does TeXLive handle utf8? I remember close to no TeX distro used to...

pdf(la)tex, which is included in texlive does, with the following command:

\usepackage[utf8]{inputenc}

(or utf8x, which works somewhat differently. but I don't know the details)
xe(la)tex, which is also included uses utf8 internally anyway.
(but somewhere I have gotten the idea it would be good to use

\usepackage{xunicode,fontspec,xltxtra}

with xelatex.)

Second, any non-ascii character seems to be dropped by TeX (regardless of the source file encoding), notably accented characters.

not so here. except for the inputenc setting I could only imagine the fontenc setting to be responsible...

...

\usepackage{times}

times is deprecated. try usepackage{mathptmx}

HTH,
Andreas

Offline

#107 2007-11-22 12:05:27

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: TeX Live packages

lloeki wrote:

[...] First, does TeXLive handle utf8? I remember close to no TeX distro used to...
Second, any non-ascii character seems to be dropped by TeX (regardless of the source file encoding), notably accented characters.
[...]

\usepackage{times}

I'm clueless here. A missing font? Which package? Is that out of TeX scope and relies on /usr/share/fonts?

I'm able to use the package "times", try installing texlive-extrafonts, although I think it should be in -core, do you have a directory /opt/texlive/texmf-dist/tex/latex/times/ ?

And for accents, you can't type ' ë ' in latex, you should type ' \"e '.

Offline

#108 2007-11-22 12:22:24

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: TeX Live packages

But you can type ë when using fonts with the TeXnANSI font encoding (in that case you can use ISO 8859-1 input files and need not to type \"e). But after experimenting with UTF8 it seems much easier to use that file encoding using \usepackage[utf8]{inputenc} or with XeTeX or (still experimental) LuaTeX.

By the way, does \usepackage[utf8]{inputenc} also work with pdftex (that is, the Plain TeX variant)?

Offline

#109 2007-11-22 13:59:22

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: TeX Live packages

\usepackage[utf8]{inputenc}

excellent, that allows me to use utf8, and accented chars now show up. thanks Anreas.

do you have a directory /opt/texlive/texmf-dist/tex/latex/times/ ?

yes I have.
also, \usepackage{mathptmx} gives the same result as with times: dvi file is generated properly, but dvipdf fails.

btw, my installed packages are:

$ find /var/lib/pacman/local/ |grep texlive | sed 's#\(.*[0-9]\)/.*#\1#' |sort -u
/var/lib/pacman/local/texlive-bin-2007.2-2
/var/lib/pacman/local/texlive-core-svn-2007.5494-1
/var/lib/pacman/local/texlive-genericextra-2007.1-2
/var/lib/pacman/local/texlive-latex3-2007.1-2

Last edited by lloeki (2007-11-22 14:02:33)


To know recursion, you must first know recursion.

Offline

#110 2007-11-22 14:13:14

Firmicus
Forum Fellow
From: Germany
Registered: 2006-02-28
Posts: 168

Re: TeX Live packages

Marcel- wrote:

By the way, does \usepackage[utf8]{inputenc} also work with pdftex (that is, the Plain TeX variant)?

No this is specific to LaTeX. Note that with plain XeTeX you can use UTF-8 input natively. There may be a way to do this with plain TeX (i.e. pdfetex which is the default engine now), but I really don't know. You could ask on comp.text.tex.

Offline

#111 2007-11-22 15:15:42

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: TeX Live packages

I found and solved the issue. this got me on the track. the guy had a printing problem with an error message similar to mine, and with the same fonts. he reinstalled cups. this led me to think, as I asked before, that this was not really a tex problem. as the common point between cups and tex is ghostscript (and that it was the one returning the error in the first place) I concurred it was a ghostscript one:

$ pacman -Ss ghostscript
extra/ghostscript 8.60-1
    An interpreter for the PostScript language
extra/gsfonts 8.11-4
    Ghostscript standard Type1 fonts

on my installation, ghostscript has been pulled in by cups (and maybe it would have been by texlive too). whatever, I did not have gsfonts installed.

$ sudo pacman -S extra/gsfonts
latex hello.tex
dvipdf hello.dvi hello.pdf

and it was a success.

may I suggest a notice about gsfonts to be set at the end of {texlive-core|texlive-bin}? or should gsfonts be set as a dependency?

Last edited by lloeki (2007-11-22 15:17:22)


To know recursion, you must first know recursion.

Offline

#112 2007-11-22 15:18:41

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: TeX Live packages

I don't know of a way to use utf8 directly in (plain) tex, but there is a way to let tex convert encodings on the input: fonts always have some internal encoding (for example, csfonts use il2), and if my file is in say cp1250 encoding, by

tex -translate-file=cp1250cs.tcx <file>

tex will see my file as encoded in il2, and fonts will work as expected. Look into tcx files...
If tex drops non-ascii characters, maybe you need to specify -8bit parameter on the command line, since tex used to use only 7bit characters by default (but I thought this has changed by now).

Offline

#113 2007-11-22 16:13:49

awagner
Member
From: Mainz, Germany
Registered: 2007-08-24
Posts: 191

Re: TeX Live packages

Marcel- wrote:

But you can type ë when using fonts with the TeXnANSI font encoding (in that case you can use ISO 8859-1 input files and need not to type \"e). But after experimenting with UTF8 it seems much easier to use that file encoding using \usepackage[utf8]{inputenc} or with XeTeX or (still experimental) LuaTeX.

Just for reference: Please don't confuse font and input encoding.

http://www.tug.org/mactex/fonts/fonttutorial-current.html wrote:

The encoding of a font defines the number and ordering of characters in a TFM file, which is TEX's interface between the input to be processed (i.e. the TEX file) and the glyphs – the geometrical shapes – to be taken from the font file (i.e. from the PFB file). Several encodings coexist; for Latin alphabets the most common ones are called OT1, T1, TS1 and LY1.

OT1 is the encoding of the original TEX fonts, known as CM (Computer Modern). Technically it is a 7-bit encoding, providing access to only 128 characters per font. As a consequence, accented letters are not included: they are constructed as composites, i.e. non-accented letters + accents, at the time LATEX is run. Unfortunately, LATEX cannot hyphenate any word containing a composite.

T1 is a more recent encoding, used in the updated TEX fonts known as EC (European Computer modern). It is also called Cork encoding, from the name of the Irish city where the TUG meeting was held where it was presented. Technically it is an 8-bit encoding, providing access to 256 characters per font. As a consequence accented letters for most European languages are included as single characters, allowing hyphenation. Each T1-encoded font is accompanied by a TS1-encoded one, also called Text Companion font and containing special characters like \dagger or \bullet for which there was no room left inside T1.

LY1 encoding, also called TEX n' ANSI, is an alternative 8-bit encoding functionally equivalent to T1 and TS1 but more compatible with Windows, allowing the use of LY1-encoded fonts in other Windows applications. It has been developed by Y&Y.

(for accented characters that means that with 8bit encodings they have their own glyph and thus don't confuse the hyphenation or the search engine of the pdf/dvi viewing program.)

also see the UK TeX FAQ §55

whereas

the input encoding defines the mapping from the keyboard to the metrics file, allowing direct input of accented letters, for example by pressing the key 'ç' on a French keyboard instead of typing the LATEX control sequence '\c c'. Think of the input encoding as indicating to LATEX that, when the key 'ç' is pressed, the character 'ç' from the metrics file is looked for, and the font encoding as indicating how this character 'ç' is translated into the glyph 'ç' from the PostScript font file.

so you'll want to use \usepackage[utf8]{inputenc} and whatever fontenc suits your font installation/preferences. Note however, that AFAIU, this still isn't enough for languages such as CJK...
(for utf8 vs. utf8x, see also http://lists.debian.org/debian-tetex-ma … 00533.html.)

Finally, note that the above applies to (pdf)LaTeX, I don't know how it is WRT plain (pdf)TeX.

Offline

#114 2007-11-23 20:15:36

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: TeX Live packages

I'm getting tons of errors installing texlive-most on x86_64:

( 2/17) installing texlive-bibtexextra              [#####################] 100%
/var/lib/pacman/local/texlive-bibtexextra-2007.1-2/install: line 8: texconfig-sy
s: command not found
( 3/17) installing texlive-fontsextra               [#####################] 100%
/var/lib/pacman/local/texlive-fontsextra-2007.1-2/install: line 51: texconfig-sy
s: command not found
/var/lib/pacman/local/texlive-fontsextra-2007.1-2/install: line 52: updmap-sys:
command not found
( 4/17) installing texlive-formatsextra             [#####################] 100%
/var/lib/pacman/local/texlive-formatsextra-2007.1-2/install: line 8: texconfig-s
ys: command not found
( 5/17) installing texlive-games                    [#####################] 100%
/var/lib/pacman/local/texlive-games-2007.1-2/install: line 11: texconfig-sys: co
mmand not found
/var/lib/pacman/local/texlive-games-2007.1-2/install: line 12: updmap-sys: comma
nd not found
( 6/17) installing texlive-genericextra             [#####################] 100%
/var/lib/pacman/local/texlive-genericextra-2007.1-2/install: line 8: texconfig-s
ys: command not found
( 7/17) installing texlive-htmlxml                  [#####################] 100%
/var/lib/pacman/local/texlive-htmlxml-2007.1-2/install: line 8: texconfig-sys: c
ommand not found
( 8/17) installing texlive-latexextra               [#####################] 100%
/var/lib/pacman/local/texlive-latexextra-2007.1-2/install: line 12: texconfig-sy
s: command not found
/var/lib/pacman/local/texlive-latexextra-2007.1-2/install: line 13: updmap-sys:
command not found
( 9/17) installing texlive-humanities               [#####################] 100%
/var/lib/pacman/local/texlive-humanities-2007.1-2/install: line 8: texconfig-sys
: command not found
(10/17) installing texlive-latex3                   [#####################] 100%
/var/lib/pacman/local/texlive-latex3-2007.1-2/install: line 8: texconfig-sys: co
mmand not found
(11/17) installing texlive-music                    [#####################] 100%
/var/lib/pacman/local/texlive-music-2007.1-2/install: line 10: texconfig-sys: co
mmand not found
/var/lib/pacman/local/texlive-music-2007.1-2/install: line 11: updmap-sys: comma
nd not found
(12/17) installing texlive-omega                    [#####################] 100%
/var/lib/pacman/local/texlive-omega-2007.1-2/install: line 10: texconfig-sys: co
mmand not found
/var/lib/pacman/local/texlive-omega-2007.1-2/install: line 11: updmap-sys: comma
nd not found
(13/17) installing texlive-pictures                 [#####################] 100%
/opt/texlive/bin/texconfig-sys: line 23: kpsewhich: command not found
/opt/texlive/bin/texconfig-sys: line 24: kpsewhich: command not found
/opt/texlive/bin/texconfig-sys: line 30: exec: texconfig: not found
/opt/texlive/bin/updmap-sys: line 23: kpsewhich: command not found
/opt/texlive/bin/updmap-sys: line 24: kpsewhich: command not found
/opt/texlive/bin/updmap-sys: line 30: exec: updmap: not found
(14/17) installing texlive-plainextra               [#####################] 100%
/var/lib/pacman/local/texlive-plainextra-2007.1-2/install: line 8: texconfig-sys
: command not found
(15/17) installing texlive-pstricks                 [#####################] 100%
/var/lib/pacman/local/texlive-pstricks-2007.1-2/install: line 8: texconfig-sys:
command not found
(16/17) installing texlive-publishers               [#####################] 100%
/var/lib/pacman/local/texlive-publishers-2007.1-2/install: line 8: texconfig-sys
: command not found
(17/17) installing texlive-science                  [#####################] 100%
/var/lib/pacman/local/texlive-science-2007.1-2/install: line 11: texconfig-sys:
command not found
/var/lib/pacman/local/texlive-science-2007.1-2/install: line 12: updmap-sys: com
mand not found

Offline

#115 2007-11-24 07:10:17

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: TeX Live packages

I guess (not tested) the .install files should use the full path:
opt/texlive/bin/texconfig-sys instead of texconfig-sys

submit a bug report

Offline

#116 2007-11-24 15:11:50

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: TeX Live packages

Snowman wrote:

I guess (not tested) the .install files should use the full path:
opt/texlive/bin/texconfig-sys instead of texconfig-sys

submit a bug report

http://bugs.archlinux.org/task/8753

Offline

#117 2007-12-03 15:39:07

fi-dschi
Member
Registered: 2007-09-16
Posts: 19

Re: TeX Live packages

Could someone please give a hint for a workaround? It seems as if Snowman has an idea about modifying some files?

Last edited by fi-dschi (2007-12-03 15:39:24)

Offline

#118 2007-12-04 02:02:18

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: TeX Live packages

fi-dschi wrote:

Could someone please give a hint for a workaround? It seems as if Snowman has an idea about modifying some files?

As a workaround (not tested) :
# pacman -S  texlive-core
#  source /etc/profile
then install the other texlive packages that you want.

Offline

#119 2007-12-04 02:08:35

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: TeX Live packages

Snowman wrote:

As a workaround (not tested) :
# pacman -S  texlive-core
#  source /etc/profile
then install the other texlive packages that you want.

This indeed works. Groovy.

Offline

#120 2007-12-04 13:44:11

Firmicus
Forum Fellow
From: Germany
Registered: 2006-02-28
Posts: 168

Re: TeX Live packages

See http://bugs.archlinux.org/task/8753#comment21783

Should be fixed soon. In the meanwhile install texlive-core first.

Offline

#121 2007-12-04 15:36:57

Finkregh
Member
From: Germany/Hannover
Registered: 2007-12-04
Posts: 44

Re: TeX Live packages

isn't that a general issue, that every file that arrives in /etc/profile.d/ due an pkg-installation should be source'd imidiately to cover changes that are needed in further install-scripts?

Offline

#122 2007-12-04 16:42:55

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: TeX Live packages

Firmicus: the texlive-bin package is still orphaned. u should adopt it


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#123 2007-12-04 21:06:42

Firmicus
Forum Fellow
From: Germany
Registered: 2006-02-28
Posts: 168

Re: TeX Live packages

Finkregh wrote:

isn't that a general issue, that every file that arrives in /etc/profile.d/ due an pkg-installation should be source'd imidiately to cover changes that are needed in further install-scripts?

If you look at the install script for texlive-core you'll see the line

source /etc/profile.d/texlive.sh

but unfortunately this does not work sad

Offline

#124 2007-12-04 21:07:20

Firmicus
Forum Fellow
From: Germany
Registered: 2006-02-28
Posts: 168

Re: TeX Live packages

dolby wrote:

Firmicus: the texlive-bin package is still orphaned. u should adopt it

Thanks! roll

Offline

#125 2007-12-05 08:56:23

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: TeX Live packages

\tableofcontents is not working anymore after last update. I'm getting this error message:

Option `amssymb' provided! 
 Command \square redefined by SIunits package!

(/opt/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/opt/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd) [1] (./report.toc)
! Missing number, treated as zero.
<to be read again> 
                   \hfil 
l.31 \clearpage
               
?

Does I miss any package after the split/slimming of the packages?

Last edited by lessthanjake (2007-12-05 08:57:48)

Offline

Board footer

Powered by FluxBB