Markdown 2.7.0

Total Page:16

File Type:pdf, Size:1020Kb

Markdown 2.7.0 TUGboat, Volume 40 (2019), No. 1 25 Markdown 2.7.0: Towards lightweight 2 New features markup in TEX Between versions 2.5.3 and 2.7.0 of the Markdown Vít Novotný package, there was one important patch version, 2.5.4, and two important minor versions, 2.6.0 and Abstract 2.7.0. Version 2.5.4 added support for the TEX op- Markdown is a lightweight markup language that tion -output-directory, version 2.6.0 introduced makes it easy to write structurally simple documents. the Lua command-line interface (CLI) and added sup- Existing tools for rendering markdown documents port for the doc LATEX package [4], and version 2.7.0 to PDF treat TEX as a black box. In contrast, the introduced the user manual and content slicing. Markdown package provides support for styling and In this section, I will show the new features. Al- typesetting markdown documents in TEX, extending though the package also supports plain TEX and Con- A a TEXie’s toolbox rather than forcing her to replace TEXt, all examples are in LTEX for ease of exposition. TEX with a more limited tool. Since its release in 2016, the package has re- 2.1 Setting the output directory ceived several important updates improving the func- TEX provides the -output-directory option, which tionality and user experience. In this article, I will changes the working directory for the TEX document. reintroduce the package, and describe its new func- This allows the user to redirect auxiliary files to a tionality and documentation. separate location. However, any external programs executed using the \write18 mechanism run in the original working directory. Since the Markdown pack- 1 Introduction age executes a Lua interpreter, which expects to find auxiliary files produced by the package in the current The primary strength of T X lies perhaps in its E working directory, this presents a problem. programming and typesetting capabilities, not its To solve the problem, version 2.5.4 of the Mark- syntax. Outside mathematics, non-programmable down package introduced the new outputDir option, markup languages such as Markdown [2] provide which informs the Lua interpreter where it should a gentler learning curve, improved readability, and look for the auxiliary files. Create a text document effortless single-source publishing for an author. named document.tex with the following content: Existing tools for rendering markdown docu- ments to PDF, such as Pandoc [1, 3] and MultiMark- \documentclass{article} down, have several important disadvantages, which \usepackage[outputDir=/dev/shm]{markdown} I discussed in my previous article [5]. These dis- \begin{document} \begin{markdown} advantages include black-boxing TEX, inconsistent A First Level Header support for T X commands in markdown documents, E ==================== increased complexity of maintenance, and the lack of A Second Level Header support for online TEX services such as Overleaf. The --------------------- Markdown TEX package [5] overcomes all of these. Now is the time for all good men to come to the In my previous article, I introduced version 2.5.3 aid of their country. This is just a paragraph. of the Markdown package, which was plagued by sev- \end{markdown} eral shortcomings: The package would not function \end{document} correctly when the -output-directory TEX option Execute the following command to produce a doc- was specified, since the package interacts with an ex- ument with a single section, subsection, and para- ternal Lua interpreter that is unaware of TEX options. graph, redirecting auxiliary files to /dev/shm (the The package was also wasteful with system resources, RAM disk available on recent Linux kernels): clogging up the file system with converted markdown documents unless the user cleaned them up manually. pdflatex -output-directory /dev/shm \ The documentation of the package was complete, but -shell-escape document.tex provided little help to the non-technical user. In this article, I introduce version 2.7.0 of the 2.2 The Lua command-line interface Markdown package, which tackles the above prob- The Markdown package hands markdown documents lems and introduces several new features, such as to a Lua parser. The parser converts them to TEX content slicing and the Lua CLI. In Section 2, I will and hands them back to the package for typesetting show the new features. In Section 3, I will describe (see Figure 1). This procedure has the advantage of the new documentation of the package. being fully automated. However, it also has several Markdown 2.7.0: Towards lightweight markup in TEX 26 TUGboat, Volume 40 (2019), No. 1 is a separate Lua program that can be executed User TEX Lua from the shell. Create a text document named example.md with the following content: \jobname.tex Some of these words *are emphasized*. \jobname.markdown.in Use two asterisks for **strong emphasis**. \jobname.markdown.out Next, execute the kpsewhich markdown-cli.lua command to find the location of the Lua CLI, such as \input\jobname.markdown.out /usr/local/texlive/2019/texmf-dist/scripts/ markdown/markdown-cli.lua on GNU/Linux with T X Live 2019. Execute hlocation of the Lua \jobname.pdf E texlua CLI i -- example.md example.tex to convert the example.md markdown document to TEX. Finally, create a text document named with Figure 1: A sequence diagram of the Markdown document.tex package typesetting a markdown document using the the following content: TEX interface. \documentclass{article} \usepackage{markdown} \begin{document} User T X Lua E \input example \end{document} hdocumenti.md Execute the pdflatex document.tex command to hdocumenti.tex produce a document with one formatted paragraph. \jobname.tex 2.3 Documenting LATEX packages \input hdocumenti The doc LATEX package makes it possible to docu- ment a LATEX document by writing a second LATEX document in the comments. This approach to docu- \jobname.pdf mentation is referred to as literate programming and is popular with LATEX package authors, as it keeps the documentation close to the documented code. Figure 2: A sequence diagram of the Markdown To encourage contributions and readability, doc- package typesetting a markdown document using the umentation can benefit from the use of a lightweight Lua command-line interface. markup language such as Markdown. To allow this use case, version 2.6.0 of the Markdown package important disadvantages: The converted TEX doc- introduced the stripPercentSigns option, which uments are cached on the file system, taking up an informs the Lua interpreter that it should strip per- increasing amount of space. Unless the TEX engine cent signs from the beginnings of lines in a mark- includes a Lua interpreter, the package also requires down document. Create a text document named shell access, which opens the door for a malicious document.dtx with the following content: actor to access the system. Last, but not least, the % \iffalse complexity of the procedure also impedes debugging. \documentclass{ltxdoc} A solution to the above problems is to decouple \usepackage[stripPercentSigns]{markdown} the conversion from the typesetting. First, the user \begin{document} converts markdown documents to TEX. Then, she \DocInput{document.dtx} typesets the TEX documents using the \input TEX \end{document} command (see Figure 2). Before the first step, the % \fi % \begin{markdown} user can remove any previously cached TEX docu- ments. Before the second step, she can transform the % * Candy. % * Gum. T X documents according to her need. During the E % * Booze. second step, she does not need to provide shell access % \end{markdown} to TEX. Since the individual steps are separated, the source of an error is immediately obvious. Execute the following command to produce a docu- To enable this workflow, version 2.6.0 of the ment with an unordered list: Markdown package introduced the Lua CLI, which pdflatex -shell-escape document.dtx Vít Novotný TUGboat, Volume 40 (2019), No. 1 27 2.4 Content slicing adheres too closely to the documented code. Some A Despite its simplicity (or perhaps because of it), LTEX packages provide a user manual that is writ- Markdown has become a popular choice for writing ten independently of the documented code. While all kinds of documents ranging from notes and lec- this improves readability, it also sacrifices literate ture slides to books that span hundreds of pages. programming and its ease of maintenance. When typesetting these documents, it is often useful Before version 2.5.6, the Markdown package only to typeset only a small part of them: Lecture slides provided technical documentation produced by liter- spanning an entire term can be chopped into lectures. ate programming. Since version 2.5.6, the package Bits and pieces from a ragtag of notes can be put to- also provided a user manual aimed at the end user gether into a single coherent document. A behemoth rather than a developer. This manual was, however, of a book that takes thirty minutes to compile may still produced using literate programming, leading take only one, when a single chapter is requested. to poor text structure. Since version 2.7.0, the user To make markdown documents more easily sty- manual is combined from three texts describing user lable, there exist syntax extensions for assigning interfaces, package options, and markdown tokens, HTML attributes to markdown elements. To enable respectively. This leads to readable documentation typesetting only a part of a markdown document, without sacrificing literate programming. version 2.7.0 of the Markdown package provides 4 Conclusion the headerAttributes and slice options. The headerAttributes option enables the Pandoc syn- TEX is a fine tool for typesetting many kinds of docu- ments. It may, however, not be the best language for tax for HTML attributes and the slice option spec- ifies which part of a document should be typeset.
Recommended publications
  • Extensible Markup Language (XML) and Its Role in Supporting the Global Justice XML Data Model
    Extensible Markup Language (XML) and Its Role in Supporting the Global Justice XML Data Model Extensible Markup Language, or "XML," is a computer programming language designed to transmit both data and the meaning of the data. XML accomplishes this by being a markup language, a mechanism that identifies different structures within a document. Structured information contains both content (such as words, pictures, or video) and an indication of what role content plays, or its meaning. XML identifies different structures by assigning data "tags" to define both the name of a data element and the format of the data within that element. Elements are combined to form objects. An XML specification defines a standard way to add markup language to documents, identifying the embedded structures in a consistent way. By applying a consistent identification structure, data can be shared between different systems, up and down the levels of agencies, across the nation, and around the world, with the ease of using the Internet. In other words, XML lays the technological foundation that supports interoperability. XML also allows structured relationships to be defined. The ability to represent objects and their relationships is key to creating a fully beneficial justice information sharing tool. A simple example can be used to illustrate this point: A "person" object may contain elements like physical descriptors (e.g., eye and hair color, height, weight), biometric data (e.g., DNA, fingerprints), and social descriptors (e.g., marital status, occupation). A "vehicle" object would also contain many elements (such as description, registration, and/or lien-holder). The relationship between these two objects—person and vehicle— presents an interesting challenge that XML can address.
    [Show full text]
  • Odfweave Manual
    The OdfWeave Package Max Kuhn max.kuhn@pfizer.com August 7, 2007 1 Introduction The Sweave function (Leisch, 2002) is a powerful component of R. It can be used to combine R code with LATEX so that the output of the code is embedded in the processed document. The capabilities of Sweave were later extended to HTML format in the R2HTML package. A written record of an analysis can be created using Sweave, but additional annotation of the results may be needed such as context–specific interpretation of the results. Sweave can be used to automatically create reports, but it can be difficult for researchers to add their subject–specific insight to pdf or HTML files. The odfWeave package was created so that the functionality of Sweave can used to generate documents that the end–user can easily edit. The markup language used is the Open Document Format (ODF), which is an open, non– proprietary format that encompasses text documents, presentations and spreadsheets. Version 1.0 of the specification was finalized in May of 2005 (OASIS, 2005). One year later, the format was approved for release as an ISO and IEC International Standard. There are several editors/office suites that can produce ODF files. OpenOffice is a free, open source editor that, as of version 2.0, uses ODF as the default format. odfWeave has been tested with OpenOffice to produce text documents. As of the current version, odfWeave processing of presentations and spreadsheets should be considered to be experimental (but should be supported in subsequent versions). OpenOffice can be used to export the document to MS Word, rich text format, HTML, plain text or pdf formats.
    [Show full text]
  • Extensible Markup Language (XML)
    15 Extensible Markup Language (XML) Objectives • To mark up data, using XML. • To understand the concept of an XML namespace. • To understand the relationship between DTDs, Schemas and XML. • To create Schemas. • To create and use simple XSLT documents. • To transform XML documents into XHTML, using class XslTransform. • To become familiar with BizTalk™. Knowing trees, I understand the meaning of patience. Knowing grass, I can appreciate persistence. Hal Borland Like everything metaphysical, the harmony between thought and reality is to be found in the grammar of the language. Ludwig Wittgenstein I played with an idea and grew willful, tossed it into the air; transformed it; let it escape and recaptured it; made it iridescent with fancy, and winged it with paradox. Oscar Wilde Chapter 15 Extensible Markup Language (XML) 657 Outline 15.1 Introduction 15.2 XML Documents 15.3 XML Namespaces 15.4 Document Object Model (DOM) 15.5 Document Type Definitions (DTDs), Schemas and Validation 15.5.1 Document Type Definitions 15.5.2 Microsoft XML Schemas 15.5.3 W3C XML Schema 15.5.4 Schema Validation in C# 15.6 Extensible Stylesheet Language and XslTransform 15.7 Microsoft BizTalk™ 15.8 Summary 15.9 Internet and World Wide Web Resources 15.1 Introduction The Extensible Markup Language (XML) was developed in 1996 by the World Wide Web Consortium’s (W3C’s) XML Working Group. XML is a portable, widely supported, open technology (i.e., non-proprietary technology) for describing data. XML is becoming the standard for storing data that is exchanged between applications. Using XML, document authors can describe any type of data, including mathematical formulas, software-configu- ration instructions, music, recipes and financial reports.
    [Show full text]
  • XXX Format Assessment
    Digital Preservation Assessment: Date: 20/09/2016 Preservation Open Document Text (ODT) Format Team Preservation Assessment Version: 1.0 Open Document Text (ODT) Format Preservation Assessment Document History Date Version Author(s) Circulation 20/09/2016 1.0 Michael Day, Paul Wheatley External British Library Digital Preservation Team [email protected] This work is licensed under the Creative Commons Attribution 4.0 International License. Page 1 of 12 Digital Preservation Assessment: Date: 20/09/2016 Preservation Open Document Text (ODT) Format Team Preservation Assessment Version: 1.0 1. Introduction This document provides a high-level, non-collection specific assessment of the OpenDocument Text (ODT) file format with regard to preservation risks and the practicalities of preserving data in this format. The OpenDocument Format is based on the Extensible Markup Language (XML), so this assessment should be read in conjunction with the British Library’s generic format assessment of XML [1]. This assessment is one of a series of format reviews carried out by the British Library’s Digital Preservation Team. Some parts of this review have been based on format assessments undertaken by Paul Wheatley for Harvard University Library. An explanation of the criteria used in this assessment is provided in italics below each heading. [Text in italic font is taken (or adapted) from the Harvard University Library assessment] 1.1 Scope This document will primarily focus on the version of OpenDocument Text defined in OpenDocument Format (ODF) version 1.2, which was approved as ISO/IEC 26300-1:2015 by ISO/IEC JTC1/SC34 in June 2015 [2]. Note that this assessment considers format issues only, and does not explore other factors essential to a preservation planning exercise, such as collection specific characteristics, that should always be considered before implementing preservation actions.
    [Show full text]
  • An Investigation Into World Wide Web Publishing with the Hypertext Markup Language Eric Joseph Cohen
    Rochester Institute of Technology RIT Scholar Works Theses Thesis/Dissertation Collections 11-1-1995 An Investigation into world wide web publishing with the hypertext markup language Eric Joseph Cohen Follow this and additional works at: http://scholarworks.rit.edu/theses Recommended Citation Cohen, Eric Joseph, "An Investigation into world wide web publishing with the hypertext markup language" (1995). Thesis. Rochester Institute of Technology. Accessed from This Thesis is brought to you for free and open access by the Thesis/Dissertation Collections at RIT Scholar Works. It has been accepted for inclusion in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact [email protected]. An Investigation into World Wide Web Publishing with the Hypertext Markup Language by Eric Joseph Cohen A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in the School of Printing Management and Sciences in the College of Imaging Arts and Sciences of the Rochester Institute of Technology November 1995 Thesis Advisor: Professor Frank Romano School of Printing Management and Sciences Rochester Institute of Technology Rochester, New York Certificate of Approval Master1s Thesis This is to certify that the Master's Thesis of Eric joseph Cohen With a major in Graphic Arts Publishing has been approved by the Thesis Committee as satisfactory for the thesis requirement for the Master of Science degree at the convocation of November 1995 Thesis Committee: Frank Romano Thesis Advisor Marie Freckleton Graduate Program Coordinator C. Harold Goffin Director or Designate Title of Thesis: An Investigation into World Wide Web Publishing with the Hypertext Markup Language September 12, 1995 I, Eric Joseph Cohen, hereby grant permission to the Wallace Memorial Library of RIT to reproduce my thesis in whole or in part.
    [Show full text]
  • Chapter 13 XML: Extensible Markup Language
    Chapter 13 XML: Extensible Markup Language - Internet applications provide Web interfaces to databases (data sources) - Three-tier architecture Client | V Application Programs Webserver | V Database Server -HTML common language for Web pages-not suitable for structure data extracted from DB - XML is used to represent structured data and exchange data on the Web for self-describing documents - HTML, static Web pages; when they describe database data, they are called dynamic Web pages 1. Structured, Semi-structured and Unstructured data -Information in databases is a structured data (employee, company, etc), the database checks to ensure that all data follows the structure and constraints specified in the schema 1 - some attributes may be shared among various entities, other attributes may exist only in few entities Semi-structured data; additional attributes can be introduced later Self-describing data as schema can change Example: Collect a list of biographical references related to a certain research project - Books - Technical reports - Research articles in Journals or Conferences Each have different attributes and information; one reference has all information, others have partial; some references may occur in the future Web, tutorials, etc.. Semi-structured data can be represented using a directed graph. 2 3 Two main differences between semi-structured and object model: 1. Schema intermixed with objects 2. No requirements for a predefined schema Unstructured Data: Limited indication of type of data Example: text document; information is embedded in it 4 HTML document has tags, which specify how to display a document, they also specify structure of a document. HTML uses large number of predefined tags: - Document header - Body - Heading levels - Table - Attributes (tags have attributes) (static and dynamic html) XML Hierarchical Data Model (Tree) The basic object is the XML document.
    [Show full text]
  • SGML As a Framework for Digital Preservation and Access. INSTITUTION Commission on Preservation and Access, Washington, DC
    DOCUMENT RESUME ED 417 748 IR 056 976 AUTHOR Coleman, James; Willis, Don TITLE SGML as a Framework for Digital Preservation and Access. INSTITUTION Commission on Preservation and Access, Washington, DC. ISBN ISBN-1-887334-54-8 PUB DATE 1997-07-00 NOTE 55p. AVAILABLE FROM Commission on Preservation and Access, A Program of the Council on Library and Information Resources, 1400 16th Street, NW, Suite 740, Washington, DC 20036-2217 ($20). PUB TYPE Reports Evaluative (142) EDRS PRICE MF01/PC03 Plus Postage. DESCRIPTORS *Access to Information; Computer Oriented Programs; *Electronic Libraries; *Information Retrieval; Library Automation; Online Catalogs; *Preservation; Standards IDENTIFIERS Digital Technology; *SGML ABSTRACT This report explores the suitability of Standard Generalized Markup Language (SGML) as a framework for building, managing, and providing access to digital libraries, with special emphasis on preservation and access issues. SGML is an international standard (ISO 8879) designed to promote text interchange. It is used to define markup languages, which can then encode the logical structure and content of any so-defined document. The connection between SGML and the traditional concerns of preservation and access may not be immediately apparent, but the use of descriptive markup tools such as SGML is crucial to the quality and long-term accessibility of digitized materials. Beginning with a general exploration of digital formats for preservation and access, the report provides a staged technical tutorial on the features and uses of SGML. The tutorial covers SGML and related standards, SGML Document Type Definitions in current use, and related projects now under development. A tiered metadata model is described that could incorporate SGML along with other standards to facilitate discovery and retrieval of digital documents.
    [Show full text]
  • Definition of Data Exchange Standard for Railway Applications
    PRACE NAUKOWE POLITECHNIKI WARSZAWSKIEJ z. 113 Transport 2016 6/*!1 Uniwersytet Technologiczno-:]! w Radomiu, (,? DEFINITION OF DATA EXCHANGE STANDARD FOR RAILWAY APPLICATIONS The manuscript delivered: March 2016 Abstract: Railway similar to the other branches of economy commonly uses information technologies in its business. This includes, inter alia, issues such as railway traffic management, rolling stock management, stacking timetables, information for passengers, booking and selling tickets. Variety aspects of railway operations as well as a large number of companies operating in the railway market causes that currently we use a lot of independent systems that often should work together. The lack of standards for data structures and protocols causes the need to design and maintain multiple interfaces. This approach is inefficient, time consuming and expensive. Therefore, the initiative to develop an open standard for the exchange of data for railway application was established. This new standard was named railML. The railML is based on Extensible Markup Language (XML) and uses XML Schema to define a new data exchange format and structures for data interoperability of railway applications. In this paper the current state of railML specification and the trend of development were discussed. Keywords: railway traffic control systems, railML, XML 1. INTRODUCTION It is hard to imagine the functioning of the modern world without information technologies. It is a result of numerous advantages of the modern IT solutions. One of the most important arguments for using IT systems is cost optimisation [1, 3, 6]. Variety aspects of railway operations as well as a large number of companies operating in the railway market causes that currently we use a lot of independent systems that often should cooperate.
    [Show full text]
  • The LATEX Web Companion
    The LATEX Web Companion Integrating TEX, HTML, and XML Michel Goossens CERN Geneva, Switzerland Sebastian Rahtz Elsevier Science Ltd., Oxford, United Kingdom with Eitan M. Gurari, Ross Moore, and Robert S. Sutor Ä yv ADDISON—WESLEY Boston • San Francisco • New York • Toronto • Montreal London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Contents List of Figures xi List of Tables xv Preface xvii 1 The Web, its documents, and D-ItX 1 1.1 The Web, a window an die Internet 3 1.1.1 The Hypertext Transport Protocol 4 1.1.2 Universal Resource Locators and Identifiers 5 1.1.3 The Hypertext Markup Language 6 1.2 BTEX in die Web environment 11 1.2.1 Overview of document formats and strategies 12 1.2.2 Staying with DVI 14 1.2.3 PDF for typographic quality 15 1.2.4 Down-translation to HTML 16 1.2.5 Java and browser plug-ins 20 1.2.6 Other L4TEX-related approaches to the Web 21 1.3 Is there an optimal approach? 23 1.4 Conclusion 24 2 Portable Document Format 25 2.1 What is PDF? 26 2.2 Generating PDF from TEX 27 2.2.1 Creating and manipulating PDF 28 vi Contents 2.2.2 Setting up fonts 29 2.2.3 Adding value to your PDF 33 2.3 Rich PDF with I4TEX: The hyperref package 35 2.3.1 Implicit behavior of hyperref 36 2.3.2 Configuring hyperref 38 2.3.3 Additional user macros for hyperlinks 45 2.3.4 Acrobat-specific commands 47 2.3.5 Special support for other packages 49 2.3.6 Creating PDF and HTML forms 50 2.3.7 Designing PDF documents for the screen 59 2.3.8 Catalog of package options 62 2.4 Generating
    [Show full text]
  • File Format Guidelines for Management and Long-Term Retention of Electronic Records
    FILE FORMAT GUIDELINES FOR MANAGEMENT AND LONG-TERM RETENTION OF ELECTRONIC RECORDS 9/10/2012 State Archives of North Carolina File Format Guidelines for Management and Long-Term Retention of Electronic records Table of Contents 1. GUIDELINES AND RECOMMENDATIONS .................................................................................. 3 2. DESCRIPTION OF FORMATS RECOMMENDED FOR LONG-TERM RETENTION ......................... 7 2.1 Word Processing Documents ...................................................................................................................... 7 2.1.1 PDF/A-1a (.pdf) (ISO 19005-1 compliant PDF/A) ........................................................................ 7 2.1.2 OpenDocument Text (.odt) ................................................................................................................... 3 2.1.3 Special Note on Google Docs™ .......................................................................................................... 4 2.2 Plain Text Documents ................................................................................................................................... 5 2.2.1 Plain Text (.txt) US-ASCII or UTF-8 encoding ................................................................................... 6 2.2.2 Comma-separated file (.csv) US-ASCII or UTF-8 encoding ........................................................... 7 2.2.3 Tab-delimited file (.txt) US-ASCII or UTF-8 encoding .................................................................... 8 2.3
    [Show full text]
  • The Physical Markup Language
    MIT-AUTOID -WH-003 ePC: 21.0000001.06003.XXXXXXXXXX The Physical Markup Language David L. Brock February 2001 Auto-ID Center Massachusetts Institute of Technology 77 Massachusetts Avenue Cambridge, MA 02139 http://auto-id.mit.edu/ The Physical Markup Language A Universal Language for Physical Objects David L. Brock Auto-ID Center Massachusetts Institute of Technology Cambridge, MA USA 02139 Abstract – The Physical Markup Language (PML) is intended to be a common “language” for describing II. BACKGROUND physical objects, processes and environments. Much as the Hypertext Markup Language (HTML) has The intelligent infrastructure, which we envision, standardized the way in which information is automatically and seamlessly links physical objects to presented on the Internet, PML is designed to each other, people and information through the global standardize descriptions of physical objects for use by Internet [1]. This intelligent infrastructure has four major both humans and machines. The primary objective of components: electronic tags, Electronic Product Code PML is to serve as a common base for software (ePC), Physical Markup Language (PML) and Object applications, data storage and analytic tools for Naming Service (ONS). industry and commerce. This paper presents some Electronic tags refer to a family of technologies that fundamental issues in the design of the language, as transfer data wirelessly between tagged objects and well as assumptions underlying its development and electronic readers. Radio Frequency Identification implementation. (RFID) tags, often used in “smart cards,” have small radio antennas, which transmit data over a short range [2]. The I. INTRODUCTION Motorola BiStatix™ tags, an Electromagnetic Identification (EMID) technology, uses capacitive The Physical Markup Language (PML) is intended to coupling to transmit information [3].
    [Show full text]
  • World Wide Web: URL, HTML, HTTP
    1 World Wide Web: URL, HTML, HTTP World Wide Web (WWW) created in 1989 at CERN by Tim Berners-Lee ideas (hypertext, information store) are much older linked retrieval of text, images, sounds, movies, ... also executable programs (Java) predecessor: gopher hypertext = linking objects (text) across a network integrates data access protocols ➠ graphical browser Internet for non-techies currently most important Internet application (next to email) 2 WWW components names: Universal Resource Locator (URL) retrieval: Hypertext transfer protocol (HTTP) hypertext: Hypertext markup language (HTML) browser: retrieve URL via HTTP, ftp, telnet, ...from server server: stores objects for one or more host names URL scheme://host[:port]/path/[;parameters][#fragment][?query] http://www.fokus.gmd.de:80/step/hgs/ http://www.research.att.com/cgi-bin/bibsearch_html?www mailto:[email protected] scheme: http, ftp, gopher, telnet, mailto, news, ... host: host name or dotted quad port: TCP port, if not default path: ®le name path parameters: for partial retrieval, etc. fragment: named position in text query: parameter for database queries 3 HTML simple document type for SGML (standard general markup language) describes document structure, not formatting (kind of...) provision for hyperlinks can be ... ± written by hand ± generated by special authoring tools ± translated from LATEX, nroff, Microsoft Word, ... HTML structure <tag parameter=value ...> text </tag> uses ISO 8859-1 (including a,È o,È u,È etc.) $ can be searched locally ( PostScript)
    [Show full text]