Top Banner
WinShell 2.0 Ingo H. de Boer January 31, 2000 email: [email protected], www: http://www.winshell.de
28

WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

Aug 18, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

WinShell 2.0

Ingo H. de BoerJanuary 31, 2000

email: [email protected], www: http://www.winshell.de

Page 2: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

Copyright c© 1998-2000 Ingo H. de Boer.Permission to use, copy and distribute this software and its documentation forany purpose is hereby granted without fee, provided that the above copyrightnotice, author statement and this permission notice appear in all copies of thissoftware and related documentation.THE SOFTWARE IS PROVIDED ”AS-IS”AND WITHOUT WARRANTY OFANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITH-OUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FIT-NESS FOR A PARTICULAR PURPOSE.IN NO EVENT SHALL INGO H. DE BOER OR ANY PERSON OR IN-STITUTION RELATED TO INGO H. DE BOER BE LIABLE FOR ANYSPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGESOF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROMLOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OFTHE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY,ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFOR-MANCE OF THIS SOFTWARE.

Page 3: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

Contents

1 Introduction 1

1.1 What is WinShell ? . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.2 What is new ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.4 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.5 What does it cost ? . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.6 What else... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.7 Getting started... . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Menus 5

2.1 File Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.2 Edit Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2.3 Run Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2.4 Options Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.5 Project Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

2.6 Window Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

3 How to... 13

3.1 Insert a User Tool . . . . . . . . . . . . . . . . . . . . . . . . . . 13

3.1.1 Create a User Tool . . . . . . . . . . . . . . . . . . . . . . 13

3.1.2 Insert a User Tool into the Tool Bar . . . . . . . . . . . . 13

3.2 Insert a Macro . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

3.2.1 Create a Macro . . . . . . . . . . . . . . . . . . . . . . . . 16

3.2.2 Insert a Macro into the Tool Bar . . . . . . . . . . . . . . 16

3.3 Manage the Tool Bars . . . . . . . . . . . . . . . . . . . . . . . . 17

3.4 Manage a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

3.5 Handle the Command and Environment File . . . . . . . . . . . 20

Page 4: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

ii Contents

4 Known Problems, Future Work and Bug Report 21

4.1 Known Problems and Limitations . . . . . . . . . . . . . . . . . . 21

4.2 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

4.3 Bug Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Index 23

Page 5: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

1 Introduction

1.1 What is WinShell ?

WinShell is a graphical user interface for easy working with LATEX or TEX.It includes a Texteditor, different Toolbars and user configuration options. Itis NOT a LATEX system. An additional LATEX package for Windows is needed:

ftp://ftp.dante.de/pub/tex/systems/win32/

The GSviewer for the PostScript files is also recommended:

ftp://ftp.dante.de/pub/tex/support/ghostscript/aladdin/ andftp://ftp.dante.de/pub/tex/support/ghostscript/rjl/

Other CTAN sites are:

ftp://ftp.tex.ac.uk (England)ftp://ctan.tug.org (USA)

1.2 What is new ?

• supports multi-language interface: English, German, French• Project-File/-Window

The use of the project is like in other applications: add, remove etc. TheProject-File contains relative pathnames.

– By double-clicking on a file it will open.– By double-clicking on an entry of the ‘Table of Contentst’, the file

will open at that specific position. The ‘Table of Contentst’ contains:\chapter \section \subsection \subsubsection.

• Command-Line-Arguments: WinShell understandswinshell project_filewinshell current_tex_file

• the user-defined programs can be called with:

– %<p>s: Main-TEX-Document– %<p>c: current TEX-Document– %<p>m: the document as set in the Status Bar

• WinShell starts only once, e.g. for use with the inverse search option• drag & drop• new menu• background color

Page 6: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

2 Introduction

1.3 Features

• multi language support: English, German and French• Project file• one-instance-program: WinShell is started only once• MDI application: multiple documents• log file/project file - window• user-defined programs• configure Tool Bars (symbols, user-def. programs, macros)• define macros• choose font• Unix files can be read• Command-Line-Arguments: WinShell can be started withwinshell -p project_filewinshell -m main_tex_filewinshell -c current_tex_file -l current_linewinshell project_filewinshell current_tex_file• user data storage:

– Windows NT4.0 in the Profiles directory– Windows 9x in the WinShell directory

• Syntax highlightingThe commands and environments can be defined inWinShell.commandsWinShell.environments• distinction between Main-TEX-Document and current TEX-Document• toggle wrap mode• drag & drop

1.4 Installation

