[Geany-Users] geany Compile - Strange error message
rch
rch at skynet.be
Tue Oct 4 12:47:19 UTC 2016
Magic!
That worked out of the box
Many thanks
Richard H
For others who may come this way ...
Lex Trotman wrote:
> "menu->tools->configuration files->filetype configuration->markup
> languages->filetypes.asciidoc" and it will save in the right place in
> your config.
So I did
"menu->tools->configuration files->etc
This opened a file which according to "Tools ->Copy File Path" is
~/.config/geany/filedefs/filetypes.asciidoc
It was just 35 lines, and no sign of a [build-menu] section
So I pasted in the afore-mentioned
[build-menu]
FT_00_LB=Compile
FT_00_CM=asciidoctor "%d/%f" -a icons,toc=left -o "%e.html"
FT_00_WD=
EX_00_LB=_Execute
EX_00_CM=asciidoctor "%d/%f" -a icons,toc=left -o "%e.html"
EX_00_WD=
I closed the file, closed geany, reopened geany,
and now *.adoc files compile to html just like they used to
Diagnosis
Looks like I corrupted /lost the original copy of filetypes.asciidoc
R. H.
On 10/04/2016 01:48 PM, Lex Trotman wrote:
> I am not quite sure how you are setting the commands.
>
> Geany has a builtin filetype which is called asciidoc, not adoc.
>
> You can edit the filetype specific build settings in the
> "menu->tools->configuration files->filetype configuration->markup
> languages->filetypes.asciidoc" and it will save in the right place in
> your config.
>
> If I paste your [build-menu] section from below in the empty file
> opened by the menu above and save (and reload configuration) it works
> fine.
>
> I'm not sure what you are doing with the template file, thats not
> where commands go.
>
> Cheers
> Lex
>
> On 4 October 2016 at 20:51, rch <rch at skynet.be> wrote:
>>
>> Dear Geany users
...snip...
More information about the Users
mailing list