Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

installing new package

68 views
Skip to first unread message

jmp...@hotmail.com

unread,
Apr 9, 2007, 7:52:17 PM4/9/07
to
There are two folders identified as roots on my system:

C:\Program Files\MikTex
C:\Program Files\MikTexLocal

Everywhere I look says you should install new files (sty files) in the
local folder, in my case:

C:\Program Files\MikTexLocal\tex\latex\{packagename}\

But this folder doesn't exist! The only folder in C:\Program Files
\MikTexLocal\tex is one called 'generic'. I have tried to install a
package using the other root to put .sty files, but it doesn't work.

I am trying to install the textcomp package. I can't find anything in
the unpacked documentation about where to put the files.

Morten Høgholm

unread,
Apr 10, 2007, 1:19:35 AM4/10/07
to
On Tue, 10 Apr 2007 01:52:17 +0200, <jmp...@hotmail.com> wrote:

> I am trying to install the textcomp package. I can't find anything in
> the unpacked documentation about where to put the files.

The textcomp package is already installed on your system. Why do you want
to install it manually?
--
Morten

Robin Fairbairns

unread,
Apr 10, 2007, 5:21:50 AM4/10/07
to

1. you don't need to install textcomp.

2. if you can't create your own folder to install the file, you
probably couldn't install the file anyway.

how should miktex know, when creating your local tree, that some day
you were going to install the fubar package from your friend? if it
tried to do that sort of thing, it would need to create subdirectories
with names covering all conceivable letter/digit combinations; most
people wouldn't have a large enough disc to support that... :-}
--
Robin Fairbairns, Cambridge

jmp...@hotmail.com

unread,
Apr 10, 2007, 7:07:13 AM4/10/07
to
On 10 Apr, 06:19, Morten Høgholm <morten.hoegh...@gmail.com> wrote:

> On Tue, 10 Apr 2007 01:52:17 +0200, <jmp6...@hotmail.com> wrote:
> > I am trying to install the textcomp package. I can't find anything in
> > the unpacked documentation about where to put the files.
>
> The textcomp package is already installed on your system. Why do you want
> to install it manually?
> --
> Morten

I thought it wasn't installed because \textrightarrow didn't work.
Plus, when I try to run the test.tex file that was extracted during
the attempted installation of textcomp, it doesn't recognise any of
the commands in there either.

jmp...@hotmail.com

unread,
Apr 10, 2007, 7:09:31 AM4/10/07
to
On 10 Apr, 10:21, r...@cl.cam.ac.uk (Robin Fairbairns) wrote:
> Robin Fairbairns, Cambridge- Hide quoted text -
>
> - Show quoted text -

Well, textcomp clearly isn't working on my system. I'm giving serious
thought to reinstalling protext from scratch. Maybe that would fix it.

Robin Fairbairns

unread,
Apr 10, 2007, 9:57:02 AM4/10/07
to
jmp...@hotmail.com writes:
>On 10 Apr, 10:21, r...@cl.cam.ac.uk (Robin Fairbairns) wrote:
>> jmp6...@hotmail.com writes:
>> 1. you don't need to install textcomp.
>
>Well, textcomp clearly isn't working on my system. I'm giving serious
>thought to reinstalling protext from scratch. Maybe that would fix it.

i would be surprised if it did.

it might be better (given that _two_ people have told you it doesn't
work) to investigate the problem. i note that you've told us nothing
more than textcomp "doesn't work" ... this puts us in the position of
magic meg with her crystal ball ... we're trying to guess what went
wrong, and at best can only offer plausible explanations.

anyway, my guess is that your test files compile ok, but that viewing
or printing complains that it can't find fonts. if this is indeed the
case, the problem is nothing to do with textcomp, and reinstalling
protext won't help at all.

i would recommend installing the latin modern fonts from the miktex
installer; the alternative would be the ec and the cm-super fonts, but
they're huge (lm is merely "rather large").

anyway, on my system, the code

\documentclass{article}
\usepackage[T1]{fontenc} % set font environment
\usepackage{lmodern} % use latin modern
\usepackage{textcomp} % what we're really after
\begin{document}
A \textrightarrow\ B
\end{document}

works, using the latin modern text symbols. if you've installed the
ec fonts, the first two \usepackage commands aren't necessary.
--
Robin Fairbairns, Cambridge

jmp...@hotmail.com

unread,
Apr 10, 2007, 10:42:05 AM4/10/07
to

