File: FAQ.lyx

package info (click to toggle)
lyx-cjk 1.1.6fix4-2
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 26,176 kB
  • ctags: 13,789
  • sloc: cpp: 95,537; sh: 9,220; ansic: 8,300; perl: 3,489; makefile: 1,343; tcl: 163; sed: 150; python: 112; yacc: 38
file content (1483 lines) | stat: -rw-r--r-- 31,444 bytes parent folder | download | duplicates (2)
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
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

LyX Frequently Asked Questions with Answers 
\newline 
Version 0.3.6
\layout Author

by the LyX Team
\begin_float footnote 
\layout Standard
\noindent 
This file is currently maintained by 
\noun on 
Mike Ressler
\noun default 
, mike.ressler@alum.mit.edu.
 Please send comments or error corrections to that address.
\end_float 
 
\layout Abstract

This is the list of Frequently Asked Questions for LyX, the Open Source
 document processor that provides a What-You-See-Is-What-You-Mean environment
 for producing high quality documents.
 For further help, you may wish to contact the LyX User Group mailing list
 at 
\family typewriter 
lyx-users@lists.lyx.org
\family default 
 
\emph on 
after
\emph default 
 you have read through the docs.

\emph on 
 
\layout Abstract


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Section

Introduction and General Information 
\layout Subsection

What is LyX? 
\layout Standard

LyX is a program that provides a more modern approach to writing documents
 with a computer, an approach that breaks with the obsolete tradition of
 the 
\begin_inset Quotes eld
\end_inset 

typewriter concept.
\begin_inset Quotes erd
\end_inset 

 It is designed for authors who want professional output quickly with a
 minimum of effort without becoming specialists in typesetting.
 The job of typesetting is done mostly by the computer, not the author;
 with LyX, the author can concentrate on the contents of her writing.
\layout Standard

LyX provides an 
\begin_inset Quotes eld
\end_inset 

almost-WYSIWYG
\begin_inset Quotes erd
\end_inset 

 view of the document.
 
\begin_inset Quotes eld
\end_inset 

Almost
\begin_inset Quotes erd
\end_inset 

 means that the line- and page-breaks are not displayed exactly as they
 will appear in the printed document.
 However, that's not really necessary, since LyX uses a separate typesetter
 program (called LaTeX) to perform the final formatting of your text.
 While LyX contains everything it needs to be a comfortable user interface,
 the typesetting program contains everything necessary to format text, and
 do so very, very well.
 
\layout Standard

So, line- and page-breaks aren't your problem anymore.
 Remembering which number to use for the next subsection isn't your problem
 anymore.
 Recalling what font you used for all of your section headings isn't your
 problem anymore.
 You tell LyX (and LaTeX) what 
\emph on 
kind
\emph default 
 of document you're editing and what 
\emph on 
type
\emph default 
 of paragraph this-or-that text is, the computer can typeset it accordingly.
 Of course you can also still do some low-level formatting for fine-tuning.
 However, the proper way with LyX is to tell the computer what the text
 
\emph on 
is
\emph default 
, not what it should look like.
 So, we like to say that LyX gives you WYSIWYM editing (What You See Is
 What You 
\emph on 
Mean
\emph default 
).
\layout Subsection

That's fine, but is it useful?
\layout Standard

Absolutely.
 The following type of documents have been produced with LyX:
\layout Itemize

Memos
\layout Itemize

Letters
\layout Itemize

Dissertations (260 pages in a single document, longer using include files)
\begin_deeper 
\layout Itemize

