unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: "Roland Winkler" <winkler@gnu.org>
Cc: Ulrich Mueller <ulm@gentoo.org>,
	Christian Egli <christian.egli@sbs.ch>,
	Stefan Monnier <monnier@IRO.UMontreal.CA>,
	emacs-devel@gnu.org
Subject: Re: BBDB v3 approaching release
Date: Thu, 30 May 2013 13:27:05 +0530	[thread overview]
Message-ID: <87fvx4x5m6.fsf@gmail.com> (raw)
In-Reply-To: <20902.64600.858912.770771@gargle.gargle.HOWL> (Roland Winkler's message of "Thu, 30 May 2013 09:14:32 +0200")


> Can the ELPA format handle such files, too?  How?

ELPA is just a tar bundle.  You can include whatever you want as part of
the bundle. 




> In a way, I am surprised that I do not know about other elisp
> packages having similar needs. Whenever you want to print something
> with (La)TeX, you normally need some kind of style file that (La)TeX
> needs to find.

Org's ODT exporter depends on XML style files for it's export.  The
style files are included right within the tar ball as part of ./etc/
directory.

        See http://elpa.gnu.org/packages/org.html.

(I think using "./etc" for bundling "data files" is a good precedent.)

`load-file-name' is your friend.

    (defconst org-odt-lib-dir
      (file-name-directory load-file-name)
      "Location of ODT exporter.
    Use this to infer values of `org-odt-styles-dir' and
    `org-odt-schema-dir'.")

    (defvar org-odt-data-dir
      (expand-file-name "./etc/" org-odt-lib-dir)
      "Data directory for ODT exporter.
    Use this to infer values of `org-odt-styles-dir' and
    `org-odt-schema-dir'.")

> Of course, one work around would be that emacs includes the style
> file into the TeX files it generates. One advantage of such an
> approach would be that the resulting TeX files become self-contained
> for any "standard" TeX installation so that one can forward the TeX
> files to someone who does not have the BBDB tex files installed.
> But I consider the forwarding of such files a more rare scenario.

Bundle things in a way that minimizes headaches for you and others.

In the long run, you can do away with BDBD specific style files and use
some packages that (already) come with Tex.  Or move the BDBB style
files to Tex distribution.

2 cents.

> Roland



  reply	other threads:[~2013-05-30  7:57 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27  8:18 BBDB v3 approaching release Roland Winkler
2013-05-27  8:49 ` Leo Liu
2013-05-27 15:13   ` Stefan Monnier
2013-05-27 16:13     ` Roland Winkler
2013-05-27 16:57       ` Stefan Monnier
2013-05-27 19:28         ` Roland Winkler
2013-05-27 19:35           ` Dmitry Gutov
2013-05-27 20:18             ` Roland Winkler
2013-05-28  5:32               ` Ulrich Mueller
2013-05-28  7:49                 ` Roland Winkler
2013-05-28 12:34                 ` Stefan Monnier
2013-05-27 20:59           ` Stefan Monnier
     [not found] ` <87obbvwgw6.fsf@sbs.ch>
2013-05-28 21:23   ` Roland Winkler
2013-05-28 22:29     ` Stefan Monnier
2013-05-29 13:27       ` Roland Winkler
2013-05-29 16:45       ` Ulrich Mueller
2013-05-29 22:29         ` Stefan Monnier
2013-05-30  7:14           ` Roland Winkler
2013-05-30  7:57             ` Jambunathan K [this message]
2013-05-30  8:04             ` Stephen J. Turnbull
2013-05-30 11:16               ` Roland Winkler
2013-05-30 17:25                 ` Stephen J. Turnbull
2013-05-30 17:55                   ` Stephen J. Turnbull
2013-05-30 18:22                     ` Eli Zaretskii
2013-05-30 20:47                       ` Andreas Schwab
2013-05-31  3:50                       ` Stephen J. Turnbull
2013-05-31 14:14                         ` Tom Tromey
2013-05-31 18:30                           ` Stephen J. Turnbull
2013-05-31 14:42                         ` Ted Zlatanov
2013-05-30  9:37           ` Ulrich Mueller
2013-05-30 11:24             ` Roland Winkler
2013-05-30 12:48               ` Ulrich Mueller
2013-05-30 14:57               ` Ted Zlatanov
2013-05-30 17:11                 ` Stefan Monnier
2013-05-30 20:31                   ` Ted Zlatanov
2013-05-30 14:37             ` Stefan Monnier
2013-05-30 15:03             ` Ted Zlatanov
2013-06-01 14:34         ` Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvx4x5m6.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=christian.egli@sbs.ch \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=ulm@gentoo.org \
    --cc=winkler@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).