[ Pobierz całość w formacie PDF ]
.markupword.Figure 7.14FigEdit: drag and drop to EDMLtool99-03-19 127 AXE Design ProjectFigure 7.15 shows the resulting EDML code.:h2.SEMIGRAPHICS:H3.FIGEDIT:XMP.:FIG.}"""~!AXE!|"$"{}"""""#""""~}"#"~ }"#"~!APZ! !APT!|"""{ |"""{:EFIG.:EXMP.Figure 7.15FigEdit image in EDML source codeIn EDMLtool, click on Preview to see the resulting image after formatting.1.3 SEMIGRAPHICS1.3.1 FIGEDITAXEAPZ APTFigure 7.16Formatted output for FigEdit imageTyping SemigraphicsMany designers prefer to type in the block characters for EDML semi-graphics.This is not exactly user-friendly, but often faster than usingFigEdit.Figure 7.17 shows the correspondence between EDML sourcecode and formatted semigraphic element.128 EDML.:H2.BLOCK CHARACTERS IN SEMIGRAPHICS:XMP.Not for Official UseTRAINING DOCUMENT:FIG.Uppgjord - Prepared Faktaansvarig - Subject responsible Nr - No.42/88 691-C}"""$"""~Dokansv/Godk - Doc respons/Approved Kontr - Checked Datum - Date Rev97-12-24 PA2! A ! B !["""]"""\1.4 BLOCK CHARACTERS IN SEMIGRAPHICS! C ! D !A B|"""#"""{C D:EFIG.:EXMP.Figure 7.17Block characters and semigraphicsFormattingEDMLtool features three buttons for checking, browsing and printing thedocument.See Figure 7.18.Figure 7.18Formatting buttons in EDMLtoolSaves the document if necessary and checks the EDMLsource code for syntactical correctness.Formats the document and shows the document in thepageview browser.Formats the document and prints the document usingAPSprint.Note that EDMLtool includes two formatters -local and remote.The local formatter runsunder UNIX, is faster and produces better look-ing documents.The remote formatter runs on IBM mainframe computersand produces standard Ericsson layout, compatible to other computer plat-forms.Hence, for all official use, designers prefer the remote formatter inspite of its drawbacks.99-03-19 129 AXE Design ProjectFigure 7.19 shows the error texts in the message window after a syntaxcheck.Note that the syntax checker is only available if local formatting isactive.Figure 7.19Error messages after syntax check130 EDMLThe next two images compare the output of local and remote formatting.Figure 7.20 shows a document page after local formatting, and Figure 7.21the same page after remote formatting.Not for Official UseTRAINING DOCUMENT 2(3)Uppgjord - Prepared Faktaansvarig - Subject responsible Nr - No.42/88 691-CNT 219 1618 UenDokansv/Godk - Doc respons/Approved Kontr - Checked Datum - Date Rev File97-12-24 PA2 -1 EXAMPLE FOR EDMLThis section presents important EDML markup words.Note that tag is a synonymfor markup word.Also note that the formatter inserts line breaks where necessary.All markup words start with a colon and end on a period (dot) character.There are two kind of tags.1.1 LIST OF TAG TYPESa Tags which affect one lineb Tags which affect a whole block of text such as :XMP.Observe the indentation of this line.The formatter does not modify the layout ofthis text.Text between :XMP.and:EXMP.looks just the same as in thesource code.1.2 LISTS WITHOUT AUTONUMBERING1.2.1 BULLETED LISTo Admittedly, the syntax is not user-friendly ando the bullet is not a solid circle.1.2.2 NUMBERED LIST1 EDML does not automatically number these lists.2 It is necessary to manually enter each number.1.3 SEMIGRAPHICS1.3.1 FIGEDITAXEAPZ APTFigure 7.20Page after local formatting99-03-19 131 AXE Design ProjectNot for Official UseERICSSONERICSSONERICSSONERICSSONERICSSONERICSSONERICSSONERICSSONERICSSONERICSSONTRAINING DOCUMENT 2(3)Uppgjord - Prepared Faktaansvarig - Subject responsible Nr - No.42/88 691-CNT 219 1618 UenDokansv/Godk - Doc respons/Approved Kontr - Checked Datum - Date Rev File97-12-24 PA21 ________________EXAMPLE FOR EDMLThis section presents important EDML markup words.Note thattag is a synonym for markup word.Also note that the format-ter inserts line breaks where necessary.All markup words start with a colon and end on a period(dot) character.There are two kind of tags.1.1 LIST OF TAG TYPESa Tags which affect one lineb Tags which affect a whole block of text such as:XMP.Observe the indentation of this line.The formatter does not modify the layout ofthis text.Text between :XMP.and:EXMP.looks just the same as in thesource code.1.2 LISTS WITHOUT AUTONUMBERING1.2.1 BULLETED LIST_____________o Admittedly, the syntax is not user-friendly ando the bullet is not a solid circle.1.2.2 NUMBERED LIST_____________1 EDML does not automatically number these lists.2 It is necessary to manually enter each number.1.3 SEMIGRAPHICS1.3.1 FIGEDIT_______AXEÀöAPZ APTÀö ÀöFigure 7.21Page after remote formatting132 EDMLExercises1.Start EDMLtool and answer the following questions.a) Which tags does a minimum EDML skeleton include?b) Which tag identifies the author of a document?c) Which tags create an alphabetically numbered list?2.Find out what is wrong with the following document.Use EDML-tool to find all errors within this document, correct them and previewthe result.:TEXT.:lang eng.:docname.Sample Text:prep.EED/L/KE ERS: date.&date.:rev.PA1:docno.123-ABC 98 765:appr.-:title,Sample Text:contents.:H1.Example for EDMLSome of the different Tags in EDML are presented here.:P.There are two kind of tags:H2.List of tag types:LIST.:LI.Tags which have effect for one line:LI.Tags which effect a whole block of text:ELI.:NL.like xmp:xmp.This Text is formattedexactly as it was typed using theXMP and EXMP tags.:EXMP.:ELIST.:ETEXT.Figure 7.22EDML text with faults99-03-19 133 AXE Design ProjectChapter SummaryRemember these points from this chapter:" EDML is Ericsson s original document formatting standard, it consistsof mark-up words or tags." The EDMLtool and FigEdit support designers with menus and helpfunctions to create professional documents." EDML code is small and efficient, the number of EDML tags is quitelimited.References[1] Ericsson Document Markup Language, EDML (User s Manual)100/190 82-CNA 348 01 Uen Rev.G© Ericsson Telecom AB 1994[2] EDMLtool R4 User s Guide19817-CAA 139 1073 Uen,© Ericsson Telecom AB 1995134 8.SGMLIntroductionThe Standard General Mark-up Language (SGML) is an internationalstandard for document layouting.SGML separates documents in twoparts: content and form.As in EDML, mark-up words or tags define thestructure of the text in the document.Ericsson s customers were unhappy with the layout quality of EDML doc-uments.That is why more and more design documents use SGML, and allcustomer documents must use SGML today.Chapter ObjectivesAfter completing this chapter you are able to:" Describe concepts and major components of SGML" Create SGML documents with the Text and Graphics toolFigure 8.1Chapter ObjectivesSGML ConceptSGML tags indicate the logical structure of a document and tell the for-matter what type of information a text segment contains, but not how histext segment should look like.The formatter, then, formats the documentaccording to a document type definition (DTD) which includes certain lay-out standards and formatting parameters.This helps the document author to concentrate on the contents of the docu-mentation, and no time is wasted on the task of layouting.Moreover,SGML DTDs guarantee that all documents using this DTD have the samestructure and layout.The documents become consistent, easier to read,reusable and guarantees their longevity.HistorySGML is one of several mark-up languages, the development of SGMLstarted as early as the late 1960s [ Pobierz caÅ‚ość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • swpc.opx.pl
  •