bbdb-print and utf8 bbdb file

2014-08-30 Thread H. Dieter Wilhelm
Hello list,

my bbdb file is encoded in utf8 and when I try to print entries and
converting the resulting bbdb.tex file, I'm getting weird characters in
either the .dvi and .pdf file.  How would you deal with the situation?

   Dieter
-- 
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-print and utf8 bbdb file

2014-08-30 Thread Eric Abrahamsen
die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:

 Hello list,

 my bbdb file is encoded in utf8 and when I try to print entries and
 converting the resulting bbdb.tex file, I'm getting weird characters in
 either the .dvi and .pdf file.  How would you deal with the situation?

I've never even gotten bbdb-print to work, it's always complained about
undefined control sequences or something. The tex code is very old, and
doesn't make any provisions for non-latin characters. Probably the
easiest stop-gap would be to change bbdb-print-prolog and
bbdb-print-epilog to wrap the whole thing in latex statements or what
have you, either make use of babel, or xelatex. I don't know if that
would be enough to do the trick, but if it worked it would be the
simplest solution.

Eric


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-print and utf8 bbdb file

2014-08-30 Thread Carson Chittom
die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:

 my bbdb file is encoded in utf8 and when I try to print entries and
 converting the resulting bbdb.tex file, I'm getting weird characters in
 either the .dvi and .pdf file.  How would you deal with the situation?

How are you creating the PDF?  Have you tried using XeTeX?


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-print and utf8 bbdb file

2014-08-30 Thread Carson Chittom
Eric Abrahamsen e...@ericabrahamsen.net writes:

 I've never even gotten bbdb-print to work, it's always complained about
 undefined control sequences or something. The tex code is very old, and

I had this error trying to run the file through pdflatex, but it worked
fine with pdftex.




--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


bbdb-add-mails

2014-08-30 Thread Rene
In BBDB2 I used to set bbdb-always-add-addresses so that I could ignore new
addresses in all folders except the `vm-primary-inbox'.  In order to do so I
would make use of `rf-bbdb/vm-ignore-old-addresses' found in bbdb-rf.el.

I can I get this same behavior with BBDB3?

--
rene



--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


[BBDB] ChangeLog 2014-08-30 (bbdb-print and utf8 bbdb file)

2014-08-30 Thread Roland Winkler
On Sat Aug 30 2014 Eric Abrahamsen wrote:
 I've never even gotten bbdb-print to work, it's always complained
 about undefined control sequences or something.

The lisp code should work fine.  I made sure that bbdb-print-record
does not fail in the rare case that the value of an xfield is a
sexp.  Also, bbdb-print now issues a message at the end that the
resulting file should be processed with tex, but not with latex
(till someone writes a LaTeX template).

 The tex code is very old, and doesn't make any provisions for
 non-latin characters. Probably the easiest stop-gap would be to
 change bbdb-print-prolog and bbdb-print-epilog to wrap the whole
 thing in latex statements or what have you, either make use of
 babel, or xelatex. I don't know if that would be enough to do the
 trick, but if it worked it would be the simplest solution.

The current plain TeX templates work well for me with latin utf8
characters, but they fail with, say, japanese characters (which
happen to be the only non-latin characters in my BBDB).

It would be nice if the old plain TeX templates get replaced by some
LaTeX templates that should make the code more robust and matching
what most people use nowadays.  -- Volunteers welcome!  (Please
assign the copyright for such a project to the FSF.  Copyright is
another reason to get rid of the old TeX files.)



2014-08-30  Roland Winkler  wink...@gnu.org
* lisp/bbdb-print.el (bbdb-print-require): Improve docstring.

2014-08-30  Roland Winkler  wink...@gnu.org
* lisp/bbdb-print.el (bbdb-print): Clarify prompt for file name.
Issue message on what to do with TeX file.

2014-08-30  Roland Winkler  wink...@gnu.org
* lisp/bbdb-print.el (bbdb-print-record): Handle xfields the value
of which are sexps.

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-print and utf8 bbdb file

2014-08-30 Thread Roland Winkler
On Sun Aug 31 2014 Rene wrote:
 When using *M-x bbdb-print or even M-x bbdb-print I only get a TeX file
 containing the current displayed record (the one my pointer is on in the
 *BBDB* buffer).

All these commands use the prefix `*', see the docstring of bbdb-print.

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-add-mails

2014-08-30 Thread Roland Winkler
On Sun Aug 31 2014 Rene wrote:
 In BBDB2 I used to set bbdb-always-add-addresses so that I could ignore new
 addresses in all folders except the `vm-primary-inbox'.  In order to do so I
 would make use of `rf-bbdb/vm-ignore-old-addresses' found in bbdb-rf.el.
 
 I can I get this same behavior with BBDB3?

I am not sure I fully understand what you want.  But it seems your
rule needs to go into bbdb-mua-update-interactive-p (some suitable
function).

But an easier solution could be to use the MUA commands without /
with a prefix and set bbdb-mua-update-interactive-p accordingly.

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/