File: productivity.html

package info (click to toggle)
emacspeak 24-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,092 kB
  • ctags: 4,597
  • sloc: xml: 54,699; lisp: 42,103; tcl: 1,799; makefile: 810; cpp: 603; sh: 566; ansic: 153; perl: 124
file content (1172 lines) | stat: -rw-r--r-- 22,546 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
<HTML
><HEAD
><TITLE
>Productivity</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Emacspeak User's Guide"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Working online"
HREF="working-online.html"><LINK
REL="NEXT"
TITLE="Entertainment"
HREF="entertainment.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Emacspeak User's Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="working-online.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="entertainment.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="PRODUCTIVITY"
>7. Productivity</A
></H1
><P
>	Emacs provides many applications that can help you get your
	work done. From coding to writing a dissertation to scheduling
	appointments, you can do just about anything from within
	Emacs.
	</P
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="WRITING-CODE"
>7.1. Coding in Emacs</A
></H2
><P
>	Emacs has "major modes" (essentially editors) for Lisp,
	Scheme, Awk, C, C++, FORTRAN, Icon, Java, Objective-C, Pascal,
	Perl, and Tcl. You can invoke a major mode by creating and/or opening a file
	with the appropriate extension. For example, to invoke the
	c++ major mode, create a file with a <TT
CLASS="FILENAME"
>.cpp</TT
>
	extension and then open that file. You can
	also download additional major modes, such as SGML.
	</P
><P
>	Because of the breadth of coding options, it is beyond the
	scope of this document to cover them all.  However, there is
	an extensive section in the Gnu Emacs Manual on coding
	available at <A
HREF="http://www.delorie.com/gnu/docs/emacs/emacs_238.html"
TARGET="_top"
>http://www.delorie.com/gnu/docs/emacs/emacs_238.html</A
>. 
	</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="CUSTOMIZATION"
>7.2. Customizing Emacspeak</A
></H2
><P
>	Emacspeak contains many options for customization.  The
	most commonly requested options are covered here, but if
	there's something else that should be included, please do not
	hesitate to suggest it.
	</P
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="CHANGING-THE-SPEECH-RATE"
>7.2.1. Changing the speech rate</A
></H3
><P
>	The default Emacspeak speech rate may be too slow or fast for
	your tastes, so you can customize it in your
	<TT
CLASS="FILENAME"
>.emacs</TT
> file.  To do so, add the following
	lines to your <TT
CLASS="FILENAME"
>.emacs</TT
> file: 
	</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="PROGRAMLISTING"
>	(setq dtk-default-speech-rate 410)
	(setq outloud-default-speech-rate 90)
	</PRE
></FONT
></TD
></TR
></TABLE
><P
>	The numerical values in these commands are the speech rate, in
	words per minute.  The examples above are for the Dectalk
	Express and the ViaVoice Outloud synthesizers.
	</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="AUDITORY-ICONS"
>7.2.2. Auditory Icons for Emacspeak</A
></H3
><P
>	Ann Parsons wrote a great explanation of the Emacspeak desktop
	and auditory icons that you can read at <A
HREF="http://www.cs.vassar.edu/~priestdo/emacspeak/msg00256.html"
TARGET="_top"
>http://www.cs.vassar.edu/~priestdo/emacspeak/msg00256.html</A
>.
	In a nutshell, auditory icons provide you with feedback when
	you perform different tasks in Emacs.  You can get audible
	feedback when you change buffers, quit a program, enter the
	buffers list, edit C code, etc.
	</P
><P
>	If you want to use auditory icons and ViaVoice is your speech
	synthesizer, check to see whether or not you have a
	multi-channel sound card (try playing a CD and a .au file at
	the same time - if it works, you have a multi-channel
	card). If your card is not multi-channel, you must install the
	application <SPAN
CLASS="APPLICATION"
>stdiom</SPAN
> as follows:
	</P
><P
></P
><OL
TYPE="1"
><LI
><P
>			Download the application
			<SPAN
CLASS="APPLICATION"
>stdiosynth</SPAN
> from
			<A
