]> git.lyx.org Git - lyx.git/blob - lib/doc/Intro.lyx
220e2068782257d89d0f0af88fa249c3cafd00a2
[lyx.git] / lib / doc / Intro.lyx
1 #LyX 1.6.6svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 345
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, spell checking,
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 his 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.
389  In 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 use
397  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 (e.
451 \begin_inset space \thinspace{}
452 \end_inset
453
454 g.
455 \begin_inset space \space{}
456 \end_inset
457
458 hitting 
459 \family sans
460 Enter
461 \family default
462  or 
463 \family sans
464 Space
465 \family default
466  two or more times)
467 \end_layout
468
469 \begin_layout Standard
470 Tab stops, along with a ruler showing you the position of things on the
471  page, are useless in LyX.
472  The program worries about where things go on the page, not you.
473  Extra whitespace is similar; LyX adds them where necessary, depending on
474  context.
475  Not being able to type two blank lines in a row will be annoying at first,
476  but it makes more sense once you're thinking in WYSIWYM terms.
477 \end_layout
478
479 \begin_layout Standard
480 Here are some things that exist in LyX, but aren't used as you might think:
481 \end_layout
482
483 \begin_layout Itemize
484 Indenting controls
485 \end_layout
486
487 \begin_layout Itemize
488 Page breaks
489 \end_layout
490
491 \begin_layout Itemize
492 Line spacing (e.
493 \begin_inset space \thinspace{}
494 \end_inset
495
496 g.
497 \begin_inset space \space{}
498 \end_inset
499
500 single spaced, double spaced, etc.)
501 \end_layout
502
503 \begin_layout Itemize
504 Whitespace, horizontal and vertical
505 \end_layout
506
507 \begin_layout Itemize
508 Fonts and font sizes
509 \end_layout
510
511 \begin_layout Itemize
512 Typefaces (bold, italic, underline, etc.)
513 \end_layout
514
515 \begin_layout Standard
516 Although they exist in LyX, you generally don't need them.
517  LyX will take care of these things for you, depending on what you're doing.
518  Different parts of the document are automatically set in a different typeface
519  and font size.
520  Paragraph indenting is context dependent; different types of paragraphs
521  get indented differently.
522  Page breaks get handled automatically, as well.
523  In general, the space between lines, between words, and between paragraphs
524  is variable, set by LyX.
525 \begin_inset Foot
526 status collapsed
527
528 \begin_layout Plain Layout
529 There are ways to adjust all of these (only some of which require knowledge
530  of LaTeX), either for a whole document or for a specific location in a
531  document.
532  See the 
533 \emph on
534 User's Guide
535 \emph default
536  and/or the 
537 \emph on
538 Additional Features
539 \emph default
540  manual for details.
541 \end_layout
542
543 \end_inset
544
545  
546 \end_layout
547
548 \begin_layout Standard
549 Lastly, there are a few areas where we believe LyX (and LaTeX) surpasses
550  many word processors:
551 \end_layout
552
553 \begin_layout Itemize
554 Hyphenation
555 \end_layout
556
557 \begin_layout Itemize
558 Lists of any type
559 \end_layout
560
561 \begin_layout Itemize
562 Mathematics
563 \end_layout
564
565 \begin_layout Itemize
566 Tables
567 \end_layout
568
569 \begin_layout Itemize
570 Cross-referencing
571 \end_layout
572
573 \begin_layout Standard
574 Granted, many modern word processors can handle mathematical symbols, tables,
575  and hyphenation, and many have moved towards style definitions and the
576  WYSIWYM concept.
577  However, they've only recently been able to do so, whereas LyX is built
578  upon the LaTeX document preparation system.
579  LaTeX has been around for over 20 years, and 
580 \emph on
581 works
582 \emph default
583 .
584 \end_layout
585
586 \begin_layout Subsection
587 What is LaTeX?
588 \end_layout
589
590 \begin_layout Standard
591 LaTeX is a document preparation system designed by Leslie Lamport in 1985.
592 \begin_inset Foot
593 status collapsed
594
595 \begin_layout Plain Layout
596 The source for the info in this section is 
597 \begin_inset Quotes eld
598 \end_inset
599
600
601 \emph on
602 A Guide to LaTeX2e
603 \emph default
604 ,
605 \begin_inset Quotes erd
606 \end_inset
607
608  by Helmut Kopka and Patrick Daly, which has an entry in the bibliography
609  of the 
610 \emph on
611 User's Guide
612 \emph default
613 \SpecialChar \@.
614
615 \end_layout
616
617 \end_inset
618
619  It was built up from a typesetting language called TeX, created by Donald
620  Knuth in 1984.
621  TeX takes a sequence of typesetting commands, written in a script in an
622  ASCII file, and executes them.
623  Many of the 
624 \begin_inset Quotes eld
625 \end_inset
626
627 tricks
628 \begin_inset Quotes erd
629 \end_inset
630
631  of the printing trade were modeled by Knuth as computer algorithms and
632  incorporated into TeX, thus its excellent printed appearance.
633  What comes directly out of TeX is the portable document format 
634 \emph on
635 pdf
636 \emph default
637  or the so-called 
638 \begin_inset Quotes eld
639 \end_inset
640
641 device independent
642 \begin_inset Quotes erd
643 \end_inset
644
645  format file 
646 \emph on
647 dvi
648 \emph default
649 .
650  The dvi format is often used for previews and can later be converted to
651  other formats like PostScript.
652  
653 \end_layout
654
655 \begin_layout Standard
656 TeX isn't only a typesetting engine; it also allows you to define macros.
657  Most people who use TeX are actually using a macro package which Knuth
658  created to hide a lot of the typesetting details.
659  This is where Leslie Lamport enters our story.
660  He wanted a macro package that was more user- and less typesetter-oriented,
661  with a set of commands that consistently typeset things like sections,
662  tables or math formulas in an uniform, consistent fashion.
663  This is how LaTeX was born.
664 \end_layout
665
666 \begin_layout Standard
667 Now, in parallel with the development and growth of LaTeX, other folks were
668  creating their own custom macro packages for TeX, ones to make slides or
669  articles for math journals and so on.
670  Some used the raw TeX facilities to do this, others began modifying LaTeX.
671  To try and unify this mess, a team of LaTeX-nicians began to work on LaTeX2e,
672  the current version of LaTeX, during the late 1980's.
673  This new version of LaTeX has commands which provide an easier-to-use interface
674  to TeX's macro-creating commands, aid in the use of new fonts, and so on.
675  In fact, LaTeX is quite an extensive language in its own right! Users around
676  the world have been creating their own add-ons for LaTeX beyond the standard
677  ones.
678 \end_layout
679
680 \begin_layout Standard
681 There are two ways to extend LaTeX: classes and styles.
682  A 
683 \emph on
684 class
685 \emph default
686  is a set of LaTeX macros describing a new type of document, like a book,
687  or an article.
688  There are classes for slides, for physics and math journals\SpecialChar \ldots{}
689  many universities
690  even have a class for their thesis format! A 
691 \emph on
692 style
693 \emph default
694  differs from a class in that it doesn't define a new type of document,
695  but a different type of 
696 \emph on
697 behavior
698 \emph default
699  that any document can use.
700  For example, LyX controls page margins and line spacing using two different
701  LaTeX style-files designed for these purposes.
702  There are style-files for a whole slew of things: printing labels or envelopes,
703  changing indentation behavior, adding new fonts, manipulating graphics,
704  designing fancy page headings, customizing bibliographies, altering the
705  location and appearance of footnotes, tables, and figures, customizing
706  lists, etc.
707 \end_layout
708
709 \begin_layout Standard
710 Here is a summary:
711 \end_layout
712
713 \begin_layout Description
714 TeX: Typesetting language with macro capability.
715 \end_layout
716
717 \begin_layout Description
718 LaTeX: Macro package built upon TeX\SpecialChar \@.
719
720 \end_layout
721
722 \begin_layout Description
723 classes: Descriptions of a type of document, using LaTeX\SpecialChar \@.
724
725 \end_layout
726
727 \begin_layout Description
728 styles: Alters the default behavior of LaTeX in some way.
729 \end_layout
730
731 \begin_layout Description
732 LyX: Visual, WYSIWYM word-processor that uses LaTeX to do its typesetting.
733 \end_layout
734
735 \begin_layout Standard
736 This section attempts to account for the difference between LyX and other
737  word processors.
738  Simply put, LaTeX is the difference.
739  By using LaTeX as its backend, LyX helps you think more about 
740 \emph on
741  what 
742 \emph default
743  (as in the 
744 \emph on
745 words
746 \emph default
747 ) you write.
748  The computer then handles 
749 \emph on
750 how
751 \emph default
752  they should look.
753 \end_layout
754
755 \begin_layout Section
756 Navigating the Documentation
757 \end_layout
758
759 \begin_layout Standard
760 To make it easier to answer your questions and describe all of the features
761  of LyX, the documentation has been split up into several different files.
762  Each one has its own purpose, as described below.
763  Before you go plowing into any of those files, however, you should read
764  this chapter thoroughly first, since it contains a lot of useful information
765  and commentary that can save you some time.
766 \end_layout
767
768 \begin_layout Standard
769 The developing of LyX will hopefully never stop, so that some of the documentati
770 on may be incomplete or a bit out of date, though we try to keep up.
771  Like the rest of LyX, the manuals are the work of a group of volunteers
772  who have 
773 \begin_inset Quotes eld
774 \end_inset
775
776 Real Jobs
777 \begin_inset Quotes erd
778 \end_inset
779
780 , families, dishes to clean, kitty litter to dispose of, et cetera.
781  If you want to help out, be sure to read Section
782 \begin_inset space ~
783 \end_inset
784
785
786 \begin_inset CommandInset ref
787 LatexCommand ref
788 reference "sec:Contrib"
789
790 \end_inset
791
792  in addition to the rest of this document.
793 \end_layout
794
795 \begin_layout Standard
796 Also, please do us a favor – if anything in these manuals confuses you,
797  is unclear, or wrong, don't hesitate to let us know! You can reach the
798  current document maintainers by mailing to 
799 \begin_inset CommandInset href
800 LatexCommand href
801 target "lyx-docs@lists.lyx.org"
802 type "mailto:"
803
804 \end_inset
805
806 .
807  If you have questions which are not obviously answered in the documentation,
808  and need help fast, there is an active users' mailing list which you can
809  reach at 
810 \begin_inset CommandInset href
811 LatexCommand href
812 target "lyx-users@lists.lyx.org"
813 type "mailto:"
814
815 \end_inset
816
817 .
818 \end_layout
819
820 \begin_layout Subsection
821 The Format of the Manuals
822 \end_layout
823
824 \begin_layout Standard
825 Some may have printed out the manuals.
826  Others may be reading it within LyX.
827  There are some differences between the LyX-file and the printed version.
828  First, the title is simply at the top of the document, not formatted on
829  a separate page as in some of the printed versions.
830  Nor are any of the footnotes or the Table of Contents fully visible.
831  To open a footnote, which looks like this: 
832 \begin_inset Graphics
833         filename clipart/footnoteQt4.png
834         scale 75
835
836 \end_inset
837
838 , click on it with the left mouse button.
839  For the Table of Contents, either click on the grey box or click on the
840  
841 \family sans
842 Navigate
843 \family default
844  menu, where the contents are displayed automatically\SpecialChar \@.
845
846 \end_layout
847
848 \begin_layout Standard
849 In the printed manuals, all cross-references appear as the actual numbers
850  for a chapter, section, subsection, and so on.
851  Online, however, all cross-references appear as a light-grey box like the
852  following: 
853 \begin_inset Graphics
854         filename clipart/referenceQt4.png
855         scale 75
856
857 \end_inset
858
859 .
860  If you click on that box with the left mouse button, a dialog box will
861  appear containing a list of all the cross-references in the document.
862  You can go to the referred section by right-clicking on the box or by clicking
863  the button 
864 \family sans
865 Go
866 \begin_inset space ~
867 \end_inset
868
869 to
870 \begin_inset space ~
871 \end_inset
872
873 Label
874 \family default
875  in the opened dialog.
876  Going back to where you came from is just as easy.
877  Clicking on 
878 \family sans
879 Go
880 \begin_inset space ~
881 \end_inset
882
883 Back
884 \family default
885  to go back to your earlier location.
886 \end_layout
887
888 \begin_layout Standard
889 Now that we've cleared up some of the differences between the printed and
890  online versions of this file, we can start looking at the format of this
891  document.
892  You'll occasionally notice things in different fonts:
893 \end_layout
894
895 \begin_layout Itemize
896
897 \emph on
898 Emphasized Style
899 \emph default
900  is used for general emphasis, generic arguments, book titles, names of
901  sections of other manuals, and notes from the authors.
902 \end_layout
903
904 \begin_layout Itemize
905
906 \family typewriter
907 Typewriter
908 \family default
909  is used for program and file names, LyX code and functions.
910 \end_layout
911
912 \begin_layout Itemize
913
914 \family sans
915 Sans Serif
916 \family default
917  is used for menu, button, or dialog box names, and the names of keyboard
918  keys.
919 \end_layout
920
921 \begin_layout Itemize
922
923 \noun on
924 Noun Style
925 \noun default
926  is used for people's names.
927 \end_layout
928
929 \begin_layout Itemize
930
931 \series bold
932 Bold
933 \series default
934  is used for LaTeX code
935 \end_layout
936
937 \begin_layout Standard
938 When we do need to reference keys, we'll use the following prefixing convention:
939 \end_layout
940
941 \begin_layout Itemize
942 \begin_inset Quotes eld
943 \end_inset
944
945
946 \family sans
947 Ctrl-
948 \family default
949
950 \begin_inset Quotes erd
951 \end_inset
952
953  indicates the 
954 \family sans
955 Control
956 \family default
957  key.
958 \end_layout
959
960 \begin_layout Itemize
961 \begin_inset Quotes eld
962 \end_inset
963
964
965 \family sans
966 Shift-
967 \family default
968
969 \begin_inset Quotes erd
970 \end_inset
971
972  indicates the 
973 \family sans
974 Shift
975 \family default
976  key.
977 \end_layout
978
979 \begin_layout Itemize
980 \begin_inset Quotes eld
981 \end_inset
982
983
984 \family sans
985 Alt-
986 \family default
987
988 \begin_inset Quotes erd
989 \end_inset
990
991  indicates the 
992 \family sans
993 Alt
994 \family default
995  (
996 \family sans
997 Meta
998 \family default
999 ) key.
1000 \end_layout
1001
1002 \begin_layout Itemize
1003 \begin_inset Quotes eld
1004 \end_inset
1005
1006
1007 \family sans
1008 F1
1009 \family default
1010
1011 \begin_inset Quotes erd
1012 \end_inset
1013
1014  \SpecialChar \ldots{}
1015  
1016 \begin_inset Quotes eld
1017 \end_inset
1018
1019
1020 \family sans
1021 F12
1022 \family default
1023
1024 \begin_inset Quotes erd
1025 \end_inset
1026
1027  are the function keys.
1028 \end_layout
1029
1030 \begin_layout Itemize
1031 \begin_inset Quotes eld
1032 \end_inset
1033
1034
1035 \family sans
1036 Esc
1037 \family default
1038
1039 \begin_inset Quotes erd
1040 \end_inset
1041
1042  is the escape key.
1043 \end_layout
1044
1045 \begin_layout Itemize
1046 \begin_inset Quotes eld
1047 \end_inset
1048
1049
1050 \family sans
1051 Left
1052 \family default
1053
1054 \begin_inset Quotes erd
1055 \end_inset
1056
1057  
1058 \begin_inset Quotes eld
1059 \end_inset
1060
1061
1062 \family sans
1063 Right
1064 \family default
1065
1066 \begin_inset Quotes erd
1067 \end_inset
1068
1069  
1070 \begin_inset Quotes eld
1071 \end_inset
1072
1073
1074 \family sans
1075 Up
1076 \family default
1077
1078 \begin_inset Quotes erd
1079 \end_inset
1080
1081  
1082 \begin_inset Quotes eld
1083 \end_inset
1084
1085
1086 \family sans
1087 Down
1088 \family default
1089
1090 \begin_inset Quotes erd
1091 \end_inset
1092
1093 : self-explanatory.
1094 \end_layout
1095
1096 \begin_layout Itemize
1097
1098 \family sans
1099 \begin_inset Quotes eld
1100 \end_inset
1101
1102 Insert
1103 \family default
1104
1105 \begin_inset Quotes erd
1106 \end_inset
1107
1108  
1109 \begin_inset Quotes eld
1110 \end_inset
1111
1112
1113 \family sans
1114 Delete
1115 \family default
1116
1117 \begin_inset Quotes erd
1118 \end_inset
1119
1120  
1121 \begin_inset Quotes eld
1122 \end_inset
1123
1124
1125 \family sans
1126 Home
1127 \family default
1128
1129 \begin_inset Quotes erd
1130 \end_inset
1131
1132  
1133 \begin_inset Quotes eld
1134 \end_inset
1135
1136
1137 \family sans
1138 End
1139 \family default
1140
1141 \begin_inset Quotes erd
1142 \end_inset
1143
1144  
1145 \begin_inset Quotes eld
1146 \end_inset
1147
1148
1149 \family sans
1150 PageUp
1151 \family default
1152
1153 \begin_inset Quotes erd
1154 \end_inset
1155
1156  
1157 \begin_inset Quotes eld
1158 \end_inset
1159
1160
1161 \family sans
1162 PageDown
1163 \family default
1164
1165 \begin_inset Quotes erd
1166 \end_inset
1167
1168 : these are the 6 keys that appear above the cursor keys on many PC keyboards.
1169  
1170 \begin_inset Quotes eld
1171 \end_inset
1172
1173
1174 \family sans
1175 PageUp
1176 \family default
1177
1178 \begin_inset Quotes erd
1179 \end_inset
1180
1181  and 
1182 \begin_inset Quotes eld
1183 \end_inset
1184
1185
1186 \family sans
1187 PageDown
1188 \family default
1189
1190 \begin_inset Quotes erd
1191 \end_inset
1192
1193  are called 
1194 \begin_inset Quotes eld
1195 \end_inset
1196
1197
1198 \family sans
1199 Prior
1200 \family default
1201
1202 \begin_inset Quotes erd
1203 \end_inset
1204
1205  and 
1206 \begin_inset Quotes eld
1207 \end_inset
1208
1209
1210 \family sans
1211 Next
1212 \family default
1213
1214 \begin_inset Quotes erd
1215 \end_inset
1216
1217  on some keyboards.
1218 \end_layout
1219
1220 \begin_layout Itemize
1221
1222 \family sans
1223 Return
1224 \family default
1225  and 
1226 \family sans
1227 Enter
1228 \family default
1229  both refer to the same key.
1230  Some keyboards label the 
1231 \family sans
1232 Return
1233 \family default
1234  key as 
1235 \begin_inset Quotes eld
1236 \end_inset
1237
1238 Return,
1239 \begin_inset Quotes erd
1240 \end_inset
1241
1242  others as 
1243 \begin_inset Quotes eld
1244 \end_inset
1245
1246 Enter,
1247 \begin_inset Quotes erd
1248 \end_inset
1249
1250  still others have two keys.
1251  LyX treats all of them as the same key, so we'll use 
1252 \family sans
1253 Return
1254 \family default
1255  and 
1256 \family sans
1257 Enter
1258 \family default
1259  interchangeably.
1260 \end_layout
1261
1262 \begin_layout Standard
1263 The list with the currently set shortcuts can be found in the 
1264 \family sans
1265 Help
1266 \family default
1267  menu under 
1268 \family sans
1269 Shortcuts
1270 \family default
1271 .
1272 \end_layout
1273
1274 \begin_layout Subsection
1275 Units used in the Manuals
1276 \end_layout
1277
1278 \begin_layout Standard
1279 To understand the units described in this documentation, Table
1280 \begin_inset space ~
1281 \end_inset
1282
1283
1284 \begin_inset CommandInset ref
1285 LatexCommand ref
1286 reference "cap:Units-for-image"
1287
1288 \end_inset
1289
1290  explains all units available in LyX.
1291 \end_layout
1292
1293 \begin_layout Standard
1294 \begin_inset Float table
1295 placement t
1296 wide false
1297 sideways false
1298 status open
1299
1300 \begin_layout Plain Layout
1301 \begin_inset Caption
1302
1303 \begin_layout Plain Layout
1304 \begin_inset CommandInset label
1305 LatexCommand label
1306 name "cap:Units-for-image"
1307
1308 \end_inset
1309
1310 Units
1311 \end_layout
1312
1313 \end_inset
1314
1315
1316 \end_layout
1317
1318 \begin_layout Plain Layout
1319 \begin_inset VSpace medskip
1320 \end_inset
1321
1322
1323 \end_layout
1324
1325 \begin_layout Plain Layout
1326 \align center
1327 \begin_inset Tabular
1328 <lyxtabular version="3" rows="20" columns="2">
1329 <features>
1330 <column alignment="center" valignment="top" width="0">
1331 <column alignment="center" valignment="top" width="0">
1332 <row>
1333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1334 \begin_inset Text
1335
1336 \begin_layout Plain Layout
1337 unit
1338 \end_layout
1339
1340 \end_inset
1341 </cell>
1342 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1343 \begin_inset Text
1344
1345 \begin_layout Plain Layout
1346 name/description
1347 \end_layout
1348
1349 \end_inset
1350 </cell>
1351 </row>
1352 <row>
1353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1354 \begin_inset Text
1355
1356 \begin_layout Plain Layout
1357 mm
1358 \end_layout
1359
1360 \end_inset
1361 </cell>
1362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1363 \begin_inset Text
1364
1365 \begin_layout Plain Layout
1366 millimeter
1367 \end_layout
1368
1369 \end_inset
1370 </cell>
1371 </row>
1372 <row>
1373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1374 \begin_inset Text
1375
1376 \begin_layout Plain Layout
1377 cm
1378 \end_layout
1379
1380 \end_inset
1381 </cell>
1382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1383 \begin_inset Text
1384
1385 \begin_layout Plain Layout
1386 centimeter
1387 \end_layout
1388
1389 \end_inset
1390 </cell>
1391 </row>
1392 <row>
1393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1394 \begin_inset Text
1395
1396 \begin_layout Plain Layout
1397 in
1398 \end_layout
1399
1400 \end_inset
1401 </cell>
1402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1403 \begin_inset Text
1404
1405 \begin_layout Plain Layout
1406 inch
1407 \end_layout
1408
1409 \end_inset
1410 </cell>
1411 </row>
1412 <row>
1413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1414 \begin_inset Text
1415
1416 \begin_layout Plain Layout
1417 pt
1418 \end_layout
1419
1420 \end_inset
1421 </cell>
1422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1423 \begin_inset Text
1424
1425 \begin_layout Plain Layout
1426 point (72.27
1427 \begin_inset space \thinspace{}
1428 \end_inset
1429
1430 pt = 1
1431 \begin_inset space \thinspace{}
1432 \end_inset
1433
1434 in)
1435 \end_layout
1436
1437 \end_inset
1438 </cell>
1439 </row>
1440 <row>
1441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1442 \begin_inset Text
1443
1444 \begin_layout Plain Layout
1445 pc
1446 \end_layout
1447
1448 \end_inset
1449 </cell>
1450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1451 \begin_inset Text
1452
1453 \begin_layout Plain Layout
1454 pica (1
1455 \begin_inset space \thinspace{}
1456 \end_inset
1457
1458 pc = 12
1459 \begin_inset space \thinspace{}
1460 \end_inset
1461
1462 pt)
1463 \end_layout
1464
1465 \end_inset
1466 </cell>
1467 </row>
1468 <row>
1469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1470 \begin_inset Text
1471
1472 \begin_layout Plain Layout
1473 sp
1474 \end_layout
1475
1476 \end_inset
1477 </cell>
1478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1479 \begin_inset Text
1480
1481 \begin_layout Plain Layout
1482 scaled point (65536
1483 \begin_inset space \thinspace{}
1484 \end_inset
1485
1486 sp = 1
1487 \begin_inset space \thinspace{}
1488 \end_inset
1489
1490 pt)
1491 \end_layout
1492
1493 \end_inset
1494 </cell>
1495 </row>
1496 <row>
1497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1498 \begin_inset Text
1499
1500 \begin_layout Plain Layout
1501 bp
1502 \end_layout
1503
1504 \end_inset
1505 </cell>
1506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1507 \begin_inset Text
1508
1509 \begin_layout Plain Layout
1510 big point (72
1511 \begin_inset space \thinspace{}
1512 \end_inset
1513
1514 bp = 1
1515 \begin_inset space \thinspace{}
1516 \end_inset
1517
1518 in)
1519 \end_layout
1520
1521 \end_inset
1522 </cell>
1523 </row>
1524 <row>
1525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1526 \begin_inset Text
1527
1528 \begin_layout Plain Layout
1529 dd
1530 \end_layout
1531
1532 \end_inset
1533 </cell>
1534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1535 \begin_inset Text
1536
1537 \begin_layout Plain Layout
1538 didot (72
1539 \begin_inset space \thinspace{}
1540 \end_inset
1541
1542 dd 
1543 \begin_inset Formula $\approx$
1544 \end_inset
1545
1546  37.6
1547 \begin_inset space \thinspace{}
1548 \end_inset
1549
1550 mm)
1551 \end_layout
1552
1553 \end_inset
1554 </cell>
1555 </row>
1556 <row>
1557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1558 \begin_inset Text
1559
1560 \begin_layout Plain Layout
1561 cc
1562 \end_layout
1563
1564 \end_inset
1565 </cell>
1566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1567 \begin_inset Text
1568
1569 \begin_layout Plain Layout
1570 cicero (1
1571 \begin_inset space \thinspace{}
1572 \end_inset
1573
1574 cc = 12
1575 \begin_inset space \thinspace{}
1576 \end_inset
1577
1578 dd)
1579 \end_layout
1580
1581 \end_inset
1582 </cell>
1583 </row>
1584 <row>
1585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1586 \begin_inset Text
1587
1588 \begin_layout Plain Layout
1589 Scale%
1590 \end_layout
1591
1592 \end_inset
1593 </cell>
1594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1595 \begin_inset Text
1596
1597 \begin_layout Plain Layout
1598 % of original image width
1599 \end_layout
1600
1601 \end_inset
1602 </cell>
1603 </row>
1604 <row>
1605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1606 \begin_inset Text
1607
1608 \begin_layout Plain Layout
1609 text%
1610 \end_layout
1611
1612 \end_inset
1613 </cell>
1614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1615 \begin_inset Text
1616
1617 \begin_layout Plain Layout
1618 % of text width
1619 \end_layout
1620
1621 \end_inset
1622 </cell>
1623 </row>
1624 <row>
1625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1626 \begin_inset Text
1627
1628 \begin_layout Plain Layout
1629 col%
1630 \end_layout
1631
1632 \end_inset
1633 </cell>
1634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1635 \begin_inset Text
1636
1637 \begin_layout Plain Layout
1638 % of column width
1639 \end_layout
1640
1641 \end_inset
1642 </cell>
1643 </row>
1644 <row>
1645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1646 \begin_inset Text
1647
1648 \begin_layout Plain Layout
1649 page%
1650 \end_layout
1651
1652 \end_inset
1653 </cell>
1654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1655 \begin_inset Text
1656
1657 \begin_layout Plain Layout
1658 % of paper width
1659 \end_layout
1660
1661 \end_inset
1662 </cell>
1663 </row>
1664 <row>
1665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1666 \begin_inset Text
1667
1668 \begin_layout Plain Layout
1669 line%
1670 \end_layout
1671
1672 \end_inset
1673 </cell>
1674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1675 \begin_inset Text
1676
1677 \begin_layout Plain Layout
1678 % of line width
1679 \end_layout
1680
1681 \end_inset
1682 </cell>
1683 </row>
1684 <row>
1685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1686 \begin_inset Text
1687
1688 \begin_layout Plain Layout
1689 theight%
1690 \end_layout
1691
1692 \end_inset
1693 </cell>
1694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1695 \begin_inset Text
1696
1697 \begin_layout Plain Layout
1698 % of text height
1699 \end_layout
1700
1701 \end_inset
1702 </cell>
1703 </row>
1704 <row>
1705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1706 \begin_inset Text
1707
1708 \begin_layout Plain Layout
1709 pheight%
1710 \end_layout
1711
1712 \end_inset
1713 </cell>
1714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1715 \begin_inset Text
1716
1717 \begin_layout Plain Layout
1718 % of paper height
1719 \end_layout
1720
1721 \end_inset
1722 </cell>
1723 </row>
1724 <row>
1725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1726 \begin_inset Text
1727
1728 \begin_layout Plain Layout
1729 ex
1730 \end_layout
1731
1732 \end_inset
1733 </cell>
1734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1735 \begin_inset Text
1736
1737 \begin_layout Plain Layout
1738 height of letter 
1739 \emph on
1740 x
1741 \emph default
1742  in current font
1743 \end_layout
1744
1745 \end_inset
1746 </cell>
1747 </row>
1748 <row>
1749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1750 \begin_inset Text
1751
1752 \begin_layout Plain Layout
1753 em
1754 \end_layout
1755
1756 \end_inset
1757 </cell>
1758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1759 \begin_inset Text
1760
1761 \begin_layout Plain Layout
1762 width of letter 
1763 \emph on
1764 M
1765 \emph default
1766  in current font
1767 \end_layout
1768
1769 \end_inset
1770 </cell>
1771 </row>
1772 <row>
1773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1774 \begin_inset Text
1775
1776 \begin_layout Plain Layout
1777 mu
1778 \end_layout
1779
1780 \end_inset
1781 </cell>
1782 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1783 \begin_inset Text
1784
1785 \begin_layout Plain Layout
1786 math unit (1
1787 \begin_inset space \thinspace{}
1788 \end_inset
1789
1790 mu = 1/18
1791 \begin_inset space \thinspace{}
1792 \end_inset
1793
1794 em)
1795 \end_layout
1796
1797 \end_inset
1798 </cell>
1799 </row>
1800 </lyxtabular>
1801
1802 \end_inset
1803
1804
1805 \end_layout
1806
1807 \end_inset
1808
1809
1810 \end_layout
1811
1812 \begin_layout Subsection
1813 The Manuals
1814 \end_layout
1815
1816 \begin_layout Standard
1817 The following list describes the contents of the basic documentation files
1818  that you find in the 
1819 \family sans
1820 Help
1821 \family default
1822  menu:
1823 \end_layout
1824
1825 \begin_layout Description
1826 Introduction This file.
1827 \end_layout
1828
1829 \begin_layout Description
1830 Tutorial If you are new to LyX, and have never used LaTeX before, you should
1831  start here.
1832  If you have used LaTeX before, you should still read the 
1833 \emph on
1834 Tutorial
1835 \emph default
1836 , starting with the section on 
1837 \begin_inset Quotes eld
1838 \end_inset
1839
1840 LyX for LaTeX users.
1841 \begin_inset Quotes erd
1842 \end_inset
1843
1844  (Skimming the rest of the document wouldn't hurt, either.)
1845 \end_layout
1846
1847 \begin_layout Description
1848 User's
1849 \begin_inset space ~
1850 \end_inset
1851
1852 Guide The primary documentation.
1853  We'll cover 
1854 \emph on
1855 most
1856 \emph default
1857  of the basic operation and available features of LyX here.
1858  The main manual assumes that you've read the 
1859 \emph on
1860 Tutorial
1861 \emph default
1862 .
1863 \end_layout
1864
1865 \begin_layout Description
1866 Embedded
1867 \begin_inset space ~
1868 \end_inset
1869
1870 Objects Extension of the 
1871 \emph on
1872 User's Guide
1873 \emph default
1874 .
1875  Documents in detail how to use tables, graphics, floats, notes, program
1876  listings, and boxes.
1877  It also includes many tricks of the LaTeX masters.
1878 \end_layout
1879
1880 \begin_layout Description
1881 Math Extension of the 
1882 \emph on
1883 User's Guide
1884 \emph default
1885 .
1886  Documents in detail how to typeset any kind of formulas.
1887 \end_layout
1888
1889 \begin_layout Description
1890 Additional
1891 \begin_inset space ~
1892 \end_inset
1893
1894 Features Extension of the 
1895 \emph on
1896 User's Guide
1897 \emph default
1898 .
1899  Documents how to use raw LaTeX commands, additional layouts, and special-purpos
1900 e editing features.
1901 \end_layout
1902
1903 \begin_layout Description
1904 Customization A description of advanced LyX features, including how to customize
1905  the overall behavior of LyX\SpecialChar \@.
1906  This includes such things as keybindings, internati
1907 onalization, and configuration files.
1908  It also includes information about layout files, which are needed to get
1909  LyX to support LaTeX classes or packages.
1910 \end_layout
1911
1912 \begin_layout Description
1913 Shortcuts Tables with the currently defined LyX shortcuts.
1914 \end_layout
1915
1916 \begin_layout Description
1917 LaTeX
1918 \begin_inset space ~
1919 \end_inset
1920
1921 configuration LyX investigates your system upon installation.
1922  This file contains info on what LyX learned about your installation.
1923  Check it to see if you're missing something you might like to have.
1924 \end_layout
1925
1926 \begin_layout Standard
1927 These files will reference one another as necessary.
1928  For example, the 
1929 \emph on
1930 User's Guide
1931 \emph default
1932  contains 
1933 \emph on
1934 some
1935 \emph default
1936  information on installation and customization, but refers the reader to
1937  the 
1938 \emph on
1939 Customization Manual
1940 \emph default
1941  for more information.
1942 \end_layout
1943
1944 \begin_layout Standard
1945 We'll state again an important point:
1946 \end_layout
1947
1948 \begin_layout Standard
1949 \begin_inset VSpace bigskip
1950 \end_inset
1951
1952
1953 \end_layout
1954
1955 \begin_layout Standard
1956 \align center
1957 If you are new to LyX, read the 
1958 \emph on
1959 Tutorial
1960 \emph default
1961 .
1962  Now\SpecialChar \@.
1963
1964 \end_layout
1965
1966 \begin_layout Standard
1967 \begin_inset VSpace bigskip
1968 \end_inset
1969
1970
1971 \end_layout
1972
1973 \begin_layout Standard
1974 Otherwise, you could needlessly frustrate yourself.
1975 \end_layout
1976
1977 \begin_layout Section
1978 Contributing to the LyX Project
1979 \begin_inset CommandInset label
1980 LatexCommand label
1981 name "sec:Contrib"
1982
1983 \end_inset
1984
1985
1986 \end_layout
1987
1988 \begin_layout Subsection
1989 Contributing to LyX
1990 \end_layout
1991
1992 \begin_layout Standard
1993 LyX is mostly written in C++ (the LaTeX importer is written in Python).
1994  It is a large project, and as a result it is not free from bugs, or the
1995  need for improvements in the source code.
1996 \end_layout
1997
1998 \begin_layout Subsubsection
1999 Reporting a bug
2000 \end_layout
2001
2002 \begin_layout Standard
2003 While using LyX, you may find behavior which you consider a bug.
2004  Crashes, though rare, can happen.
2005  User interface problems are considered major bugs by the LyX team: especially
2006  helpful are indications of parts of the LyX interface you find confusing,
2007  or unclear.
2008 \end_layout
2009
2010 \begin_layout Standard
2011 LyX has a bug tracking system, which you can find at 
2012 \family typewriter
2013
2014 \begin_inset Flex URL
2015 status collapsed
2016
2017 \begin_layout Plain Layout
2018
2019 http://www.lyx.org/trac/wiki/BugTrackerHome
2020 \end_layout
2021
2022 \end_inset
2023
2024
2025 \family default
2026 .
2027  You should check the bug tracker before reporting any bugs, in case it
2028  has already been reported.
2029  If you have a comment on an existing bug, or wish to report a new bug,
2030  you may either use the bug tracker, or send an e-mail to the development
2031  mailing list, 
2032 \begin_inset CommandInset href
2033 LatexCommand href
2034 target "lyx-devel@lists.lyx.org"
2035 type "mailto:"
2036
2037 \end_inset
2038
2039 .
2040  Archives of this list are linked from the main LyX website, 
2041 \family typewriter
2042
2043 \begin_inset Flex URL
2044 status collapsed
2045
2046 \begin_layout Plain Layout
2047
2048 http://www.lyx.org/
2049 \end_layout
2050
2051 \end_inset
2052
2053
2054 \family default
2055 .
2056 \end_layout
2057
2058 \begin_layout Standard
2059 A useful bug report will at a minimum include the version of LyX you are
2060  having the problem with.
2061  Accurate, detailed descriptions are preferred - the more time developers
2062  have to spend to pinpoint the source of a bug, the less time they have
2063  for other improvements.
2064  Mention the system and system version you are running LyX with.
2065  Give the versions of the libraries you have installed on your system, and,
2066  if relevant, the versions of external programs that LyX uses.
2067  If it's a compilation or configuration problem, include the file 
2068 \family typewriter
2069 config.log
2070 \family default
2071 , and mention which compiler you are using.
2072  
2073 \end_layout
2074
2075 \begin_layout Subsubsection
2076 Contributing fixes and new features
2077 \end_layout
2078
2079 \begin_layout Standard
2080 If you have made changes to LyX's source that you think should become part
2081  of LyX, send your changes as a diff file (in unified format) to the development
2082  list referenced above, along with a change log, and a description of what
2083  your patch does.
2084 \end_layout
2085
2086 \begin_layout Subsection
2087 Contributing to the Documentation
2088 \end_layout
2089
2090 \begin_layout Standard
2091 LyX's documentation is extensive; however LyX is under constant development,
2092  and each new release adds new features.
2093  You may find some documentation needs improvement.
2094  This section describes what to do if you find an error, or have some suggestion
2095 s for improving the documentation.
2096 \end_layout
2097
2098 \begin_layout Subsubsection
2099 Reporting Errors in the Manuals
2100 \end_layout
2101
2102 \begin_layout Standard
2103 If you find a problem with the documentation, send a message to the mailing
2104  list 
2105 \begin_inset CommandInset href
2106 LatexCommand href
2107 target "lyx-docs@lists.lyx.org"
2108 type "mailto:"
2109
2110 \end_inset
2111
2112 .
2113  The documentation team will make any necessary fixes.
2114 \end_layout
2115
2116 \begin_layout Subsubsection
2117 Joining the Documentation Team.
2118 \end_layout
2119
2120 \begin_layout Standard
2121 The LyX Documentation Project, like anything else in the LyX project, can
2122  always use assistance! If you're interested in contributing to the Documentatio
2123 n Project, you need to do the following:
2124 \end_layout
2125
2126 \begin_layout Enumerate
2127 Get the latest LyX source code from 
2128 \begin_inset Newline newline
2129 \end_inset
2130
2131
2132 \begin_inset Flex URL
2133 status collapsed
2134
2135 \begin_layout Plain Layout
2136
2137 http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/doc
2138 \end_layout
2139
2140 \end_inset
2141
2142  
2143 \end_layout
2144
2145 \begin_layout Enumerate
2146 Next, read the 
2147 \emph on
2148 User's Guide
2149 \emph default
2150  and the 
2151 \emph on
2152 Tutorial
2153 \emph default
2154
2155 \begin_inset Newline newline
2156 \end_inset
2157
2158 The point of this exercise is to give you ideas.
2159  The 
2160 \emph on
2161 Tutorial
2162 \emph default
2163  and 
2164 \emph on
2165 User's Guide
2166 \emph default
2167  is likely to be the most up-to-date of all of the documentation.
2168  You should be able to glean some insights into how we want the manuals
2169  to read and to look.
2170 \end_layout
2171
2172 \begin_layout Enumerate
2173 Contact the team at:
2174 \begin_inset Newline newline
2175 \end_inset
2176
2177
2178 \begin_inset CommandInset href
2179 LatexCommand href
2180 target "lyx-docs@lists.lyx.org"
2181 type "mailto:"
2182
2183 \end_inset
2184
2185
2186 \begin_inset Newline newline
2187 \end_inset
2188
2189 to discuss your intended changes, and get some feedback on them.
2190 \end_layout
2191
2192 \begin_layout Standard
2193 The changes you wish to make may range from improving clarity of the text,
2194  to doing major re-structuring of the documentation.
2195  Any and all improvements are gladly received.
2196 \end_layout
2197
2198 \end_body
2199 \end_document