This software comes with a setup program. It copies all the WinShell - filesto a specific directory, eg C:\Program Files\WinShell. Registry entries aremade for the .tex and the .wsp - files. When WinShell starts for the first time,the following files will be created:

WinShell.commandsWinShell.environmentsWinShellMacros.bmpWinShellUserTools.bmpWinShell.iniWinShell.macros

Page 7: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

1.5 What does it cost ? 3

1.5 What does it cost ?

This software is supplied in a binary format (‘as ist’) for free - the source code isnot available. In the TEX catalogue it will fall under the category of ‘nosourcet’.

There are many expenses I incur in maintaining the WinShell project thatmay not be apparent, such as web hosting costs, and the costs of new operat-ing systems and software I have purchased specifically for writing and testingWinShell. If you desire, you may send me donations of any amount towardsmy efforts for keeping the WinShell project alive.

Although donations received are very much appreciated, those that do makedonations do not automatically receive preferential treatment over those whodon’t.

Please contact me for further details.

1.6 What else...

Additional notes:

1. There is no need to continuously save the documents/project. Thisis automatically done when running one of the programs like LATEX,BibTEX etc. or exiting WinShell.

2. There is a LATEX-Help included from the MiKTEX package.3. Learning by doing!

1.7 Getting started...

If a LATEX package is correctly installed on the system, the user may start rightaway.

The different control bars (see chapter View) are hidden at the top of the mainwindow right below the Tool Bar. They can be moved around, formed, shownor hidden. This condition will be saved, when regularly leaving the programand be restored at the next program start.

The Main-TEX-Document has to be set in the Main-TEX-Document menu. Thedefault value will be the current TEX-Document.

The exe- and command-line have to be set in the Program Calls menu. Defaultvalues are also set. There, the user-defined programs can be configured.

Page 8: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.
Page 9: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

2 Menus

2.1 File Menu

New File

A new TEX-Document is created in WinShell.

Keys: CTRL+N

Open File

This command opens one or more existing documents in a new window.

Keys: CTRL+O

File-Types

WinShell - Files (*.wsp, *.tex , *.bib, *.log) Project - Files (*.wsp)TEX - Files (*.tex) BibTEX - Files (*.bib)Log - Files (*.log) All Files (*.*)

Close File

The active document is closed. WinShell automatically saves all changesmade to the document. When closing an untitled document, Win-Shell displays the Save As dialog box, suggests a name and saves the doc-ument.

Save File

The active document is saved to its current name and directory. When adocument is saved for the first time, WinShell displays the Save As dialogbox to name the document.

Keys: CTRL+S

Save File as

The active document can be renamed and saved to a new directory. Win-Shell displays the Save As dialog box. The Save command can be used to savea document with its existing name and directory.

Save all Files

This command names and saves all active documents. When a document issaved for the first time, WinShell displays the Save As dialog box to namethe document.

Page 10: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

6 Menus

Print

The current document is printed in the raw ASCII format - NOT in DVI or PSformat !!

Print Preview

A window pops up to show the printer output.

Page Setup

The header and footer of a document printout are set by this command. Thecommand presents a Page Setup dialog box, where these two values are specified.

Print Setup

Define the printer here. The command presents a Print Setup dialog box, wheredifferent values can be set.

Exit

This command ends the WinShell session. The Close command on the appli-cation Control menu can be used as well. WinShell doesn’t prompt to savedocuments with unsaved changes, it automatically saves the documents and theproject file.

Keys: ALT+F4

2.2 Edit Menu

Undo

This command reverses the last editing action, if possible. The name of thecommand changes, depending on what the last action was. The Undo commandchanges to Can’t Undo on the menu if it is not possible to reverse the last action.

Keys: CTRL+Z or ALT-BACKSPACE

Cut

The Cut command removes the currently selected data from the document andputs it on the clipboard. This command is unavailable if there is no data cur-rently selected. Cutting data to the clipboard replaces the contents previouslystored there.

Keys: CTRL+X

Copy

The Copy command copies selected data onto the clipboard. This command isunavailable if there is no data currently selected.

Page 11: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

2.3 Run Menu 7

Copying data to the clipboard replaces the contents previously stored there.

Keys: CTRL+C

Paste

This command inserts a copy of the clipboard contents at the insertion point.This command is unavailable if the clipboard is empty.

Keys: CTRL+V

Find

The Find command searches the active document for a given expression.

Keys: CTRL+F

Find next

The Find next command searches the active document for the next given ex-pression.

