octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52775] PDF user manual uses a backward apostr


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52775] PDF user manual uses a backward apostrophe ` in code examples
Date: Thu, 11 Jan 2018 23:14:57 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #22, bug #52775 (project octave):

Well, there is still the idea of defining @sortas{} to be nothing, under the
condition the feature test fails.  It appears Texinfo might be able to read
environment variables:

https://ftp.gnu.org/old-gnu/Manuals/texinfo-4.2/html_node/env.html#env

So, maybe it's as simple as:

CONFIGURE FEATURE TEST

linux@ ~/octave $ (echo "\input texinfo" && echo "@cindex @sortas{test} ing"
&& echo "@bye") > testtexinfo.texi; texi2dvi --quiet testtexinfo.texi
/usr/bin/texi2dvi: etex exited with bad status, quitting.
(set TEXINFO_MISSING_SORTAS in the usual way)


INSIDE interpreter/macros.texi

@if @env{TEXINFO_MISSING_SORTAS}
@macro sortas{param1}
@end macro
@end 


The consequence is that some of the index entries will appear in unintended
locations fit he builders Texinfo is old.  But the unintended locations will
still be reasonable because it will sort by the entry (instead of a hidden
slight-variation on the entry).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52775>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]