GeneralPortableApp version of LaTeX editor?

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
Herr Kaleun
Posts: 4
Joined: Wed Sep 03, 2008 1:23 pm

PortableApp version of LaTeX editor?

Post by Herr Kaleun »

drdousa, Tomek, accept my thanks for reply!

So I will explain it more clearly.
At first, yes I am new with Latex. And that is caused by the idea to write my diploma with Latex (what else ;) ). So I decided to learn this language. The matter is, at my Institute I didn't have my own PC. I can only use my portable HDD. Ok, it wouldn't be difficult to install it at my private PC at home and just editing some text at Institute.
But I wasn't attuned to a so complex portable handling. So I hope you understand my engagement.
(At least I haven't any Admin-rights :( )

The what I have here:
WinShell321 - texlive2008

pdf-settings:
exe=G:\Apps\texlive2008\bin\win32\pdflatex.exe
cmd=-interaction=nonstopmode "%s.pdf"
dos=1

Of Course I started the tl-portable.bat, but I can not explain whether it is right or not.
The following happens:

Code: Select all

Testing for write access G:\Apps\texlive2008\...

 See ./index.html for links to documentation.  The TeX Live web site
 (http://tug.org/texlive/) contains any updates and corrections.

 TeX Live is a joint project of the TeX user groups around the world;
 please consider supporting it by joining the group best for you. The
 list of groups is available on the web at http://tug.org/usergroups.html.

 Welcome to TeX Live!

TL G:\Apps\texlive2008>
What a conclusion... And that is the what I dont understand, why did no one show what happen?! Is it installed or is there something wrong?! Really, I am not stupid with computers. ok, I'm only windows-skilled. But such trouble I dislike.

So, please tell me the name of the folders I need in texlive.
(2.8GB is stupid, differ between the platforms in first instance. So I cant understand the programmers view of it's package.)

Thanks a lot for your help again!
respects, Herr Kaleun
im falle eines falles, ist richtig fallen alles

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

T3.
Posts: 208
Joined: Fri Mar 14, 2008 12:58 pm

PortableApp version of LaTeX editor?

Post by T3. »

Herr Kaleun wrote:The matter is, at my Institute I didn't have my own PC. I can only use my portable HDD. Ok, it wouldn't be difficult to install it at my private PC at home and just editing some text at Institute.
But I wasn't attuned to a so complex portable handling. So I hope you understand my engagement.
Yes, I can understand your problem. Editing the sources without the possibility of viewing the output is suboptimal, indeed. I will try to help you with setting up portable TL but bear in mind two things: 1) I don't know TL too well, I mostly use MiKTeX; 2) TL2008 comes with a brand new package manager and I have no clue how to work with it yet, especially in a portable setup (I guess it should be no different than for regular installation but I don't know).

Firstly, you need to understand that TeX distribution is not a single application but a whole toolset, a suit of programs with a lot of additional support files (scripts, fonts, packages, format files and what not). Additionally, TL developers wanted to support different modes of installation (single user, network, portable) and make it all multiplatform. That's why the configuration is quite involved.
Herr Kaleun wrote:The what I have here:
WinShell321 - texlive2008

pdf-settings:
exe=G:\Apps\texlive2008\bin\win32\pdflatex.exe
cmd=-interaction=nonstopmode "%s.pdf"
dos=1

Of Course I started the tl-portable.bat, but I can not explain whether it is right or not.
[...]
And that is the what I dont understand, why did no one show what happen?! Is it installed or is there something wrong?! Really, I am not stupid with computers. ok, I'm only windows-skilled. But such trouble I dislike.
The main job of tl-portable.bat is to setup environment variables that are used by TeX utilities. On the first run also some configuration files will be created in the subdirectory texmf-var (if you run it from writeable medium) or in %USERPROFILE%\.tlportable2008 (if you run it from read-only medium). After this is done, a command interpreter is started that is prepared for TL. You can compile your documents directly from that interpreter.

The problems you experience are most likely because you call pdflatex.exe through WinShell. Since the environment is not set up properly in this case, TeX cannot locate all the necessary files and the compilation fails. I can suggest two solutions: start WinShell from the interpreter started by TL (so it inherits its environment) or make a batch script to launch TL together with WinShell. In both cases you can make a change in your WinShell settings and use 'exe=pdflatex.exe'. If everything is set up properly, 'pdflatex.exe' should be on the search path, so there is no need to hardcode its location.

Unfortunately, tl-portable.bat in written in such a way that it is difficult to use it in your own launcher. The problem lies in the last two lines:

Code: Select all

%COMSPEC% /k
exit
To make a launcher script for WinShell instead of command interpreter, make a copy of tl-portable.bat and replace those lines with:

Code: Select all

start "" "C:\path to\winshell.exe"
That should be enough.
Herr Kaleun wrote:So, please tell me the name of the folders I need in texlive.
(2.8GB is stupid, differ between the platforms in first instance. So I cant understand the programmers view of it's package.)
I think it should be safe to delete all the platform specific stuff, i.e. everything in 'TLROOT\bin' folder except for 'win32' subdirectory. You can also remove the 'TLROOT\source' and 'TLROOT\support'. This should save about 750MB. For more, you would need to remove some of the packages but you shouldn't just delete them. You should use package manager but I have no experience with it yet, so you are on your own with that.

Cheers,

Tomek
User avatar
Herr Kaleun
Posts: 4
Joined: Wed Sep 03, 2008 1:23 pm

Re: PortableApp version of LaTeX editor?

Post by Herr Kaleun »

That is not a short answer, thanks! I will try. So my reply takes a little time.
greetings Herr Kaleun
im falle eines falles, ist richtig fallen alles
Santy
Posts: 2
Joined: Fri Oct 24, 2008 8:31 am

Re: PortableApp version of LaTeX editor?

Post by Santy »

Have you tried USBTeX?
I've just downloaded it. I'll test it and tell you.
Till soon.

Santy
Santy
Posts: 2
Joined: Fri Oct 24, 2008 8:31 am

Re: PortableApp version of LaTeX editor?

Post by Santy »

Hi again!
I've just downloaded, installed and tried USBTeX, and I got very surprised. Terrific for LaTeX users.
My first contact with the LaTex world was by using LyX, I'm not a LaTeX expert (yet), but I liked USBTeX a lot for a few reasons:
-First of all, it's not necessary to have administrator privileges to install or use it. Only download and uncompress it (it's a self-extracting file) to the USB pendrive. It takes a while, but it's well worth. It installs MikTex, GhostScript, PDFSumatra, Gsview, Yap (all in portable way. Only to the USB).

-Includes help.
-Includes Wizards!!!!! Really great for LaTeX begginers like me!!!!!
-Includes special buttons for math functions, symbols, etc.
-Highlights syntax.
-Generates DVI, PDF...
-Generates info on compiling and making output files, and highlights errors (when they are).
-A lot of features more (I`ve only tested for a while).
-And it's for free!!!!!

A warning: For running the application, first you must run the "demarrer.bat" file. Then, the main program "TexMaker.exe". When finished, run "arreter.bat". That's all.

I think I'll be using both LyX and USBTeX. Of course LyX in my PC, USBTeX anywhere.
I think it could be excellent for learning and using LaTeX seriously, and Lyx for a more easy and "visual" approach.

Begging your pardon for my bad English, and feeling very proud for the discovering, I hope this info will be helpful for you. Please, let us know.

Till soon.
Santiago F. "Santy" García.
mailto:sfgarciameister@gmail.com
Dousa
Posts: 10
Joined: Fri Aug 03, 2007 8:37 am

Re: PortableApp version of LaTeX editor?

Post by Dousa »

Hi Santy Garcia,

Thank you for sharing your find with us!

Yesterday I've downloaded USBTex from http://www.exomatik.net/LaTeX/USBTeXEnglish,
and my first impressions are very good. Comparing USBTex with the one I've introduced sometime ago
I see the following:
+ There are no functional differences in the end-result;
+ Although both do not require local admin rights, the installation of USBTex is simpler;
+ My installation is easier to use in a fairly stable situation, as the start- and stop-scripts are not required.
But these script may have advantages if you change often between machines.
+ Personally I do not like PDFsumatra, since it has a somewhat hazy rendering of files. Ghostview is much better I think,
which is also included in the USBTex installation.

So far my view on the matter,
kind regards from
drdousa
Post Reply