For Linux users, the 'wc' shell command will say if there are non-ASCII
characters.
- Damon


                                                                                
                                                                    
  From:       Arthur Schwarz <aschwarz1...@att.net>                             
                                                                    
                                                                                
                                                                    
  To:         Hugo Benicio <hbobeni...@gmail.com>, Dimitri van Heesch 
<doxy...@gmail.com>                                                           
                                                                                
                                                                    
  Cc:         "doxygen-users@lists.sourceforge.net List" 
<doxygen-users@lists.sourceforge.net>                                           
           
                                                                                
                                                                    
  Date:       11/26/2013 04:06 PM                                               
                                                                    
                                                                                
                                                                    
  Subject:    Re: [Doxygen-users] Missing "refman" tex file for PDF output      
generation                                                          
                                                                                
                                                                    







If you're searching for single non-ASCII characters let me suggest that you
write a simple program to check for them. Nothing fancy, maybe something
like (in C):

#include <stdio.h>
void SimpleProgram(char* filename) {
    FILE* stdin = fopen(filename, 'r');
    int chr;
    while( chr = fgetc(stdin) ) {
        if (chr < ' ') {
            switch(chr) {
                case '\n':
                case '\t':
                case '\r':
                    break;
                default: {
                  // tsk, tsk

                }

            }

        else if (chr > '~') {
            // bad, bad boy

        }

    }

}

This is ugly code (in C or a C++ equivalent). But it's cheep to write, easy
to debug, and (I believe) will work. The checking each file is time
consuming (not that I haven't done it or won't continue to do it). But if
you have many files and searching for a known fault, a filter is probably
better.

NOTE: THIS IS NOT GOOD CODE. There are much faster and cleaner ways to
filter.


art
________________________________




Really thanks for all the anwsers

@Robert
Really good point. I'll take a look at it. My project is pretty large,
though. But it's worth a try, definitely.
Let's see if I find a file with non visible characters like yours.

@Wendell
I did it, but, as I said, my "make" command fails with the some errors
telling that refmain.tex is missing (it's the root latex file supposed to
be generated by doxygen).

@Dimitri
No, my layout_file flag points to nothing
LAYOUT_FILE            =

I'm trying robert's suggestion tomorrow. If I discover what is going wrong
with nice self-contained examples, I'll be glad to report it on bugzilla.
Let's see what I get then...

Thanks to all,
Hugo Benício.



On Tue, Nov 26, 2013 at 5:13 PM, Dimitri van Heesch <doxy...@gmail.com>
wrote:

Hi Hugo,
>
>Doxygen should always generate a refman.tex file in the latex output
directory.
>Are you using a custom layout file (non-empty LAYOUT_FILE option)?
>If you can capture the behaviour you see in a small self-contained example
(=source+config file in a tar or zip) then
>please file a bug report for it here:
https://bugzilla.gnome.org/enter_bug.cgi?product=doxygen
>
>Regards,
>  Dimitri
>
>
>On 26 Nov 2013, at 20:40 , Hugo Benicio <hbobeni...@gmail.com> wrote:
>
>> Anyone?
>> I really need to generate a pdf documentation but, without any error
messages and help from here, It will be almost impossible for me,
unfortunately...
>>
>> PS.: My doxy file flags relative to Latex/PDF Generation
>>
>> GENERATE_LATEX         = YES
>> USE_PDFLATEX           = YES
>>
>>
>> On Fri, Nov 22, 2013 at 2:52 PM, Hugo Benicio <hbobeni...@gmail.com>
wrote:
>> Hi all!
>>
>> I'm trying to generate a PDF documentation of our project here.
>> What is going wrong is that when Latex output is generated, no
"refman.tex" file is generated.
>> Apparently there were no errors on doxygen log (only warnings).
>>
>> This is the doxygen log: http://justpaste.it/dnt7
>>
>> and after a "make pdf" command, I get the following:
>> c:\SIGA\trunk\docs\doxygen\latex>pdflatex refman
>> This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9)
>> entering extended mode
>> ! I can't find file `refman'.
>> <*> refman
>>
>> pdflatex couldn't find 'refman' because it doesn't exist. Doxygen
couldn't generate it for some mysterious reason I don't know why.
>>
>> Any clues about that?
>>
>> Thanks in advance,
>> Hugo Benício.
>>
>>
>
>>
------------------------------------------------------------------------------

>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into
your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
AppDynamics Pro!
>>
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk_______________________________________________

>> Doxygen-users mailing list
>> Doxygen-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/doxygen-users
>
>

------------------------------------------------------------------------------

Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

------------------------------------------------------------------------------

Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users




------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to