Skip to main content

Reading From and Writing To Files

  • Chapter
TEX in Practice

Part of the book series: Monographs in Visual Communication ((VISUALCOMM))

  • 368 Accesses

Abstract

In this chapter we discuss TEX’s capabilities of reading from files and writing to files. Reading from files can be done in two different ways: a whole file can be read in using \input or a file can be read on a line-by-line basis using \read. A variety of macros relating to\input will be discussed such as macro \InputD which prevents a macro source file being read-in more than once. The chapter after this one continues the discussion with more on input and output such as writing table of contents and index files.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag New York, Inc.

About this chapter

Cite this chapter

von Bechtolsheim, S. (1993). Reading From and Writing To Files. In: TEX in Practice. Monographs in Visual Communication. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-2724-3_11

Download citation

  • DOI: https://doi.org/10.1007/978-1-4612-2724-3_11

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-97597-9

  • Online ISBN: 978-1-4612-2724-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics