Syntax Digram DITA - EDITED - xslt

I am really struggling to make syntax diagrams work. Our company got the sources dita files from IBM. Many docs have a lot of syntax diagrams inside, and tried with the latest DITA-OT kit and it doesnt work. Can someone help me on how to get the syntax diagrams work?
I downloaded the plugins from https://github.com/robander/svg-syntaxdiagrams and put it in the plugins folder. Added the plugins to the plugin.xml file, and edited the integrator file as well, but I am not getting the output. I have done something wrong, and not able to sort it out.
Grateful if somebody help me out in this case.
EDIT: As per suggestion, i tried and it didnt work. I tried with a fresh DITA download without my company plugin, and it worked fine. So think I have a problem with my plugins and associated files. Will look more.

Related

Having challenges installing pandoc-crossref in windows

I have recently started using r markdown and I am having issues with installing pandoc-crossref in window.
I have tried approaching friends on getting the set-up but to no avail. I have tried searching on the web but couldn't find anything useful. I tried following the directions here text to no avail. I will be grateful if anyone knows where i can get the set up and how to go about installing it.
You don't give any information about what errors you receive, so it is hard to provide useful help. This being said...
Trying to guess what your problem is. It is likely that you are getting the error could not find executable pandoc-crossref when trying to compile. Assuming that that is the case, your problem might be the following. Notice that pandoc-crossref.exe is not an installer, but an executable, so double clicking on it in an attempt to install it will do nothing except bring up a terminal for an instant. Is that what you have done? Where did you place it?
Leaving pandoc-crossref.exe e.g. in your downloads folder or on your Desktop would give the could not find executable pandoc-crossref error when trying to compile, because the executable needs to be in your $PATH, or pandoc will not be able to find it and run it.
A possible solution. If my guesses above are correct, you might be able to solve your problem by placing pandoc-crossref.exe inside your pandoc program folder, where your pandoc.exe file is, which is by default in:
C:\Program Files\Pandoc\
So try to place pandoc-crossref.exe in that folder and see if it works.
If this does not help. Say exactly what it is that you tried to do, what errors you encountered, and maybe include a screenshot.

SFML - Code::Blocks can't see sfml-graphics (etc) files

I really need help with installing SFML to Code::Block.
I tried a lot of tutorials and nothing work right.
Finally I am able to compile some code (there is no problem with code, I found it on internet for testing) and everything seems ok. No errors and no warnings. But I can't run my code. The error is that program can't see the sfml-...-.dll file. But it show full path to the file, so I don't know, why it is not able to read it or use it.
Sorry, I would like to add the error here, but now it shows only in my language (which is not english) but previous state was similar error during compiling the code and code::blocks was saying that: cannot find -lsfml-graphics-d. But I certainly had the paths set and the files in the right folders. I tried several tutorials and every tutorial was quite different. So I have feeling I tried everything.
Thank you very much for answers.
Anagstrema
thanks for helping. I still don't know, where mistake was, but I found totally different advice/tutorial. And it worked. Maybe it is because sfml-graphics etc was in different order than in others tutorial (which is strange) but it worked. Here is the way which worked for me: https://en.sfml-dev.org/forums/index.php?topic=13304.msg93473#msg93473.

Stanford CoreNLP caseless classifier in NLTK

I can't find the file english.conll.4class.caseless.distsim.crf.ser.gz from the zip file downloaded from http://nlp.stanford.edu/software/stanford-ner-2015-04-20.zip .Can anyone please tell me how to get that caseless classfier from Stanford CoreNLP?
I don't think they are giving a direct gz files for caseless but are deriving via a makefile script, I checked in linux versions aswell and its not available there too, and somehow they are building it via truecaser it seems, While I dont totally understand the mechanism, below is a pointer, where I see the references in stanford core nlp git hub.
https://github.com/stanfordnlp/CoreNLP/blob/d558d95d80b36b5b45bc21882cbc0ef7452eda24/scripts/ner/Makefile
You can search for "english.conll.4class.caseless.distsim.crf.ser.gz" in corenlp github for more pointers about it.
FYI.. you can also look at older versions, as its mentioned in the doc that they have provided them seperately.
For those who face the same problem;
Download model jar from https://stanfordnlp.github.io/CoreNLP/index.html#download (There is a table that lists different models for different languages) and open/extract the jar content(e.g I used WinRar) then go to edu/stanford/nlp/models/ner directory you can find the ser.gz files for any model.

Automating Django documentation with Sphinx

I am using Sphinx to generate documentation for a Django project, and it is working really well. However it seems to be necessary to write the .rst files yourself, and once that is done, sphinx will compile the documentation from the docstrings when you run make HTML.
My questions is:
I am looking for the docs to reflect new additions to the project automatically without having to edit the .rst files manually.
As everything in Django always seems so simple, I find it odd that you have to create the rst files for the entire project manually, I would have thought that there is something that already exists, that automatically inspects the structure of the project, and builds the rst's from that.
I have looked at this project http://pypi.python.org/pypi/django-sphinx-autodoc/0.0 which looks promising, but I am surprised that there is not something more mature.
Since a while, Sphinx apidoc is bundled with Sphinx. This can create a full set of .rst files for you.
It becomes more of a problem if you want to document all the various django applications that you use in one site (this seems to be what you want). Sphinx apidoc wants a bunch of directories to scan for python packages.

How do I set up Robolectric in IntelliJ?

I know there are instructions here, but they are not clear to me at all. I have an existing project that's built using ANT, so I'm not Mavenized, and I'm not starting from scratch. An awesome tutorial with screenshots would be great, as I'm sure I'm not the only one who has had problems with this.
The only thing you can really do is to look at Pivotal's AndroidIntelliJStarter project, and mimick what they are doing. This is what I had to do to get my project setup.