diff mbox

force latex to generate docs

Message ID 1413895175-9485-1-git-send-email-maxim.uvarov@linaro.org
State New
Headers show

Commit Message

Maxim Uvarov Oct. 21, 2014, 12:39 p.m. UTC
make doxygen-doc calls latex to generate odp documentation,
but in case if any error it stops and expects user input.
Force latex progress and show errors/warnings on screen.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 aminclude.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Mike Holmes Oct. 21, 2014, 1:39 p.m. UTC | #1
This did not stop latex waiting for input for me

doxygen --version
1.8.6

mike@fedora1:~/git/odp$ latex --version
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
kpathsea version 6.1.1
Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.49; using libpng 1.2.50
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.24.5

mike@fedora1:~/git/odp$ git log
commit 256eb111c110ce742fc320b9a2a2333f460147f4
Author: Maxim Uvarov <maxim.uvarov@linaro.org>
Date:   Tue Oct 21 16:39:35 2014 +0400

    force latex to generate docs

    make doxygen-doc calls latex to generate odp documentation,
    but in case if any error it stops and expects user input.
    Force latex progress and show errors/warnings on screen.

    Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>


Procedure:

apply patch
./bootstrap
./configure
make doxygen-pdf

It still hangs up waiting for user input


On 21 October 2014 08:39, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:

> make doxygen-doc calls latex to generate odp documentation,
> but in case if any error it stops and expects user input.
> Force latex progress and show errors/warnings on screen.
>
> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
> ---
>  aminclude.am | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/aminclude.am b/aminclude.am
> index a8ce032..247c8af 100644
> --- a/aminclude.am
> +++ b/aminclude.am
> @@ -85,14 +85,14 @@ doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps
>  @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag
>         cd @DX_DOCDIR@/latex; \
>         rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
> -       $(DX_LATEX) refman.tex; \
> +       $(DX_LATEX) -interaction=nonstopmode refman.tex; \
>         $(MAKEINDEX_PATH) refman.idx; \
> -       $(DX_LATEX) refman.tex; \
> +       $(DX_LATEX) -interaction=nonstopmode refman.tex; \
>         countdown=5; \
>         while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
>                           refman.log > /dev/null 2>&1 \
>            && test $$countdown -gt 0; do \
> -           $(DX_LATEX) refman.tex; \
> +           $(DX_LATEX) -interaction=nonstopmode refman.tex; \
>             countdown=`expr $$countdown - 1`; \
>         done; \
>         $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi
> --
> 1.8.5.1.163.gd7aced9
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov Oct. 21, 2014, 2:23 p.m. UTC | #2
Interesting I can not reproduce it:
doxygen --version
1.8.5

can you do ps ax to show which command requires user input? Is it latex 
with my options?

Maxim.


