Hi You can use the --data command line argument if I understand correctly the question.. If you only use the library then you need to set up the corresponding argument when you initialize the library
Cheers Lorenzo Messaggio inviato dal mio ASUS MeMO Pad Dario Teixeira <[email protected]> ha scritto: >Hi, > >I've opened a ticket regarding the addition of S-expressions >as an outlang for GNU Source-highlight [1]. It will of course >take time for such an addition to percolate down to user distros, >which is why I'm looking for a convenient interim solution for >Camlhighlight users [2]. > >At the moment I'm asking Camlhighlight users to manually copy >the sexp.outlang to /usr/share/source-highlight. Besides the >obvious problem of many users neglecting to read the README >and thus not actually copying the file, there's also the >problem that copying requires root permissions, which makes >packaging Camlhighlight for OPAM troublesome[3]. > > >So, here's my question: is there a way for the Source-highlight >library to read sexp.outlang without requiring it to be copied >to the system data directory? Can a user data directory be used >along side the system data directory, for instance? Or is there >some other simpler approach to this problem? > > >Thanks in advance for your help! >Best regards, >Dario Teixeira > > >[1] https://savannah.gnu.org/bugs/?42994 >[2] http://camlhighlight.forge.ocamlcore.org/ >[3] http://opam.ocaml.org/ > > >_______________________________________________ >Help-source-highlight mailing list >[email protected] >https://lists.gnu.org/mailman/listinfo/help-source-highlight _______________________________________________ Help-source-highlight mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-source-highlight