for example, 
\begin_inset LatexCommand \url{http://www.fee.uva.nl/scholar/mdw/leuven/thesis.pdf}

\end_inset 


\end_deeper 
\layout Itemize

Lecture notes (133 pages, 27 figures on a 33 MHz 486 machine!) 
\layout Itemize

Seminar notebooks (500+ pages)
\layout Itemize

Conference proceedings (Proceedings of the Second Continental Workshop on
 the Geoid in Europe, (Finnish Geodetic Institute Report 98:4), 292 pages)
\layout Itemize

Software Documentation (the LyX User Guide is about 120 pages) 
\layout Itemize

Books 
\begin_deeper 
\layout Itemize

see 
\begin_inset LatexCommand \url{http://www.postgresql.org/docs/awbook.html}

\end_inset 

 for an example on PostgreSQL
\layout Itemize

Donnay, J-P., Barnsley, M.J., and Longley, P.A., eds., 2001, Remote Sensing and
 Urban Analysis (Taylor and Francis: London).
\layout Itemize

Herbert Voss: Praktische Kryptologie mit Java 286 pages, lots of equations,
 tables, figures.
 ISBN 3-8311-1458-7
\end_deeper 
\layout Itemize

Papers published in the following refereed journals:
\begin_deeper 
\layout Itemize

Astronomy & Astrophysics (Suetterlin, P.
 1998, A&A, 333, 305; Suetterlin, P.
 & Wiehr, E.
 1998, A&A, 336, 367)
\layout Itemize

Astronomical Journal (Ressler, M.
 E.
 & Barsony, M.
 2001, AJ, 121, 1098)
\end_deeper 
\layout Itemize

Novels (400+ page novel due out in September 2000; an 836 page novel is
 currently with an agent)
\layout Itemize

Scripts for plays and movies
\layout Itemize

Business proposals for > $1 M (US)
\layout Subsection

Where do I start? 
\layout Standard

The website 
\begin_inset LatexCommand \url{www.lyx.org}

\end_inset 

 is the first place to go for anything related to LyX.
 News, examples, downloads, and lots of other stuff is available there.
 After you have installed LyX and started it the first time, read the Tutorial
 (
\family sans 
Help\SpecialChar \menuseparator
Tutorial
\family default 
).
 Yes, I really mean that.
\layout Standard

Another basic introductory guide may be found at 
\begin_inset LatexCommand \url{www.bilkent.edu.tr/~robin/lyxguide.pdf}

\end_inset 


\layout Subsection

Does LyX run on my computer?
\layout Standard

At this time, you need to have the X Window system to run LyX.
 OS/2 and Win32 ports exist, but you need to have an Xserver
\emph on 
 
\emph default 
installed
\emph on 
 
\emph default 
and running on these systems.
 LyX is known to run on the following platforms (and probably a zillion
 others):
\layout Itemize

Linux: RedHat 4.2, 5.0, 5.1, 6.0, 6.1, SUSE 5.x, Mandrake 7.0, 7.2
\layout Itemize

SparcLinux: RedHat 6.0
\layout Itemize

Sun Solaris 2.6, 2.7
\layout Itemize

Tru64 Unix 4.0f
\layout Itemize

HP-UX
\layout Itemize

OSF1 flore V4.0 1091 alpha
\layout Subsection

How much hard disk space does LyX need? 
\layout Standard

On my system, the LyX binary consumes 2.0 MB of disk space, while the supporting
 files occupy another 6.5 MB (4.7 MB of which is consumed by the docs! You
 can delete the languages you don't care about to save some space).
 Of course, you do need to have something like teTeX installed which consumes
 a mere 115 MB, as well as ghostscript, which is another 10 MB!
\layout Subsection

Is LyX really Open Source? 
\layout Standard

Yes.
 Some may quibble that since the freely available X toolkit that LyX uses,
 xforms, is currently closed source, LyX is less than Pure and Holy.
 Nonsense.
 The LyX source itself is available under a slightly modified version of
 the GPL, so it qualifies.
 Also, the developers of LyX are working on making it toolkit independent,
 so that soon, Qt, Gtk, and maybe even ncurses versions should be easy;
 and even if not, the developer of xforms has stated that he will make xforms
 open source upon reaching either version 0.90 or 1.0 (0.89 is the current
 development version; I got conflicting reports about when the source will
 be opened).
\layout Section

Internet Resources
\layout Subsection

Where should I look on the World Wide Web for LyX stuff? 
\layout Itemize


\begin_inset LatexCommand \url{www.lyx.org}

\end_inset 


\layout Itemize


\begin_inset LatexCommand \url{www.devel.lyx.org}

\end_inset 

, if you are interested in the real blood and guts.
\layout Itemize

Known mirror sites include:
\begin_deeper 
\layout Itemize


\begin_inset LatexCommand \url{www.mx.lyx.org}

\end_inset 


\layout Itemize


\begin_inset LatexCommand \url{www.no.lyx.org}

\end_inset 


\layout Itemize


\begin_inset LatexCommand \url{www.it.lyx.org}

\end_inset 


\end_deeper 
\layout Subsection

Where can I get LyX material by FTP? 
\layout Itemize

ftp.lyx.org in /pub/lyx (also known as ftp.via.ecp.fr)
\layout Subsection

What mailing lists are there? 
\layout Itemize

lyx-announce@lists.lyx.org (very low volume), for announcements related to
 LyX
\layout Itemize

lyx-users@lists.lyx.org (medium volume), for general usage issues
\layout Itemize

lyx-devel@lists.lyx.org (high volume), for development and debugging issues
\layout Itemize

lyx-docs@lists.lyx.org (excruciatingly low volume), for documentation issues
 
\layout Standard

Generally, you would send email to lyx-foo-subscribe@lists.lyx.org to subscribe
 to these lists or to lyx-foo-unsubscribe@lists.lyx.org to unsubscribe, where
 
\begin_inset Quotes eld
\end_inset 

foo
\begin_inset Quotes erd
\end_inset 

 is one of 
\begin_inset Quotes eld
\end_inset 

announce
\begin_inset Quotes erd
\end_inset 

, 
\begin_inset Quotes eld
\end_inset 

users
\begin_inset Quotes erd
\end_inset 

, 
\begin_inset Quotes eld
\end_inset 

devel
\begin_inset Quotes erd
\end_inset 

, or 
\begin_inset Quotes eld
\end_inset 

docs
\begin_inset Quotes erd
\end_inset 

; definitely see 
\begin_inset LatexCommand \url{http://www.lyx.org/internet/mailing.php3}

\end_inset 

 for the full details.
\layout Subsection

Are the mailing lists archived anywhere? 
\layout Standard

Yes.
 :-)
\layout Subsection

Okay, wise guy! Where are they archived?
\layout Itemize

Announce: 
\begin_inset LatexCommand \url{http://www.mail-archive.com/lyx-announce@lists.lyx.org/}

\end_inset 


\layout Itemize

Users: 
\begin_inset LatexCommand \url{http://www.mail-archive.com/lyx-users@lists.lyx.org/}

\end_inset 


\layout Itemize

Devel: 
\begin_inset LatexCommand \url{http://www.mail-archive.com/lyx-devel@lists.lyx.org/}

\end_inset 


\layout Section

Compatibility with other word/document processors
\layout Subsection

Can I read/write LaTeX files?
\layout Standard

Yes.
 LyX outputs LaTeX files that are either machine or human friendly.
 The reLyX program that comes with LyX does a decent job of converting LaTeX
 into LyX.
 It's not perfect, but it will usually get at least 95% of the job done
 for you.
\layout Subsection

Can I read/write Word files?
\layout Standard

Not trivially.
 People have had some level of success with the following sequence: LyX
\begin_inset Formula \( \rightarrow  \)
\end_inset 

LaTeX
\begin_inset Formula \( \rightarrow  \)
\end_inset 

RTF
\begin_inset Formula \( \rightarrow  \)
\end_inset 

Word, and vice versa.
 However, Word is inherently not a markup language like LyX and LaTeX are,
 so conversions are usually difficult and almost meaningless.
\layout Standard

However, here are a few suggestions which were sent in:
\layout Description

word2x produces LaTeX, Html and plaintext output.
 The LaTeX is importable in principle (and is rather clean) but I often
 prefer plaintext and add the formatting back in.
 (This requires that you have knowledge on the original formatting).
 On last writing did not yet handle Office 2000 Word.
\layout Description

wvware (found at www.wvware.com, or the abisource CVS repository for the latest).
 This was previously called msWordView.
 Very good, only tends to produce visually formatted LaTeX/HTML.
 Is however highly configurable: a config file wvLaTeX.xml guides the translation
 process.
 Handles also the newest Office formats.
\layout Description

Ted This is the editor to use when someone sends you an RTF file created
 by Word.
 Fine product.
 Mail yourself the converted version (plaintext or Html).
\layout Standard

Finally, when all else fails, use any word processor (WordPerfect, StarOffice,
 ...) which understands Word.
 Then export as the file as plain text and add the formatting by hand in
 LyX.
 For me personally, at least, it's faster doing this than cleaning up attempts
 at a conversion, though it is certainly unsatisfactory if you need to go
 back and forth a lot.
\layout Subsection

Can I read/write HTML files?
\layout Standard

You can output HTML files using the 
\begin_inset Quotes eld
\end_inset 

tth
\begin_inset Quotes erd
\end_inset 

 converter program, amongst others.
 There may be a HTML
\begin_inset Formula \( \rightarrow  \)
\end_inset 

LaTeX program available which allows you to convert the other direction.
\layout Section

Obtaining and Compiling LyX 
\layout Subsection

What do I need?
\layout Itemize

LyX source code: lyx-1.x.x.tar.gz
\layout Itemize

XForms library: xforms-0.88 or higher
\layout Itemize

A LaTeX installation: we strongly recommend teTeX-1.0 or higher
\layout Itemize

A PostScript interpreter: ghostscript-5.10 or higher
\layout Itemize

A relatively modern C++ compiler.
 gcc-2.7.2.3 works for me under Solaris 2.6 for lyx-1.1.4, but lyx-1.1.5 will probably
 require gcc-2.8.1 or egcs 2.95.x or higher (DEC cxx 6.1 for OSF machines).
\layout Subsection

How do I compile it?
\layout Itemize

./configure
\layout Itemize

make
\layout Itemize

make install (usually as root, though you don't have to be if you add flags
 to the configure command)
\layout Standard

See the INSTALL file for more details.
\layout Subsection

I hate compiling.
 Where are precompiled binaries?
\layout Standard

Most of the above packages are available as precompiled binaries for a variety
 of Linux systems, perhaps others as well.
 The LyX binaries are available as RPMS and a few other formats and may
 be obtained from 
\begin_inset LatexCommand \url{ftp://ftp.sylvan.com/pub/lyx}

\end_inset 

.
\layout Standard

The Windows port is available at 
\begin_inset LatexCommand \url{http://www.fh-hannover.de/mbau/tim/hentschel/lyx/index.html}

\end_inset 


\layout Section

What is Evil Red Text? (IMPORTANT!)
\layout Standard

ERT (Evil Red Text) refers to raw LaTeX commands which are inserted into
 your LyX document.
 Certain troglodytes in the development group coined this term when they
 complained about the unsightly appearance it leads to in LyX documents.
 The more enlightened among us know that it is extremely useful, even though
 it does qualify as URT (Ugly Red Text), but ERT seems to have stuck.
 Aesthetic arguments aside, many of the answers in this FAQ require that
 you use ERT, so whenever we say 
\begin_inset Quotes eld
\end_inset 

insert the following LaTeX code
\begin_inset Quotes erd
\end_inset 

, do the following
\layout Enumerate

Type the command as it is written in the normal way
\layout Enumerate

Highlight it
\layout Enumerate

Click the TeX toolbar button or select 
\family sans 
Layout\SpecialChar \menuseparator
Character\SpecialChar \menuseparator
Misc\SpecialChar \menuseparator
LaTeX mode
\family default 
.
\layout Standard

The command should now be highlighted in red and will be passed as a raw
 LaTeX command.
 
\layout Standard

LaTeX commands can also be inserted in the 
\begin_inset Quotes eld
\end_inset 

LaTeX Preamble
\begin_inset Quotes erd
\end_inset 

, a form in LyX that is inserted verbatim into the LaTeX file which is generated
 during processing.
 This is especially useful for including nonstandard LaTeX packages, defining
 global shortcuts to be used within the document, etc.
\layout Section

Questions Related to Using LyX
\layout Standard

In this section, we attempt to address the truly most frequently asked questions.
 For a broader range of not-so-frequently asked questions and many 
\begin_inset Quotes eld
\end_inset 

how do I?
\begin_inset Quotes erd
\end_inset 

 topics, see Herbert Voss' spectacular collection at 
\begin_inset LatexCommand \url{http://www.educat.hu-berlin.de/~voss/lyx}

\end_inset 

.
 You are doing yourself a large disservice if you don't check there before
 sending a message to the mailing lists!
\layout Subsection

General questions
\layout Subsubsection

How do I change the spacing in an Itemize/\SpecialChar \-
Enumerate/\SpecialChar \-
Description list environment
?
\layout Standard

You'll have to do this by hand: for example, for one particular list, you
 can add the following LaTeX code at the beginning of the list: 
\layout Standard


\family typewriter 

\backslash 
setlength{
\backslash 
itemsep}{0mm}
\layout Subsubsection

How do I number equations by section?
\layout Standard

Add the following two lines to your LaTeX preamble:
\layout LyX-Code


\backslash 
@addtoreset{equation}{section} 
\layout LyX-Code


\backslash 
renewcommand{
\backslash 
theequation}{
\backslash 
thesection.
\backslash 
arabic{equation}}
\layout Subsubsection

Is it possible to do this for figures and tables as well?
\layout Standard

Replace the phrase 
\family typewriter 

\backslash 
theequation
\family default 
 with 
\family typewriter 

\backslash 
thetable
\family default 
 or 
\family typewriter 

\backslash 
thefigure
\family default 
 and then replace 
\family typewriter 
equation
\family default 
 with 
\family typewriter 
table
\family default 
 or 
\family typewriter 
figure
\family default 
.
 Don't forget to adapt the 
\backslash 
@addtoreset command, too.
\layout Subsubsection

How do I change to footnote numbers to symbols (star, dagger, etc.)?
\layout Standard

Add 
\family typewriter 

\backslash 
renewcommand{
\backslash 
thefootnote}{
\backslash 
fnsymbol{footnote}}
\family default 
 to your LaTeX preamble.
\layout Subsubsection

How do I kill widows and orphans?
\layout Standard

Okay, we are not playing Duke Nukem here! To eliminate widows and orphans
 (first line from a paragraph at the bottom of the page and the last line
 from a paragraph at the top of the page), add the following to the LaTeX
 preamble:
\layout LyX-Code


\backslash 
widowpenalty=10000 
\layout LyX-Code


\backslash 
clubpenalty=10000 
\layout Standard

and perhaps
\layout LyX-Code


\backslash 
raggedbottom
\layout LyX-Code

\layout Subsubsection

How do I get a formatted list which starts with e.g.
 1.
 a)?
\layout Standard

If you want a list which looks like
\layout LyX-Code

1.
 a) First alternative 
\layout LyX-Code

   b) Second alternative 
\layout LyX-Code

   c) Third alternative
\layout Standard

then try the following
\layout LyX-Code

1.
 {} 
\layout LyX-Code

   a) First alternative 
\layout LyX-Code

   b) Second alternative 
\layout LyX-Code

   c) Third
\layout Standard

where {} is in ERT (i.e.
 a placeholder not generating output.
 Specifically, set the style to 
\begin_inset Quotes eld
\end_inset 

enumerate
\begin_inset Quotes erd
\end_inset 

, enter the brackets in ERT, change the environment depth, and add the three
 elements.
 LyX will auto-label the entries.
\layout Subsubsection

How do I count words in LyX?
\layout Standard

Run a spellcheck; it will display the total number of words checked.
 Make sure the cursor is at the top of the document when you start the spellchec
ker so that everything is counted.
\layout Subsubsection

How do I insert a fixed amount of horizontal space?
\layout Standard

There are various ERT commands to use: 
\family typewriter 

\backslash 
enspace
\family default 
 (1/2 em), 
\family typewriter 

\backslash 
thinspace
\family default 
 (1/6 em), 
\family typewriter 

\backslash 
negthinspace
\family default 
 (-1/6 em), 
\family typewriter 

\backslash 
quad
\family default 
 (1 em), 
\family typewriter 

\backslash 
qquad
\family default 
 (2 em), 
\family typewriter 

\backslash 
hspace{
\emph on 
length
\emph default 
}
\family default 
, etc.
 An 
\begin_inset Quotes eld
\end_inset 

em
\begin_inset Quotes erd
\end_inset 

 is roughly the width of the letter 
\begin_inset Quotes eld
\end_inset 

m
\begin_inset Quotes erd
\end_inset 

 in the current font.
 The length argument of the 
\family typewriter 

\backslash 
hspace
\family default 
 command is any valid TeX length; units can be 
\family typewriter 
mm
\family default 
 (millimeters), 
\family typewriter 
cm
\family default 
 (centimeters), 
\family typewriter 
in
\family default 
 (inches), 
\family typewriter 
pt
\family default 
 (points = 1/72 inch), 
\family typewriter 
em
\family default 
 (width of letter 
\begin_inset Quotes eld
\end_inset 

m
\begin_inset Quotes erd
\end_inset 

), or 
\family typewriter 
ex
\family default 
 (height of letter 
\begin_inset Quotes eld
\end_inset 

x
\begin_inset Quotes erd
\end_inset 

).
 Examples: 
\family typewriter 

\backslash 
hspace{1in}
\family default 
, 
\family typewriter 

\backslash 
hspace{2.5em}
\family default 
, etc.
\layout Subsubsection

How can I make citations show up as [1,2,3,6] or [1-3,6] rather than [1][2][3][6
]?
\layout Standard

Insert 
\family typewriter 

\backslash 
usepackage{cite}
\family default 
 into the LaTeX preamble.
 Most LaTeX distributions should have this package included.
 LyX supports this package, if you insert multiple citations separated by
 commas into the citation dialog, e.
 g.
 [Smalley_JCP,Jarrold_Sci], instead of just one citation after the other:
 [Smalley_JCP] [Jarrold_Sci].
\layout Subsection

Figure related questions
\layout Subsubsection

What is the difference between a 
\begin_inset Quotes eld
\end_inset 

figure
\begin_inset Quotes erd
\end_inset 

 and a 
\begin_inset Quotes eld
\end_inset 

figure float
\begin_inset Quotes erd
\end_inset 

?
\layout Standard

This is an example of less-than-ideal terminology.
 
\begin_inset Quotes eld
\end_inset 

Figure
\begin_inset Quotes erd
\end_inset 

 is what I would really call a 
\begin_inset Quotes eld
\end_inset 

graphic
\begin_inset Quotes erd
\end_inset 

; it basically means insert a picture file.
 
\begin_inset Quotes eld
\end_inset 

Figure float
\begin_inset Quotes erd
\end_inset 

 is more what one means by a figure in a paper: it includes the graphic,
 the caption, the figure label, etc.
 You should almost always insert a figure float first, then put a figure
 inside that.
\layout Standard

Tables work in the same manner.
 Put a table float in first, then insert the table within that.
\layout Subsubsection

How do I get LyX to put the figure exactly where I want it?
\layout Standard

Select 
\family sans 
Layout\SpecialChar \menuseparator
Document
\family default 
.
 In the 
\family sans 
Float Placement
\family default 
 box, type 
\begin_inset Quotes eld
\end_inset 


\family typewriter 
!htp
\family default 

\begin_inset Quotes erd
\end_inset 

.
 This tells LaTeX to try really hard to put the figure here first, then
 the top of a page, then on a page by itself.
 This is a global setting: all figure will then obey this rule set.
\layout Standard

If you want to control how each figure behaves, leave the box blank, but
 insert the characters 
\begin_inset Quotes eld
\end_inset 


\family typewriter 
[!htp]
\family default 

\begin_inset Quotes erd
\end_inset 

 as the very first characters of the figure.
 This is really a dirty hack, but it fools LyX into generating a 
\family typewriter 

\backslash 
begin{figure}[!htp]
\family default 
 instruction, which is the correct LaTeX way of doing this.
\layout Subsubsection

What does 
\begin_inset Quotes eld
\end_inset 

Too many unprocessed floats
\begin_inset Quotes erd
\end_inset 

 mean?
\layout Standard

LaTeX can handle only a limited number of floating elements floating at
 a given time.
 For example, if Figure 4 can't be fit in a good location (using the default
 rules of top of the page, then bottom, then a page of its own) and Figure
 5 comes along, they will both continue to float toward the end of the document
 until a good location can be found.
 If nothing good turns up, they will just be placed at the end of the document.
 If there are too many of these, LaTeX overruns a counter and emits the
 
\begin_inset Quotes eld
\end_inset 

too many unprocessed floats
\begin_inset Quotes erd
\end_inset 

 error.
 This is not a bug in LaTeX, this is simply too many figures with too little
 text :-)
\layout Standard

The easiest way to work around this is to insert a 
\family typewriter 

\backslash 
clearpage
\family default 
 command somewhere in the document where a pagebreak would be appropriate.
 While a pagebreak would simply start a new page, 
\family typewriter 

\backslash 
clearpage
\family default 
 processes all remaining floats, then begins a new page.
 This may lead to an unsightly stack of figures in the middle of your document;
 you may need to use several 
\family typewriter 

\backslash 
clearpages
\family default 
 to make things balance nicely.
\layout Subsection

Math related questions
\layout Subsubsection

How do I put normal text inside a mathematical equation?
\layout Standard

Type 
\begin_inset Quotes eld
\end_inset 


\family typewriter 
M-m m
\family default 

\begin_inset Quotes erd
\end_inset 

 while inside the equation to enter 
\begin_inset Quotes eld
\end_inset 

math text mode
\begin_inset Quotes erd
\end_inset 

.
\layout Subsubsection

How do I make a cube root (or higher)?
\layout Standard

Type 
\begin_inset Quotes eld
\end_inset 


\family typewriter 
M-m r
\family default 

\begin_inset Quotes erd
\end_inset 

 to insert a nifty 
\begin_inset Quotes eld
\end_inset 

root box
\begin_inset Quotes erd
\end_inset 

.
 Use the cursor keys to navigate the entry boxes.
\layout Section

Questions Related to Running LyX
\layout Subsection

How do I convert LyX files to LaTeX from the command line?
\layout Standard

File export was vastly improved in version 1.1.6.
 Simply say
\layout LyX-Code

lyx --export latex <yourfile>.lyx
\layout Standard

and that is all you need to do.
\layout Standard

If you have an older version of LyX, you can use the same syntax if you
 are running X, because it will cause LyX windows to pop up onto your screen.
 If you have the Xvfb command available, you can resort to a deeper level
 of subterfuge (under 
\family typewriter 
bash
\family default 
):
\layout Standard


\family typewriter 
(Xvfb :1 -once -terminate &); rm <file>.tex; lyx -display :1 --export latex
 <file>.lyx
\layout Standard
\noindent 
Under csh/tcsh it is simply
\layout Standard


\family typewriter 
Xvfb :1 -once -terminate &; rm <file>.tex; lyx -display :1 --export latex
 <file>.lyx
\layout Standard
\noindent 
This should work anywhere, whether or not X is actually running.
\layout Subsection

My LyX-1.1.4 documents don't work in 1.1.5.
 Why not?
\layout Standard

There were a few small LyX file format changes betweeb 1.1.4 and 1.1.5.
 In particular, protected spaces will cause trouble.
 While 99.9% of your work will be just fine, if you've got protected spaces,
 you'll just have to hunt them down and replace them.
 Sorry.
\layout Subsection

How do I create PDF files from my LyX document?
\layout Standard

Read Section 3.3.6 of the 
\emph on 
Extended Features
\emph default 
 manual.
\layout Subsection

Why doesn't my latest and greatest version of Ghostscript render EPS inline
 figures properly?
\layout Standard

A couple of users reported that they couldn't get recent Ghostscript versions
 to display inline figures in LyX.
 It transpires that this is a Ghostscript bug:
\layout Standard


\begin_inset LatexCommand \url{http://sourceforge.net/bugs/?func=detailbug&bug_id=124957&group_id=1897}

\end_inset 


\layout Standard
\noindent 
This bug appears to affect Ghostscript 6.22 and upwards.
 After applying the above mentioned patch, rendering in Lyx works fine again.
\layout Section

Questions Related to X11
\layout Subsection

Why do I get weird color flashes/maps when I start LyX?
\layout Subsection

How do I get the compose key to work?
\layout Subsection

How do I get the #$%& backspace and delete keys to do the right thing?
\layout Section

How to get further assistance
\layout Subsection

You still haven't answered my question! 
\layout Standard

Then RTFM, especially the Tutorial.
 The documentation really is quite good.
 (Besides, I helped write parts of it :-) If you think your problem may
 be LaTeX related, then look in 
\emph on 
LaTeX, A Document Preparation System, 2nd Ed.

\emph default 
 by Leslie Lamport (1994).
 There are also numerous example files included with LyX.
 Try 
\family sans 
File\SpecialChar \menuseparator
Open\SpecialChar \menuseparator
Examples
\family default 
.
\layout Subsection

I want to mail someone about my problem.
 
\layout Standard

Send email to the LyX Users list lyx-users@lists.lyx.org.
 If LyX is actually crashing or otherwise non-functional, then try the developer
s' list at lyx-devel@lists.lyx.org.
\layout Subsection

What to put in a request for help.
\layout Standard

Include your version of LyX and a description of what you are trying to
 do, along with evidence that you've actually read the docs.
\layout Standard

If LyX has crashed, include the version of LyX, the operating system, the
 version of xforms (if it seems to be a screen drawing problem), and a precise
 description of the events that lead to the crash.
 The easier it is for the developers to reproduce your crash, the more likely
 it will get fixed.
 If you're brave and like to hack, use gdb to generate a backtrace and include
 the results with your mail.
 If you have no clue what I'm talking about, just describe what you did
 as completely as you can.
\layout Section

Administrative information and acknowledgments
\layout Subsection

Feedback is invited.
 
\layout Standard

Send comments, suggested additions, world record document claims, etc.
 to 
\emph on 
mike.ressler@alum.mit.edu.
\layout Subsection

Formats in which this FAQ is available.
 
\layout Standard

The LyX file original is included in the LyX source distribution, converted
 versions in HTML and ASCII should soon be available at the website.
 A German version is also available with the distribution.
\layout Subsection

Authorship and acknowledgments.
\layout Standard

Bernhard Iselborn, David Johnson, and Paul Evans were responsible for the
 FAQ through version 0.2.2 which covered LyX-0.10.7.
 The FAQ as of version 0.3.0 was written from scratch and covers LyX-1.0 and
 higher.
 Many people contributed pieces to the current version; Mike Ressler (
\emph on 
mike.ressler@alum.mit.edu
\emph default 
) of the Doc Team is collecting them into this file.
\layout Subsection

Disclaimer and Copyright.
 
\layout Standard

I don't claim anything in this document is accurate to within a factor of
 
\begin_inset Formula \( \pi  \)
\end_inset 

; after all, I'm just an astronomer, and we like to set 
\begin_inset Formula \( c=h=k=\pi =1 \)
\end_inset 

.
 When the answer is wrong, we just redefine the units.
 This file is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE.
 See the GNU General Public License for more details.
 In other words, it's not my fault if you lose your dissertation the night
 before your doctoral defense because you forgot to save it before the power
 failed while wondering how a fundamental physical constant expressed in
 units of 
\begin_inset Formula \( \textrm{m s}^{-1} \)
\end_inset 

 could possibly be equal to one expressed as 
\begin_inset Formula \( \textrm{kg m s}^{-2}\textrm{ K}^{-1} \)
\end_inset 

.
 This file is Copyright  2000 by Michael E.
 Ressler on behalf of the LyX Documentation Team.
\the_end