Be able to create a new presentation using a text file

Published by Patrick Mutisya · 14 days ago

ICT 0417 – Presentations: Creating a New Presentation from a Text File

Topic 19 – Presentations

Objective

Students will be able to create a new presentation using a plain‑text file as the source.

Why use a text file?

  • Fast to edit with any text editor.
  • Portable across operating systems.
  • Useful for batch creation or automation.

Key Concepts

  1. Understanding the structure of a presentation file.
  2. Using a text editor to write slide content.
  3. Importing the text file into presentation software (e.g., Microsoft PowerPoint, LibreOffice Impress, Google Slides).

Step‑by‑Step Procedure

  1. Open a plain‑text editor (Notepad, TextEdit, VS Code, etc.).
  2. Enter slide data using a simple markup. A common format is:

    MarkerPurpose
    # TitleCreates a new slide with the given title.
    ## SubtitleSubtitle or heading on the same slide.
    - Bullet pointBullet list item.
    ---Slide separator (optional).

  3. Save the file with a .txt extension, e.g., MyPresentation.txt.
  4. Import the file into your presentation program:

    • PowerPoint: Use Insert → Slides from Outline… and select the .txt file.
    • LibreOffice Impress: Choose File → Open, select “Text (Plain)” and the file; each line beginning with “#” becomes a new slide.
    • Google Slides: No direct import; use a script or copy‑paste each slide manually.

  5. Review and adjust formatting:

    • Apply a slide master for consistent design.
    • Convert bullet markers to the software’s bullet style.
    • Add images, charts, or animations as required.

  6. Save the presentation in the native format (e.g., .pptx, .odp).

Tips for Efficient Slide Creation

  • Keep each slide’s content concise – aim for no more than 6 lines of text.
  • Use consistent heading levels (#, ##) to maintain hierarchy.
  • When using numbers for ordered lists, start each list with “1.” – the software will renumber automatically.
  • Test the import on a short sample file before creating a full presentation.

Common Errors and How to Fix Them

ErrorCauseSolution
All text appears on one slideMissing slide separator or heading markerEnsure each new slide starts with “# ” (hash followed by a space).
Bullets become plain textIncorrect bullet characterUse a hyphen followed by a space (“- ”) or an asterisk (“* ”).
Special characters show as �File saved with the wrong encodingSave the file as UTF‑8.

Extension Activity

  1. Write a short script (e.g., in Python) that reads a CS \cdot file of slide titles and bullet points and generates the formatted text file automatically.
  2. Compare the time taken to create a 10‑slide presentation manually versus using the text‑file method.

Suggested diagram: Flowchart showing the process from text file creation → import → formatting → final presentation.

Summary Checklist

  • Plain‑text file saved as .txt and encoded in UTF‑8.
  • Each slide begins with a “# ” heading.
  • Bullets start with “- ” (or “* ”).
  • File imported using the appropriate “Insert from Outline” feature.
  • Slide master applied and visual elements added.