Keys: F3

Replace

In the active document, this command replaces one expression with another.

Keys: CTRL+H

2.3 Run Menu

LATEX

LATEX compiles the Main-TEX-Document as displayed in the Status Bar. Thecommand line and the file name are set in the Options menu (usually ‘%st’ forthe cmd-line).

Keys: F5

BibTEX

This command runs BibTEX.

Keys: F6

DVI Win

The DVI Win command is used to view the DVI file of the Main-TEX-Document. The command line and the file name are set in the Options menu(usually ‘%st’ for the cmd-line).There is one more option: ‘run LATEX firstt’. If a document is modified and not

Page 12: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

8 Menus

compiled with LATEX, DVI Win will show the old version of the DVI file. Toavoid this, this option is marked: When modifying a document and pressingthe DVI Win button, LATEX will be run first.

Keys: F7

DVI PS

DVI PS creates the PostScript file of the Main-TEX-Document from the DVIfile. The command line and the file name are set in the Options menu (usually‘%st’ for the cmd-line).Using ‘-D600 %st’ will cause a 600dpi ouput file.

Keys: F8

GSview

GSview shows the PostScript file of the Main-TEX-Document. The commandline and the file name are set in the Options menu (usually ‘%st’ for thecmd-line).There are two more options: ‘run LATEX firstt’ and ‘run DVIPS firstt’. If adocument is modified, not compiled with LATEX and DVIPS not executed,GostView will show the old version of the PostScript file. To avoid this bothoptions are marked: When modifying a document and pressing the GSviewbutton, LATEX and DVIPS will be run first.

Keys: F9

2.4 Options Menu

Main-TEX-Document

Here, the name of the Main-TEX-Document is set. This file will be compiled!After choosing it in the Main-TEX-Document dialog, it will appear in the StatusBar. You can choose between a specific file and the current (active) document.

Keys: F4

Program Calls

Use this command to set the file name and command line for the differentprograms like LATEX, BibTEX...

You can also configure userdefinied program calls. Here, it is important to addthe suffix.

Page 13: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

2.4 Options Menu 9

The parameters %<p>s, %<p>c and %<p>m have the following meaning:

%s use the Main-TEX-Document.%ps use the Main-TEX-Document with full pathname.%c use the current TEX-Document.%pc use the current TEX-Document with full pathname.%m use the document as specified in the Status Bar.%pm use the document as specified in the Status Bar with full

pathname.

Example: To add a TEX button to WinShell, just fill in the name section‘TeXt’ and for the exe-file ‘text’. In the cmd-line it must be ‘%m.text’. Do notmark ‘run LATEX firstt’ and ‘run DVIPS firstt’.

The next step: Go to the View menu and place the button in the Tool Bar.

Font

Changes the current font.

Syntax Highlighting

Mark or unmark for syntax highlighting. Choose colors for commands, envi-ronments, braces, remarks, math mode, normal text and background.

Umlaute

Changes the “Umlaute” (only available in the german version). When pressingone of the “Umlaute” keys, it will appear as specified in the dialog.

Macros

Defines the macros. All in all there are ten macros. By pressing the keyboardor the button on the Macro Bar, the specific macro will be inserted in the textat the current cursor position.

The next step: Go to the View menu and place the buttons the Macro Bar.

Keyboard: Shift + F1..F10

Page 14: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

10 Menus

Wrap Mode

Toggles the word wrap mode. A check mark appears next to the menu item,when the wrap mode is enabled.

Language

Changes the language. Available translations for WinShell are: English, Ger-man and French.

View

Customize

Customizes the Tool Bar and the Macro Bar.

There are seven categories. The first five cate-gories are the standard buttons. The sixth ca-tegory is for the user-defined programs and theseventh one is for the macros. The customiza-tion is simply like in other programs: Select acategory. Click a button to see its descriptionand drag it into the Tool Bar.

When dragging the user defined programs on the Tool Bar or the macros on theMacro Bar, another dialog will pop up to customize the button appearance.

Projectspace

Displays and hides the Projectspace. A check mark appears next to the menuitem when the Projectspace is displayed.

The Projectspace displays information about the loaded project. For furtherdetails look at the Project chapter.

Logspace

Displays and hides the Logspace. A check mark appears next to the menu itemwhen the Logspace is displayed.

The Logspace displays the .log-file of the Main-TEX-Document. This field cannot be edited !

Tool Bar

The Tool Bar is displayed across the top of the application window, below themenu bar. The Tool Bar provides quick mouse access to many tools used inWinShell.