HREF="http://www.leb.net/pub/blinux/emacspeak/blinux/stdiom.tar.gz"
TARGET="_top"
>http://www.leb.net/pub/blinux/emacspeak/blinux/stdiom.tar.gz</A
>.  
			</P
></LI
><LI
><P
>			Log in to your machine as root, then change to
					the directory where you placed the
					downloaded file
					<TT
CLASS="FILENAME"
>stdiom.tar.gz</TT
>.
			</P
></LI
><LI
><P
>			Unzip the file using the command
			<B
CLASS="COMMAND"
>gunzip stdiom.tar.gz</B
>.
			</P
></LI
><LI
><P
>			Untar the resulting file using the command
			<B
CLASS="COMMAND"
>tar -xvf stdiom.tar</B
>.
			</P
></LI
><LI
><P
>			Change directories to the resulting
					<TT
CLASS="FILENAME"
>stdio_musician1.0</TT
>
					directory and type
					<B
CLASS="COMMAND"
>make</B
>. You
					should get a message that says,
					"stdiosynth is up to date."
			</P
></LI
></OL
><P
>	Currently there are two auditory icon themes that you can
	download from the Emacspeak website, called Chimes and
	Cartoons.  Chimes is made up of different chimes and
	short notes from various instruments. The icons are
	high-quality 44K-mono, and can be downloaded from <A
HREF="http://emacspeak.sourceforge.net/chimes-mono.tar.gz"
TARGET="_top"
>http://emacspeak.sourceforge.net/chimes-mono.tar.gz</A
>.
	The Cartoons theme was contributed by Bryan Smart and is made
	up of 22K-mono sounds.  You can download it from <A
HREF="http://emacspeak.sourceforge.net/cartoons-mono.tar.gz"
TARGET="_top"
>http://emacspeak.sourceforge.net/cartoons-mono.tar.gz</A
>.
	</P
><P
>	To install either of these themes, download and unpack the
	archives into the emacspeak/sounds directory in your emacspeak
	installation. You can then select themes you have already
	installed by using the Emacspeak command <B
CLASS="COMMAND"
>M-x
	emacspeak-sounds-select-theme</B
>. Alternatively, you
	can add the following lines to your
	<TT
CLASS="FILENAME"
>.emacspeak</TT
> file:
	</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="PROGRAMLISTING"
>	(setq emacspeak-toggle-auditory-icons t)
	(when (emacspeak-sounds-theme-p "chimes-mono")
   		(emacspeak-sounds-select-theme "chimes-mono/" ))
	</PRE
></FONT
></TD
></TR
></TABLE
><P
>	Some people use sound cards that can play multiple channels to
	produce their auditory icons.  For this option, set
	<B
CLASS="COMMAND"
>emacspeak-aumix-multichannel-capable-p</B
> to
	<B
CLASS="COMMAND"
>t</B
> in your <TT
CLASS="FILENAME"
>.emacs</TT
> file:
	</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="PROGRAMLISTING"
>	(setq emacspeak-aumix-multichannel-capable-p t) 
	</PRE
></FONT
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="READING-ADOBE-ACROBAT-FILES"
>7.3. Reading Adobe Acrobat files</A
></H2
><P
>	There are two ways to view an Adobe Acrobat PDF file with
	Emacspeak. The first option is to generate a text version of
	the PDF using <SPAN
CLASS="APPLICATION"
>Xpdf</SPAN
>, then read the text version.  The second option is the
	use Adobe's PDF to HTML converter, then read the HTML file.
	</P
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="USING-XPDF"
>7.3.1. Using Xpdf</A
></H3
><P
>	To generate a text version of the PDF, you'll need to download
	the <SPAN
CLASS="APPLICATION"
>Xpdf</SPAN
> package.  The main website
	is at <A
