Missing page numbers in the indicies of Doxygen generated PDF - pdf-generation

I'm using Doxygen 1.8.5 and I have an issue with the generated indicies (Module Index, Data Structure Index, File Index etc.).
When I generate the PDF documentation with Doxygen extra indicies chapters "Module Index", "Data Structure Index" and "File Index" are generated. Unfortunately the page numbers in that indicies are not generated correctly, so that a "??" is shown instead of the page number, similar like this:
Chapter 5
File Index
5.1 File List
Here is a list of all files with brief descriptions:
bar.c Doxygen C-file Example . . . . . . . . . . . . . . . . . . . ??
bar.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ??
foo.c Doxygen C-file Example . . . . . . . . . . . . . . . . . . . ??
foo.h Doxygen H-file Example . . . . . . . . . . . . . . . . . . . ??
Has anyone an idea what I'm doing wrong?

Try running with pdflatex command, it should generate it fine.

Ok, I found out how to workaround this issue. It seems to be a bug in Doxygen.
Just set the tag CREATE_SUBDIRS in the doxyfile to NO.

I was able to solve this problem by using MiKTeX / pdflatex: I execute pdflatex refman via command line in the folder latex/output/doxygen. After two using the command finally managed to get the page number :3
Screenshot before
Screenshot afterwards:
if you try still can't. try installing all the Requirement files
Ghostscript
HTML Help Workshop and Documentation
GraphViz
MikTex (LaTeX)
TexMaker – LaTeX Editor

Related

Does it make sense to combine DFS and BFS in maze solving at the same time

I was recently solving a maze problem which should check if there is a way from point A to point B:
. . . . . . . . . .
. A . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
. . . . . . _ _ _ _
. . . . . . | . . .
. . . . . . . . B .
. . . . . . . . . .
where in given maze the answer should be true. I was considering both DFS and BFS algorithms. In most cases BSF seems to be more efficient.
I am wondering if it makes sense to combine them both:
spread a few spies - kind of DFS
start spreading around the spy by running BFS
Would that make sense? Maybe there is an algorithm which follows similar rule?
In your case, I would surely choose DFS algorithm and will explain why:
Overall, DFS is faster and requires less memory (when talking about a wide and deep tree), than BFS and other search algorithms. The reason BFS is usually used more is that it finds the shortest path to the target (and it's better when a solution is not far from the root). But, as I see, you don't really need it. You just need to know if there is a path to the target.
Of course, there are other algorithms, like A-star and Dijkstra, but they are all about improving BFS ability to find the shortest path in less time and space, so they're not for your case.
The combined way you suggested is fine but doesn't make much difference and has a lot of issues to solve- what exact spies to choose? how much to develop each one? I think it would lead to a lot of problems instead of just a clean solution, but of course- it's my own opinion.
Good Luck! Hope it helped :)

Storage::exists tells me the file exists but I can't delete it with Storage::delete

I'm trying to delete a file inside a folder with:
Storage::delete(strtolower($fileGroup->name) . '/' . $file->filename);
But it returns false and when I check the file it's still there. When I see if the same file exists with:
Storage::exists(strtolower($fileGroup->name) . '/' . $file->filename));
It returns true.
Does anyone know what i'm doing wrong? I'm using local storage with all the default settings.
I found the problem. When uploading the file, Storage::put created a folder with the filename instead of a file. So it failed when I tried to delete it.
Storage::put($fileGroup->name . '/' . $file->getClientOriginalName() , file_get_contents($file));

Call partial file name in a linux script

I have several files: one_001_three.txt, one_002_three.txt, . . .
After removing the extension, I would like to call it such that:
${fname}_001
would call the file 'one_001'
Any ideas?
As far as i understood your Question ..
yu can use this command basename try with this and develop .
basename one_001_three.txt _three.txt -->this will give output as one_001 .
the filename doesnt get changed though .
As far as i understood your Question ..
you can use this command basename try with this and develop .
basename one_001_three.txt _three.txt -->this will give output as one_001 .
the filename doesnt get changed though

Simple Modrewrite rule

i want to redirect only this url
http://domain.com/?eID=dd_googlesitemap
to
http://domain.com/test.html
my rule is
RewriteRule http://domain.com/?eID=dd_googlesitemap http://domain.com/test.html [R=301,L]
but it doesnt work. I dont get it. Any ideas whats wrong?
. . . . . . . . . . . . . . . . . . . . . . . . . . .
The problem you're getting is that query strings and domains aren't matched by a RewriteRule. Instead you would need to specify these as conditions prior to the rule, using RewriteCond:
RewriteCond %{HTTP_HOST} ^domain\.com$
RewriteCond %{QUERY_STRING} ^eID=dd_googlesitemap$
RewriteRule ^$ http://domain.com/test.html? [R=301,L]
If you don't specify any [flags] on the RewriteCond's, then they are AND'd, so here the domain part of the requested URL (the HTTP_HOST) must be "domain.com"... "www.domain.com" will not be matched. Also, if any other options are exist in the query string, it won't match.
Finally, we rewrite a completely empty request (no additional paths, etc), to the new URL. Adding ? to the end of the URL stops the query string being added.

Batch script to echo the current task from a 'for' variable list

I'm running a batch script that calls the binary NiniteOneTrial to install a bunch of apps listed in the "applist.txt". This works great, but I want to see if there is a way to setup a variable that prints to the screen (echo) the app that is currently being installed (per the applist.txt calls):
Basically, want to replace the %%CURRENTTASKFROMLIST%% with the app currently being installed from that list.
set CACHEPATH=\\server-01\local_apps\Ninite\netcache
set file_list=C:/ninite/applist.txt
:appinstall
for /f %%1 in (%file_list%) do (
echo . . . . . . . . . . . . . . . . [ Installing %%CURRENTTASKFROMLIST%% ]
cmd /c C:/ninite/NiniteOneTrial.exe /disableautoupdate /disableshortcuts /allusers /select %%1 /silent . /cachepath %CACHEPATH%
)
From your question and comments it sounds like you want to just use %%1 where you have %%CURRENTTASKFROMLIST%%. The %%1 in the for loop will provide you with the app name that is currently being installed.

Resources