For toggling the Tool Bar, choose Tool Bar from the Options-View menu. Acheck mark appears next to the menu item when the Tool Bar is displayed.

Page 15: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

2.5 Project Menu 11

Status Bar

Displays and hides the Status Bar, which describes the action to be executed bythe selected menu item or pressed Tool Bar button, and keyboard latch state.A check mark appears next to the menu item when the Status Bar is displayed.

The Status Bar is displayed at the bottom of the WinShell window. To displayor hide the Status Bar, use the Status Bar command in the Options-View menu.

The left area of the Status Bar describes actions of menu items as you use thearrow keys to navigate through menus.

The right area of the Status Bar shows the current line number and the Main-TEX-Document.

Other Bars

Displays and hides the different bars. A check mark appears next to the menuitem when this bar is displayed. These bars represent some of the most commoncommands used in LATEX.

Arrow Bar Binary Operator Bar

Accent Bar Relation Bar

Greek Letter Bar Misc Bar

Macro Bar

2.5 Project Menu

New Project

A new project is created in WinShell. A dialog pops up to name the newproject. After that the Main-TEX-Document and additional TEX-Documentshave to be set (see Add to Project). The right area of the Status Bar showsthe name of the Main-TEX-Document.

Load Project

This command opens an existing project. The files and the ‘Table of Contentst’(if available) are shown in the Projectspace. The right area of the Status Barshows the name of the Main-TEX-Document.

Close Project

The active project is closed. WinShell automatically saves all changes madeto the documents. Before closing an untitled document, WinShell displaysthe Save As dialog box, suggests a name and saves the document.

Page 16: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

12 Menus

Save Project

The active project is saved to its current name and directory. When a documentis saved for the first time, WinShell displays the Save As dialog box to namethe document. WinShell uses relative pathnames.

Save Project as

The active project can be renamed and saved to a new name. Win-Shell displays the Save As dialog box.

Add to Project

The files that belong to the project have to be added here. The Main-TEX-Document is not analysed. The user has to handle the adding or deleting of theproject files. Deleting a file works like this: mark the file in the Projectspaceand click the right mouse button. A pop-up dialog appears which allows theuser to delete the file from the project.

Add a Main-TEX-Document to the Project

This command adds the Main-TEX-Document to the active project. It willappear in the Projectspace in bold form.

Add a TEX-Document to the Project

This command adds one or more TEX-Documents to the active project. It willappear in the Projectspace.

2.6 Window Menu

New Window

Open another window for the active document.

Cascade Window

Arrange the windows so they overlap.

Tile Window

Arrange windows as non-overlapping tiles.

Arrange Icons

Arrange Icons at the bottom of the window.

Page 17: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

3 How to...

3.1 Insert a User Tool

3.1.1 Create a User Tool

Step 1 Go to Options ⇒ Program Calls ⇒ user defined. Click on the ‘Tool1t’ entry in the right list.

Step 2 Make the entries for the wanted program. In this example, pdflatexwill be used:Name: PDFLaTeX run LaTeX first: unmarkexe-File: pdflatex run DVIPS first: unmarkcmd-Line: %m.tex

Step 3 Press the ‘OKt’ button.

3.1.2 Insert a User Tool into the Tool Bar

Step 1 Go to Options ⇒ View ⇒ Customize. Choose the category: ‘User-Programst’.

Page 18: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

14 How to...

Step 2 Drag the wanted tool on the Tool Bar. In this example, drag ‘PDFLa-TeXt’ on the Tool Bar.

Step 3 A dialog pops up. It shows how to design the corresponding button.‘Tool 1t’ is highlighted. There are different possibilities. In this example, pressthe ‘Editt’ button.

Step 4 The edit dialog pops up. Here, it is possible to change the appearanceof the button. When finished, just press the ‘OKt’ button.

Page 19: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

3.1 Insert a User Tool 15

Step 5 The modified button appears in the image list. Again, press the ‘OKt’button. The button now appears in the Tool Bar.

Step 6 To insert a separator move the mouse pointer to the GSview buttonand press the right mouse button. A dialog pops up: press the ‘Groupt’ button.

Step 7 Finish the insertion by pressing the ‘Closet’ button.

Page 20: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

16 How to...

3.2 Insert a Macro

3.2.1 Create a Macro

Step 1 Go to Options ⇒ Macros.Step 2 Choose the number of the macro from the dropdown list (F01...F10).Step 3 Make your entries for your wanted program.

3.2.2 Insert a Macro into the Tool Bar

