Re: [BBDB] ChangeLog 2014-08-30 (bbdb-print and utf8 bbdb file)
"Roland Winkler" writes: > 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). Very good! >> 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). with tex or with xetex? > 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.) For you information: The documentation in bbdb-print.el is also partly outdated. ;;; In the *BBDB* buffer, type P to convert the listing to TeX ;;; format. It will prompt you for a filename. Then run TeX on that ;;; file and print it out. Now we have: P runs the command bbdb-prev-field, which is an interactive compiled Lisp function in `bbdb.el'. Thanks Dieter > > > 2014-08-30 Roland Winkler > * lisp/bbdb-print.el (bbdb-print-require): Improve docstring. > > 2014-08-30 Roland Winkler > * 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 > * 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/ > -- 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
Carson Chittom writes: > 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? I'm on Debian, which is to say: The TeX system there is texlive (this is the package name) and I used the executable pdftex or tex to process the bbdb.tex. > Have you tried using XeTeX? Eeehem, always thought XeTeX would be another tex distribution! Installed texlive-xetex and xetex bbdb.tex gives the expected results with umlaute, accents, ... Thanks a lot for the pointer! :-) Dieter > > -- > 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/ -- 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
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/
[BBDB] ChangeLog 2014-08-30 (bbdb-print and utf8 bbdb file)
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 * lisp/bbdb-print.el (bbdb-print-require): Improve docstring. 2014-08-30 Roland Winkler * 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 * 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
H. Dieter Wilhelm duenenhof-wilhelm.de> 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 do you manage to create a correct bbdb.tex file? 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). -- 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/
Re: bbdb-print and utf8 bbdb file
Eric Abrahamsen 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/
Re: bbdb-print and utf8 bbdb file
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
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/
bbdb-print and utf8 bbdb file
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/