On 10/21/2014 05:39 PM, Mike Holmes wrote:
> This did not stop latex waiting for input for me
>
> doxygen --version
> 1.8.6
>
> mike@fedora1:~/git/odp$ latex --version
> pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
> kpathsea version 6.1.1
> Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
> There is NO warranty.  Redistribution of this software is
> covered by the terms of both the pdfTeX copyright and
> the Lesser GNU General Public License.
> For more information about these matters, see the file
> named COPYING and the pdfTeX source.
> Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh 
> (pdfTeX).
> Compiled with libpng 1.2.49; using libpng 1.2.50
> Compiled with zlib 1.2.8; using zlib 1.2.8
> Compiled with poppler version 0.24.5
>
> mike@fedora1:~/git/odp$ git log
> commit 256eb111c110ce742fc320b9a2a2333f460147f4
> Author: Maxim Uvarov <maxim.uvarov@linaro.org 
> <mailto:maxim.uvarov@linaro.org>>
> Date:   Tue Oct 21 16:39:35 2014 +0400
>
>     force latex to generate docs
>     make doxygen-doc calls latex to generate odp documentation,
>     but in case if any error it stops and expects user input.
>     Force latex progress and show errors/warnings on screen.
>     Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org 
> <mailto:maxim.uvarov@linaro.org>>
>
>
> Procedure:
>
> apply patch
> ./bootstrap
> ./configure
> make doxygen-pdf
>
> It still hangs up waiting for user input
>
>
> On 21 October 2014 08:39, Maxim Uvarov <maxim.uvarov@linaro.org 
> <mailto:maxim.uvarov@linaro.org>> wrote:
>
>     make doxygen-doc calls latex to generate odp documentation,
>     but in case if any error it stops and expects user input.
>     Force latex progress and show errors/warnings on screen.
>
>     Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org
>     <mailto:maxim.uvarov@linaro.org>>
>     ---
>     aminclude.am <http://aminclude.am> | 6 +++---
>      1 file changed, 3 insertions(+), 3 deletions(-)
>
>     diff --git a/aminclude.am <http://aminclude.am> b/aminclude.am
>     <http://aminclude.am>
>     index a8ce032..247c8af 100644
>     --- a/aminclude.am <http://aminclude.am>
>     +++ b/aminclude.am <http://aminclude.am>
>     @@ -85,14 +85,14 @@ doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps
>      @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag
>             cd @DX_DOCDIR@/latex; \
>             rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
>     -       $(DX_LATEX) refman.tex; \
>     +       $(DX_LATEX) -interaction=nonstopmode refman.tex; \
>             $(MAKEINDEX_PATH) refman.idx; \
>     -       $(DX_LATEX) refman.tex; \
>     +       $(DX_LATEX) -interaction=nonstopmode refman.tex; \
>             countdown=5; \
>             while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references
>     right)' \
>                               refman.log > /dev/null 2>&1 \
>                && test $$countdown -gt 0; do \
>     -           $(DX_LATEX) refman.tex; \
>     +           $(DX_LATEX) -interaction=nonstopmode refman.tex; \
>                 countdown=`expr $$countdown - 1`; \
>             done; \
>             $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi
>     --
>     1.8.5.1.163.gd7aced9
>
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> -- 
> *Mike Holmes*
> Linaro  Sr Technical Manager
> LNG - ODP
Anders Roxell Oct. 23, 2014, 12:11 p.m. UTC | #3
On 2014-10-21 18:23, Maxim Uvarov wrote:
> Interesting I can not reproduce it:
> doxygen --version
> 1.8.5

My doxygen version:
$ doxygen --version
1.8.8

I have no problem building pdfs at all. =)

Cheers,
Anders

