emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
To: emacs-orgmode@gnu.org
Subject: Texinfo exporter fails to export M-x helm-documentation
Date: Fri, 9 Apr 2021 20:34:12 +0530	[thread overview]
Message-ID: <TY2PR0101MB3693E7A6C262EC3687E2BE20DA739@TY2PR0101MB3693.apcprd01.prod.exchangelabs.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]


I was trying to learn [Helm](https://github.com/emacs-helm/helm), is
an Emacs framework for incremental completions and narrowing
selections

The official documentation is generated by M-x helm-documentation, and
it is org format.  I wanted to read the documentation as an info file.
So, when I exporter to texinfo format, I found some issues.

I am attaching a stripped version of the documentation that is posing
problems.  The problem is with level 5 headers.  One such thing is at
https://github.com/emacs-helm/helm/blob/45450d57d5ff97e1a6fbd2a9816ae912ac50edcb/helm-help.el#L651.
I am exporting the file with option set to H:5.

See attachment for the problematic org file, texi output and the error
generated by texinfo exporter.

There are bunch of other issues that the helm documentation poses.  I
will take these up as soon as this bug is addressed.









[-- Attachment #2: *Org INFO Texinfo Output*.txt --]
[-- Type: text/plain, Size: 490 bytes --]

helmdocumentation.org.texi:83: @menu reference to nonexistent node `Recursively rename all files with "JPG" extension to "jpg"'
helmdocumentation.org.texi:84: @menu reference to nonexistent node `Batch-rename files from number 001 to 00x'
helmdocumentation.org.texi:43: @detailmenu reference to nonexistent node `Recursively rename all files with "JPG" extension to "jpg"'
helmdocumentation.org.texi:44: @detailmenu reference to nonexistent node `Batch-rename files from number 001 to 00x'

[-- Attachment #3: helmdocumentation.org.texi --]
[-- Type: text/x-texinfo, Size: 2014 bytes --]

\input texinfo    @c -*- texinfo -*-
@c %**start of header
@setfilename helmdocumentation.org.info
@settitle helmdocumentation.org
@documentencoding UTF-8
@documentlanguage en
@c %**end of header

@finalout
@titlepage
@title helmdocumentation.org
@author Ramesh Nedunchezian
@end titlepage

@contents

@ifnottex
@node Top
@top helmdocumentation.org
@end ifnottex

@menu
* Helm Find Files::

@detailmenu
--- The Detailed Node Listing ---

Helm Find Files

* Tips::

Tips

* Use the wildcard to select multiple files::
* Query replace regexp on filenames::

Query replace regexp on filenames

* Examples::

Examples

* Recursively rename all files with ".JPG" extension to ".jpg": Recursively rename all files with "JPG" extension to "jpg". 
* Batch-rename files from number 001 to 00x::


@end detailmenu
@end menu

@node Helm Find Files
@chapter Helm Find Files

@menu
* Tips::
@end menu

@node Tips
@section Tips

@menu
* Use the wildcard to select multiple files::
* Query replace regexp on filenames::
@end menu

@node Use the wildcard to select multiple files
@subsection Use the wildcard to select multiple files

Use of wildcard is supported to run an action over a set of files.

@node Query replace regexp on filenames
@subsection Query replace regexp on filenames

Replace different parts of a file basename with something else.

@menu
* Examples::
@end menu

@node Examples
@subsubsection Examples

@menu
* Recursively rename all files with ".JPG" extension to ".jpg": Recursively rename all files with "JPG" extension to "jpg". 
* Batch-rename files from number 001 to 00x::
@end menu

@enumerate
@item
Recursively rename all files with ".JPG" extension to ".jpg"


Use the ‘helm-file-globstar’ feature described in recursive globbing
by entering "**.JPG" at the end of the Helm-find-files pattern, then hit
M-@@ and enter "JPG" on first prompt, then "jpg" on second prompt and hit ‘RET’.

@item
Batch-rename files from number 001 to 00x


Use "\#" inside the second prompt.
@end enumerate

@bye

[-- Attachment #4: helmdocumentation.org.org --]
[-- Type: application/vnd.lotus-organizer, Size: 1174 bytes --]

             reply	other threads:[~2021-04-09 15:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-09 15:04 Ramesh Nedunchezian [this message]
2021-04-09 20:35 ` Texinfo exporter fails to export M-x helm-documentation Nicolas Goaziou
2021-05-31 19:41   ` Jonas Bernoulli
2021-06-02 15:23     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TY2PR0101MB3693E7A6C262EC3687E2BE20DA739@TY2PR0101MB3693.apcprd01.prod.exchangelabs.com \
    --to=rameshnedunchezian@outlook.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).