Closed lucaswerkmeister closed 9 years ago
NB: for this to work you need to have makeinfo
installed
Is that not installed by default on most Linuxes?
It wasn't on mine (Fedora 21)
btw to test I had to type info build/en/ceylon-spec
so you didn’t install it?
It wasn't on mine (Fedora 21)
seems to be part of the texinfo
package on Debian and Arch, and in both distros that package seems to be part of the base distribution
so you didn’t install it?
I ran the "ant" command just as you describe above
ant -Dlang=en lang.docinfo.install
This one should install it in your global info directory. Needs sudo
, install
, install-info
though.
I don't think the "sudo" command got executed at all
Does it ask you for credentials when you run that task?
yes
Wtf? IT's because you put -Dlang.en
in the command instead of -Dlang=en
!
But then why does it even get to the doc generation?
…oops :D
sorry, but does it work with -Dlang=en
?
yup
ok good
I should probably do something in ceylon-dist
too so that our published packages install the file as well.
Although I'm thinking of just doing an <echo>
of that install line, running sudo from a script without seeing what it is going to do is not something I normally like to do
I wrote some XSLT stylesheets that transform the spec’s Docbook into Texinfo.
To test it, run:
and then you can view the specification with
or
We could also add Texinfo→HTML and Texinfo→PDF transformation, but that’s kinda pointless, since we already have those two formats, and the Texinfo version looks worse.
Note: this pull request also contains the commit from #1407 (closes #1407), since it’s required for this to work (all nodes need to have IDs).