> 
> can you do ps ax to show which command requires user input? Is it
> latex with my options?
> 
> Maxim.
> 
> 
> On 10/21/2014 05:39 PM, Mike Holmes wrote:
> >This did not stop latex waiting for input for me
> >
> >doxygen --version
> >1.8.6
> >
> >mike@fedora1:~/git/odp$ latex --version
> >pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
> >kpathsea version 6.1.1
> >Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
> >There is NO warranty.  Redistribution of this software is
> >covered by the terms of both the pdfTeX copyright and
> >the Lesser GNU General Public License.
> >For more information about these matters, see the file
> >named COPYING and the pdfTeX source.
> >Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh
> >(pdfTeX).
> >Compiled with libpng 1.2.49; using libpng 1.2.50
> >Compiled with zlib 1.2.8; using zlib 1.2.8
> >Compiled with poppler version 0.24.5
> >
> >mike@fedora1:~/git/odp$ git log
> >commit 256eb111c110ce742fc320b9a2a2333f460147f4
> >Author: Maxim Uvarov <maxim.uvarov@linaro.org
> ><mailto:maxim.uvarov@linaro.org>>
> >Date:   Tue Oct 21 16:39:35 2014 +0400
> >
> >    force latex to generate docs
> >    make doxygen-doc calls latex to generate odp documentation,
> >    but in case if any error it stops and expects user input.
> >    Force latex progress and show errors/warnings on screen.
> >    Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org
> ><mailto:maxim.uvarov@linaro.org>>
> >
> >
> >Procedure:
> >
> >apply patch
> >./bootstrap
> >./configure
> >make doxygen-pdf
> >
> >It still hangs up waiting for user input
> >
> >
> >On 21 October 2014 08:39, Maxim Uvarov <maxim.uvarov@linaro.org
> ><mailto:maxim.uvarov@linaro.org>> wrote:
> >
> >    make doxygen-doc calls latex to generate odp documentation,
> >    but in case if any error it stops and expects user input.
> >    Force latex progress and show errors/warnings on screen.
> >
> >    Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org
> >    <mailto:maxim.uvarov@linaro.org>>
> >    ---
> >    aminclude.am <http://aminclude.am> | 6 +++---
> >     1 file changed, 3 insertions(+), 3 deletions(-)
> >
> >    diff --git a/aminclude.am <http://aminclude.am> b/aminclude.am
> >    <http://aminclude.am>
> >    index a8ce032..247c8af 100644
> >    --- a/aminclude.am <http://aminclude.am>
> >    +++ b/aminclude.am <http://aminclude.am>
> >    @@ -85,14 +85,14 @@ doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps
> >     @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag
> >            cd @DX_DOCDIR@/latex; \
> >            rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
> >    -       $(DX_LATEX) refman.tex; \
> >    +       $(DX_LATEX) -interaction=nonstopmode refman.tex; \
> >            $(MAKEINDEX_PATH) refman.idx; \
> >    -       $(DX_LATEX) refman.tex; \
> >    +       $(DX_LATEX) -interaction=nonstopmode refman.tex; \
> >            countdown=5; \
> >            while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references
> >    right)' \
> >                              refman.log > /dev/null 2>&1 \
> >               && test $$countdown -gt 0; do \
> >    -           $(DX_LATEX) refman.tex; \
> >    +           $(DX_LATEX) -interaction=nonstopmode refman.tex; \
> >                countdown=`expr $$countdown - 1`; \
> >            done; \
> >            $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi
> >    --
> >    1.8.5.1.163.gd7aced9
> >
> >
> >    _______________________________________________
> >    lng-odp mailing list
> >    lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
> >    http://lists.linaro.org/mailman/listinfo/lng-odp
> >
> >
> >
> >
> >-- 
> >*Mike Holmes*
> >Linaro  Sr Technical Manager
> >LNG - ODP
> 
> 
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
Maxim Uvarov Oct. 23, 2014, 12:13 p.m. UTC | #4
On 10/23/2014 04:11 PM, Anders Roxell wrote:
> On 2014-10-21 18:23, Maxim Uvarov wrote:
>> Interesting I can not reproduce it:
>> doxygen --version
>> 1.8.5
> My doxygen version:
> $ doxygen --version
> 1.8.8
>
> I have no problem building pdfs at all. =)
>
> Cheers,
> Anders

latext expects user input, not doxygen.

Maxim.

