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, 5 Jan 2018 12:17:47 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

Okay, finally found it.  See doc/interpreter/module.mk which is part of the
Automake environment.  There is this comment in the file.


## As of version 1.14.1, automake does not seem to generate
## rules for DVI, PDF, or HTML output that work for us when
## there are additional dependencies, so we include our own
## versions of the rules here.


The rule for pdf is


%reldir%/octave.pdf: %reldir%/octave.texi
$(srcdir)/%reldir%/version-octave.texi | %reldir%/$(am__dirstamp)
        
$(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS"
\
        MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I 
doc/interpreter
-I $(abs_top_srcdir)/doc/interpreter' \
        $(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@
$(AM_V_texidevnull) \
        `test -f '%reldir%/octave.texi' || echo
'$(abs_top_srcdir)/'`%reldir%/octave.texi


The rule for html is


$(OCTAVE_HTML_STAMP): %reldir%/octave.texi
$(srcdir)/%reldir%/version-octave.texi | %reldir%/$(am__dirstamp)
        $(AM_V_MAKEINFO)rm -rf $(OCTAVE_HTML_DIR)
        $(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
         -I doc/interpreter -I $(abs_top_srcdir)/doc/interpreter \
         --css-ref=octave.css \
         -o $(OCTAVE_HTML_TMP_DIR) `test -f '%reldir%/octave.texi' || echo
'$(abs_top_srcdir)/'`%reldir%/octave.texi; \
        then \
          rm -rf $(OCTAVE_HTML_DIR) && \
          mv $(OCTAVE_HTML_TMP_DIR) $(OCTAVE_HTML_DIR) && \
          touch $@; \
        else \
          rm -rf $(OCTAVE_HTML_TMP_DIR); exit 1; \
        fi


The HTML rule does not set the TEXINPUTS variable.

There are two things.  We can fix this in the short term by adding in the
correct variables from one of the other rules.  Secondarily, we should go back
and check whether that original comment is still correct and we need to
provide all of these build rules ourselves.  I'm stopping my own work on this
bug as I've got some others to attend to.



    _______________________________________________________

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]