Re: [sword-devel] Diatheke Patch (was Re: Next version)
Hi, Actually, I had another reason to suggest adding these to Diatheke. Specifically, I'd like to have get to a full LaTeX exporter at some point, i.e. supporting the options (Word of Christ in Red, etc.). I don't really see how that could be done without using the API. Any idea? God bless Raphaël On Sun, Mar 31, 2013 at 8:56 PM, Peter von Kaehne wrote: > On Sun, 2013-03-31 at 09:21 -0500, Greg Hellings wrote: > > > I don't know the limits of LaTeX and whether a custom exporter > > program is feasible, but is there any particular reason to not want > > changes to Diatheke? > > Only starting now to get to grips with latex, but FWIW, Latex allows > embedding of various languages into new macros, so a use of e.g. the > Perl bindings within Latex is entirely feasible and would be a great > addition. > > I think that is the way to go and not via some circuitous shell > construct. > > Peter > > > ___ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page > ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] Diatheke Patch (was Re: Next version)
On Sun, 2013-03-31 at 09:21 -0500, Greg Hellings wrote: > I don't know the limits of LaTeX and whether a custom exporter > program is feasible, but is there any particular reason to not want > changes to Diatheke? Only starting now to get to grips with latex, but FWIW, Latex allows embedding of various languages into new macros, so a use of e.g. the Perl bindings within Latex is entirely feasible and would be a great addition. I think that is the way to go and not via some circuitous shell construct. Peter ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
[sword-devel] Diatheke Patch (was Re: Next version)
On Sun, Mar 31, 2013 at 3:35 AM, Chris Little wrote: > On 3/30/2013 12:54 PM, Greg Hellings wrote: > >> There was a patch just the other day to add a few small command-line >> options to diatheke. >> >> I'd really prefer that this patch not be added, especially not without > discussion. I see these types of formatting options/decisions as being > appropriate to post-processing regexes, not changes to a front end. > Diatheke isn't a text exporter and won't necessarily output in the way that > is most convenient to your particular unspecified use. If it doesn't work > for you, filter diatheke's output or write your own tool. The person proposing this change is writing LaTeX functions that a user can use to embed scripture quotations directly into the generated files. He is currently using post-processing regular expressions but these options would eliminate the possibility of problems with the regular expressions. Since Diatheke already has quite a few options for changing its formats and filters, stripping the extra markers seems reasonable for applications like this one where having a C or C++ file do the exporting might not be feasible. I don't know the limits of LaTeX and whether a custom exporter program is feasible, but is there any particular reason to not want changes to Diatheke? --Greg ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page