Short answer: No.
[s]XX.jpg[/s] is only for images, sounds and videos. Not to embed any kind of resource like PDFs or flash movies.
GoldenDict might be able to render embedded resources if the right browser plugin (http://en.wikipedia.org/wiki/NPAPI
) is installed in the system. But DSL format does not have any option to render the html tag for this to happen (<embed> tag).
What you can do, is to add a link to the PDF file stored locally, so when you click on it, GD opens the doc in the application you have installed to handle PDF files. This is a trick, so it might work or not. Give it a try and let me know:
1) Search anything in that DSL dictionary.
2) Save the html (File > Save Article).
3) Open the web page in any text editor and search "gdfrom-".
4) Take note of the number. This is the dictionary's id. Example: gdfrom-49d5ebdb58d74708825e5f757739608c
5) Move your pdf to the same directory where the DSL file is located. Example: mypdf.pdf
6) Edit your DSL file and add a link to your PDF as follow:
- Code: Select all
7) Delete the dictionary inside GoldenDict (Edit > Dictionaries). Then added it again and perform a Rescan.
8) Search the term in the dictionary and verify the link works.