~bzg/worg

0c8d5679b536af450b61812246a3e02b8103f4b8 — Ihor Radchenko 1 year, 2 months ago a42f57a
* org-contrib/org-bom.org (LaTeX mode and bom-datasheet): Fix markup

Make sure that fixed width area is properly formatted.

Reported-by: Tom Alexander <tom@fizz.buzz>
Link: https://orgmode.org/list/f141ea29-f3ec-4d0d-bc7a-195791ecd9a0@app.fastmail.com
1 files changed, 4 insertions(+), 4 deletions(-)

M org-contrib/org-bom.org
M org-contrib/org-bom.org => org-contrib/org-bom.org +4 -4
@@ 486,17 486,17 @@ is non-nil, various latex commands will be inserted."
  *:description t* will add a summary of all the components used in
  this buffer with their description, just before the datasheets.

:  #+BEGIN: bom-datasheet
: #+BEGIN: bom-datasheet
:  
:  #+LaTeX: \includepdf[pages=-,landscape=true,addtotoc={1, subsection, 1, CDs,CD.pdf}]{\DATASHEETPATH/CD.pdf}
: #+LaTeX: \includepdf[pages=-,landscape=true,addtotoc={1, subsection, 1, CDs,CD.pdf}]{\DATASHEETPATH/CD.pdf}
:  
:  #+END:
: #+END:

  As you may have noticed, there's a LaTeX variable in this command:
        \DATASHEETPATH. In order to work, you must set this variable
        using:

:	#+LATEX_HEADER: \newcommand{\DATASHEETPATH}{Name-of-the-folder/}'
: #+LATEX_HEADER: \newcommand{\DATASHEETPATH}{Name-of-the-folder/}'

	Name-of-the-folder is the folder where the datasheets' files
        are located.