CSCM10 Research Methodology a Taster of LATEX WYSIWYG

Total Page:16

File Type:pdf, Size:1020Kb

CSCM10 Research Methodology a Taster of LATEX WYSIWYG WYSIWYG Systems CSCM10 Research Methodology A Taster of LATEX Anton Setzer • WYSIWYG = \What You See Is What You Get". http://www.cs.swan.ac.uk/∼csetzer/lectures/ • What you type in can be seen directly on the screen. computerScienceProjectResearchMethods/current/index.html • Microsoft Office Word is the main example of a WYSIWYG system. October 22, 2017 CSCM10 Lecture 4, 11/2/16: LATEX 2/ 32 Advantages/Disadvantages of WYSIWYG Systems WYSIWYM • WYSIWYG systems are relatively easy to use. • In WYSIWYG systems typesetting to be done by the user. • Problem: most users are not professional type setters. • WYSIWYM = \What You See Is What You Mean". • In most systems (e.g. Word) you can see only the output, but • Instead of doing the typesetting directly the user says: not the formatting information. • This is a headline. • Difficult to detect that one headline is in 11 pt and another in • This is a section title. 12 pt, or one headline in one font, and another in a slightly • This text is normal text. different font. • This is a mathematical formula • Therefore output is usually inconsistent. • Main examples: TEXand LATEX. • Usually output not of printable quality. • Programming is difficult, definition of macros restricted and difficult. CSCM10 Lecture 4, 11/2/16: LATEX 3/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 4/ 32 Advantages/Disadvantages of WYSIWYM Systems LATEX • Steeper learning curve. • Separation of output from input, therefore what you write needs to be compiled into text. • Can create text in print quality. • TEX developed by Donald Knuth in order to typeset a new • Many publishers print articles typeset in LATEX directly, or after version of his books \The art of Computer Programming". adding their own generic macros. • LATEX (for Lamport-TEX) developed by Laslie Lamport in • User sees all formatting information and can therefore produce order to make a more user friendly version of TEX. very uniform text. • LATEX is essentially a macro package on top of TEX. • Programmable using macros. • Development of macro packages for many purposes. • In LATEX macro packages e.g. for chess, for typesetting proofs, chemical formulas exist. • These slides are typeset in LATEX. CSCM10 Lecture 4, 11/2/16: LATEX 5/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 6/ 32 Use of LATEX for Reports and Dissertation Example • The following shows an example of LATEX code (split into 3 • Reports and dissertations can be written using any text codes) plus the output. processing system. • For ease of presentation after each code piece the final output • Use of LATEX will in many cases give you an advantage (which is only produced after running latex on the whole because of the much higher quality of the output. code) is shown. A • Many lecturers (but not all) use LTEX, especially for scientific • The source for this file is available from the webpage for the publishing. lectures by Anton Setzer for this module or here: • They might help you with LATEX. http://www.cs.swan.ac.uk/∼csetzer/lectures/ computerScienceProjectResearchMethods/current/latex/exampleWikipedia/exampleWikipedia.tex CSCM10 Lecture 4, 11/2/16: LATEX 7/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 8/ 32 Example LATEXOutput ndocumentclass[12pt]farticleg nusepackagefamsmathg ntitlefnLaTeXg nauthorfAnton Setzer nthanksfDept. of Computer Science, Swansea University, Singleton Park, Swansea SA1 4PZ, UK. Email: fntt [email protected]. This article is based on the example in Wikipedia, http://en.wikipedia.org/wiki/LaTeXgg ndatef7 October 2011g nnewcommandfnrolegffrn^foglegg nbeginfdocumentg nmaketitle CSCM10 Lecture 4, 11/2/16: LATEX 9/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 10/ 32 Example (Continued) LATEXOutput nLaTeXfg is a document preparation system for the nTeXfg typesetting program. It offers programmable desktop publishing features and extensive facilities for automating most aspects of typesetting and desktop publishing, including numbering and cross-referencing, tables and figures, page layout, bibliographies, and much more. nLaTeXfg was originally written in 1984 by Leslie Lamport and has become the dominant method for using nTeX; few people write in plain nTeXfg anymore. The current version is nLaTeXe. nLaTeXfg plays an important nrolefg in publishing scientific articles in Science. % This is a comment; it will not be shown % in the final output. CSCM10 Lecture 4, 11/2/16: LATEX 11/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 12/ 32 LATEXOutput Example (Continued) % The following shows a little of the typesetting power % of LaTeX: nbeginfaligng E &= mc^2 nn m &= nfracfm 0gfnsqrtf1-nfracfv^2gfc^2ggg nendfaligng nendfdocumentg CSCM10 Lecture 4, 11/2/16: LATEX 13/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 14/ 32 LATEXOutput LATEXOutput CSCM10 Lecture 4, 11/2/16: LATEX 15/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 16/ 32 Running LATEX More Details csetzer@csltas2:∼> latex exampleWikipedia.tex • ndocumentclass[12pt]farticleg latex exampleWikipedia.tex • Standard Header of a Latex file. 12pt = font size This is pdfTeX, Version 3.1415926-1.40.10 • • article = style (TeX Live 2009/Debian) (Article is suitable for reports. entering extended mode There are lots of other styles. (./exampleWikipedia.tex Style \book" is the simplest style for dissertations. LaTeX2e <2009/09/24> { There are many more fancy ones.) Babel <v3.8l> and hyphenation patterns for english, • nusepackagefamsmathg usenglishmax, dumylang, nohyphenation, farsi, • Loads package amstmath. arabic, croatian, bulgarian, ukrainian, russian, czech, • Rich package for mathematics, here used for command nfrac. slovak, danish, dutch, finnish • Lots of packages are available. ... lots of more output ... • ntitlefnLaTeXg Output written on exampleWikipedia.dvi (1 page, 2364 bytes). • Defines the title. A Transcript written on exampleWikipedia.log. • nLaTeXfg is a macro typesetting LTEX. csetzer@csltas2:∼> xdvi exampleWikipedia.dvi & • nauthorfAnton Setzer • Starts defining the author (note f not closed yet) CSCM10 Lecture 4, 11/2/16: LATEX 17/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 18/ 32 More Details More Details • nthanksfDept. of Computer Science, Swansea University, Singleton Park, • nnewcommandfnrolegffrn^foglegg Swansea SA1 4PZ, UK. • Defines a macro. Email: fntt [email protected]. • From now on nrole will expand to This article is based on the example in frn^fogleg. Wikipedia, • Curly brackets will be used to group text but will not be http://en.wikipedia.org/wiki/LaTeXgg printed. • n^fog typesets ^o • Footnote added to author. • There are macros for defining lots and lots of special symbols. • fntt · · · g type sets this part in type writer font. • http://www.tug.org/tex-archive/info/symbols/comprehensive/ • Second \g" finishes definition of author. • Macros can have parameters as well. ndatef7 October 2011g • Defines the date. CSCM10 Lecture 4, 11/2/16: LATEX 19/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 20/ 32 More Details More Details • nLaTeXfg is a document preparation system for the nTeXfg typesetting program. It offers ··· • nbeginfdocumentg • This is standard text to be typeset. • Start of the content of the document. • Aligning the text done by the system. • nmaketitle • Line breaks in the text create only space between words. • Puts title, author, date at this position. • Double line breaks creates a paragraph • Without this command no title, author, date will occur in the (Equivalently one can use the macro npar). document. • Several blanks, tabs, line breaks are the same as a single space (except for double line breaks). • nTeXfg typesets TEX. CSCM10 Lecture 4, 11/2/16: LATEX 21/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 22/ 32 More Details Example (Continued) • nLaTeXfg plays an important nrolefg in publishing • Here the user defined macro nrolefg typeset as r^oleis used. • nbeginfaligng • fg here makes sure that there is a blank after LATEXand after ··· r^ole. nendfaligng Spaces after a macro are ignored. • Example of an environment. • There are many environments in LAT X. • % This is a comment; it will not be shown E • Everything in a a line after % is a comment CSCM10 Lecture 4, 11/2/16: LATEX 23/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 24/ 32 Example (Continued) Example (Continued) • nbeginfaligng • c^2 ··· & · · · nn • Typesets c2 in mathematical text. ··· & · · · nn • m 0. nendfaligng • Typesets m0 in mathematical text. • Environment align typesets several formulae, which are numbered as (1), (2) consecutively. • nfrac{· · · }{· · · g ··· • Content of an align environment is mathematical text. • Type sets a fraction ··· . • LATEX and TEX have a text mode and a formula mode. • Note that we can nest fractions. • In formula mode different macros (usually for creating • nsqrt{· · · g mathematical text) are used. p • Typesets ···. • In mathematical text all blanks are ignored. • Mathematical text is where the full power of LATEX/TEXis • nendfaligng shown. • End of align environment. Seems to be the easiest system for typesetting formulae. • • nendfdocumentg • nn separates lines in mathematical text (can be used for • End of the document. ordinary text as well). • Text after this will be ignored. • Symbols & mark positions to be aligned. CSCM10 Lecture 4, 11/2/16: LATEX 25/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 26/ 32 LATEX under Windows BibTex • Use any text editor. Recommended: Emacs or XEmacs. • BibTex allows to create your bibliography automatically from • MikTeX is a LATEX compiler for Windows. a BibTex file, in which bibliography entries are listed in a • For viewing dvi files use the included YAP dvi-viewer. database like syntax. • For postscript use GhostScript + GSView. • Publishers and many authors provide BibTex entries for many publication. • See for instance http://www.pinteric.com/miktex.html • Google scholar can be adjusted through settings to provide on how to use LATEX under Windows. BibTeX entries - however there usually need a lot of adjustments. • Other onlinetools avilable e.g. ShareLatex. CSCM10 Lecture 4, 11/2/16: LATEX 27/ 32 CSCM10 Lecture 4, 11/2/16: LATEX 28/ 32 Example BibTeX entry Example BibTeX entry • We wrote fLgafTgafXg, because BibTeX puts by default everything in lowercase in titles, except for the first character.
Recommended publications
  • Musical Notation Codes Index
    Music Notation - www.music-notation.info - Copyright 1997-2019, Gerd Castan Musical notation codes Index xml ascii binary 1. MidiXML 1. PDF used as music notation 1. General information format 2. Apple GarageBand Format 2. MIDI (.band) 2. DARMS 3. QuickScore Elite file format 3. SMDL 3. GUIDO Music Notation (.qsd) Language 4. MPEG4-SMR 4. WAV audio file format (.wav) 4. abc 5. MNML - The Musical Notation 5. MP3 audio file format (.mp3) Markup Language 5. MusiXTeX, MusicTeX, MuTeX... 6. WMA audio file format (.wma) 6. MusicML 6. **kern (.krn) 7. MusicWrite file format (.mwk) 7. MHTML 7. **Hildegard 8. Overture file format (.ove) 8. MML: Music Markup Language 8. **koto 9. ScoreWriter file format (.scw) 9. Theta: Tonal Harmony 9. **bol Exploration and Tutorial Assistent 10. Copyist file format (.CP6 and 10. Musedata format (.md) .CP4) 10. ScoreML 11. LilyPond 11. Rich MIDI Tablature format - 11. JScoreML RMTF 12. Philip's Music Writer (PMW) 12. eXtensible Score Language 12. Creative Music File Format (XScore) 13. TexTab 13. Sibelius Plugin Interface 13. MusiXML: My own format 14. Mup music publication program 14. Finale Plugin Interface 14. MusicXML (.mxl, .xml) 15. NoteEdit 15. Internal format of Finale (.mus) 15. MusiqueXML 16. Liszt: The SharpEye OMR 16. XMF - eXtensible Music 16. GUIDO XML engine output file format Format 17. WEDELMUSIC 17. Drum Tab 17. NIFF 18. ChordML 18. Enigma Transportable Format 18. Internal format of Capella (ETF) (.cap) 19. ChordQL 19. CMN: Common Music 19. SASL: Simple Audio Score 20. NeumesXML Notation Language 21. MEI 20. OMNL: Open Music Notation 20.
    [Show full text]
  • 52. What Is Binary • Language That Hardware Uses to Communicate
    Language that hardware uses to communicate Digital images are made up of little dots of colour 52. What is Binary Made of 1’s and 0’s - 1 means on and data is present 57. Pixels called pixels and 0 means off and no data is present Image resolution describes the quality of an image. It tells 53. Binary Table 128 64 32 16 8 4 2 1 58. Image Resolution us how many pixels there are in an image. The higher the number, the better the image quality is. The letter A is represented by the number 65 Image resolution is measure in pixels per inch 128 64 32 16 8 4 2 1 For short, this is written as ppi 54. A in Binary 59. Pixels per Inch 0 1 0 0 0 0 0 1 Sometimes, it is referred to as dpi and this is short for dots So A is 01000001 per inch C = 67 60. High Resolution Because high resolution images contain more pixels per inch 128 64 32 16 8 4 2 1 Images – Good Points they can create very good quality images 0 1 0 0 0 0 1 1 Because high resolution images contain more pixels per inch a = 97 55. Text to Binary 61. High Resolution they hold a lot of data. 128 64 32 16 8 4 2 1 Images – Bad Points The bad point of a high resolution image is that they can Converting the 0 1 1 0 0 0 0 1 often take up a lot of storage space word Cat to Binary t = 116 128 64 32 16 8 4 2 1 Because they do not contain as many pixels per inch as high 62.
    [Show full text]
  • WYSIWYG Editor OU Campus V10
    WYSIWYG Editor OU Campus v10 OmniUpdate, Inc. 1320 Flynn Road, Suite 100 Camarillo, CA 93012 OmniUpdate, Inc. 1320 Flynn Road, Suite 100 Camarillo, CA 93012 800.362.2605 805.484.9428 (fax) www.omniupdate.com Copyright ® 2014 OmniUpdate, Inc. All rights reserved. Document Number: b-003 Publish Date: 7/16/2014 ® OmniUpdate and OU Campus™ are trademarks or registered trademarks of OmniUpdate, Inc. Any other company and product names, and trademarks mentioned within are property of their respective owners. Content is subject to change without notice. About OmniUpdate, Inc. ® OmniUpdate is the leading web content management system (CMS) provider for higher education. The company focuses on providing an exceptional product and customer experience to its OU Campus™ CMS users who manage more than 700 web and mobile sites in the U.S. and around the world. OU Campus is secure and scalable, server and platform independent, and seamlessly integrates with other enterprise campus systems. It provides college and university web developers, administrators, and marketers with the user- friendly tools and deployment flexibility they need to achieve excellence. For more information, visit . About This Guide The WYSIWYG Editor document provides a PDF version of the Support Site topics regarding the usage of the WYSIWYG Editor and the tools available for it. OU Campus Support The Support site is available to everyone and users are encouraged to visit and browse the site for information. An institution's administrators are also available if the answer cannot be found on the Support site or further explanation and clarification is needed. Administrators may contact the OmniUpdate Support Team.
    [Show full text]
  • WYSIWYM – Integrated Visualization, Exploration and Authoring of Semantically Enriched Un-Structured Content
    Semantic Web 1 (2013) 1–14 1 IOS Press WYSIWYM – Integrated Visualization, Exploration and Authoring of Semantically Enriched Un-structured Content Ali Khalili a, Sören Auer b a AKSW, Universität Leipzig, Augustusplatz 10, 04109 Leipzig, Germany [email protected] b CS/EIS, Universität Bonn, Römerstraße 164, 53117 Bonn, Germany [email protected] Abstract. The Semantic Web and Linked Data gained traction in the last years. However, the majority of information still is contained in unstructured documents. This can also not be expected to change, since text, images and videos are the natural way how humans interact with information. Semantic structuring on the other hand enables the (semi-)automatic integration, repurposing, rearrangement of information. NLP technologies and formalisms for the integrated representation of unstructured and semantic content (such as RDFa and Microdata) aim at bridging this semantic gap. However, in order for humans to truly benefit from this integration, we need ways to author, visualize and explore unstructured and semantically enriched content in an integrated manner. In this paper, we present the WYSIWYM (What You See is What You Mean) concept, which addresses this issue and formalizes the binding between semantic representation models and UI elements for authoring, visualizing and exploration. With RDFaCE and Pharmer we present and evaluate two complementary showcases implementing the WYSIWYM concept for different application domains. Keywords: Visualization, Authoring, Exploration, Semantic Web, WYSIWYM, WYSIWYG, Visual Mapping 1. Introduction more efficient and effective search interfaces, such as faceted search [29] or question answer- The Semantic Web and Linked Data movements ing [17]. with the aim of creating, publishing and interconnect- – In information presentation semantically enriched ing machine readable information have gained traction documents can be used to create more sophis- in the last years.
    [Show full text]
  • Latexfür Musiker
    LATEXfür Musiker Michael Enzenhofer Dezember 2016 Inhaltsverzeichnis I. Der erste Einstieg3 1. LATEX 4 1.1. Geschichte von LATEX............................4 1.2. Grundprinzip von LATEX...........................4 1.3. Finale versus LilyPond . .5 1.4. Word versus LATEX..............................7 1.5. Vorteile von LATEX..............................9 2. LATEX-Editoren 11 2.1. Die Qual der Wahl . 11 2.2. TeXShop die Wahl für Mac OSX . 11 2.3. Editor – Viewer . 12 3. Erster Umgang mit LATEX 13 3.1. Die Computertastatur . 13 3.2. LATEX-Befehle . 13 3.3. LATEX-Packages . 16 3.4. Der LATEX-Quellcode . 17 3.5. Dokumentenklasse . 19 3.6. Gliederung des Dokumententeils . 20 4. Die musikalische Notation 21 5. Zusätzliche Pakete 26 6. Weitere Befehle 28 7. Bilder einfügen 31 7.1. \includegraphics . 31 7.2. Bild-Positionierung . 36 7.3. figure-Umgebung . 37 7.4. sidecap . 38 7.5. picinpar . 39 8. Linkempfehlungen 42 2 Teil I. Der erste Einstieg 3 1. LATEX sprich: „Latech“ 1.1. Geschichte von LATEX Das Basis-Programm von LATEX ist TEX. Dieses wurde von Donald Ervin Knuth während seiner Zeit als Informatik-Professor an der Stanford University von 1977 bis 1986 entwickelt. Auf TEX aufbauend entwickelte Leslie Lamport Anfang der 1980er Jahre LATEX. Der Name LATEX ist eine Abkürzung für Lamport TEX. Lamports Entwicklung von LATEX endete gegen 1990 mit der Version 2.09. Die aktuelle Version LATEX2 wurde ab 1989 von einer größeren Zahl von Autoren um Frank Mittelbach, Chris Rowley und Rainer Schöpf entwickelt. 1.2. Grundprinzip von LATEX Im Gegensatz zu anderen herkömmlichenTextverarbeitungsprogrammen, die nach dem What-You-See-is-What-You-Get-Prinzip (WYSIWYG) funktionieren, arbeitet man in LATEX mit CODE.
    [Show full text]
  • What's in Extras
    What’s In Extras 2021/09/20 1 The Extras Folder The Extras folder contains several sub-folders with: • duplicates of several GUI programs installed by the MacTEX installer for those who already have a TEX distribution; • alternates to the GUI applications installed by the MacTEX installer; and • additional software that aE T Xer might find useful. The following sub-sections describe the software contained within them. Table (1), on the next page, contains a complete list of the enclosed software, versions, supported macOS versions, licenses and URLs. Note: for 2020 MacTEX supports High Sierra, Mojave and Catalina although some software also supports earlier versions of macOS. Earlier versions of applications are no longer supplied in the Extras folder but you may find them at the supplied URL. 1.1 Bibliography Bibliography programs for building and maintaining BibTEX databases. 1.2 Browsers A program to browse symbols used with LATEX. 1.3 Editors & Front Ends Alternative Editors, Typesetters and Previewers for TEX. These range from “WYSIWYM (What You See Is What You Mean)” to a Programmer’s Editor with strong LATEX support. 1.4 Equation Editors These allow the user to create beautiful equations, etc., that may be exported for use in other appli- cations; e.g., editors, illustration and presentation software. 1.5 Previewers Separate DVI and PDF previewers for use as external viewers with other editors. 1.6 Scripts Files to integrate some external programmer’s editors with the TEX system. 1.7 Spell Checkers Alternate TEX, LATEX and ConTEXt aware spell checkers. 1.8 Utilities Utilities for managing your MacTEX distribution.
    [Show full text]
  • Revisiting XSS Sanitization
    Revisiting XSS Sanitization Ashar Javed Chair for Network and Data Security Horst G¨ortzInstitute for IT-Security, Ruhr-University Bochum [email protected] Abstract. Cross-Site Scripting (XSS) | around fourteen years old vul- nerability is still on the rise and a continuous threat to the web applica- tions. Only last year, 150505 defacements (this is a least, an XSS can do) have been reported and archived in Zone-H (a cybercrime archive)1. The online WYSIWYG (What You See Is What You Get) or rich-text editors are now a days an essential component of the web applications. They allow users of web applications to edit and enter HTML rich text (i.e., formatted text, images, links and videos etc) inside the web browser window. The web applications use WYSIWYG editors as a part of comment functionality, private messaging among users of applications, blogs, notes, forums post, spellcheck as-you-type, ticketing feature, and other online services. The XSS in WYSIWYG editors is considered more dangerous and exploitable because the user-supplied rich-text con- tents (may be dangerous) are viewable by other users of web applications. In this paper, we present a security analysis of twenty five (25) pop- ular WYSIWYG editors powering thousands of web sites. The anal- ysis includes WYSIWYG editors like Enterprise TinyMCE, EditLive, Lithium, Jive, TinyMCE, PHP HTML Editor, markItUp! universal markup jQuery editor, FreeTextBox (popular ASP.NET editor), Froala Editor, elRTE, and CKEditor. At the same time, we also analyze rich-text ed- itors available on very popular sites like Twitter, Yahoo Mail, Amazon, GitHub and Magento and many more.
    [Show full text]
  • Workshop 1: Introduction to LATEX
    Workshop 1: Introduction to LATEX Dan Parker and David Schwein Sunday, September 21, 2014 Welcome to the first of the Science Center’s LATEX workshops! By the end of today’s workshop, you will be able to write a basic LATEX document containing mathematics. We assume that you have a working installation of LATEX and a LATEX editor. If you do not, please consult the installation guide. 1 Introduction 1.1 Questions and Answers What is LATEX? LATEX is a document preparation system, the de facto standard for mathematics, physics, and computer science. More technically, LATEX is a set of macros – extra commands – for the pro- gramming language TEX. Donald Knuth created TEX in the seventies because he was unhappy with the typography in one of his Art of Computer Program- ming books. He designed the program specifically for typesetting mathematics, and it was widely adopted in the years following its release. Later, in the eight- ies, Leslie Lamport wrote LATEX to extend TEX’s mostly low-level functionality. Today, LATEX has largely superseded TEX. Why should I use LATEX? 1.L ATEX documents are beautiful. Their typography is outstanding, espe- cially as compared to something like Microsoft Word. 2.L ATEX can make almost any document you can imagine and many others besides. 3.L ATEX is free, fast, and has virtually no bugs. LATEX is not for everyone, even among academics. While designing these workshops we found, for instance, that the chemistry department at Brown 1 does not care for LATEX. But mathematicians should certainly use LATEX, mainly because people will not take you seriously if you don’t.1 For the same reason, papers in other math-heavy scientific disciplines, such as physics and computer science, should also be prepared using LATEX.
    [Show full text]
  • Glossary of Terms
    Glossary of Terms Bandwidth: Bandwidth is the amount of information your connection to the Internet can carry, usually measured in bits per second. Banner: A banner is a graphic that is placed around a website for the use of advertising. Graphics can use static images and text, or even be animated. Banners are a great way to draw attention to special information or offers, whether it's on your site or an external site. Browser: A browser is the software you use to view web pages - in fact you're using one right now! Google Chrome, Mozilla Firefox, and Internet Explorer are some of the more common browsers, but there are others like Safari and Opera. Since each one is different, pages can vary in appearance depending on what browser is used. This has to be taken into account when designing and testing websites. CMS: Short for "Content Management System," a CMS allows a number of users to create and change website content through the use of WSYIWIG editors, without the need for HTML knowledge. Because the CMS is online, there is no need for external programs or uploading of separate page documents, and content can be published or unpublished with a single click. Compression: Compression makes files smaller for faster upload/download times, and less disk space usage. JPEGs use compression, making them ideal for web, but can lead to loss of image quality if re-saved multiple times. Cookie: A cookie is a message given to a web browser (the application you use to get online) by a web server.
    [Show full text]
  • Reproducible Research II: Sharing Files
    Reproducible Research II: sharing files LPO 9951 | Fall 2015 Contents The common thread . 1 Writing . 2 Equations . 5 References . 5 Graphics . 5 Attribution . 6 Ownership . 8 Final word . 8 PURPOSE In the last lecture on reproducible research, we discussed version control through git. Git works better with some types of file formats than others (e.g., plain text vs. MS Word). Today we will discuss a few of these not only in the service of using git, but with the purpose of improving how you can collaborate with others and share your work. We’ll also discuss attributions and ownership. The common thread Despite their seemingly different approaches to structuring text, the following syntaxes share two primary characteristics: 1. They are structured and saved using plain text files 2. They follow a WYSIWYM rather than WYSIWYG philosophy Plain text The simple MS Word .doc or .docx is a single file, right? Yes and no. The reason non-PC systems sometimes have trouble with MS Word documents is (1) they are saved in a proprietary format, and (2) those files are better thought of as file systems rather than as a single file. In other words, your MS Word document isn’t simply a record of the words on your screen, but also of a large number of format and system settings. This file structure is why, if you have tried, GitHub doesn’t display Windows documents that you may have pushed to it. Git works best with plain text (ASCII) files. There are a limited number of characters available, but for most of your scripting, you’ll be fine (do you really need that umlaut in your variable names?).
    [Show full text]
  • Using the WYSIWYG HTML Editor
    Using the WYSIWYG HTML editor Purpose: This third-party editor, called ‘CKEditor’ is used to create web pages in a number of tools within WebLearn, such as Resources, Lessons, Forums, Announcements etc. Default permissions: There are no permissions associated directly with this editor. Access to it depends upon permission settings for each tool that uses it. This guide will show you some of the most commonly-used features of the WYSIWYG editor. WYSIWYG is an acronym for ‘What You See is What You Get’, referring to the fact that you can create web pages without having to write the source code (HTML). A comprehensive User’s Guide is available by clicking on the icon within the editor. Other useful step-by-step guides to read in conjunction with this one: Building the Home Page Resources Attaching files in WebLearn All step-by-step guides are available from weblearn.ox.ac.uk/info Introduction This editor will work with the following browsers: Firefox: latest stable version Internet Explorer: 8.0, 9.0 – close to full support; versions 10 and 11: full support Safari: latest stable version Opera: latest stable version Google Chrome: latest stable version There is much more help available online for this editor than is either necessary or practicable to include in this document. Click on the icon on the toolbar in the HTML editor to access online help. This is a comprehensive User Guide explaining all the icons and their functions. Click the User Guide for more information about the editor. DOC-8 Creative Commons Attribution 3.0 Unported License.
    [Show full text]
  • Using Fonts in Applications
    Using fonts in applications I. Font management skills for users on the go A. Why? You want to use different fonts in the documents that you create B. You activate and use the best fonts possible for the job C. Issues: you send the document to someone/ someplace/some other computer who does not have the fonts you used to format the text 1. Send a document to a professional print- shop 2. Email a document to a client/friend/col- league (professional or personal) D. What might happen? 1. Bad: error messages or font substitution happens when the document is opened and all your careful formatting is lost 2. Good: font is installed first and then the document opened 3. Good: font is somehow embedded in the document so that the font isn’t needed in the receiving computer (done in application) 4. Good: font automatically activates (3rd party font mgmt program) Ex: Fusion has a pref- erence to automatically activate fonts used in Office documents and plug-ins for Quark, Illustrator and InDesign II. Popular text apps that deal with missing fonts A. Introduction 1. Each application deals with missing fonts differently on the receiving end. This class will cover Microsoft Word and InDesign (both focus on text formatting) 2. This is why it’s good to have a list of the fonts that are installed with a particular application like Office or Creative Suites — hopefully to avoid the problem B. Microsoft Word (simple approach) 1. Word documents are now opened on computers that don’t have some or all of the docu- ment’s fonts, and then Word - very quietly, without telling you - uses font substitution to enable the computer to display the document text and print it.
    [Show full text]