Step 1 Go to Options ⇒ View ⇒ Customize. Choose the category: ‘User-Macrost’.Step 2 Because all macros are shown, move the mouse pointer to ‘Macro 1t’and press the right mouse button. A dialog pops up. This dialog allows theuser to modify the appearance of the button. Click the ‘Editt’ button.

Page 21: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

3.3 Manage the Tool Bars 17

Step 3 The edit dialog pops up. Here, it is possible to change the appearanceof the button. When finished, just press the ‘OKt’ button.

The next steps proceed like in the previous section.

3.3 Manage the Tool Bars

This is how it looks, when all Tool Bars are shown. The appearance is not veryuser-friendly, but it is possible to move and form each Tool Bar. When quittingWinShell, these positions are stored and reloaded at the next start.

Page 22: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

18 How to...

Step 1 This example shows the Accents Tool Bar. Drag the gripper of theTool Bar to any place.

Step 2 By dragging at the edges of the Tool Bar it is possible to manipulateit and move the Tool Bar to its destination place. This position will be reloadedat the next start.

3.4 Manage a Project

Page 23: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

3.4 Manage a Project 19

The use of a project is like in other applications: load, save etc. The project filecontains relative pathnames. The Project menu contains all needed entries forloading, saving and adding the Main-TEX-Document and the TEX-Documents.There is also a Demo included in this package.

Left Mouse Button

By double-clicking a file, it will open (left image). By double-clicking an entryof the ‘Table of Contentst’, the file will open at that specific position (rightimage). The ‘Table of Contentst’ contains:\chapter \section \subsection \subsubsection.

Right Mouse Button

By clicking a file entry (left image) a dialog pops up to add existing documentsto the project or remove the marked file from the current project. By clicking

Page 24: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

20 How to...

a TOC entry (right image) a dialog pops up to reload the ‘Table Of Contentst’.

3.5 Handle the Command and Environment File

The user data is stored at the following place:

• Windows NT4.0 in the Profiles directory• Windows 9x in the WinShell directory

The command-file WinShell.commands includes the LATEX commands whichare highlighted by WinShell. The following lines show an excerpt from thisfile. It can be modified in a normal editor. It is possible to add or removenames. There is no leading character (‘\t’) needed.

%,\-addcontentslineaddressaddtocontentsaddtocounteraddtolengthaddvspacealphalpha...

The environment-file WinShell.environments includes the LATEX environ-ments which are used with \begin and \end.

arraycenterdescriptionenumerateeqnarrayequationfigureflushleftflushrightitemizeletterlist...

The syntax hightligthing can be toggeld at the specific menu.

Page 25: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

4 Known Problems, Future Workand Bug Report

4.1 Known Problems and Limitations

• At the moment it is not possible to store the positions of the Project- andLogspace.

• The current line number can’t be transfered to other programs.• When using the ’Wrap Mode’, the line numbers may not correspond with

the error line number from the log file.

4.2 Future Work

The future work will deal with:

• BibTeX entries in the Projectspace.• more projects in the Projectspace.• a TableWizard for easy making tables.• better syntax highlighting.

4.3 Bug Report

Before sending any bug report, please download the latest version from theWinShell homepage.

When sending a bug report, include the following information in your email:

My Computer:On which system do I work ?What ServivePack is installed ?

WinShell:Which version (plus upload date) of WinShell am I using ?

Bug:Description of the exact way how this error was produced !What is the exact error message ?Is it reproducable ?Did I try it on other machines ?Did I try it on other systems ?

Page 26: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.
Page 27: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

Index

BBackground Color . . . . . . . . . . . . . . . . 9Bug Report . . . . . . . . . . . . . . . . . . . . . 21

CCommand File . . . . . . . . . . . . . . . . . . 20Costs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Customize

Macro Bar . . . . . . . . . . . . . . . . . . 10Tool Bar . . . . . . . . . . . . . . . . . . . .10

EEdit

Copy . . . . . . . . . . . . . . . . . . . . . . . . 6Cut . . . . . . . . . . . . . . . . . . . . . . . . . . 6Find . . . . . . . . . . . . . . . . . . . . . . . . . 7Paste . . . . . . . . . . . . . . . . . . . . . . . . 7Replace . . . . . . . . . . . . . . . . . . . . . . 7Undo . . . . . . . . . . . . . . . . . . . . . . . . 6

Environment File . . . . . . . . . . . . . . . 20Exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

FFeatures . . . . . . . . . . . . . . . . . . . . . . . 1, 2File