sorry, by 'doesn't work' I mean that it doesn't compile. In other
words, running latex on any .tex file which contains textcomp markup
such as \textrightarrow, \textacute, \textarrowdown etc causes the
compiler (i think that's what it is) to pause and come up with the '!
undefined control sequence' complaint.

jmp...@hotmail.com

unread,
Apr 10, 2007, 10:50:40 AM4/10/07
to
but interestingly, it does compile some of them, such as \textbaht,
\textbigcircle, and \textbullet.

Still can't handle \textarrowdown, \textacute, or \textcenteredstar.

jmp...@hotmail.com

unread,
Apr 10, 2007, 10:57:48 AM4/10/07
to
I have decided that you're very clever. Adding the following two lines
that you pointed out:

\usepackage[T1]{fontenc} % set font environment
\usepackage{lmodern} % use latin modern

has had the effect of making it work. I have no idea why. Clearly I
have to investigate the meanings of fontenc and lmodern.

jmp...@hotmail.com

unread,
Apr 10, 2007, 11:07:10 AM4/10/07
to
no, correction. \textrightarrow has started working, but the other
stuff like \textarrowdown still doesn't.

Dan

unread,
Apr 10, 2007, 1:36:16 PM4/10/07
to

Does your file contain \usepackage{textcomp}?

>From a later post:

> no, correction. \textrightarrow has started working, but the other
> stuff like \textarrowdown still doesn't

That command is a misspelling of \textdownarrow.

The two commands \textrightarrow and \textdownarrow both
should work (compile) without any font packages (neither fontenc
nor lmodern). Such fonts may be needed to actually display
the correct symbol in pdf.


Dan

Donald Arseneau

unread,
Apr 10, 2007, 4:57:05 PM4/10/07
to
jmp...@hotmail.com writes:

> no, correction. \textrightarrow has started working, but the other
> stuff like \textarrowdown still doesn't.

As other people said, it is \textdownarrow.

jmp...@hotmail.com

unread,
Apr 11, 2007, 12:17:11 PM4/11/07
to
This is driving me crazy. I have just tried to install the 'rsc'
package. The compiler says 'file rsc.sty' not found. I created a
folder called 'rsc' and put the rsc.sty in it (having run LaTeX on
the .ins and .dtx like you're supposed to). The rsc folder went in one
of my two roots (not the local one because as I said above, there are
no folders in there bearing any resemblance to folders containing .sty
files). I refreshed the fndb (start -> miktex -> options as I am using
windows).
Please can someone tell me where to put the .sty file?? There seems to
be something fundamentally different about my setup to everyone else's.

Alan Ristow

unread,
Apr 11, 2007, 6:23:25 PM4/11/07
to

MiKTeX requires your roots to be TDS-style directories, and files must
be in the correct folders for MiKTeX to register them. For example,
files with a .sty extension must be located in
$ROOT/tex/latex/<package-name>, so you should place rsc.sty in
$ROOT/tex/latex/rsc. You should place it in your local root to avoid
MiKTeX overwriting it, losing it during an upgrade, etc.

I strongly suggest you read section 6 of the MiKTeX manual (assuming
you're using MiKTeX 2.5). You might also find the following links helpful:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wherefiles
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tds

Alan

Tom Micevski

unread,
Apr 11, 2007, 7:17:21 PM4/11/07
to

you can install rcs using the miktex package manager. why don't you try
this method instead?

Ulrike Fischer

unread,
Apr 13, 2007, 8:13:19 AM4/13/07
to
Am 11 Apr 2007 09:17:11 -0700 schrieb jmp...@hotmail.com:

> This is driving me crazy. I have just tried to install the 'rsc'
> package. The compiler says 'file rsc.sty' not found. I created a
> folder called 'rsc' and put the rsc.sty in it (having run LaTeX on
> the .ins and .dtx like you're supposed to). The rsc folder went in one
> of my two roots (not the local one because as I said above, there are
> no folders in there bearing any resemblance to folders containing .sty
> files).

You must create the subfolders (e.g. <local root>/tex/latex/).

> I refreshed the fndb (start -> miktex -> options as I am using
> windows).
> Please can someone tell me where to put the .sty file?? There seems to
> be something fundamentally different about my setup to everyone else's.

Probably you put rsc.sty in the wrong place. It must go in
<(local) root>/tex/latex/rsc/rsc.sty.

--
Ulrike Fischer

0 new messages