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: Rik
Subject: [Octave-bug-tracker] [bug #52775] PDF user manual uses a backward apostrophe ` in code examples
Date: Fri, 12 Jan 2018 13:17:39 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

The code to disable documentation is already present in configure.ac.  I've
quoted it below:


### Need to disable building documentation if either gnuplot or
### makeinfo are missing.  Skip these warnings if building docs was
### intentionally disabled with a configure option.

ENABLE_DOCS=yes
AC_ARG_ENABLE([docs],
  [AS_HELP_STRING([--disable-docs], [don't build documentation files])],
  [if test "$enableval" = no; then
     ENABLE_DOCS=no
     warn_docs="building documentation disabled; make dist will fail"
     OCTAVE_CONFIGURE_WARNING([warn_docs])
   fi], [])
if test $ENABLE_DOCS = yes; then
  if test $opengl_graphics = no || test -n "$warn_OSMesa"; then
    if test -n "$warn_gnuplot"; then
      ENABLE_DOCS=no
      warn_docs_graphics="building documentation disabled because no suitable
graphics toolkit is available; make dist will fail"
        OCTAVE_CONFIGURE_WARNING([warn_docs_graphics])
    fi
  fi
  if test -n "$warn_makeinfo"; then
    ENABLE_DOCS=no
    warn_docs_makeinfo="building documentation disabled because makeinfo was
not found; make dist will fail"
    OCTAVE_CONFIGURE_WARNING([warn_docs_makeinfo])
  fi
fi
if test $ENABLE_DOCS = yes; then
  AC_DEFINE(ENABLE_DOCS, 1,
    [Define to 1 to build Octave documentation files.])
fi
AM_CONDITIONAL([AMCOND_BUILD_DOCS], [test $ENABLE_DOCS = yes])


There is also a macro OCTAVE_PROG_MAKEINFO in m4/acinclude.m4 which checks for
the existence of makeinfo and sets the "warn_makeinfo" variable used above. 
It seems like the OCTAVE_PROG_MAKEINFO macro should be extended to test not
only for presence of makeinfo, but also the capability to parse @sortas. 
There is no need to test for @codequoteundirected because if makeinfo supports
@sortas it will definitely support the other one.



    _______________________________________________________

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]