Speaking for myself I really would appreciate if we could add pdfs manually to our Keil projects. I don't find the books tab very handy, the default datasheet and summary have to be downloaded from online and as these uC manuals are >1000 pages it is rather annoying to wait for it to download each time.
...If we could do away with the books tab and just allow for a folder to be added to the Project tab and let all PDFs added to a "PDFs" folder be ignored by compiler that would be best in my opinion.
If you right-click in the 'Books' tab, you will get a 'Manage Books' option in the pop-up menu. As the name suggests, it allows you to manage - add, remove, etc, - the books!
http://www.keil.com/support/man/docs/uv4/uv4_dg_prjbooks.htm
http://www.keil.com/support/man/docs/uv4/uv4_ui_manage_books.htm
-OK lets try this. I have my project open. I switch from the 'Project Window' tab to the 'Books' tab. I right click on "Device Data Books" I select "Manage books". The window "Components, Environment, and Books" opens up. I select the "Books" tab. I want to edit the "Datasheet" under the third column ('Device Specific') so I highlight it. I then click on "Change Book" and nothing happens! OK fine. So lets just add the PDF. I click below the 'Summary' entry and the button below changes text to 'New Book...'. A window pops up for me to name the document and select the location of the pdf. I hit OK and go bacl to the books tab. The new pdf link is there and I am able to double click and the pdf opens -So that works. But that was pretty painful/nonintuitive no?
Earlier I had added the pdf to to 'General Books' but the path gets redirected back to the keil folder and since my pdf is not there when I click on the link from my project keil says the file cannot be found. ...Also Why doesn't the "Device Specific" window did not have 'new' 'delete' or move up move down arrows at the top of the window column like the first two columns do? and why can't I delete the default 'DataSheet' and 'Summary'?
You can already do exactly that! -OK lets try it. I go from books back to my 'Project Window' tab. I right click on my main project folder and added a new source group. I name that folder 'PDF'. I right click to add a file to the group. I navigate to the location of the PDF I select it. Keil comes up wit ha window "Get Filetype for '*.pdf'". There is no pdf option in the file type. So what am I doing wrong?
You can also add to the 'Books' tab by editing Tools.ini -Ya I messed with that but All I really want to do is add the uCs TDS pdf and the Programmers manual, along with some other application not pdfs. Being able to add it to the project folder would make things a lot more intuitive.
Sincere thanks. But still looking for resoluation. Not so much on manage books as I have never used it much. But I would like to be able to add a pdf folder to my project.
"So lets just add the PDF. I click below the 'Summary' entry and the button below changes text to 'New Book...'. A window pops up for me to name the document and select the location of the pdf. I hit OK and go bacl to the books tab. The new pdf link is there and I am able to double click and the pdf opens -So that works. But that was pretty painful/nonintuitive no?"
It's pretty much the same process as adding a source file to a project - isn't it?
Ah, you're right - it doesn't work!
:-(
You can specify a Custom Translator to be used during the build, but you can't specify a custom "viewer".
Personally, I would just have the PDFs (or, maybe, shortcuts to them) in the project folder, and open them directly with the Acrobat reader in the usual way; I don't feel the need to have every last thing (mis-)managed from within the IDE - whether it's uVision or anything else.