General ⇒ Installing Textopo
Installing Textopo
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Installing Textopo
Regards
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: Installing Textopo
Installing Textopo
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
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
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Installing Textopo
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
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
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Installing Textopo
Code: Select all
kpsewhich textopo.sty
./textopo.sty
Where does that mean it is?
Thanks
Installing Textopo
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
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