FS#10652 - Manual: Can't use nopt inside btnmap

Attached to Project: Rockbox
Opened by Tomer Shalev (tomers) - Monday, 05 October 2009, 10:36 GMT
Last edited by Tomer Shalev (tomers) - Tuesday, 08 December 2009, 21:01 GMT
Task Type Bugs
Category Manual
Status Closed
Assigned To Tomer Shalev (tomers)
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I don't manage to use the \nopt directive inside a btnmap. Atatched is a patch which has such use of \nopt.

Use to following command to compile the H10 manual that produces this error:
rm -rf build_doc/ && mkdir build_doc && cd build_doc && printf "14\nm\n" | ../tools/configure && make manual ;cd ..
This task depends upon

Closed by  Tomer Shalev (tomers)
Tuesday, 08 December 2009, 21:01 GMT
Reason for closing:  Not a Bug
Additional comments about closing:  Proper positioning of these directive solves the issue.
Changes applied in r23902.
Thanks, mc2739.
Comment by Michael Chicoine (mc2739) - Wednesday, 02 December 2009, 15:44 GMT
I do not think this is a bug, just a problem with the placement of the nopt.

I believe that the file I have attached does the same thing that you were trying to accomplish without causing the build failure on the H10 manual.