Close . . . . . . . . . . . . . . . . . . . . . . . . 5Exit . . . . . . . . . . . . . . . . . . . . . . . . . 6New . . . . . . . . . . . . . . . . . . . . . . . . . 5Open . . . . . . . . . . . . . . . . . . . . . . . . 5Page Setup . . . . . . . . . . . . . . . . . . 6Print . . . . . . . . . . . . . . . . . . . . . . . . 6Print Preview . . . . . . . . . . . . . . . . 6Print Setup . . . . . . . . . . . . . . . . . . 6Save . . . . . . . . . . . . . . . . . . . . . . . . . 5Save all . . . . . . . . . . . . . . . . . . . . . . 5Save as . . . . . . . . . . . . . . . . . . . . . . 5

Font . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Future Work . . . . . . . . . . . . . . . . . . . . 21

GGhostscript . . . . . . . . . . . . . . . . . . . . . . 1

GSview . . . . . . . . . . . . . . . . . . . . . . . . . . 1

HHow to

Handle Command File . . . . . . 20Handle Environment File . . . 20Insert Macro . . . . . . . . . . . . . . . . 16Insert User Tool . . . . . . . . . . . . 13Manage Project . . . . . . . . . . . . .18Manage Tool Bars . . . . . . . . . . 17

IInstallation . . . . . . . . . . . . . . . . . . . . . . 2

KKnown Problems. . . . . . . . . . . . . . . .21

LLanguage . . . . . . . . . . . . . . . . . . . . . . . 10Limitations . . . . . . . . . . . . . . . . . . . . . 21

MMacros. . . . . . . . . . . . . . . . . . . . . . . . . . .9Main-TEX-Document . . . . . . . . . . . . . 8

PProgram Calls . . . . . . . . . . . . . . . . . . . 8

userdefined . . . . . . . . . . . . . . . . . . 8Project

Add . . . . . . . . . . . . . . . . . . . . . . . . 12TEX-Document . . . . . . . . . . . 12Main-TEX-Document . . . . . 12

Close . . . . . . . . . . . . . . . . . . . . . . . 11Delete

Document . . . . . . . . . . . . . . . . 12Load . . . . . . . . . . . . . . . . . . . . . . . 11New . . . . . . . . . . . . . . . . . . . . . . . . 11Save . . . . . . . . . . . . . . . . . . . . . . . . 12Save as . . . . . . . . . . . . . . . . . . . . . 12-space . . . . . . . . . . . . . . . . . . . . . . 10Usage. . . . . . . . . . . . . . . . . . . . . . .18

Page 28: WinShell 2.0 - User Manual‘%st’ for the cmd-line). Using ‘-D600 %st’ will cause a 600dpi ouput le. Keys: F8 GSview GSview shows the PostScript le of the Main-TEX-Document.

24 Index

Rrun

LATEX . . . . . . . . . . . . . . . . . . . . . . . . 7BibTEX . . . . . . . . . . . . . . . . . . . . . . 7DVI PS . . . . . . . . . . . . . . . . . . . . . . 8DVI Win . . . . . . . . . . . . . . . . . . . . 7GSview . . . . . . . . . . . . . . . . . . . . . . 8

SStart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Syntax Highlighting . . . . . . . . . . . . . . 9

UUmlaute . . . . . . . . . . . . . . . . . . . . . . . . . 9

VView. . . . . . . . . . . . . . . . . . . . . . . . . . . .10

BarAccent Bar . . . . . . . . . . . . . . . 11Arrow Bar . . . . . . . . . . . . . . . . 11Binary Operator Bar . . . . . 11Greek Letter Bar . . . . . . . . . 11Macro Bar . . . . . . . . . . . . . . . . 11Misc Bar . . . . . . . . . . . . . . . . . 11Relation Bar. . . . . . . . . . . . . .11Status Bar . . . . . . . . . . . . . . . .11Tool Bar. . . . . . . . . . . . . . . . . .10

Customize . . . . . . . . . . . . . . . . . . 10Logspace . . . . . . . . . . . . . . . . . . . 10Projectspace . . . . . . . . . . . . . . . . 10

WWindow

Arrange Icons. . . . . . . . . . . . . . .12Cascade . . . . . . . . . . . . . . . . . . . . 12New . . . . . . . . . . . . . . . . . . . . . . . . 12Tile. . . . . . . . . . . . . . . . . . . . . . . . .12

Wrap Mode . . . . . . . . . . . . . . . . . . . . . 10