Giter VIP home page Giter VIP logo

ox-texinfo-plus's Introduction

Extensions for Org's Texinfo exporter

This package provides some extensions for Org's texinfo exporter defined in ox-texinfo.

  1. Create @deffn and similar definition items by writing list items in Org that look similar to what they will look like in Info. To enable this, add:

    #+TEXINFO_DEFFN: t
    

    to your Org file. After doing that, you can create definition items like so:

    - Command: magit-section-show
    
      Show the body of the current section.
    
    - Function: magit-git-exit-code &rest args
    - Macro: magit-insert-section &rest args
    - Variable: magit-display-buffer-noselect
    - User Option: magit-display-buffer-function
    - Key: q, magit-mode-bury-buffer
    
  2. Optionally share a section's node with some or all of its child sections. By default every section on every level gets its own node, and ox-texinfo provides no mechanism for changing that. To place a section in the same node as its parent section, do this:

    **** Log Performance
    :PROPERTIES:
    :NONODE: t
    :END:
    
  3. Optionally modify the Org file before exporting it. This is implemented using a hook that can be set using the BIND property:

    #+BIND: ox-texinfo+-before-export-hook some-function
    #+BIND: ox-texinfo+-before-export-hook another-function
    

    The function ox-texinfo+-update-version-strings is provided as an example. It makes some assumptions that might not be appropriate for your manuals, so you might have to define your own variant.

  4. Fully respect the local value of indent-tabs-mode from the Org file when editing source blocks and exporting. This affects all source blocks and all exporters.

    I recommend you add this at the end of Org files to avoid strange indentation, at least with the texinfo exporter:

    # Local Variables:
    # indent-tabs-mode: nil
    # End:
    

ox-texinfo-plus's People

Contributors

tarsius avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.