General ⇒ Installing Textopo
Installing Textopo
Hello all,
I am such a novice at all of this, and am having trouble installing the Textopo program. The instructions say to "run" textopo.ins, and then "run" textopo.dtx, twice, in Latex.
Can someone please tell me how exactly to do this?
I have downloaded TexLive, and the editor seems to be TexWorks.
I would really love to start making some topology diagrams with this software!
Thanks
I am such a novice at all of this, and am having trouble installing the Textopo program. The instructions say to "run" textopo.ins, and then "run" textopo.dtx, twice, in Latex.
Can someone please tell me how exactly to do this?
I have downloaded TexLive, and the editor seems to be TexWorks.
I would really love to start making some topology diagrams with this software!
Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.

Installing Textopo
It seems that textopo is distributed with texlive, so you should be able to get it using texlive's package manager. If not, "run" textopo.ins means open textopo.ins in texworks, make sure the drop down box is set to "pdflatex" (or "latex") and press the green triangle button. This will create the require .sty file(s). Do the same with textopo.dtx, which will create the documentation. Next you need to move the .sty files to somewhere TeX can find them and refresh the TeX database (open a command prompt window and type "texhash" or, if that doesn't work "mktexlsr").
Regards
Nicola Talbot
Regards
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: Installing Textopo
So if the textopo.sty file cannot be found, would I get the error message that the "textopo environment is undefined"?
Installing Textopo
Thanks for the reply.
do I need to include a "document class" for textopo? If so, what is the class I should use? I placed the textopo.sty file in C:\texlive\2011\texmf-dist\tex\latex\textopo. I think that's the right place? Anyway, when I try running the script
I get the error message:
Any suggestions?
thanks so much
do I need to include a "document class" for textopo? If so, what is the class I should use? I placed the textopo.sty file in C:\texlive\2011\texmf-dist\tex\latex\textopo. I think that's the right place? Anyway, when I try running the script
Code: Select all
\documentclass{article}
\usepackage{textopo}
\begin{textopo}
\getsequence{PHD}{AQP1.phd}
\end{textopo}
Code: Select all
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(c:/texlive/2011/texmf-dist/tex/latex/base/size10.clo)) (./textopo.sty
! Undefined control sequence.
l.1 \run
{C:\Documents and Settings\Owner\My Documents\textopo.ins}
?
Any suggestions?
thanks so much
Last edited by Stefan Kottwitz on Thu Sep 29, 2011 5:44 pm, edited 1 time in total.
Installing Textopo
You've missed the document environment. Here's an example that doesn't rely on an external file:Code: Select all
\documentclass{article} \usepackage{textopo} \begin{textopo} \getsequence{PHD}{AQP1.phd} \end{textopo}
Code: Select all
\documentclass{article}
\usepackage{textopo}
\begin{document}
\begin{textopo}
\sequence{MASEIKKKLFWRAV[VAEFLAMTLFVFISIGSA]LGFNYPLERN
QTLVQDN[VKVSLAFGLSIATLAQSVG]HISGAHSNPAVTL[GLLLSCQISILR
AVMYIIAQCVGAI]VASAILSGITSSLLENSLGRNDLARGVNSG[QGLGIEIIG
TLQLVLCVL]ATTDRRRRDLGGSA[PLAIGLSVALGHLLAIDY]TGCGINPARS
FGSAVLTRNFSNHWI[FWVGPFIGSALAVLIYDFI]LAPRSSDFTDRMKVWTSG
QVEEYDLDADDINSRVMKPK}
\end{textopo}
\end{document}
This is saying that it's picking up textopo.sty from the current directory (the same folder as your document) rather than from C:\texlive\2011\texmf-dist\tex\latex\textopoCode: Select all
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (c:/texlive/2011/texmf-dist/tex/latex/base/size10.clo)) (./textopo.sty
This is very odd. It suggests something's gone wrong with the installation. Try opening textopo.sty with texworks. The start of the file should look something like:Code: Select all
! Undefined control sequence. l.1 \run {C:\Documents and Settings\Owner\My Documents\textopo.ins} ?
Code: Select all
%%
%% This is file `textopo.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% textopo.dtx (with options: `textpo')
%%
%% A LaTeX package for shaded membrane protein topology plots
%%
%% Copyright (C) 2000-2005 Eric Beitz
%% See the file textopo.txt
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{textopo}[2001/03/09 LaTeX TeXtopo (v1.4)]
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Installing Textopo
Yes, the file looks just like that when I open it. When I run the script you provided I get the following:
Should I try to reinstall textopo? Does this mean uninstalling what I already tried to install?!!
Thanks again for your help
Code: Select all
(c:/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(c:/texlive/2011/texmf-dist/tex/latex/base/size10.clo)) (./textopo.sty
! Undefined control sequence.
l.1 \run
{C:\Documents and Settings\Owner\My Documents\textopo.ins}
?
Thanks again for your help
Installing Textopo
According to your error message, line 1 of textopo.sty contains:
which doesn't make sense. Try deleting the version of textopo.sty that's in the same folder as your document and retry. If that doesn't work, you may have to try reinstalling:
Nicola Talbot
Code: Select all
\run{C:\Documents and Settings\Owner\My Documents\textopo.ins}
- Open textopo.ins in texworks
- Run latex
- Move textopo.sty to c:/texlive/2011/texmf-dist/tex/latex/textopo/
- Open the MSDOS command prompt (usually in Accessories)
- Type texhash or, if that doesn't work, mktexlsr
- Keep the command prompt open and type
This should list the correct location of textopo.sty
Code: Select all
kpsewhich textopo.sty
- Retry the sample document
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Installing Textopo
Ok, So when I enter the code:
I get the response:
./textopo.sty
Where does that mean it is?
Thanks
Code: Select all
kpsewhich textopo.sty
./textopo.sty
Where does that mean it is?
Thanks
Installing Textopo
I redid all of the steps you suggested and this was the output, again:
Code: Select all
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (Web2C 2011)
restricted \write18 enabled.
entering extended mode
(./text textopo.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2011-07-01, ngerman-x-2011-07-01, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, or
iya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
lao, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, pol
ish, portuguese, romanian, russian, sanskrit, serbian, serbianc, slovak, sloven
ian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded
.
(c:/texlive/2011/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(c:/texlive/2011/texmf-dist/tex/latex/base/size10.clo)) (./textopo.sty
! Undefined control sequence.
l.1 \run
{C:\Documents and Settings\Owner\My Documents\textopo.ins}
?
Re: Installing Textopo
Update:
I did a search of all files and folders for "textopo.sty" and it turned up quite a few hits (who knows why), so I deleted them all except the one in texlive\2011\texmf-dist\tex\latex\textopo. That seemed to work because when I re-entered the code you gave I ACTUALLY GOT A TOPOLOGY PLOT!!! This is a big day, so thank you.
Meagan
I did a search of all files and folders for "textopo.sty" and it turned up quite a few hits (who knows why), so I deleted them all except the one in texlive\2011\texmf-dist\tex\latex\textopo. That seemed to work because when I re-entered the code you gave I ACTUALLY GOT A TOPOLOGY PLOT!!! This is a big day, so thank you.
Meagan