HREF="http://www.foolabs.com/xpdf/"
TARGET="_top"
>http://www.foolabs.com/xpdf/</A
>, and you can
	download a precompiled binary (unless, of course, you're
	interested in playing with the source code, in which case
	you'd download the source) from <A
HREF="ftp://ftp.foolabs.com/pub/xpdf/xpdf-0.92-linux2.0.tgz"
TARGET="_top"
>ftp://ftp.foolabs.com/pub/xpdf/xpdf-0.92-linux2.0.tgz</A
>.
	</P
><P
>	Assuming that you downloaded the binary file
	<TT
CLASS="FILENAME"
>xpdf-0.92-linux2.0.tgz</TT
>, to install and run <SPAN
CLASS="APPLICATION"
>Xpdf</SPAN
>: 
	</P
><P
></P
><OL
TYPE="1"
><LI
><P
>			Open an Emacs command shell using <B
CLASS="COMMAND"
>M-x
			shell</B
>.
			</P
></LI
><LI
><P
>			Change to the appropriate directory where the
			<TT
CLASS="FILENAME"
>xpdf-0.92-linux2.0.tgz</TT
>
			file is located, then
			unzip the file using <B
CLASS="COMMAND"
>gunzip
			xpdf-0.92-linux2.0.tgz</B
>.
			</P
></LI
><LI
><P
>			Decompress the resulting
			<TT
CLASS="FILENAME"
>xpdf-0.92-linux2.0.tar</TT
>
			file using the command <B
CLASS="COMMAND"
>tar -xvf
			xpdf-0.92-linux2.0.tar</B
>.
			</P
></LI
></OL
><P
>	The resulting directory will be called
	<TT
CLASS="FILENAME"
>xpdf-0.92-linux2.0</TT
>.  Within this
	directory are a number of applications, including
	<SPAN
CLASS="APPLICATION"
>pdfimages</SPAN
>, <SPAN
CLASS="APPLICATION"
>pdfinfo</SPAN
>,
	<SPAN
CLASS="APPLICATION"
>pdftopbm</SPAN
>, <SPAN
CLASS="APPLICATION"
>pdftops</SPAN
>,
	<SPAN
CLASS="APPLICATION"
>pdftotext</SPAN
>, and
	<SPAN
CLASS="APPLICATION"
>xpdf</SPAN
>. You can find out what each of
	these applications does from the README file also included in
	the directory. The only application we're interested in is
	<SPAN
CLASS="APPLICATION"
>pdftotext</SPAN
> that you can run from
	the Emacs command shell as follows:
	</P
><P
></P
><OL
TYPE="1"
><LI
><P
>			Open an Emacs shell window using the command
			<B
CLASS="COMMAND"
>M-x shell</B
>.
			</P
></LI
><LI
><P
>			At the prompt, type <B
CLASS="COMMAND"
>pdftotext <TT
CLASS="FILENAME"
>filename.pdf</TT
></B
>.
			</P
><P
>			Result: The file is converted to text.  You
			can read the resulting text file with Emacs.
			</P
></LI
></OL
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="USING-ADOBES-CONVERTER"
>7.3.2. Using Adobe's converter</A
></H3
><P
>	As an alternative to <SPAN
CLASS="APPLICATION"
>Xpdf</SPAN
>, you can
	use Adobe's PDF to HTML converter if the PDF file you want to read has a URL.  To convert a file:
	</P
><P
></P
><OL
TYPE="1"
><LI
><P
>			Use <SPAN
CLASS="APPLICATION"
>W3</SPAN
> to go to
			<A
HREF="http://access.adobe.com/simple_form.html"
TARGET="_top"
>http://access.adobe.com/simple_form.html</A
>.
			</P
></LI
><LI
><P
>			Type in the URL of the PDF file to convert.
			</P
><P
>			Result: The file is converted it HTML.  You
			can use W3 to read and navigate within the file.
			</P
></LI
></OL
><P
>	Tests show that this conversion works very well on some PDF
	documents, but not so well on others.  If the HTML file you
	end up with isn't readable, try using
	<SPAN
CLASS="APPLICATION"
>Xpdf</SPAN
> to convert to a plain text
	file.
	</P
></DIV
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="CALENDAR-AND-APPOINTMENTS"
>7.4. Scheduling appointments and calendar events</A
></H2
><P
>	Emacs has a built-in desk calendar that includes a diary for
	planned events. The calendar and diary support both US and
	European date formats, but default to the US format. The diary
	keeps track of appointments and reminders using a diary file, a text file that contains a list of events and their
	dates. You can have Emacs send you an email every day with
	your schedule, or you can look at the calendar to view the
	day's events.
	</P
><P
>	To start the calendar application, use the
	command <B
CLASS="COMMAND"
>M-x calendar</B
>. Calendar navigation
	commands are, for the most part, identical to text navigation
	commands, and you can also use the arrow keys to navigate.
	</P
><P
> 	If you'd like to use the diary, you need to create a diary
	file that contains your events.  The diary file is a simple text file,
	and, by default, Emacs uses <TT
CLASS="FILENAME"
>~/diary</TT
> as the
	diary file. Although you'll need to create the file manually,
	there are commands that allow you to add, view, and change
	diary entries. Most of these commands are Emacspeak-enabled.
	</P
><P
>	Diary entries come in a number of formats and entries can be
	set to repeat.  Below are some examples:
	</P
><P
></P
><TABLE
BORDER="0"
><TBODY
><TR
><TD
>12/22/2001	</TD
><TD
>Mom arrives for visit	</TD
><TD
>Appears once on 12/22/2001</TD
></TR
><TR
><TD
>October 17	</TD
><TD
>Joe's birthday	</TD
><TD
>Repeats yearly on October 17th</TD
></TR
><TR
><TD
>Friday	</TD
><TD
>Time cards due	</TD
><TD
>Repeats every Friday</TD
></TR
></TBODY
></TABLE
><P
></P
><P
>	Of course, there are many more options than those shown here.
	You can find a complete listing of diary features in the
	GNU Emacs manual, located at <A
HREF="http://www.delorie.com/gnu/docs/emacs/emacs_376.html"
TARGET="_top"
>http://www.delorie.com/gnu/docs/emacs/emacs_376.html</A
>.
	</P
><P
>	You can view the diary entries for the current date using the
	command <B
CLASS="COMMAND"
>M-x diary</B
>. Alternatively, you can
	have the day's appointments automatically displayed when you
	enter Emacs by adding the following line to your
	<TT
CLASS="FILENAME"
>.emacs</TT
> file:
	</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="PROGRAMLISTING"
>	(diary)
	</PRE
></FONT
></TD
></TR
></TABLE
><P
>	You can also have your events emailed to you on a daily basis
	by running the command <B
CLASS="COMMAND"
>M-x
	diary-mail-entries</B
>.  You'll probably get an error
	message the first time you do this that says, "No buffer named *Fancy
	Diary Entries*." This error message was reported as a bug to
	the bug-gnu-emacs mailing list by Tim Hesterberg.
	However, the command does in fact work, so you can just ignore
	the error message. By default, you'll be e-mailed the
	calendar entries for the next seven days.  Also, when you
	enter Emacs it will automatically show you the calendar
	entries for the next seven days. According to the GNU Emacs
	Manual, there is a way to change the
	number of days the email covers, but according to Tim that
	feature also has bugs and doesn't seem to work. At the time of writing, these problems have not been
	addressed.
	</P
><P
>	For complete instructions on using the calendar and diary,
	refer to the section on the calendar and diary in the GNU
	Emacs Manual, located at <A
HREF="http://www.delorie.com/gnu/docs/emacs/emacs_376.html"
TARGET="_top"
>http://www.delorie.com/gnu/docs/emacs/emacs_376.html</A
>.
	</P
></DIV
><DIV
CLASS="SECT2"
><H2
CLASS="SECT2"
><A
NAME="WRITING-TEXT"
>7.5. Writing text in Emacs</A
></H2
><P
>	Emacs provides for many modes of text editing, and the tools
	you should use are task-dependent.
	</P
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="WRITING-PRINT-PDF-POSTSCRIPT"
>7.5.1. Writing for print, PDF, or postscript</A
></H3
><P
>	If you want to output your writing in print, postscript, or
	PDF, <SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
> is the way to go.
	<SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
> is essentially a markup
	language that produces high-quality print, PDF, or postscript
	output.  <SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
> was designed for the production of technical and
	scientific documentation, and in addition to allowing for
	detailed formatting, it also provides support for mathematical
	functions, automatic generation of bibliographies and indexes,
	graphics support, and much more. You can find out more about
	<SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
> from <A
HREF="http://www.latex-project.org"
TARGET="_top"
>http://www.latex-project.org</A
>. In the
	documentation section at the <SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
>
	site, you will find an introduction to
	<SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
>, as well as a complete
	reference manual.
	</P
><P
> 	<SPAN
CLASS="APPLICATION"
>AUC Tex</SPAN
> is the Emacs editing mode
	for <SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
>. The <SPAN
CLASS="APPLICATION"
>AUC
	Tex</SPAN
> home page is located at 
	<A
HREF="http://mirrors.sunsite.dk/auctex/www/auctex/"
TARGET="_top"
>http://mirrors.sunsite.dk/auctex/www/auctex/</A
>.
	You can download <SPAN
CLASS="APPLICATION"
>AUC
	Tex</SPAN
> from <A
HREF="ftp://sunsite.dk/packages/auctex/auctex.tar.gz"
TARGET="_top"
>ftp://sunsite.dk/packages/auctex/auctex.tar.gz</A
>.
	Once you've downloaded the file, you'll need to install it as follows:
	</P
><P
></P
><OL
TYPE="1"
><LI
><P
>			Open an Emacs command shell as root, using the
			command <B
CLASS="COMMAND"
>M-x emacspeak-root</B
>.
			</P
></LI
><LI
><P
>			Change directories to where the downloaded
			file <TT
CLASS="FILENAME"
>auctex.tar.gz</TT
> is
			located.
			</P
></LI
><LI
><P
> 			Unzip the file using the command
			<B
CLASS="COMMAND"
>gunzip auctex.tar.gz</B
>.
			</P
></LI
><LI
><P
>			Unpack the resulting tarball using the command
			<B
CLASS="COMMAND"
>tar -xvf auctex.tar</B
>.
			</P
></LI
><LI
><P
>			Change directories into the new
			<TT
CLASS="FILENAME"
>auctex-10.0g</TT
> directory,
			then type the command
			<B
CLASS="COMMAND"
>make</B
>.
			</P
><P
>			The next several steps are covered
			in greater detail in the
			<TT
CLASS="FILENAME"
>INSTALLATION</TT
> file
			included in the
			<TT
CLASS="FILENAME"
>auctex-10.0g</TT
> directory.
			</P
></LI
><LI
><P
>			When the Makefile is finished building, type
			the command <B
CLASS="COMMAND"
> make
			lispdir=/usr/local/share/emacs/site-lisp
			install</B
>. If the Emacs path defined as
			"lispdir" in this command is not correct for
			your machine, supply the correct path to your
			Emacs installation.
			</P
></LI
><LI
><P
>			Check to make sure the <TT
CLASS="FILENAME"
>tex-*.el</TT
> files were placed
			in the directory specified in the
			<TT
CLASS="FILENAME"
>lispdir</TT
> command above.
			If not, copy them there.
			</P
></LI
><LI
><P
>			Add the following line to your
			<TT
CLASS="FILENAME"
>.emacs</TT
> file:
			</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="PROGRAMLISTING"
>			(require 'tex-site)
			</PRE
></FONT
></TD
></TR
></TABLE
><P
>			When you are finished, save and close your
			<TT
CLASS="FILENAME"
>.emacs</TT
> file.
			</P
></LI
><LI
><P
>			To invoke the <SPAN
CLASS="APPLICATION"
>AUC
		Tex</SPAN
> editing mode, create a new file with
		a <TT
CLASS="FILENAME"
>.tex</TT
> extension.
			</P
></LI
></OL
><P
>	You'll probably also want to install the online
	documentation. This is located in the <TT
CLASS="FILENAME"
>doc</TT
>
	directory within the <TT
CLASS="FILENAME"
>auctex-10.0g</TT
>
	directory.  To install the documentation:
	</P
><P
></P
><OL
TYPE="1"
><LI
><P
>			Change directories to the
			<TT
CLASS="FILENAME"
>doc</TT
> directory.
			</P
></LI
><LI
><P
>			At the command prompt, type
			<B
CLASS="COMMAND"
>make</B
>. When the makefile is
			finished, type <B
CLASS="COMMAND"
>make
			install</B
>.
			</P
><P
>			Result: The documentation is installed in the
			<TT
CLASS="FILENAME"
>/usr/local/info/</TT
>
			directory.
			</P
></LI
></OL
><P
>	You can also get this information in the online manual at <A
HREF="http://mirrors.sunsite.dk/auctex/www/auctex/doc/"
TARGET="_top"
>http://mirrors.sunsite.dk/auctex/www/auctex/doc/</A
>.
	</P
><P
>	Since <SPAN
CLASS="APPLICATION"
>AUC TeX</SPAN
> is a part of
	<SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
>, you'll need to know
	<SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
> to use it. There's a good
	<SPAN
CLASS="APPLICATION"
>LaTeX</SPAN
> manual by David R. Wilkins
	called "Getting Started with LaTeX" located at
	<A
HREF="http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/"
TARGET="_top"
>http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/</A
>. 
	</P
></DIV
><DIV
CLASS="SECT3"
><H3
CLASS="SECT3"
><A
NAME="WRITING-FOR-ONLINE"
>7.5.2. Writing for online viewing</A
></H3
><P
>	If you're writing a document that will be read online, you have several
	choices: HTML, SGML, and XML, to name a few. Emacs comes with
	a built-in HTML editor, called
	<SPAN
CLASS="APPLICATION"
>html-mode</SPAN
>. This editor provides you with
	additional commands for adding appropriate HTML tags to your
	document. To start <SPAN
CLASS="APPLICATION"
>html-mode</SPAN
>, type
	<B
CLASS="COMMAND"
>M-x html-mode</B
>.
	</P
><P
>	If you do a lot of HTML coding, you may wish to use 
	<SPAN
CLASS="APPLICATION"
>html-helper-mode</SPAN
>. This mode has a
	slightly different interface and many more features than
	<SPAN
CLASS="APPLICATION"
>html-mode</SPAN
>. The home page for
	<SPAN
CLASS="APPLICATION"
>html-helper-mode</SPAN
> is located at
	<A
HREF="http://www.santafe.edu/~nelson/tools/"
TARGET="_top"
>http://www.santafe.edu/~nelson/tools/</A
>. You can
	either download just the
	<TT
CLASS="FILENAME"
>html-helper-mode.el</TT
> file from <A
HREF="http://www.santafe.edu/~nelson/tools/html-helper-mode.el"
TARGET="_top"
>http://www.santafe.edu/~nelson/tools/html-helper-mode.el</A
>,
	or you can download the entire distribution, including
	documentation, from <A
HREF="ftp://ftp.reed.edu/pub/src/html-helper-mode.tar.gz"
TARGET="_top"
>ftp://ftp.reed.edu/pub/src/html-helper-mode.tar.gz</A
>.
	Installation instructions for both of these options are located
	at the <SPAN
CLASS="APPLICATION"
>html-helper-mode</SPAN
> website at
	<A
HREF="http://www.gest.unipd.it/~saint/hth.html"
TARGET="_top"
>http://www.gest.unipd.it/~saint/hth.html</A
>. 
	</P
><P
>	If you're authoring larger documents or want to author in
	SGML, the PSGML mode for Emacs is recommended. The home page
	for PSGML is located at <A
HREF="http://www.lysator.liu.se/projects/about_psgml.html"
TARGET="_top"
>http://www.lysator.liu.se/projects/about_psgml.html</A
>.
	</P
><P
>	There's also an XML editor for Emacs, called
	<SPAN
CLASS="APPLICATION"
>sxml-mode</SPAN
>.  The home page is
	located at <A
HREF="http://koala.ilog.fr/plh/sxml.html"
TARGET="_top"
>http://koala.ilog.fr/plh/sxml.html</A
>. You must
	have a Java Virtual Machine, as well as PSGML 1.0.1 or better
	to run <SPAN
CLASS="APPLICATION"
>sxml-mode</SPAN
>.  Complete
	instructions for downloading and installing are available on
	the web site.
	</P
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="working-online.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="entertainment.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Working online</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Entertainment</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>