>> can you do ps ax to show which command requires user input? Is it
>> latex with my options?
>>
>> Maxim.
>>
>>
>> On 10/21/2014 05:39 PM, Mike Holmes wrote:
>>> This did not stop latex waiting for input for me
>>>
>>> doxygen --version
>>> 1.8.6
>>>
>>> mike@fedora1:~/git/odp$ latex --version
>>> pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
>>> kpathsea version 6.1.1
>>> Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
>>> There is NO warranty.  Redistribution of this software is
>>> covered by the terms of both the pdfTeX copyright and
>>> the Lesser GNU General Public License.
>>> For more information about these matters, see the file
>>> named COPYING and the pdfTeX source.
>>> Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh
>>> (pdfTeX).
>>> Compiled with libpng 1.2.49; using libpng 1.2.50
>>> Compiled with zlib 1.2.8; using zlib 1.2.8
>>> Compiled with poppler version 0.24.5
>>>
>>> mike@fedora1:~/git/odp$ git log
>>> commit 256eb111c110ce742fc320b9a2a2333f460147f4
>>> Author: Maxim Uvarov <maxim.uvarov@linaro.org
>>> <mailto:maxim.uvarov@linaro.org>>
>>> Date:   Tue Oct 21 16:39:35 2014 +0400
>>>
>>>     force latex to generate docs
>>>     make doxygen-doc calls latex to generate odp documentation,
>>>     but in case if any error it stops and expects user input.
>>>     Force latex progress and show errors/warnings on screen.
>>>     Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org
>>> <mailto:maxim.uvarov@linaro.org>>
>>>
>>>
>>> Procedure:
>>>
>>> apply patch
>>> ./bootstrap
>>> ./configure
>>> make doxygen-pdf
>>>
>>> It still hangs up waiting for user input
>>>
>>>
>>> On 21 October 2014 08:39, Maxim Uvarov <maxim.uvarov@linaro.org
>>> <mailto:maxim.uvarov@linaro.org>> wrote:
>>>
>>>     make doxygen-doc calls latex to generate odp documentation,
>>>     but in case if any error it stops and expects user input.
>>>     Force latex progress and show errors/warnings on screen.
>>>
>>>     Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org
>>>     <mailto:maxim.uvarov@linaro.org>>
>>>     ---
>>>     aminclude.am <http://aminclude.am> | 6 +++---
>>>      1 file changed, 3 insertions(+), 3 deletions(-)
>>>
>>>     diff --git a/aminclude.am <http://aminclude.am> b/aminclude.am
>>>     <http://aminclude.am>
>>>     index a8ce032..247c8af 100644
>>>     --- a/aminclude.am <http://aminclude.am>
>>>     +++ b/aminclude.am <http://aminclude.am>
>>>     @@ -85,14 +85,14 @@ doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps
>>>      @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag
>>>             cd @DX_DOCDIR@/latex; \
>>>             rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
>>>     -       $(DX_LATEX) refman.tex; \
>>>     +       $(DX_LATEX) -interaction=nonstopmode refman.tex; \
>>>             $(MAKEINDEX_PATH) refman.idx; \
>>>     -       $(DX_LATEX) refman.tex; \
>>>     +       $(DX_LATEX) -interaction=nonstopmode refman.tex; \
>>>             countdown=5; \
>>>             while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references
>>>     right)' \
>>>                               refman.log > /dev/null 2>&1 \
>>>                && test $$countdown -gt 0; do \
>>>     -           $(DX_LATEX) refman.tex; \
>>>     +           $(DX_LATEX) -interaction=nonstopmode refman.tex; \
>>>                 countdown=`expr $$countdown - 1`; \
>>>             done; \
>>>             $(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi
>>>     --
>>>     1.8.5.1.163.gd7aced9
>>>
>>>
>>>     _______________________________________________
>>>     lng-odp mailing list
>>>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>>>     http://lists.linaro.org/mailman/listinfo/lng-odp
>>>
>>>
>>>
>>>
>>> -- 
>>> *Mike Holmes*
>>> Linaro  Sr Technical Manager
>>> LNG - ODP
>>
>> _______________________________________________
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

diff --git a/aminclude.am b/aminclude.am
index a8ce032..247c8af 100644
--- a/aminclude.am
+++ b/aminclude.am
@@ -85,14 +85,14 @@  doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps
 @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag
 	cd @DX_DOCDIR@/latex; \
 	rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
-	$(DX_LATEX) refman.tex; \
+	$(DX_LATEX) -interaction=nonstopmode refman.tex; \
 	$(MAKEINDEX_PATH) refman.idx; \
-	$(DX_LATEX) refman.tex; \
+	$(DX_LATEX) -interaction=nonstopmode refman.tex; \
 	countdown=5; \
 	while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
 	                  refman.log > /dev/null 2>&1 \
 	   && test $$countdown -gt 0; do \
-	    $(DX_LATEX) refman.tex; \
+	    $(DX_LATEX) -interaction=nonstopmode refman.tex; \
 	    countdown=`expr $$countdown - 1`; \
 	done; \
 	$(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi