]> git.lyx.org Git - lyx.git/blob - lib/doc/Intro.lyx
UserGuide.lyx: describe new document class option handling and typographic fixes
[lyx.git] / lib / doc / Intro.lyx
1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 344
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7 % DO NOT ALTER THIS PREAMBLE!!!
8 %
9 %This preamble is designed to ensure that the document prints
10 % out as advertised. If you mess with this preamble,
11 % parts of the document may not print out as expected.  If you
12 % have problems LaTeXing this file, please contact 
13 % the documentation team
14 % email: lyx-docs@lists.lyx.org
15
16 \usepackage{ifpdf} % part of the hyperref bundle
17 \ifpdf % if pdflatex is used
18
19  % set fonts for nicer pdf view
20  \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
21
22 \fi % end if pdflatex is used
23
24 % the pages of the TOC is numbered roman
25 % and a pdf-bookmark for the TOC is added
26 \pagenumbering{roman}
27 \let\myTOC\tableofcontents
28 \renewcommand\tableofcontents{%
29   \pdfbookmark[1]{\contentsname}{}
30   \myTOC
31   \cleardoublepage
32   \pagenumbering{arabic} }
33
34 % redefine the \LyX macro for PDF bookmarks
35 \def\LyX{\texorpdfstring{%
36   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
37   {LyX }}
38 \end_preamble
39 \use_default_options false
40 \language english
41 \inputencoding auto
42 \font_roman default
43 \font_sans default
44 \font_typewriter default
45 \font_default_family default
46 \font_sc false
47 \font_osf false
48 \font_sf_scale 100
49 \font_tt_scale 100
50
51 \graphics default
52 \paperfontsize 12
53 \spacing single
54 \use_hyperref true
55 \pdf_title "Introduction to LyX"
56 \pdf_author "LyX Team"
57 \pdf_subject "LyX-documentation Intro"
58 \pdf_keywords "LyX, documentation"
59 \pdf_bookmarks true
60 \pdf_bookmarksnumbered true
61 \pdf_bookmarksopen true
62 \pdf_bookmarksopenlevel 2
63 \pdf_breaklinks false
64 \pdf_pdfborder false
65 \pdf_colorlinks true
66 \pdf_backref false
67 \pdf_pdfusetitle false
68 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
69 \papersize a4paper
70 \use_geometry false
71 \use_amsmath 1
72 \use_esint 0
73 \cite_engine basic
74 \use_bibtopic false
75 \paperorientation portrait
76 \secnumdepth 3
77 \tocdepth 2
78 \paragraph_separation indent
79 \defskip medskip
80 \quotes_language english
81 \papercolumns 1
82 \papersides 1
83 \paperpagestyle default
84 \tracking_changes false
85 \output_changes false
86 \author "" 
87 \author "" 
88 \end_header
89
90 \begin_body
91
92 \begin_layout Title
93 Introduction to LyX
94 \end_layout
95
96 \begin_layout Author
97 by the LyX Team
98 \begin_inset Foot
99 status collapsed
100
101 \begin_layout Plain Layout
102 \noindent
103 If you have comments or error corrections, please send them to the LyX Documenta
104 tion mailing list: 
105 \begin_inset CommandInset href
106 LatexCommand href
107 target "lyx-docs@lists.lyx.org"
108 type "mailto:"
109
110 \end_inset
111
112
113 \end_layout
114
115 \end_inset
116
117
118 \end_layout
119
120 \begin_layout Standard
121 \begin_inset CommandInset toc
122 LatexCommand tableofcontents
123
124 \end_inset
125
126
127 \end_layout
128
129 \begin_layout Section
130 The Philosophy of LyX
131 \end_layout
132
133 \begin_layout Subsection
134 What is LyX?
135 \end_layout
136
137 \begin_layout Standard
138 LyX is a document preparation system.
139  It excels at letting you create complex technical and scientific articles
140  with mathematics, cross-references, bibliographies, indices, etc.
141  It is very good at documents of any length in which the usual processing
142  abilities are required: automatic sectioning and pagination, spellchecking,
143  and so forth.
144  It can also be used to write a letter to your mom, though granted, there
145  are probably simpler programs available for that.
146  It is definitely not the best tool for creating banners, flyers, or advertiseme
147 nts (we'll explain why later), though with some effort all these can be
148  done, too.
149  Some examples of what it is used for: memos, letters, dissertations and
150  theses, lecture notes, seminar notebooks, conference proceedings, software
151  documentation, books, articles in refereed scientific journals, scripts
152  for plays and movies, business proposals, presentations \SpecialChar \ldots{}
153
154 \end_layout
155
156 \begin_layout Standard
157 LyX is a program that provides a modern approach to writing documents with
158  a computer by using a markup language paradigm, an approach that breaks
159  with the obsolete tradition of the 
160 \begin_inset Quotes eld
161 \end_inset
162
163 typewriter concept
164 \begin_inset Quotes erd
165 \end_inset
166
167 .
168  It is designed for authors who want professional output quickly with a
169  minimum of effort without becoming specialists in typesetting.
170  The job of typesetting is done mostly by the computer, not the author;
171  with LyX, the author can concentrate on the contents of her writing.
172 \end_layout
173
174 \begin_layout Standard
175 Part of the initial challenge of using LyX comes from the change in thinking
176  that you, the user, must make.
177  At one time, all we had for creating documents were typewriters, so we
178  all learned certain tricks to get around their limitations.
179  Underlining, which is little more than overstriking with the 
180 \begin_inset Quotes eld
181 \end_inset
182
183 _
184 \begin_inset Quotes erd
185 \end_inset
186
187  character, became a way to emphasize text.
188  You were forced to figure out column sizes and tab stops, and set them,
189  before creating a table.
190  The same applied for letters and other right justified text.
191  Hyphenation at the end of a line required a careful eye and a lot of foresight.
192 \end_layout
193
194 \begin_layout Standard
195 In other words, we've all been trained to worry about the little details
196  of which character goes where.
197  Consequently, almost all word processors have this mentality.
198  They still use tab stops for adding whitespace.
199  You still need to worry about exactly where on the page something will
200  appear.
201  Emphasizing text means changing a font, similar to changing the typewriter
202  wheel.
203  This is the underlying philosophy of a WYSIWYG word processor: 
204 \begin_inset Quotes eld
205 \end_inset
206
207 What You See Is What You Get
208 \begin_inset Quotes erd
209 \end_inset
210
211 .
212  Unfortunately, that paradigm often results in 
213 \begin_inset Quotes eld
214 \end_inset
215
216 What You See Is All You Get
217 \begin_inset Quotes erd
218 \end_inset
219
220 .
221 \end_layout
222
223 \begin_layout Standard
224 This is where LyX differs from an ordinary word processor.
225  You don't concern yourself with what character goes where.
226  You tell LyX 
227 \emph on
228 what you're doing
229 \emph default
230  and LyX takes care of the rest, following a set of rules called a 
231 \emph on
232 style.
233 \emph default
234
235 \begin_inset Foot
236 status collapsed
237
238 \begin_layout Plain Layout
239 To be fair, most recent versions of the most popular office suites now have
240  some sort of style sheets which follow a similar markup method.
241  However, our experience is that they are still rarely used in practice.
242 \end_layout
243
244 \end_inset
245
246  Let's look at a little example:
247 \end_layout
248
249 \begin_layout Standard
250 Suppose you are writing a report.
251  To begin your report, you want a section called 
252 \begin_inset Quotes eld
253 \end_inset
254
255 Introduction\SpecialChar \@.
256
257 \begin_inset Quotes erd
258 \end_inset
259
260  So, you go into whatever menu it is in your word processor that changes
261  font sizes and decide on a new font size.
262  Then you turn on bold face.
263  Then you type, 
264 \begin_inset Quotes eld
265 \end_inset
266
267 1.
268 \begin_inset space ~
269 \end_inset
270
271
272 \begin_inset space ~
273 \end_inset
274
275 Introduction
276 \begin_inset Quotes erd
277 \end_inset
278
279 .
280  Of course, if you later decide that this section belongs someplace else
281  in the document, or if you insert a new section before it, you need to
282  change the numbering for this and all following sections, as well as any
283  entry in the table of contents.
284  
285 \end_layout
286
287 \begin_layout Standard
288 In LyX, you go to the pull-down on the far left of the button bar and select
289  
290 \family sans
291 Section
292 \family default
293 , and type 
294 \begin_inset Quotes eld
295 \end_inset
296
297 Introduction\SpecialChar \@.
298
299 \begin_inset Quotes erd
300 \end_inset
301
302
303 \end_layout
304
305 \begin_layout Standard
306 Yes, that's all.
307  If you cut and paste the section, it will automatically be renumbered ---
308  everywhere.
309  And if you enter references to that section correctly (by inserting cross-refer
310 ence tags), LyX will automatically update them all throughout the file so
311  that you never, ever type a section number.
312 \end_layout
313
314 \begin_layout Standard
315 Now let's look at the problem of consistency.
316  Five days later, you reopen your report and start Section
317 \begin_inset space ~
318 \end_inset
319
320 4.
321  However, you forget that you were using 18pt bold instead of 16pt, so you
322  type in the heading for Section
323 \begin_inset space ~
324 \end_inset
325
326 4 in a different font that what you used for Section
327 \begin_inset space ~
328 \end_inset
329
330 1.
331  That problem doesn't even exist in LyX.
332  The computer takes care of all that silly bookkeeping about which thing
333  has what size font, not you.
334  After all, that's what a computer is good at.
335 \end_layout
336
337 \begin_layout Standard
338 Here's another example.
339  Suppose you're making a list.
340  In other word processors, a list is just a bunch of tab stops and newlines.
341  You need to figure out where to put the label for each list item, what
342  that label should be, how many blank lines to put between each item, and
343  so on.
344  Under LyX, you have only two concerns: what kind of list is this, and what
345  do I want to put in it.
346  That's it.
347 \end_layout
348
349 \begin_layout Standard
350 So, the basic idea behind LyX is: specify 
351 \emph on
352 what
353 \emph default
354  you're doing, not 
355 \emph on
356 how
357 \emph default
358  to do it.
359  Instead of 
360 \begin_inset Quotes eld
361 \end_inset
362
363 What You See Is What You Get,
364 \begin_inset Quotes erd
365 \end_inset
366
367  the LyX model is 
368 \begin_inset Quotes eld
369 \end_inset
370
371 What You See Is What You 
372 \emph on
373 Mean
374 \emph default
375
376 \begin_inset Quotes erd
377 \end_inset
378
379  or 
380 \begin_inset Quotes eld
381 \end_inset
382
383 WYSIWYM.
384 \begin_inset Quotes erd
385 \end_inset
386
387  It's a powerful idea that greatly simplifies the mechanics of writing documents.
388  This is also why LyX isn't so good for creating posters and flyers---in
389  this case, you 
390 \emph on
391 do
392 \emph default
393  want to specify exactly where everything goes, because there are no functional
394  units like paragraphs, sections, etc.
395  This doesn't mean LyX is missing some cool function.
396  It simply means that it isn't the right tool for the job --- you don't
397  use a screwdriver to drive in nails.
398 \end_layout
399
400 \begin_layout Subsection
401 Differences between LyX and Other Word Processors
402 \begin_inset OptArg
403 status collapsed
404
405 \begin_layout Plain Layout
406 \begin_inset ERT
407 status collapsed
408
409 \begin_layout Plain Layout
410
411
412 \backslash
413 texorpdfstring{
414 \end_layout
415
416 \end_inset
417
418 LyX
419 \begin_inset ERT
420 status collapsed
421
422 \begin_layout Plain Layout
423
424 }{LyX}
425 \end_layout
426
427 \end_inset
428
429  and Other Word Processors
430 \end_layout
431
432 \end_inset
433
434
435 \end_layout
436
437 \begin_layout Standard
438 Here's a list of things you won't find in LyX:
439 \end_layout
440
441 \begin_layout Itemize
442 The document ruler
443 \end_layout
444
445 \begin_layout Itemize
446 Tab stops
447 \end_layout
448
449 \begin_layout Itemize
450 Extra whitespace (i.e.
451 \begin_inset space \space{}
452 \end_inset
453
454 hitting 
455 \family sans
456 Enter
457 \family default
458  or 
459 \family sans
460 Space
461 \family default
462  two or more times)
463 \end_layout
464
465 \begin_layout Standard
466 Tab stops, along with a ruler showing you the position of things on the
467  page, are useless in LyX.
468  The program worries about where things go on the page, not you.
469  Extra whitespace is similar; LyX adds them where necessary, depending on
470  context.
471  Not being able to type two blank lines in a row will be annoying at first,
472  but it makes more sense once you're thinking in WYSIWYM terms.
473 \end_layout
474
475 \begin_layout Standard
476 Here are some things that exist in LyX, but aren't used as you might think:
477 \end_layout
478
479 \begin_layout Itemize
480 Indenting controls
481 \end_layout
482
483 \begin_layout Itemize
484 Page breaks
485 \end_layout
486
487 \begin_layout Itemize
488 Line spacing (i.e.
489 \begin_inset space \space{}
490 \end_inset
491
492 single spaced, double spaced, etc.)
493 \end_layout
494
495 \begin_layout Itemize
496 Whitespace, horizontal and vertical
497 \end_layout
498
499 \begin_layout Itemize
500 Fonts and font sizes
501 \end_layout
502
503 \begin_layout Itemize
504 Typefaces (bold, italic, underline, etc.)
505 \end_layout
506
507 \begin_layout Standard
508 Although they exist in LyX, you generally don't need them.
509  LyX will take care of these things for you, depending on what you're doing.
510  Different parts of the document are automatically set in a different typeface
511  and font size.
512  Paragraph indenting is context dependent; different types of paragraphs
513  get indented differently.
514  Page breaks get handled automatically, as well.
515  In general, the space between lines, between words, and between paragraphs
516  is variable, set by LyX.
517 \begin_inset Foot
518 status collapsed
519
520 \begin_layout Plain Layout
521 There are ways to adjust all of these (only some of which require knowledge
522  of LaTeX), either for a whole document or for a specific location in a
523  document.
524  See the 
525 \emph on
526 User's Guide
527 \emph default
528  and/or the 
529 \emph on
530 Additional Features
531 \emph default
532  manual for details.
533 \end_layout
534
535 \end_inset
536
537  
538 \end_layout
539
540 \begin_layout Standard
541 Lastly, there are a few areas where we believe LyX (and LaTeX) surpasses
542  many word processors:
543 \end_layout
544
545 \begin_layout Itemize
546 Hyphenation
547 \end_layout
548
549 \begin_layout Itemize
550 Lists of any type
551 \end_layout
552
553 \begin_layout Itemize
554 Mathematics
555 \end_layout
556
557 \begin_layout Itemize
558 Tables
559 \end_layout
560
561 \begin_layout Itemize
562 Cross-referencing
563 \end_layout
564
565 \begin_layout Standard
566 Granted, many modern word processors can handle mathematical symbols, tables,
567  and hyphenation, and many have moved towards style definitions and the
568  WYSIWYM concept.
569  However, they've only recently been able to do so, whereas LyX is built
570  upon the LaTeX document preparation system.
571  LaTeX has been around for over 20 years, and 
572 \emph on
573 works
574 \emph default
575 .
576 \end_layout
577
578 \begin_layout Subsection
579 What is LaTeX?
580 \end_layout
581
582 \begin_layout Standard
583 LaTeX is a document preparation system designed by Leslie Lamport in 1985.
584 \begin_inset Foot
585 status collapsed
586
587 \begin_layout Plain Layout
588 The source for the info in this section is 
589 \begin_inset Quotes eld
590 \end_inset
591
592
593 \emph on
594 A Guide to LaTeX2e
595 \emph default
596 ,
597 \begin_inset Quotes erd
598 \end_inset
599
600  by Helmut Kopka and Patrick Daly, which has an entry in the bibliography
601  of the 
602 \emph on
603 User's Guide
604 \emph default
605 \SpecialChar \@.
606
607 \end_layout
608
609 \end_inset
610
611  It was built up from a typesetting language called TeX, created by Donald
612  Knuth in 1984.
613  TeX takes a sequence of typesetting commands, written in a script in an
614  ASCII file, and executes them.
615  Many of the 
616 \begin_inset Quotes eld
617 \end_inset
618
619 tricks
620 \begin_inset Quotes erd
621 \end_inset
622
623  of the printing trade were modeled by Knuth as computer algorithms and
624  incorporated into TeX, thus its excellent printed appearance.
625  What comes directly out of TeX is the portable document format 
626 \emph on
627 pdf
628 \emph default
629  or the so-called 
630 \begin_inset Quotes eld
631 \end_inset
632
633 device independent
634 \begin_inset Quotes erd
635 \end_inset
636
637  format file 
638 \emph on
639 dvi
640 \emph default
641 .
642  The dvi format is often used for previews and can later be converted to
643  other formats like PostScript.
644  
645 \end_layout
646
647 \begin_layout Standard
648 TeX isn't only a typesetting engine, it also allows you to define macros.
649  Most people who use TeX are actually using a macro package which Knuth
650  created to hide a lot of the typesetting details.
651  This is where Leslie Lamport enters our story.
652  He wanted a macro package that was more user- and less typesetter-oriented,
653  with a set of commands that consistently typeset things like sections,
654  tables or math formulas in an uniform, consistent fashion.
655  This is how LaTeX was born.
656 \end_layout
657
658 \begin_layout Standard
659 Now, in parallel with the development and growth of LaTeX, other folks were
660  creating their own custom macro packages for TeX, ones to make slides or
661  articles for math journals and so on.
662  Some used the raw TeX facilities to do this, others began modifying LaTeX.
663  To try and unify this mess, a team of LaTeX-nicians began to work on LaTeX2e,
664  the current version of LaTeX, during the late 1980's.
665  This new version of LaTeX has commands which provide an easier-to-use interface
666  to TeX's macro-creating commands, aid in the use of new fonts, and so on.
667  In fact, LaTeX is quite an extensive language in its own right! Users around
668  the world have been creating their own add-ons for LaTeX beyond the standard
669  ones.
670 \end_layout
671
672 \begin_layout Standard
673 There are two ways to extend LaTeX: classes and styles.
674  A 
675 \emph on
676 class
677 \emph default
678  is a set of LaTeX macros describing a new type of document, like a book,
679  or an article.
680  There are classes for slides, for physics and math journals\SpecialChar \ldots{}
681  many universities
682  even have a class for their thesis format! A 
683 \emph on
684 style
685 \emph default
686  differs from a class in that it doesn't define a new type of document,
687  but a different type of 
688 \emph on
689 behavior
690 \emph default
691  that any document can use.
692  For example, LyX controls page margins and line spacing using two different
693  LaTeX style-files designed for these purposes.
694  There are style-files for a whole slew of things: printing labels or envelopes,
695  changing indentation behavior, adding new fonts, manipulating graphics,
696  designing fancy page headings, customizing bibliographies, altering the
697  location and appearance of footnotes, tables, and figures, customizing
698  lists, etc.
699 \end_layout
700
701 \begin_layout Standard
702 Here is a summary:
703 \end_layout
704
705 \begin_layout Description
706 TeX: Typesetting language with macro capability.
707 \end_layout
708
709 \begin_layout Description
710 LaTeX: Macro package built upon TeX\SpecialChar \@.
711
712 \end_layout
713
714 \begin_layout Description
715 classes: Descriptions of a type of document, using LaTeX\SpecialChar \@.
716
717 \end_layout
718
719 \begin_layout Description
720 styles: Alters the default behavior of LaTeX in some way.
721 \end_layout
722
723 \begin_layout Description
724 LyX: Visual, WYSIWYM word-processor that uses LaTeX to do its typesetting.
725 \end_layout
726
727 \begin_layout Standard
728 This section attempts to account for the difference between LyX and other
729  word processors.
730  Simply put, LaTeX is the difference.
731  By using LaTeX as its backend, LyX helps you think more about 
732 \emph on
733  what 
734 \emph default
735  (as in the 
736 \emph on
737 words
738 \emph default
739 ) you write.
740  The computer then handles 
741 \emph on
742 how
743 \emph default
744  they should look.
745 \end_layout
746
747 \begin_layout Section
748 Navigating the Documentation
749 \end_layout
750
751 \begin_layout Standard
752 To make it easier to answer your questions and describe all of the features
753  of LyX, the documentation has been split up into several different files.
754  Each one has its own purpose, as described below.
755  Before you go plowing into any of those files, however, you should read
756  this chapter thoroughly first, since it contains a lot of useful information
757  and commentary that can save you some time.
758 \end_layout
759
760 \begin_layout Standard
761 The developing of LyX will hopefully never stop, so that some of the documentati
762 on may be incomplete or a bit out of date, though we try to keep up.
763  Like the rest of LyX, the manuals are the work of a group of volunteers
764  who have 
765 \begin_inset Quotes eld
766 \end_inset
767
768 Real Jobs
769 \begin_inset Quotes erd
770 \end_inset
771
772 , families, dishes to clean, kitty litter to dispose of, et cetera.
773  If you want to help out, be sure to read Section
774 \begin_inset space ~
775 \end_inset
776
777
778 \begin_inset CommandInset ref
779 LatexCommand ref
780 reference "sec:Contrib"
781
782 \end_inset
783
784  in addition to the rest of this document.
785 \end_layout
786
787 \begin_layout Standard
788 Also, please do us a favor -- if anything in these manuals confuses you,
789  is unclear, or wrong, don't hesitate to let us know! You can reach the
790  current document maintainers by mailing to 
791 \begin_inset CommandInset href
792 LatexCommand href
793 target "lyx-docs@lists.lyx.org"
794 type "mailto:"
795
796 \end_inset
797
798 .
799  If you have questions which are not obviously answered in the documentation,
800  and need help fast, there is an active users' mailing list which you can
801  reach at 
802 \begin_inset CommandInset href
803 LatexCommand href
804 target "lyx-users@lists.lyx.org"
805 type "mailto:"
806
807 \end_inset
808
809 .
810 \end_layout
811
812 \begin_layout Subsection
813 The Format of the Manuals
814 \end_layout
815
816 \begin_layout Standard
817 Some may have printed out the manuals.
818  Others may be reading it within LyX.
819  There are some differences between the LyX-file and the printed version.
820  First, the title is simply at the top of the document, not formatted on
821  a separate page as in some of the printed versions.
822  Nor are any of the footnotes or the Table of Contents fully visible.
823  To open a footnote, which looks like this: 
824 \begin_inset Graphics
825         filename clipart/footnoteQt4.png
826         scale 75
827
828 \end_inset
829
830 , click on it with the left mouse button.
831  For the Table of Contents, either click on the grey box or click on the
832  
833 \family sans
834 Navigate
835 \family default
836  menu, where the contents are displayed automatically\SpecialChar \@.
837
838 \end_layout
839
840 \begin_layout Standard
841 In the printed manuals, all cross-references appear as the actual numbers
842  for a chapter, section, subsection, and so on.
843  Online, however, all cross-references appear as a light-grey box like the
844  following: 
845 \begin_inset Graphics
846         filename clipart/referenceQt4.png
847         scale 75
848
849 \end_inset
850
851 .
852  If you click on that box with the left mouse button, a dialog box will
853  appear containing a list of all the cross-references in the document.
854  This introduction has only two, the first one is named 
855 \begin_inset Quotes eld
856 \end_inset
857
858 sec:Contrib
859 \begin_inset Quotes erd
860 \end_inset
861
862 .
863  You can go to the referred section by right-clicking on the box or by clicking
864  the button 
865 \family sans
866 Go
867 \begin_inset space ~
868 \end_inset
869
870 to
871 \begin_inset space ~
872 \end_inset
873
874 Label
875 \family default
876  in the opened dialog.
877  Going back to where you came from is just as easy.
878  Clicking on 
879 \family sans
880 Go back
881 \family default
882  to go back to your earlier location.
883 \end_layout
884
885 \begin_layout Standard
886 Now that we've cleared up some of the differences between the printed and
887  online versions of this file, we can start looking at the format of this
888  document.
889  You'll occasionally notice things in different fonts:
890 \end_layout
891
892 \begin_layout Itemize
893
894 \emph on
895 Emphasized Style
896 \emph default
897  is used for general emphasis, generic arguments, book titles, names of
898  sections of other manuals, and notes from the authors.
899 \end_layout
900
901 \begin_layout Itemize
902
903 \family typewriter
904 Typewriter
905 \family default
906  is used for program and file names, LyX code and functions.
907 \end_layout
908
909 \begin_layout Itemize
910
911 \family sans
912 Sans Serif
913 \family default
914  is used for menu, button, or dialog box names, and the names of keyboard
915  keys.
916 \end_layout
917
918 \begin_layout Itemize
919
920 \noun on
921 Noun Style
922 \noun default
923  is used for people's names.
924 \end_layout
925
926 \begin_layout Itemize
927
928 \series bold
929 Bold
930 \series default
931  is used for LaTeX code
932 \end_layout
933
934 \begin_layout Standard
935 For menu accelerator keys and keybindings, you'll probably get referred
936  to the 
937 \emph on
938 Key Bindings
939 \emph default
940  section of the 
941 \begin_inset Quotes eld
942 \end_inset
943
944
945 \emph on
946 Addtional Features Manual
947 \emph default
948
949 \begin_inset Quotes erd
950 \end_inset
951
952  (the file 
953 \family typewriter
954 Extended.lyx
955 \family default
956 ).
957  When we do need to reference keys, we'll use the following prefixing convention
958 :
959 \end_layout
960
961 \begin_layout Itemize
962 \begin_inset Quotes eld
963 \end_inset
964
965
966 \family sans
967 C-
968 \family default
969
970 \begin_inset Quotes erd
971 \end_inset
972
973  indicates the 
974 \family sans
975 Control-
976 \family default
977  key.
978 \end_layout
979
980 \begin_layout Itemize
981 \begin_inset Quotes eld
982 \end_inset
983
984
985 \family sans
986 S-
987 \family default
988
989 \begin_inset Quotes erd
990 \end_inset
991
992  indicates the 
993 \family sans
994 Shift-
995 \family default
996  key.
997 \end_layout
998
999 \begin_layout Itemize
1000 \begin_inset Quotes eld
1001 \end_inset
1002
1003
1004 \family sans
1005 M-
1006 \family default
1007
1008 \begin_inset Quotes erd
1009 \end_inset
1010
1011  indicates the 
1012 \family sans
1013 Meta-
1014 \family default
1015  key, which on some keyboards will be the 
1016 \family sans
1017 Alt-
1018 \family default
1019  key.
1020 \end_layout
1021
1022 \begin_layout Itemize
1023 \begin_inset Quotes eld
1024 \end_inset
1025
1026
1027 \family sans
1028 F1
1029 \family default
1030
1031 \begin_inset Quotes erd
1032 \end_inset
1033
1034  \SpecialChar \ldots{}
1035  
1036 \begin_inset Quotes eld
1037 \end_inset
1038
1039
1040 \family sans
1041 F12
1042 \family default
1043
1044 \begin_inset Quotes erd
1045 \end_inset
1046
1047  are the function keys.
1048 \end_layout
1049
1050 \begin_layout Itemize
1051 \begin_inset Quotes eld
1052 \end_inset
1053
1054
1055 \family sans
1056 Esc
1057 \family default
1058
1059 \begin_inset Quotes erd
1060 \end_inset
1061
1062  is the escape key.
1063 \end_layout
1064
1065 \begin_layout Itemize
1066 \begin_inset Quotes eld
1067 \end_inset
1068
1069
1070 \family sans
1071 Left
1072 \family default
1073
1074 \begin_inset Quotes erd
1075 \end_inset
1076
1077  
1078 \begin_inset Quotes eld
1079 \end_inset
1080
1081
1082 \family sans
1083 Right
1084 \family default
1085
1086 \begin_inset Quotes erd
1087 \end_inset
1088
1089  
1090 \begin_inset Quotes eld
1091 \end_inset
1092
1093
1094 \family sans
1095 Up
1096 \family default
1097
1098 \begin_inset Quotes erd
1099 \end_inset
1100
1101  
1102 \begin_inset Quotes eld
1103 \end_inset
1104
1105
1106 \family sans
1107 Down
1108 \family default
1109
1110 \begin_inset Quotes erd
1111 \end_inset
1112
1113 : self-explanatory.
1114 \end_layout
1115
1116 \begin_layout Itemize
1117
1118 \family sans
1119 \begin_inset Quotes eld
1120 \end_inset
1121
1122 Insert
1123 \family default
1124
1125 \begin_inset Quotes erd
1126 \end_inset
1127
1128  
1129 \begin_inset Quotes eld
1130 \end_inset
1131
1132
1133 \family sans
1134 Delete
1135 \family default
1136
1137 \begin_inset Quotes erd
1138 \end_inset
1139
1140  
1141 \begin_inset Quotes eld
1142 \end_inset
1143
1144
1145 \family sans
1146 Home
1147 \family default
1148
1149 \begin_inset Quotes erd
1150 \end_inset
1151
1152  
1153 \begin_inset Quotes eld
1154 \end_inset
1155
1156
1157 \family sans
1158 End
1159 \family default
1160
1161 \begin_inset Quotes erd
1162 \end_inset
1163
1164  
1165 \begin_inset Quotes eld
1166 \end_inset
1167
1168
1169 \family sans
1170 PageUp
1171 \family default
1172
1173 \begin_inset Quotes erd
1174 \end_inset
1175
1176  
1177 \begin_inset Quotes eld
1178 \end_inset
1179
1180
1181 \family sans
1182 PageDown
1183 \family default
1184
1185 \begin_inset Quotes erd
1186 \end_inset
1187
1188 : these are the 6 keys that appear above the cursor keys on many PC keyboards.
1189  
1190 \begin_inset Quotes eld
1191 \end_inset
1192
1193
1194 \family sans
1195 PageUp
1196 \family default
1197
1198 \begin_inset Quotes erd
1199 \end_inset
1200
1201  and 
1202 \begin_inset Quotes eld
1203 \end_inset
1204
1205
1206 \family sans
1207 PageDown
1208 \family default
1209
1210 \begin_inset Quotes erd
1211 \end_inset
1212
1213  are called 
1214 \begin_inset Quotes eld
1215 \end_inset
1216
1217
1218 \family sans
1219 Prior
1220 \family default
1221
1222 \begin_inset Quotes erd
1223 \end_inset
1224
1225  and 
1226 \begin_inset Quotes eld
1227 \end_inset
1228
1229
1230 \family sans
1231 Next
1232 \family default
1233
1234 \begin_inset Quotes erd
1235 \end_inset
1236
1237  on some keyboards.
1238 \end_layout
1239
1240 \begin_layout Itemize
1241
1242 \family sans
1243 Return
1244 \family default
1245  and 
1246 \family sans
1247 Enter
1248 \family default
1249  both refer to the same key.
1250  Some keyboards label the 
1251 \family sans
1252 Return
1253 \family default
1254  key as 
1255 \begin_inset Quotes eld
1256 \end_inset
1257
1258 Return,
1259 \begin_inset Quotes erd
1260 \end_inset
1261
1262  others as 
1263 \begin_inset Quotes eld
1264 \end_inset
1265
1266 Enter,
1267 \begin_inset Quotes erd
1268 \end_inset
1269
1270  still others have two keys.
1271  LyX treats all of them as the same key, so we'll use 
1272 \family sans
1273 Return
1274 \family default
1275  and 
1276 \family sans
1277 Enter
1278 \family default
1279  interchangeably.
1280 \end_layout
1281
1282 \begin_layout Standard
1283 You'll also see something like 
1284 \begin_inset Quotes eld
1285 \end_inset
1286
1287 (See 
1288 \emph on
1289
1290 \begin_inset Quotes els
1291 \end_inset
1292
1293 Extended
1294 \emph default
1295
1296 \begin_inset Quotes ers
1297 \end_inset
1298
1299 )
1300 \begin_inset Quotes erd
1301 \end_inset
1302
1303  from time to time.
1304  We've listed the possible default keybindings for a function in its entry
1305  in the 
1306 \begin_inset Quotes eld
1307 \end_inset
1308
1309
1310 \emph on
1311 Additional Features Manual
1312 \emph default
1313 ,
1314 \begin_inset Quotes erd
1315 \end_inset
1316
1317  so check there, too.
1318  Note that there are two different keybinding maps in common use in the
1319  LyX community: the 
1320 \begin_inset Quotes eld
1321 \end_inset
1322
1323 CUA
1324 \begin_inset Quotes erd
1325 \end_inset
1326
1327  style which is the default and familiar to those coming from the PC world,
1328  and the 
1329 \begin_inset Quotes eld
1330 \end_inset
1331
1332 emacs
1333 \begin_inset Quotes erd
1334 \end_inset
1335
1336  style, which is common with those who 
1337 \begin_inset Quotes eld
1338 \end_inset
1339
1340 grew up
1341 \begin_inset Quotes erd
1342 \end_inset
1343
1344  on Unix systems and use the Emacs editor.
1345  Unless specifically noted, the keybindings in the documentation are from
1346  the default CUA map.
1347  If you like Emacs, you should be smart enough to read the documentation
1348  and figure out the bindings on your own.
1349 \end_layout
1350
1351 \begin_layout Subsection
1352 Units used in the Manuals
1353 \end_layout
1354
1355 \begin_layout Standard
1356 To understand the units described in this documentation, Table
1357 \begin_inset space ~
1358 \end_inset
1359
1360
1361 \begin_inset CommandInset ref
1362 LatexCommand ref
1363 reference "cap:Units-for-image"
1364
1365 \end_inset
1366
1367  explains all units available in LyX.
1368 \end_layout
1369
1370 \begin_layout Standard
1371 \begin_inset Float table
1372 placement t
1373 wide false
1374 sideways false
1375 status open
1376
1377 \begin_layout Plain Layout
1378 \begin_inset Caption
1379
1380 \begin_layout Plain Layout
1381 \begin_inset CommandInset label
1382 LatexCommand label
1383 name "cap:Units-for-image"
1384
1385 \end_inset
1386
1387 Units
1388 \end_layout
1389
1390 \end_inset
1391
1392
1393 \end_layout
1394
1395 \begin_layout Plain Layout
1396 \begin_inset VSpace medskip
1397 \end_inset
1398
1399
1400 \end_layout
1401
1402 \begin_layout Plain Layout
1403 \align center
1404 \begin_inset Tabular
1405 <lyxtabular version="3" rows="20" columns="2">
1406 <features>
1407 <column alignment="center" valignment="top" width="0">
1408 <column alignment="center" valignment="top" width="0">
1409 <row>
1410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1411 \begin_inset Text
1412
1413 \begin_layout Plain Layout
1414 unit
1415 \end_layout
1416
1417 \end_inset
1418 </cell>
1419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1420 \begin_inset Text
1421
1422 \begin_layout Plain Layout
1423 name/description
1424 \end_layout
1425
1426 \end_inset
1427 </cell>
1428 </row>
1429 <row>
1430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1431 \begin_inset Text
1432
1433 \begin_layout Plain Layout
1434 mm
1435 \end_layout
1436
1437 \end_inset
1438 </cell>
1439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1440 \begin_inset Text
1441
1442 \begin_layout Plain Layout
1443 millimeter
1444 \end_layout
1445
1446 \end_inset
1447 </cell>
1448 </row>
1449 <row>
1450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1451 \begin_inset Text
1452
1453 \begin_layout Plain Layout
1454 cm
1455 \end_layout
1456
1457 \end_inset
1458 </cell>
1459 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1460 \begin_inset Text
1461
1462 \begin_layout Plain Layout
1463 centimeter
1464 \end_layout
1465
1466 \end_inset
1467 </cell>
1468 </row>
1469 <row>
1470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1471 \begin_inset Text
1472
1473 \begin_layout Plain Layout
1474 in
1475 \end_layout
1476
1477 \end_inset
1478 </cell>
1479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1480 \begin_inset Text
1481
1482 \begin_layout Plain Layout
1483 inch
1484 \end_layout
1485
1486 \end_inset
1487 </cell>
1488 </row>
1489 <row>
1490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1491 \begin_inset Text
1492
1493 \begin_layout Plain Layout
1494 pt
1495 \end_layout
1496
1497 \end_inset
1498 </cell>
1499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1500 \begin_inset Text
1501
1502 \begin_layout Plain Layout
1503 point (72.27
1504 \begin_inset space \thinspace{}
1505 \end_inset
1506
1507 pt = 1
1508 \begin_inset space \thinspace{}
1509 \end_inset
1510
1511 in)
1512 \end_layout
1513
1514 \end_inset
1515 </cell>
1516 </row>
1517 <row>
1518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1519 \begin_inset Text
1520
1521 \begin_layout Plain Layout
1522 pc
1523 \end_layout
1524
1525 \end_inset
1526 </cell>
1527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1528 \begin_inset Text
1529
1530 \begin_layout Plain Layout
1531 pica (1
1532 \begin_inset space \thinspace{}
1533 \end_inset
1534
1535 pc = 12
1536 \begin_inset space \thinspace{}
1537 \end_inset
1538
1539 pt)
1540 \end_layout
1541
1542 \end_inset
1543 </cell>
1544 </row>
1545 <row>
1546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1547 \begin_inset Text
1548
1549 \begin_layout Plain Layout
1550 sp
1551 \end_layout
1552
1553 \end_inset
1554 </cell>
1555 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1556 \begin_inset Text
1557
1558 \begin_layout Plain Layout
1559 scaled point (65536
1560 \begin_inset space \thinspace{}
1561 \end_inset
1562
1563 sp = 1
1564 \begin_inset space \thinspace{}
1565 \end_inset
1566
1567 pt)
1568 \end_layout
1569
1570 \end_inset
1571 </cell>
1572 </row>
1573 <row>
1574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1575 \begin_inset Text
1576
1577 \begin_layout Plain Layout
1578 bp
1579 \end_layout
1580
1581 \end_inset
1582 </cell>
1583 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1584 \begin_inset Text
1585
1586 \begin_layout Plain Layout
1587 big point (72
1588 \begin_inset space \thinspace{}
1589 \end_inset
1590
1591 bp = 1
1592 \begin_inset space \thinspace{}
1593 \end_inset
1594
1595 in)
1596 \end_layout
1597
1598 \end_inset
1599 </cell>
1600 </row>
1601 <row>
1602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1603 \begin_inset Text
1604
1605 \begin_layout Plain Layout
1606 dd
1607 \end_layout
1608
1609 \end_inset
1610 </cell>
1611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1612 \begin_inset Text
1613
1614 \begin_layout Plain Layout
1615 didot (72
1616 \begin_inset space \thinspace{}
1617 \end_inset
1618
1619 dd 
1620 \begin_inset Formula $\approx$
1621 \end_inset
1622
1623  37.6
1624 \begin_inset space \thinspace{}
1625 \end_inset
1626
1627 mm)
1628 \end_layout
1629
1630 \end_inset
1631 </cell>
1632 </row>
1633 <row>
1634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1635 \begin_inset Text
1636
1637 \begin_layout Plain Layout
1638 cc
1639 \end_layout
1640
1641 \end_inset
1642 </cell>
1643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1644 \begin_inset Text
1645
1646 \begin_layout Plain Layout
1647 cicero (1
1648 \begin_inset space \thinspace{}
1649 \end_inset
1650
1651 cc = 12
1652 \begin_inset space \thinspace{}
1653 \end_inset
1654
1655 dd)
1656 \end_layout
1657
1658 \end_inset
1659 </cell>
1660 </row>
1661 <row>
1662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1663 \begin_inset Text
1664
1665 \begin_layout Plain Layout
1666 Scale%
1667 \end_layout
1668
1669 \end_inset
1670 </cell>
1671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1672 \begin_inset Text
1673
1674 \begin_layout Plain Layout
1675 % of original image width
1676 \end_layout
1677
1678 \end_inset
1679 </cell>
1680 </row>
1681 <row>
1682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1683 \begin_inset Text
1684
1685 \begin_layout Plain Layout
1686 text%
1687 \end_layout
1688
1689 \end_inset
1690 </cell>
1691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1692 \begin_inset Text
1693
1694 \begin_layout Plain Layout
1695 % of text width
1696 \end_layout
1697
1698 \end_inset
1699 </cell>
1700 </row>
1701 <row>
1702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1703 \begin_inset Text
1704
1705 \begin_layout Plain Layout
1706 col%
1707 \end_layout
1708
1709 \end_inset
1710 </cell>
1711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1712 \begin_inset Text
1713
1714 \begin_layout Plain Layout
1715 % of column width
1716 \end_layout
1717
1718 \end_inset
1719 </cell>
1720 </row>
1721 <row>
1722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1723 \begin_inset Text
1724
1725 \begin_layout Plain Layout
1726 page%
1727 \end_layout
1728
1729 \end_inset
1730 </cell>
1731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1732 \begin_inset Text
1733
1734 \begin_layout Plain Layout
1735 % of paper width
1736 \end_layout
1737
1738 \end_inset
1739 </cell>
1740 </row>
1741 <row>
1742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1743 \begin_inset Text
1744
1745 \begin_layout Plain Layout
1746 line%
1747 \end_layout
1748
1749 \end_inset
1750 </cell>
1751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1752 \begin_inset Text
1753
1754 \begin_layout Plain Layout
1755 % of line width
1756 \end_layout
1757
1758 \end_inset
1759 </cell>
1760 </row>
1761 <row>
1762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1763 \begin_inset Text
1764
1765 \begin_layout Plain Layout
1766 theight%
1767 \end_layout
1768
1769 \end_inset
1770 </cell>
1771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1772 \begin_inset Text
1773
1774 \begin_layout Plain Layout
1775 % of text height
1776 \end_layout
1777
1778 \end_inset
1779 </cell>
1780 </row>
1781 <row>
1782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1783 \begin_inset Text
1784
1785 \begin_layout Plain Layout
1786 pheight%
1787 \end_layout
1788
1789 \end_inset
1790 </cell>
1791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1792 \begin_inset Text
1793
1794 \begin_layout Plain Layout
1795 % of paper height
1796 \end_layout
1797
1798 \end_inset
1799 </cell>
1800 </row>
1801 <row>
1802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1803 \begin_inset Text
1804
1805 \begin_layout Plain Layout
1806 ex
1807 \end_layout
1808
1809 \end_inset
1810 </cell>
1811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1812 \begin_inset Text
1813
1814 \begin_layout Plain Layout
1815 height of letter 
1816 \emph on
1817 x
1818 \emph default
1819  in current font
1820 \end_layout
1821
1822 \end_inset
1823 </cell>
1824 </row>
1825 <row>
1826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1827 \begin_inset Text
1828
1829 \begin_layout Plain Layout
1830 em
1831 \end_layout
1832
1833 \end_inset
1834 </cell>
1835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1836 \begin_inset Text
1837
1838 \begin_layout Plain Layout
1839 width of letter 
1840 \emph on
1841 M
1842 \emph default
1843  in current font
1844 \end_layout
1845
1846 \end_inset
1847 </cell>
1848 </row>
1849 <row>
1850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1851 \begin_inset Text
1852
1853 \begin_layout Plain Layout
1854 mu
1855 \end_layout
1856
1857 \end_inset
1858 </cell>
1859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1860 \begin_inset Text
1861
1862 \begin_layout Plain Layout
1863 math unit (1
1864 \begin_inset space \thinspace{}
1865 \end_inset
1866
1867 mu = 1/18
1868 \begin_inset space \thinspace{}
1869 \end_inset
1870
1871 em)
1872 \end_layout
1873
1874 \end_inset
1875 </cell>
1876 </row>
1877 </lyxtabular>
1878
1879 \end_inset
1880
1881
1882 \end_layout
1883
1884 \end_inset
1885
1886
1887 \end_layout
1888
1889 \begin_layout Subsection
1890 The Manuals
1891 \end_layout
1892
1893 \begin_layout Standard
1894 The following list describes the contents of each of the files in the documentat
1895 ion:
1896 \end_layout
1897
1898 \begin_layout Description
1899 Introduction This file.
1900 \end_layout
1901
1902 \begin_layout Description
1903 Tutorial If you are new to LyX, and have never used LaTeX before, you should
1904  start here.
1905  If you have used LaTeX before, you should still read the 
1906 \emph on
1907 Tutorial
1908 \emph default
1909 , starting with the section on 
1910 \begin_inset Quotes eld
1911 \end_inset
1912
1913 LyX for LaTeX users.
1914 \begin_inset Quotes erd
1915 \end_inset
1916
1917  (Skimming the rest of the document wouldn't hurt, either.)
1918 \end_layout
1919
1920 \begin_layout Description
1921 User's
1922 \begin_inset space ~
1923 \end_inset
1924
1925 Guide The primary documentation.
1926  We'll cover 
1927 \emph on
1928 most
1929 \emph default
1930  of the basic operation and available features of LyX here.
1931  The main manual assumes that you've read the 
1932 \emph on
1933 Tutorial
1934 \emph default
1935 .
1936 \end_layout
1937
1938 \begin_layout Description
1939 Embedded
1940 \begin_inset space ~
1941 \end_inset
1942
1943 Objects Extension of the 
1944 \emph on
1945 User's Guide
1946 \emph default
1947 .
1948  Documents in detail how to use tables, graphics, floats, notes, and boxes.
1949  It also includes many tricks of the LaTeX masters.
1950 \end_layout
1951
1952 \begin_layout Description
1953 Extended
1954 \begin_inset space ~
1955 \end_inset
1956
1957 Features Extension of the 
1958 \emph on
1959 User's Guide
1960 \emph default
1961 .
1962  Documents how to use raw LaTeX commands, additional layouts, and special-purpos
1963 e editing features.
1964 \end_layout
1965
1966 \begin_layout Description
1967 Customization A description of advanced LyX features, including how to customize
1968  the overall behavior of LyX\SpecialChar \@.
1969  This includes such things as keybindings, internati
1970 onalization, and configuration files.
1971 \end_layout
1972
1973 \begin_layout Description
1974 LaTeX
1975 \begin_inset space ~
1976 \end_inset
1977
1978 configuration LyX investigates your system upon installation.
1979  This file contains info on what LyX learned about your installation.
1980  Check it to see if you're missing something you might like to have.
1981 \end_layout
1982
1983 \begin_layout Standard
1984 These files will reference one another as necessary.
1985  For example, the 
1986 \emph on
1987 User's Guide
1988 \emph default
1989  contains 
1990 \emph on
1991 some
1992 \emph default
1993  information on installation and customization, but refers the reader to
1994  the 
1995 \emph on
1996 Customization Manual
1997 \emph default
1998  for more information.
1999 \end_layout
2000
2001 \begin_layout Standard
2002 We'll state again an important point:
2003 \end_layout
2004
2005 \begin_layout Standard
2006 \begin_inset VSpace bigskip
2007 \end_inset
2008
2009
2010 \end_layout
2011
2012 \begin_layout Standard
2013 \align center
2014 If you are new to LyX, read the 
2015 \emph on
2016 Tutorial
2017 \emph default
2018 .
2019  Now\SpecialChar \@.
2020
2021 \end_layout
2022
2023 \begin_layout Standard
2024 \begin_inset VSpace bigskip
2025 \end_inset
2026
2027
2028 \end_layout
2029
2030 \begin_layout Standard
2031 Otherwise, you could needlessly frustrate yourself.
2032  LyX does all that you need a word processor to do, but using a different
2033  approach.
2034 \end_layout
2035
2036 \begin_layout Section
2037 Contributing to the LyX Project
2038 \begin_inset CommandInset label
2039 LatexCommand label
2040 name "sec:Contrib"
2041
2042 \end_inset
2043
2044
2045 \end_layout
2046
2047 \begin_layout Subsection
2048 Contributing to LyX
2049 \end_layout
2050
2051 \begin_layout Standard
2052 LyX is mostly written in C++ (the LaTeX importer is written in Python).
2053  It is a large project, and as a result it is not free from bugs, or the
2054  need for improvements in the source code.
2055 \end_layout
2056
2057 \begin_layout Subsubsection
2058 Reporting a bug
2059 \end_layout
2060
2061 \begin_layout Standard
2062 While using LyX, you may find behavior which you consider a bug.
2063  Crashes, though rare, can happen.
2064  User interface problems are considered major bugs by the LyX team: especially
2065  helpful are indications of parts of the LyX interface you find confusing,
2066  or unclear.
2067 \end_layout
2068
2069 \begin_layout Standard
2070 LyX has a bug tracking system, which you can find at 
2071 \family typewriter
2072
2073 \begin_inset Flex URL
2074 status collapsed
2075
2076 \begin_layout Plain Layout
2077
2078 http://bugzilla.lyx.org/
2079 \end_layout
2080
2081 \end_inset
2082
2083
2084 \family default
2085 .
2086  You should check the bug tracker before reporting any bugs, in case it
2087  has already been reported.
2088  If you have a comment on an existing bug, or wish to report a new bug,
2089  you may either use the bug tracker, or send an e-mail to the development
2090  mailing list, 
2091 \begin_inset CommandInset href
2092 LatexCommand href
2093 target "lyx-devel@lists.lyx.org"
2094 type "mailto:"
2095
2096 \end_inset
2097
2098 .
2099  Archives of this list are linked from the main LyX website, 
2100 \family typewriter
2101
2102 \begin_inset Flex URL
2103 status collapsed
2104
2105 \begin_layout Plain Layout
2106
2107 http://www.lyx.org/
2108 \end_layout
2109
2110 \end_inset
2111
2112
2113 \family default
2114 .
2115 \end_layout
2116
2117 \begin_layout Standard
2118 A useful bug report will at a minimum include the version of LyX you are
2119  having the problem with.
2120  Accurate, detailed descriptions are preferred - the more time developers
2121  have to spend to pinpoint the source of a bug, the less time they have
2122  for other improvements.
2123  Mention the system and system version you are running LyX with.
2124  Give the versions of the libraries you have installed on your system, and,
2125  if relevant, the versions of external programs that LyX uses.
2126  If it's a compilation or configuration problem, include the file 
2127 \family typewriter
2128 config.log
2129 \family default
2130 , and mention which compiler you are using.
2131  
2132 \end_layout
2133
2134 \begin_layout Subsubsection
2135 Contributing fixes and new features
2136 \end_layout
2137
2138 \begin_layout Standard
2139 If you have made changes to LyX's source that you think should become part
2140  of LyX, send your changes as a diff file (in unified format) to the development
2141  list referenced above, along with a change log, and a description of what
2142  your patch does.
2143 \end_layout
2144
2145 \begin_layout Subsection
2146 Contributing to the Documentation
2147 \end_layout
2148
2149 \begin_layout Standard
2150 LyX's documentation is extensive; however LyX is under constant development,
2151  and each new release adds new features.
2152  You may find some documentation needs improvement.
2153  This section describes what to do if you find an error, or have some suggestion
2154 s for improving the documentation.
2155 \end_layout
2156
2157 \begin_layout Subsubsection
2158 Reporting Errors in the Manuals
2159 \end_layout
2160
2161 \begin_layout Standard
2162 If you find a problem with the documentation, send a message to the mailing
2163  list 
2164 \begin_inset CommandInset href
2165 LatexCommand href
2166 target "lyx-docs@lists.lyx.org"
2167 type "mailto:"
2168
2169 \end_inset
2170
2171 .
2172  The documentation team will make any necessary fixes.
2173 \end_layout
2174
2175 \begin_layout Subsubsection
2176 Joining the Documentation Team.
2177 \end_layout
2178
2179 \begin_layout Standard
2180 The LyX Documentation Project, like anything else in the LyX project, can
2181  always use assistance! If you're interested in contributing to the Documentatio
2182 n Project, you need to do the following:
2183 \end_layout
2184
2185 \begin_layout Enumerate
2186 Get the latest LyX source code from 
2187 \begin_inset Newline newline
2188 \end_inset
2189
2190
2191 \begin_inset Flex URL
2192 status collapsed
2193
2194 \begin_layout Plain Layout
2195
2196 http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/doc
2197 \end_layout
2198
2199 \end_inset
2200
2201  
2202 \begin_inset Newline newline
2203 \end_inset
2204
2205 Inside that directory is a file called 
2206 \family typewriter
2207 DocStyle.lyx
2208 \family default
2209 .
2210  Read it; it's the style sheet for the documentation.
2211 \end_layout
2212
2213 \begin_layout Enumerate
2214 Next, read the 
2215 \emph on
2216 User's Guide
2217 \emph default
2218  and the 
2219 \emph on
2220 Tutorial
2221 \emph default
2222
2223 \begin_inset Newline newline
2224 \end_inset
2225
2226 The point of this exercise is to give you ideas.
2227  The 
2228 \emph on
2229 Tutorial
2230 \emph default
2231  and 
2232 \emph on
2233 User's Guide
2234 \emph default
2235  is likely to be the most up-to-date of all of the documentation.
2236  You should be able to glean some insights into how we want the manuals
2237  to read and to look.
2238 \end_layout
2239
2240 \begin_layout Enumerate
2241 Contact the team at:
2242 \begin_inset Newline newline
2243 \end_inset
2244
2245
2246 \begin_inset CommandInset href
2247 LatexCommand href
2248 target "lyx-docs@lists.lyx.org"
2249 type "mailto:"
2250
2251 \end_inset
2252
2253
2254 \begin_inset Newline newline
2255 \end_inset
2256
2257 to discuss your intended changes, and get some feedback on them.
2258 \end_layout
2259
2260 \begin_layout Standard
2261 The changes you wish to make may range from improving clarity of the text,
2262  to doing major re-structuring of the documentation.
2263  Any and all improvements are gladly received.
2264 \end_layout
2265
2266 \end_body
2267 \end_document