unicode in math

2008-09-10 Thread G. Milde
Dear LyX users,

with LyX 1.6, using unicode characters other than the first block is
possible also in math mode.  The character in question is either replaced
by a math-equivalent (if defined in the unicodesymbols file) or by
text in math with the text-equivalent.

This is a vast improvement over the silent failure in LyX 1.5, my thanks
go out to the relevant developer(s)!

However, there remain some inconsistencies:

* while A is typeset italic, Ä (and other accented characters) are not.
* while l is typeset italic, λ (and other Greek characters) are not.

So, the question is:

* should Ä be replaced with \A in math?
  
  More generally: should latin-1 supplement characters for which a math
  equivalent exists use this instead of a text-version?

* should λ be replaced with \lambda in math?

  More generally: 
  
  * should Greek characters from the Greek and Coptic
unicode block use the math-equivalent, or

  * should only Greek symbols (from Greek and Coptic and/or from
Mathematical Alphanumeric Symbols) be converted to math symbols?

and could these also show as italic in the LyX GUI?

Attached is a patch for Greek in math.

Günter
--- /usr/local/src/lyx-devel/lib/unicodesymbols	2008-07-29 14:34:04.0 +0200
+++ /home/milde/.lyx16/unicodesymbols-greek-math	2008-09-07 21:15:59.0 +0200
@@ -737,30 +737,30 @@
 0x038e \\textgreek{\char39U}textgreek  # GREEK CAPITAL LETTER UPSILON WITH TONOS
 0x038f \\textgreek{\char39W}textgreek  # GREEK CAPITAL LETTER OMEGA WITH TONOS
 0x0390 \\textgreek{\char242}textgreek  # GREEK SMALL LETTER IOTA WITH DIALYTKA
-0x0391 \\textgreek{A}   textgreek  # GREEK CAPITAL LETTER ALPHA
-0x0392 \\textgreek{B}   textgreek  # GREEK CAPITAL LETTER BETA
-0x0393 \\textgreek{G}   textgreek  # GREEK CAPITAL LETTER GAMMA
-0x0394 \\textgreek{D}   textgreek  # GREEK CAPITAL LETTER DELTA
-0x0395 \\textgreek{E}   textgreek  # GREEK CAPITAL LETTER EPSILON
-0x0396 \\textgreek{Z}   textgreek  # GREEK CAPITAL LETTER ZETA
-0x0397 \\textgreek{H}   textgreek  # GREEK CAPITAL LETTER ETA
-0x0398 \\textgreek{J}   textgreek  # GREEK CAPITAL LETTER THETA
-0x0399 \\textgreek{I}   textgreek  # GREEK CAPITAL LETTER IOTA
-0x039a \\textgreek{K}   textgreek  # GREEK CAPITAL LETTER KAPPA
-0x039b \\textgreek{L}   textgreek  # GREEK CAPITAL LETTER LAMDA
-0x039c \\textgreek{M}   textgreek  # GREEK CAPITAL LETTER MU
-0x039d \\textgreek{N}   textgreek  # GREEK CAPITAL LETTER NU
-0x039e \\textgreek{X}   textgreek  # GREEK CAPITAL LETTER XI
-0x039f \\textgreek{O}   textgreek  # GREEK CAPITAL LETTER OMICRON
-0x03a0 \\textgreek{P}   textgreek  # GREEK CAPITAL LETTER PI
-0x03a1 \\textgreek{R}   textgreek  # GREEK CAPITAL LETTER RHO
-0x03a3 \\textgreek{S}   textgreek  # GREEK CAPITAL LETTER SIGMA
-0x03a4 \\textgreek{T}   textgreek  # GREEK CAPITAL LETTER TAU
-0x03a5 \\textgreek{U}   textgreek  # GREEK CAPITAL LETTER UPSILON
-0x03a6 \\textgreek{F}   textgreek  # GREEK CAPITAL LETTER PHI
-0x03a7 \\textgreek{Q}   textgreek  # GREEK CAPITAL LETTER CHI
-0x03a8 \\textgreek{Y}   textgreek  # GREEK CAPITAL LETTER PSI
-0x03a9 \\textgreek{W}   textgreek  # GREEK CAPITAL LETTER OMEGA
+0x0391 \\textgreek{A}   textgreek  # A # GREEK CAPITAL LETTER ALPHA
+0x0392 \\textgreek{B}   textgreek  # B # GREEK CAPITAL LETTER BETA
+0x0393 \\textgreek{G}   textgreek  \Gamma # GREEK CAPITAL LETTER GAMMA
+0x0394 \\textgreek{D}   textgreek  \Delta # GREEK CAPITAL LETTER DELTA
+0x0395 \\textgreek{E}   textgreek  # E # GREEK CAPITAL LETTER EPSILON
+0x0396 \\textgreek{Z}   textgreek  # Z # GREEK CAPITAL LETTER ZETA
+0x0397 \\textgreek{H}   textgreek  # H # GREEK CAPITAL LETTER ETA
+0x0398 \\textgreek{J}   textgreek  \Theta # GREEK CAPITAL LETTER THETA
+0x0399 \\textgreek{I}   textgreek  # I # GREEK CAPITAL LETTER IOTA
+0x039a \\textgreek{K}   textgreek  # K # GREEK CAPITAL LETTER KAPPA
+0x039b \\textgreek{L}   textgreek  \Lambda # GREEK CAPITAL LETTER LAMDA
+0x039c \\textgreek{M}   textgreek  # M # GREEK CAPITAL LETTER MU
+0x039d \\textgreek{N}   textgreek  # N # GREEK CAPITAL LETTER NU
+0x039e \\textgreek{X}   textgreek  \Xi # GREEK CAPITAL LETTER XI
+0x039f \\textgreek{O}   textgreek  # O # GREEK CAPITAL LETTER OMICRON
+0x03a0 \\textgreek{P}   textgreek  \Pi # GREEK CAPITAL LETTER PI
+0x03a1 \\textgreek{R}   textgreek  \Rho # GREEK CAPITAL LETTER RHO
+0x03a3 \\textgreek{S}   textgreek  \Sigma # GREEK CAPITAL LETTER SIGMA
+0x03a4 \\textgreek{T}   textgreek  # T # GREEK CAPITAL LETTER TAU
+0x03a5 \\textgreek{U}   textgreek  \Upsilon # GREEK CAPITAL LETTER UPSILON
+0x03a6 \\textgreek{F}   textgreek  \Phi # GREEK CAPITAL LETTER PHI
+0x03a7 \\textgreek{Q}   

Re: pictures into the lyx file

2008-09-10 Thread Pol
Paul A. Rubin wrote:

 Pol wrote:
 Paul A. Rubin wrote:
 
 Pol wrote:
 posted  mailed

 Is there a way to include pictures, I mean simple geometric pictures,
 into a lyx file?
 Metapost or something like that could be used?
  
 Would either tikz or xy-pic do what you have in mind?


 
 It is easy to embed a compiled image (PDF, JPG, PNG, EPS, ...) from a
 suitable drawing/graphing program.  I take it that's not what you want?
 

Thank you for your hints and examples, i will experiment with both programs,
but i would prefer to work with a graphic interface. 
Also, it is a pity lyx is not able t render tikz  and  xy-pic  pictures. 

--
Pol




Re: Generating PDF/A from LyX/LaTeX

2008-09-10 Thread G. Milde
On  9.09.08, Steve Litt wrote:
   On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
   This question is not a LyX-only question, but I thought maybe someone
   here could have an idea on this issue.
  
   Has anyone succeeded in producing a PDF/A file (PDF for archival) from
   LyX/LaTeX? I've tried tools that claim to generate PDF/A from
   PostScript files or PDF files (both for Windows and Linux) but I
   haven't been successful in generating a file which is considered PDF/A
   compliant by at least two different validators, even with the
   following minimal file (in LaTeX) via dvips:
  
   === file a.tex ===
   \documentclass{article}
   \begin{document}
   Just this line...
   \end{document}
   === end of file ===

 The PDF/A Wikipedia page makes it look pretty straightforward -- all fonts 
 embedded, all fonts legal everywhere, no video, audio or javascript, device 
 independent color.

Maybe it's a font issue (the validator not knowing the CM latex fonts)?

How about trying the standard PS fonts, like

=== file a.tex ===
\documentclass{article}
\usepackage{mathptmx} % or \usepackage{mathpazo}
\begin{document}
Just this line...
\end{document}
=== end of file ===

?

Günter


Re: Bug 1.5.6 + 1.6.0rc1: Wrong indentation after increased depth

2008-09-10 Thread lyx
 Original-Nachricht 
 Datum: Mon, 08 Sep 2008 16:02:50 +0200
 Von: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 An: [EMAIL PROTECTED]
 CC: lyx-users@lists.lyx.org
 Betreff: Re: Bug 1.5.6 + 1.6.0rc1: Wrong indentation after increased depth

 [EMAIL PROTECTED] writes:
 
  I think this one is clearly a bug, reproducible in 1.5.6 and 1.6.0rc1
 for me:
 
  1. Produce a numberd list/itemized list etc. item
 
  2. Produce a standard paragraph and increase the depth to make it line
 up with the list item
 
  3. Produce a standard paragraph, which is incorrectly indented in LyX,
 but correct in the output
 
  I use this combination quite often, so it is always a bit confusing to
 see the wrong indentation first.
 
 Could you send an example file?
 
 JMarc


Well, as expected it also happens in 1.6.0rc2, so here is the example file 
created in 1.6.0rc2.

Phil


wrong_indentation_example.lyx
Description: application/lyx


Re: pictures into the lyx file

2008-09-10 Thread Pavel Sanda
 Paul A. Rubin wrote:
  It is easy to embed a compiled image (PDF, JPG, PNG, EPS, ...) from a
  suitable drawing/graphing program.  I take it that's not what you want?

no, embedding is not possible now.

 Also, it is a pity lyx is not able t render tikz  and  xy-pic  pictures. 

http://wiki.lyx.org/LyX/XY-pic

pavel


get (author?) with natbib

2008-09-10 Thread Robert Platt

Hello,

When I use my BibTeX file (created with Jabref) in LyX with the natbib 
author-year style, I get something like this:


...some text here (author?) [1].

That's even if I view/update the output several times. Any ideas why 
this might be?


Regards
Rob
LyX Version: 1.5.5
OS: Gentoo Linux on 32-bit PC


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-10 Thread Pavel Sanda
 On Tue, 9 Sep 2008, Zan wrote:
 I have thousands of pages to process. The first two volumes will be around 
 600 pages each. I will need to automate.

i think postscript is better parseable format for such a task.

pavel


Re: Generating PDF/A from LyX/LaTeX

2008-09-10 Thread William Adams

On Sep 10, 2008, at 2:48 AM, G. Milde wrote:

Maybe it's a font issue (the validator not knowing the CM latex  
fonts)?


Nope. I used Ernesto's example file w/ pdflatex and it worked as I  
described.


The problem would seem to be w/ the .pdf generated by Ghostscript  
since he's using dvips.


So prefix it w/ the following step:

 - take the source .ps file from dvips and distill it in Adobe  
Acrobat Distiller (instead of Ghostscript --- there should be an  
option to save a copy of the .ps) using the appropriate .joboptions  
file which matches your colour model (e.g., PDF/A-1b:2005 (CMYK)


Or switch to using pdflatex.

William

--
William Adams
senior graphic designer
Fry Communications




Re: Ubuntu missing screen fonts for symbols: solution.

2008-09-10 Thread G. Milde
On  4.09.08, Pavel Sanda wrote:
  On  3.09.08, Paul Johnson wrote:
  
   In Debian, latex-xft-fonts is suggested. I agree that the more
   convincing recommended might be the better choice but there is no
   need to require latex-xft-fonts. 

 i don't know how debian has handled this, but note, that lyx is shipped
 with bakoma fonts already, so there is no need to even recommend
 latex-xft-fonts; the only thing is that apt-get install those files
 correctly.

The Debian lyx package does not ship the bakoma fonts. 

As there are more packages that need the latex math fonts as ttf, packing
them separately in Debian is fine.

However, as the fonts and LyX are found together ... in all but unusual
installations, the dependency should be changed to Recommends.
(@Sven: Should I still file a bug report?)

Günter


Re: unicode in math

2008-09-10 Thread rgheck

G. Milde wrote:

Dear LyX users,

  

This looks more like something for devel

rh


with LyX 1.6, using unicode characters other than the first block is
possible also in math mode.  The character in question is either replaced
by a math-equivalent (if defined in the unicodesymbols file) or by
text in math with the text-equivalent.

This is a vast improvement over the silent failure in LyX 1.5, my thanks
go out to the relevant developer(s)!

However, there remain some inconsistencies:

* while A is typeset italic, Ä (and other accented characters) are not.
* while l is typeset italic, λ (and other Greek characters) are not.

So, the question is:

* should Ä be replaced with \A in math?
  
  More generally: should latin-1 supplement characters for which a math

  equivalent exists use this instead of a text-version?

* should λ be replaced with \lambda in math?

  More generally: 
  
  * should Greek characters from the Greek and Coptic

unicode block use the math-equivalent, or

  * should only Greek symbols (from Greek and Coptic and/or from

Mathematical Alphanumeric Symbols) be converted to math symbols?

and could these also show as italic in the LyX GUI?

Attached is a patch for Greek in math.

Günter
  




Re: get (author?) with natbib

2008-09-10 Thread Bob Lounsbury
On Wed, Sep 10, 2008 at 3:48 AM, Robert Platt
[EMAIL PROTECTED] wrote:
 Hello,

 When I use my BibTeX file (created with Jabref) in LyX with the natbib
 author-year style, I get something like this:

 ...some text here (author?) [1].

 That's even if I view/update the output several times. Any ideas why this
 might be?

 Regards
 Rob
 LyX Version: 1.5.5
 OS: Gentoo Linux on 32-bit PC


You're probably not using a natbib compatible .bst style file. You
should use something like plainnat, abbrvnat, or harvard.

Cheers,
/Bob


Re: Generating PDF/A from LyX/LaTeX

2008-09-10 Thread William Adams

On Sep 10, 2008, at 7:23 AM, William Adams wrote:


Or switch to using pdflatex.



Also, Martin Heller mentioned on texhax that the hyperref package as a  
pdfa option which may help as well.


William

--
William Adams
senior graphic designer
Fry Communications




LyX/Mac: Palatino Screen Font Missing

2008-09-10 Thread Bruce Pourciau
Have just upgraded my Mac and LyX (to 1.5.6). A hoard of fonts show up  
in the list of available _screen_ fonts, but for some reason not  
Palatino. Palatino show up in the font lists for Word and Nisus, and  
my LyX produced pdf's are generated in Palatino. Any thoughts?


Bruce


moderncv and bib as publications

2008-09-10 Thread B. Bogart
Hello all,

I've started converting my CV over to moderncv.

I see a few hacks on the wiki which I will play with, but I'm stuck on
using a bibtex database as a publications section.

I tried the using code from the moderncv example using ERT:

\nocite{*}
\bibliographystyle{plain}
\bibliography{publications}

This results in a References section header, but no content.

I managed to get output by including only \nocite{*} as ERT, and adding
the bib in the normal lyx way beneath.

Now this works, but does not appear to fit with the rest of the moderncv
text, the line wrap is much wider and the font looks too small (see
attached).

Also how can I change the name of the section to Publications rather
than References?

Thanks all,
B. Bogart


inline: Screenshot.png

LyX 1.6rc2 crashes when navigating in the outline panel (MAC OS X)

2008-09-10 Thread George G. Szegö

Hi there,

I'd just like to report that LyX version 1.6rc2 repeatedly crashes when
trying to open child documents from a master document by clicking in
the toggle outline panel (see details from the Apple's crash reporter in
the attached file).

Besides this minor problem I am loving the features of this new version.
Congratulations for all of those involved.

Thanks a lot,
George

Process: lyx [38799]
Path:/Applications/lyx-1.6.0rc2.app/Contents/MacOS/lyx
Identifier:  org.lyx.lyx
Version: 1.6.0svn (???)
Code Type:   X86 (Native)
Parent Process:  launchd [109]

Date/Time:   2008-09-06 19:39:53.354 -0400
OS Version:  Mac OS X 10.5.4 (9E17)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x018d
Crashed Thread:  0

Thread 0 Crashed:
0   org.lyx.lyx 0x000d7a55 std::pairint, 
std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t  
::pair(int const, std::basic_stringwchar_t, std::char_traitswchar_t, 
std::allocatorwchar_t  const) + 103
1   org.lyx.lyx 0xd241 void std::listlyx::Branch, 
std::allocatorlyx::Branch ::remove_iflyx::(anonymous 
namespace)::BranchNamesEqual(lyx::(anonymous namespace)::BranchNamesEqual) + 
4229
2   org.lyx.lyx 0x00041e09 
std::_Rb_tree_const_iteratorstd::basic_stringchar, std::char_traitschar, 
std::allocatorchar   
std::findstd::_Rb_tree_const_iteratorstd::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  
(std::_Rb_tree_const_iteratorstd::basic_stringchar, std::char_traitschar, 
std::allocatorchar  , std::_Rb_tree_const_iteratorstd::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  const) + 28205
3   org.lyx.lyx 0x000bd8f8 lyx::(anonymous 
namespace)::MatchString::MatchString(std::basic_stringwchar_t, 
std::char_traitswchar_t, std::allocatorwchar_t  const, bool, bool) + 37578
4   org.lyx.lyx 0x000a294c void 
std::sortlyx::LexerKeyword*, lyx::(anonymous 
namespace)::CompareTags(lyx::LexerKeyword*, lyx::LexerKeyword*, 
lyx::(anonymous namespace)::CompareTags) + 576
5   org.lyx.lyx 0x003462d9 
boost::re_detail::string_out_iteratorstd::basic_stringchar, 
std::char_traitschar, std::allocatorchar   
boost::regex_replaceboost::re_detail::string_out_iteratorstd::basic_stringchar,
 std::char_traitschar, std::allocatorchar  , 
__gnu_cxx::__normal_iteratorchar const*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , boost::regex_traitschar, 
boost::cpp_regex_traitschar , 
char(boost::re_detail::string_out_iteratorstd::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , 
__gnu_cxx::__normal_iteratorchar const*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , 
__gnu_cxx::__normal_iteratorchar const*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , boost::basic_regexchar, 
boost::regex_traitschar, boost::cpp_regex_traitschar   const, char 
const*, boost::regex_constants::_match_flags) + 3329
6   org.lyx.lyx 0x003473d9 
lyx::frontend::TocModel::~TocModel() + 345
7   org.lyx.lyx 0x003473fd 
lyx::frontend::TocModel::~TocModel() + 381
8   org.lyx.lyx 0x003485b1 
lyx::frontend::TocModel::~TocModel() + 4913
9   org.lyx.lyx 0x009730fd void 
std::listboost::signals::connection, 
std::allocatorboost::signals::connection 
::_M_insert_dispatchstd::_List_const_iteratorboost::signals::connection 
(std::_List_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, __false_type) + 6135143
10  org.lyx.lyx 0x007a68ce void 
std::listboost::signals::connection, 
std::allocatorboost::signals::connection 
::_M_insert_dispatchstd::_List_const_iteratorboost::signals::connection 
(std::_List_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, __false_type) + 424
11  org.lyx.lyx 0x007b4c1a void 
std::listboost::signals::connection, 
std::allocatorboost::signals::connection 
::_M_insert_dispatchstd::_List_const_iteratorboost::signals::connection 
(std::_List_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, __false_type) + 4307076
12  org.lyx.lyx 0x003e8121 void 
std::listboost::signals::connection, 
std::allocatorboost::signals::connection 
::_M_insert_dispatchstd::_List_const_iteratorboost::signals::connection 
(std::_List_iteratorboost::signals::connection, 

Counters

2008-09-10 Thread Yago
Hello to all.

I need to write a book class document (two sides) with a rarely 
chapters/section numbering.

The document have three Parts and Two Apendices. The first Part have Eight 
Chapters, the second Part have five Chapters and the Part three have also five 
Chapters. The numbering of the Parts is normally (Primera Parte, Segunda Parte, 
Tercera Parte, in spanish), but the numbering of the Chapters is continuos over 
the document. That is, the first Part have the Chapters I to VIII, the second 
Part have the Chapters IX to XIII, and the third Part have the Chapters XIV to 
XVIII. The numbering of the Sections is also a little strange because is 
continuos over the document like the Chapters, that is, the first Section label 
is 1 (not 1.1 but 1) in the First Part, Chapter I, and the last Section label 
is 123 (123, not 18.xx).

So, I need something like this:

PRIMERA PARTE%center in page
BLA, BLA, BLA%center in page

CAPÍTULO I  %center in page
BLA, BLA, BLA %center in page

SECTION 1. BLA, BLA, BLA%left aligned
text
SECTION 2. BLA, BLA, BLA %left aligned
text
.
.
.
SECTION (n). BLA, BLA, BLA%left aligned
text

CAPITULO II   %center in page
BLA, BLA, BLA   %center in page

SECTION (n+1). BLA, BLA, BLA%left aligned
text
.
.
.

SEGUNDA PARTE   %center in page
BLA, BLA, BLA%center in page

CAPITULO (last Chapter number in the first Part plus one)
BLA,BLA, BLA

SECTION (last Section number in the first Part plus one). BLA, BLA, BLA
text
.
.
.
and so on to finalize in the TERCERA PARTE, CAPÍTULO XVIII, SECCIÓN 123 (BLA, 
BLA, BLA)

The package titlesec is fantastic, but also very difficult for me and I will 
appreciate your help about this.

Thanks in advance.



Wiki: MPM on Linux (need a link blessed)

2008-09-10 Thread Paul A. Rubin

Hi,

I just added a paragraph to the wiki pointing to a web page with 
instructions on how to install the MiKTeX Package Manager on Ubuntu. 
The wiki URL is http://wiki.lyx.org/LyX/LyXOnUbuntu#toc6.  The link to 
the source web page needs to be approved/blessed, which needs a 
password, which apparently is not the same as the upload password.  Can 
someone (Christian?) bless it for me?


TIA,
Paul



Re: Wiki: MPM on Linux (need a link blessed)

2008-09-10 Thread Christian Ridderström

On Wed, 10 Sep 2008, Paul A. Rubin wrote:

I've sent Paul the password.

/Christian

PS. On a good note, we haven't had any spam lately as far as I can 
remember. That's nice!


I just added a paragraph to the wiki pointing to a web page with instructions 
on how to install the MiKTeX Package Manager on Ubuntu. The wiki URL is 
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc6.  The link to the source web page 
needs to be approved/blessed, which needs a password, which apparently is not 
the same as the upload password.  Can someone (Christian?) bless it for me?


TIA,
Paul





--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr

unicode in math

2008-09-10 Thread G. Milde
Dear LyX users,

with LyX 1.6, using unicode characters other than the first block is
possible also in math mode.  The character in question is either replaced
by a math-equivalent (if defined in the unicodesymbols file) or by
text in math with the text-equivalent.

This is a vast improvement over the silent failure in LyX 1.5, my thanks
go out to the relevant developer(s)!

However, there remain some inconsistencies:

* while A is typeset italic, Ä (and other accented characters) are not.
* while l is typeset italic, λ (and other Greek characters) are not.

So, the question is:

* should Ä be replaced with \A in math?
  
  More generally: should latin-1 supplement characters for which a math
  equivalent exists use this instead of a text-version?

* should λ be replaced with \lambda in math?

  More generally: 
  
  * should Greek characters from the Greek and Coptic
unicode block use the math-equivalent, or

  * should only Greek symbols (from Greek and Coptic and/or from
Mathematical Alphanumeric Symbols) be converted to math symbols?

and could these also show as italic in the LyX GUI?

Attached is a patch for Greek in math.

Günter
--- /usr/local/src/lyx-devel/lib/unicodesymbols	2008-07-29 14:34:04.0 +0200
+++ /home/milde/.lyx16/unicodesymbols-greek-math	2008-09-07 21:15:59.0 +0200
@@ -737,30 +737,30 @@
 0x038e \\textgreek{\char39U}textgreek  # GREEK CAPITAL LETTER UPSILON WITH TONOS
 0x038f \\textgreek{\char39W}textgreek  # GREEK CAPITAL LETTER OMEGA WITH TONOS
 0x0390 \\textgreek{\char242}textgreek  # GREEK SMALL LETTER IOTA WITH DIALYTKA
-0x0391 \\textgreek{A}   textgreek  # GREEK CAPITAL LETTER ALPHA
-0x0392 \\textgreek{B}   textgreek  # GREEK CAPITAL LETTER BETA
-0x0393 \\textgreek{G}   textgreek  # GREEK CAPITAL LETTER GAMMA
-0x0394 \\textgreek{D}   textgreek  # GREEK CAPITAL LETTER DELTA
-0x0395 \\textgreek{E}   textgreek  # GREEK CAPITAL LETTER EPSILON
-0x0396 \\textgreek{Z}   textgreek  # GREEK CAPITAL LETTER ZETA
-0x0397 \\textgreek{H}   textgreek  # GREEK CAPITAL LETTER ETA
-0x0398 \\textgreek{J}   textgreek  # GREEK CAPITAL LETTER THETA
-0x0399 \\textgreek{I}   textgreek  # GREEK CAPITAL LETTER IOTA
-0x039a \\textgreek{K}   textgreek  # GREEK CAPITAL LETTER KAPPA
-0x039b \\textgreek{L}   textgreek  # GREEK CAPITAL LETTER LAMDA
-0x039c \\textgreek{M}   textgreek  # GREEK CAPITAL LETTER MU
-0x039d \\textgreek{N}   textgreek  # GREEK CAPITAL LETTER NU
-0x039e \\textgreek{X}   textgreek  # GREEK CAPITAL LETTER XI
-0x039f \\textgreek{O}   textgreek  # GREEK CAPITAL LETTER OMICRON
-0x03a0 \\textgreek{P}   textgreek  # GREEK CAPITAL LETTER PI
-0x03a1 \\textgreek{R}   textgreek  # GREEK CAPITAL LETTER RHO
-0x03a3 \\textgreek{S}   textgreek  # GREEK CAPITAL LETTER SIGMA
-0x03a4 \\textgreek{T}   textgreek  # GREEK CAPITAL LETTER TAU
-0x03a5 \\textgreek{U}   textgreek  # GREEK CAPITAL LETTER UPSILON
-0x03a6 \\textgreek{F}   textgreek  # GREEK CAPITAL LETTER PHI
-0x03a7 \\textgreek{Q}   textgreek  # GREEK CAPITAL LETTER CHI
-0x03a8 \\textgreek{Y}   textgreek  # GREEK CAPITAL LETTER PSI
-0x03a9 \\textgreek{W}   textgreek  # GREEK CAPITAL LETTER OMEGA
+0x0391 \\textgreek{A}   textgreek  # A # GREEK CAPITAL LETTER ALPHA
+0x0392 \\textgreek{B}   textgreek  # B # GREEK CAPITAL LETTER BETA
+0x0393 \\textgreek{G}   textgreek  \Gamma # GREEK CAPITAL LETTER GAMMA
+0x0394 \\textgreek{D}   textgreek  \Delta # GREEK CAPITAL LETTER DELTA
+0x0395 \\textgreek{E}   textgreek  # E # GREEK CAPITAL LETTER EPSILON
+0x0396 \\textgreek{Z}   textgreek  # Z # GREEK CAPITAL LETTER ZETA
+0x0397 \\textgreek{H}   textgreek  # H # GREEK CAPITAL LETTER ETA
+0x0398 \\textgreek{J}   textgreek  \Theta # GREEK CAPITAL LETTER THETA
+0x0399 \\textgreek{I}   textgreek  # I # GREEK CAPITAL LETTER IOTA
+0x039a \\textgreek{K}   textgreek  # K # GREEK CAPITAL LETTER KAPPA
+0x039b \\textgreek{L}   textgreek  \Lambda # GREEK CAPITAL LETTER LAMDA
+0x039c \\textgreek{M}   textgreek  # M # GREEK CAPITAL LETTER MU
+0x039d \\textgreek{N}   textgreek  # N # GREEK CAPITAL LETTER NU
+0x039e \\textgreek{X}   textgreek  \Xi # GREEK CAPITAL LETTER XI
+0x039f \\textgreek{O}   textgreek  # O # GREEK CAPITAL LETTER OMICRON
+0x03a0 \\textgreek{P}   textgreek  \Pi # GREEK CAPITAL LETTER PI
+0x03a1 \\textgreek{R}   textgreek  \Rho # GREEK CAPITAL LETTER RHO
+0x03a3 \\textgreek{S}   textgreek  \Sigma # GREEK CAPITAL LETTER SIGMA
+0x03a4 \\textgreek{T}   textgreek  # T # GREEK CAPITAL LETTER TAU
+0x03a5 \\textgreek{U}   textgreek  \Upsilon # GREEK CAPITAL LETTER UPSILON
+0x03a6 \\textgreek{F}   textgreek  \Phi # GREEK CAPITAL LETTER PHI
+0x03a7 \\textgreek{Q}   

Re: pictures into the lyx file

2008-09-10 Thread Pol
Paul A. Rubin wrote:

 Pol wrote:
 Paul A. Rubin wrote:
 
 Pol wrote:
 posted  mailed

 Is there a way to include pictures, I mean simple geometric pictures,
 into a lyx file?
 Metapost or something like that could be used?
  
 Would either tikz or xy-pic do what you have in mind?


 
 It is easy to embed a compiled image (PDF, JPG, PNG, EPS, ...) from a
 suitable drawing/graphing program.  I take it that's not what you want?
 

Thank you for your hints and examples, i will experiment with both programs,
but i would prefer to work with a graphic interface. 
Also, it is a pity lyx is not able t render tikz  and  xy-pic  pictures. 

--
Pol




Re: Generating PDF/A from LyX/LaTeX

2008-09-10 Thread G. Milde
On  9.09.08, Steve Litt wrote:
   On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
   This question is not a LyX-only question, but I thought maybe someone
   here could have an idea on this issue.
  
   Has anyone succeeded in producing a PDF/A file (PDF for archival) from
   LyX/LaTeX? I've tried tools that claim to generate PDF/A from
   PostScript files or PDF files (both for Windows and Linux) but I
   haven't been successful in generating a file which is considered PDF/A
   compliant by at least two different validators, even with the
   following minimal file (in LaTeX) via dvips:
  
   === file a.tex ===
   \documentclass{article}
   \begin{document}
   Just this line...
   \end{document}
   === end of file ===

 The PDF/A Wikipedia page makes it look pretty straightforward -- all fonts 
 embedded, all fonts legal everywhere, no video, audio or javascript, device 
 independent color.

Maybe it's a font issue (the validator not knowing the CM latex fonts)?

How about trying the standard PS fonts, like

=== file a.tex ===
\documentclass{article}
\usepackage{mathptmx} % or \usepackage{mathpazo}
\begin{document}
Just this line...
\end{document}
=== end of file ===

?

Günter


Re: Bug 1.5.6 + 1.6.0rc1: Wrong indentation after increased depth

2008-09-10 Thread lyx
 Original-Nachricht 
 Datum: Mon, 08 Sep 2008 16:02:50 +0200
 Von: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 An: [EMAIL PROTECTED]
 CC: lyx-users@lists.lyx.org
 Betreff: Re: Bug 1.5.6 + 1.6.0rc1: Wrong indentation after increased depth

 [EMAIL PROTECTED] writes:
 
  I think this one is clearly a bug, reproducible in 1.5.6 and 1.6.0rc1
 for me:
 
  1. Produce a numberd list/itemized list etc. item
 
  2. Produce a standard paragraph and increase the depth to make it line
 up with the list item
 
  3. Produce a standard paragraph, which is incorrectly indented in LyX,
 but correct in the output
 
  I use this combination quite often, so it is always a bit confusing to
 see the wrong indentation first.
 
 Could you send an example file?
 
 JMarc


Well, as expected it also happens in 1.6.0rc2, so here is the example file 
created in 1.6.0rc2.

Phil


wrong_indentation_example.lyx
Description: application/lyx


Re: pictures into the lyx file

2008-09-10 Thread Pavel Sanda
 Paul A. Rubin wrote:
  It is easy to embed a compiled image (PDF, JPG, PNG, EPS, ...) from a
  suitable drawing/graphing program.  I take it that's not what you want?

no, embedding is not possible now.

 Also, it is a pity lyx is not able t render tikz  and  xy-pic  pictures. 

http://wiki.lyx.org/LyX/XY-pic

pavel


get (author?) with natbib

2008-09-10 Thread Robert Platt

Hello,

When I use my BibTeX file (created with Jabref) in LyX with the natbib 
author-year style, I get something like this:


...some text here (author?) [1].

That's even if I view/update the output several times. Any ideas why 
this might be?


Regards
Rob
LyX Version: 1.5.5
OS: Gentoo Linux on 32-bit PC


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-10 Thread Pavel Sanda
 On Tue, 9 Sep 2008, Zan wrote:
 I have thousands of pages to process. The first two volumes will be around 
 600 pages each. I will need to automate.

i think postscript is better parseable format for such a task.

pavel


Re: Generating PDF/A from LyX/LaTeX

2008-09-10 Thread William Adams

On Sep 10, 2008, at 2:48 AM, G. Milde wrote:

Maybe it's a font issue (the validator not knowing the CM latex  
fonts)?


Nope. I used Ernesto's example file w/ pdflatex and it worked as I  
described.


The problem would seem to be w/ the .pdf generated by Ghostscript  
since he's using dvips.


So prefix it w/ the following step:

 - take the source .ps file from dvips and distill it in Adobe  
Acrobat Distiller (instead of Ghostscript --- there should be an  
option to save a copy of the .ps) using the appropriate .joboptions  
file which matches your colour model (e.g., PDF/A-1b:2005 (CMYK)


Or switch to using pdflatex.

William

--
William Adams
senior graphic designer
Fry Communications




Re: Ubuntu missing screen fonts for symbols: solution.

2008-09-10 Thread G. Milde
On  4.09.08, Pavel Sanda wrote:
  On  3.09.08, Paul Johnson wrote:
  
   In Debian, latex-xft-fonts is suggested. I agree that the more
   convincing recommended might be the better choice but there is no
   need to require latex-xft-fonts. 

 i don't know how debian has handled this, but note, that lyx is shipped
 with bakoma fonts already, so there is no need to even recommend
 latex-xft-fonts; the only thing is that apt-get install those files
 correctly.

The Debian lyx package does not ship the bakoma fonts. 

As there are more packages that need the latex math fonts as ttf, packing
them separately in Debian is fine.

However, as the fonts and LyX are found together ... in all but unusual
installations, the dependency should be changed to Recommends.
(@Sven: Should I still file a bug report?)

Günter


Re: unicode in math

2008-09-10 Thread rgheck

G. Milde wrote:

Dear LyX users,

  

This looks more like something for devel

rh


with LyX 1.6, using unicode characters other than the first block is
possible also in math mode.  The character in question is either replaced
by a math-equivalent (if defined in the unicodesymbols file) or by
text in math with the text-equivalent.

This is a vast improvement over the silent failure in LyX 1.5, my thanks
go out to the relevant developer(s)!

However, there remain some inconsistencies:

* while A is typeset italic, Ä (and other accented characters) are not.
* while l is typeset italic, λ (and other Greek characters) are not.

So, the question is:

* should Ä be replaced with \A in math?
  
  More generally: should latin-1 supplement characters for which a math

  equivalent exists use this instead of a text-version?

* should λ be replaced with \lambda in math?

  More generally: 
  
  * should Greek characters from the Greek and Coptic

unicode block use the math-equivalent, or

  * should only Greek symbols (from Greek and Coptic and/or from

Mathematical Alphanumeric Symbols) be converted to math symbols?

and could these also show as italic in the LyX GUI?

Attached is a patch for Greek in math.

Günter
  




Re: get (author?) with natbib

2008-09-10 Thread Bob Lounsbury
On Wed, Sep 10, 2008 at 3:48 AM, Robert Platt
[EMAIL PROTECTED] wrote:
 Hello,

 When I use my BibTeX file (created with Jabref) in LyX with the natbib
 author-year style, I get something like this:

 ...some text here (author?) [1].

 That's even if I view/update the output several times. Any ideas why this
 might be?

 Regards
 Rob
 LyX Version: 1.5.5
 OS: Gentoo Linux on 32-bit PC


You're probably not using a natbib compatible .bst style file. You
should use something like plainnat, abbrvnat, or harvard.

Cheers,
/Bob


Re: Generating PDF/A from LyX/LaTeX

2008-09-10 Thread William Adams

On Sep 10, 2008, at 7:23 AM, William Adams wrote:


Or switch to using pdflatex.



Also, Martin Heller mentioned on texhax that the hyperref package as a  
pdfa option which may help as well.


William

--
William Adams
senior graphic designer
Fry Communications




LyX/Mac: Palatino Screen Font Missing

2008-09-10 Thread Bruce Pourciau
Have just upgraded my Mac and LyX (to 1.5.6). A hoard of fonts show up  
in the list of available _screen_ fonts, but for some reason not  
Palatino. Palatino show up in the font lists for Word and Nisus, and  
my LyX produced pdf's are generated in Palatino. Any thoughts?


Bruce


moderncv and bib as publications

2008-09-10 Thread B. Bogart
Hello all,

I've started converting my CV over to moderncv.

I see a few hacks on the wiki which I will play with, but I'm stuck on
using a bibtex database as a publications section.

I tried the using code from the moderncv example using ERT:

\nocite{*}
\bibliographystyle{plain}
\bibliography{publications}

This results in a References section header, but no content.

I managed to get output by including only \nocite{*} as ERT, and adding
the bib in the normal lyx way beneath.

Now this works, but does not appear to fit with the rest of the moderncv
text, the line wrap is much wider and the font looks too small (see
attached).

Also how can I change the name of the section to Publications rather
than References?

Thanks all,
B. Bogart


inline: Screenshot.png

LyX 1.6rc2 crashes when navigating in the outline panel (MAC OS X)

2008-09-10 Thread George G. Szegö

Hi there,

I'd just like to report that LyX version 1.6rc2 repeatedly crashes when
trying to open child documents from a master document by clicking in
the toggle outline panel (see details from the Apple's crash reporter in
the attached file).

Besides this minor problem I am loving the features of this new version.
Congratulations for all of those involved.

Thanks a lot,
George

Process: lyx [38799]
Path:/Applications/lyx-1.6.0rc2.app/Contents/MacOS/lyx
Identifier:  org.lyx.lyx
Version: 1.6.0svn (???)
Code Type:   X86 (Native)
Parent Process:  launchd [109]

Date/Time:   2008-09-06 19:39:53.354 -0400
OS Version:  Mac OS X 10.5.4 (9E17)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x018d
Crashed Thread:  0

Thread 0 Crashed:
0   org.lyx.lyx 0x000d7a55 std::pairint, 
std::basic_stringwchar_t, std::char_traitswchar_t, std::allocatorwchar_t  
::pair(int const, std::basic_stringwchar_t, std::char_traitswchar_t, 
std::allocatorwchar_t  const) + 103
1   org.lyx.lyx 0xd241 void std::listlyx::Branch, 
std::allocatorlyx::Branch ::remove_iflyx::(anonymous 
namespace)::BranchNamesEqual(lyx::(anonymous namespace)::BranchNamesEqual) + 
4229
2   org.lyx.lyx 0x00041e09 
std::_Rb_tree_const_iteratorstd::basic_stringchar, std::char_traitschar, 
std::allocatorchar   
std::findstd::_Rb_tree_const_iteratorstd::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  
(std::_Rb_tree_const_iteratorstd::basic_stringchar, std::char_traitschar, 
std::allocatorchar  , std::_Rb_tree_const_iteratorstd::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  const) + 28205
3   org.lyx.lyx 0x000bd8f8 lyx::(anonymous 
namespace)::MatchString::MatchString(std::basic_stringwchar_t, 
std::char_traitswchar_t, std::allocatorwchar_t  const, bool, bool) + 37578
4   org.lyx.lyx 0x000a294c void 
std::sortlyx::LexerKeyword*, lyx::(anonymous 
namespace)::CompareTags(lyx::LexerKeyword*, lyx::LexerKeyword*, 
lyx::(anonymous namespace)::CompareTags) + 576
5   org.lyx.lyx 0x003462d9 
boost::re_detail::string_out_iteratorstd::basic_stringchar, 
std::char_traitschar, std::allocatorchar   
boost::regex_replaceboost::re_detail::string_out_iteratorstd::basic_stringchar,
 std::char_traitschar, std::allocatorchar  , 
__gnu_cxx::__normal_iteratorchar const*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , boost::regex_traitschar, 
boost::cpp_regex_traitschar , 
char(boost::re_detail::string_out_iteratorstd::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , 
__gnu_cxx::__normal_iteratorchar const*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , 
__gnu_cxx::__normal_iteratorchar const*, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar  , boost::basic_regexchar, 
boost::regex_traitschar, boost::cpp_regex_traitschar   const, char 
const*, boost::regex_constants::_match_flags) + 3329
6   org.lyx.lyx 0x003473d9 
lyx::frontend::TocModel::~TocModel() + 345
7   org.lyx.lyx 0x003473fd 
lyx::frontend::TocModel::~TocModel() + 381
8   org.lyx.lyx 0x003485b1 
lyx::frontend::TocModel::~TocModel() + 4913
9   org.lyx.lyx 0x009730fd void 
std::listboost::signals::connection, 
std::allocatorboost::signals::connection 
::_M_insert_dispatchstd::_List_const_iteratorboost::signals::connection 
(std::_List_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, __false_type) + 6135143
10  org.lyx.lyx 0x007a68ce void 
std::listboost::signals::connection, 
std::allocatorboost::signals::connection 
::_M_insert_dispatchstd::_List_const_iteratorboost::signals::connection 
(std::_List_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, __false_type) + 424
11  org.lyx.lyx 0x007b4c1a void 
std::listboost::signals::connection, 
std::allocatorboost::signals::connection 
::_M_insert_dispatchstd::_List_const_iteratorboost::signals::connection 
(std::_List_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, 
std::_List_const_iteratorboost::signals::connection, __false_type) + 4307076
12  org.lyx.lyx 0x003e8121 void 
std::listboost::signals::connection, 
std::allocatorboost::signals::connection 
::_M_insert_dispatchstd::_List_const_iteratorboost::signals::connection 
(std::_List_iteratorboost::signals::connection, 

Counters

2008-09-10 Thread Yago
Hello to all.

I need to write a book class document (two sides) with a rarely 
chapters/section numbering.

The document have three Parts and Two Apendices. The first Part have Eight 
Chapters, the second Part have five Chapters and the Part three have also five 
Chapters. The numbering of the Parts is normally (Primera Parte, Segunda Parte, 
Tercera Parte, in spanish), but the numbering of the Chapters is continuos over 
the document. That is, the first Part have the Chapters I to VIII, the second 
Part have the Chapters IX to XIII, and the third Part have the Chapters XIV to 
XVIII. The numbering of the Sections is also a little strange because is 
continuos over the document like the Chapters, that is, the first Section label 
is 1 (not 1.1 but 1) in the First Part, Chapter I, and the last Section label 
is 123 (123, not 18.xx).

So, I need something like this:

PRIMERA PARTE%center in page
BLA, BLA, BLA%center in page

CAPÍTULO I  %center in page
BLA, BLA, BLA %center in page

SECTION 1. BLA, BLA, BLA%left aligned
text
SECTION 2. BLA, BLA, BLA %left aligned
text
.
.
.
SECTION (n). BLA, BLA, BLA%left aligned
text

CAPITULO II   %center in page
BLA, BLA, BLA   %center in page

SECTION (n+1). BLA, BLA, BLA%left aligned
text
.
.
.

SEGUNDA PARTE   %center in page
BLA, BLA, BLA%center in page

CAPITULO (last Chapter number in the first Part plus one)
BLA,BLA, BLA

SECTION (last Section number in the first Part plus one). BLA, BLA, BLA
text
.
.
.
and so on to finalize in the TERCERA PARTE, CAPÍTULO XVIII, SECCIÓN 123 (BLA, 
BLA, BLA)

The package titlesec is fantastic, but also very difficult for me and I will 
appreciate your help about this.

Thanks in advance.



Wiki: MPM on Linux (need a link blessed)

2008-09-10 Thread Paul A. Rubin

Hi,

I just added a paragraph to the wiki pointing to a web page with 
instructions on how to install the MiKTeX Package Manager on Ubuntu. 
The wiki URL is http://wiki.lyx.org/LyX/LyXOnUbuntu#toc6.  The link to 
the source web page needs to be approved/blessed, which needs a 
password, which apparently is not the same as the upload password.  Can 
someone (Christian?) bless it for me?


TIA,
Paul



Re: Wiki: MPM on Linux (need a link blessed)

2008-09-10 Thread Christian Ridderström

On Wed, 10 Sep 2008, Paul A. Rubin wrote:

I've sent Paul the password.

/Christian

PS. On a good note, we haven't had any spam lately as far as I can 
remember. That's nice!


I just added a paragraph to the wiki pointing to a web page with instructions 
on how to install the MiKTeX Package Manager on Ubuntu. The wiki URL is 
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc6.  The link to the source web page 
needs to be approved/blessed, which needs a password, which apparently is not 
the same as the upload password.  Can someone (Christian?) bless it for me?


TIA,
Paul





--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr

unicode in math

2008-09-10 Thread G. Milde
Dear LyX users,

with LyX 1.6, using unicode characters other than the first block is
possible also in math mode.  The character in question is either replaced
by a math-equivalent (if defined in the "unicodesymbols" file) or by
"text in math" with the text-equivalent.

This is a vast improvement over the silent failure in LyX 1.5, my thanks
go out to the relevant developer(s)!

However, there remain some inconsistencies:

* while A is typeset italic, Ä (and other accented characters) are not.
* while l is typeset italic, λ (and other Greek characters) are not.

So, the question is:

* should Ä be replaced with \"A in math?
  
  More generally: should "latin-1 supplement" characters for which a math
  equivalent exists use this instead of a text-version?

* should λ be replaced with \lambda in math?

  More generally: 
  
  * should Greek characters from the "Greek and Coptic"
unicode block use the math-equivalent, or

  * should only Greek symbols (from Greek and Coptic" and/or from
"Mathematical Alphanumeric Symbols") be converted to math symbols?

and could these also show as italic in the LyX GUI?

Attached is a patch for Greek in math.

Günter
--- /usr/local/src/lyx-devel/lib/unicodesymbols	2008-07-29 14:34:04.0 +0200
+++ /home/milde/.lyx16/unicodesymbols-greek-math	2008-09-07 21:15:59.0 +0200
@@ -737,30 +737,30 @@
 0x038e "\\textgreek{\char39U}""textgreek" "" # GREEK CAPITAL LETTER UPSILON WITH TONOS
 0x038f "\\textgreek{\char39W}""textgreek" "" # GREEK CAPITAL LETTER OMEGA WITH TONOS
 0x0390 "\\textgreek{\char242}""textgreek" "" # GREEK SMALL LETTER IOTA WITH DIALYTKA
-0x0391 "\\textgreek{A}"   "textgreek" "" # GREEK CAPITAL LETTER ALPHA
-0x0392 "\\textgreek{B}"   "textgreek" "" # GREEK CAPITAL LETTER BETA
-0x0393 "\\textgreek{G}"   "textgreek" "" # GREEK CAPITAL LETTER GAMMA
-0x0394 "\\textgreek{D}"   "textgreek" "" # GREEK CAPITAL LETTER DELTA
-0x0395 "\\textgreek{E}"   "textgreek" "" # GREEK CAPITAL LETTER EPSILON
-0x0396 "\\textgreek{Z}"   "textgreek" "" # GREEK CAPITAL LETTER ZETA
-0x0397 "\\textgreek{H}"   "textgreek" "" # GREEK CAPITAL LETTER ETA
-0x0398 "\\textgreek{J}"   "textgreek" "" # GREEK CAPITAL LETTER THETA
-0x0399 "\\textgreek{I}"   "textgreek" "" # GREEK CAPITAL LETTER IOTA
-0x039a "\\textgreek{K}"   "textgreek" "" # GREEK CAPITAL LETTER KAPPA
-0x039b "\\textgreek{L}"   "textgreek" "" # GREEK CAPITAL LETTER LAMDA
-0x039c "\\textgreek{M}"   "textgreek" "" # GREEK CAPITAL LETTER MU
-0x039d "\\textgreek{N}"   "textgreek" "" # GREEK CAPITAL LETTER NU
-0x039e "\\textgreek{X}"   "textgreek" "" # GREEK CAPITAL LETTER XI
-0x039f "\\textgreek{O}"   "textgreek" "" # GREEK CAPITAL LETTER OMICRON
-0x03a0 "\\textgreek{P}"   "textgreek" "" # GREEK CAPITAL LETTER PI
-0x03a1 "\\textgreek{R}"   "textgreek" "" # GREEK CAPITAL LETTER RHO
-0x03a3 "\\textgreek{S}"   "textgreek" "" # GREEK CAPITAL LETTER SIGMA
-0x03a4 "\\textgreek{T}"   "textgreek" "" # GREEK CAPITAL LETTER TAU
-0x03a5 "\\textgreek{U}"   "textgreek" "" # GREEK CAPITAL LETTER UPSILON
-0x03a6 "\\textgreek{F}"   "textgreek" "" # GREEK CAPITAL LETTER PHI
-0x03a7 "\\textgreek{Q}"   "textgreek" "" # GREEK CAPITAL LETTER CHI
-0x03a8 "\\textgreek{Y}"   "textgreek" "" # GREEK CAPITAL LETTER PSI
-0x03a9 "\\textgreek{W}"   "textgreek" "" # GREEK CAPITAL LETTER OMEGA
+0x0391 "\\textgreek{A}"   "textgreek" "" # "A" # GREEK CAPITAL LETTER ALPHA
+0x0392 "\\textgreek{B}"   "textgreek" "" # "B" # GREEK CAPITAL LETTER BETA
+0x0393 "\\textgreek{G}"   "textgreek" "" "\Gamma" # GREEK CAPITAL LETTER GAMMA
+0x0394 "\\textgreek{D}"   "textgreek" "" "\Delta" # GREEK CAPITAL LETTER DELTA
+0x0395 "\\textgreek{E}"   "textgreek" "" # "E" # GREEK CAPITAL LETTER EPSILON
+0x0396 "\\textgreek{Z}"   "textgreek" "" # "Z" # GREEK CAPITAL LETTER ZETA
+0x0397 "\\textgreek{H}"   "textgreek" "" # "H" # GREEK CAPITAL LETTER ETA
+0x0398 "\\textgreek{J}"   "textgreek" "" "\Theta" # GREEK CAPITAL LETTER THETA
+0x0399 "\\textgreek{I}"   "textgreek" "" # "I" # GREEK CAPITAL LETTER IOTA
+0x039a "\\textgreek{K}"   "textgreek" "" # "K" # GREEK CAPITAL LETTER KAPPA
+0x039b "\\textgreek{L}"   "textgreek" "" "\Lambda" # GREEK CAPITAL LETTER LAMDA
+0x039c "\\textgreek{M}"   "textgreek" "" # "M" # GREEK CAPITAL LETTER MU
+0x039d "\\textgreek{N}"   "textgreek" "" # "N" # GREEK CAPITAL LETTER NU
+0x039e "\\textgreek{X}"   "textgreek" "" "\Xi" # GREEK CAPITAL LETTER XI
+0x039f "\\textgreek{O}"   "textgreek" "" # "O" # GREEK CAPITAL LETTER OMICRON
+0x03a0 "\\textgreek{P}"   "textgreek" "" "\Pi" # GREEK CAPITAL LETTER PI
+0x03a1 "\\textgreek{R}"   "textgreek" "" "\Rho" # GREEK CAPITAL LETTER RHO
+0x03a3 "\\textgreek{S}"   

Re: pictures into the lyx file

2008-09-10 Thread Pol
Paul A. Rubin wrote:

> Pol wrote:
>> Paul A. Rubin wrote:
>> 
>>> Pol wrote:
 

 Is there a way to include pictures, I mean simple geometric pictures,
 into a lyx file?
 Metapost or something like that could be used?
  
>>> Would either tikz or xy-pic do what you have in mind?
>>>

> 
> It is easy to embed a compiled image (PDF, JPG, PNG, EPS, ...) from a
> suitable drawing/graphing program.  I take it that's not what you want?
> 

Thank you for your hints and examples, i will experiment with both programs,
but i would prefer to work with a graphic interface. 
Also, it is a pity lyx is not able t render tikz  and  xy-pic  pictures. 

--
Pol




Re: Generating PDF/A from LyX/LaTeX

2008-09-10 Thread G. Milde
On  9.09.08, Steve Litt wrote:
> > > On Tuesday 09 September 2008 12:54:38 pm Ernesto Posse wrote:
> > >> This question is not a LyX-only question, but I thought maybe someone
> > >> here could have an idea on this issue.
> > >>
> > >> Has anyone succeeded in producing a PDF/A file (PDF for archival) from
> > >> LyX/LaTeX? I've tried tools that claim to generate PDF/A from
> > >> PostScript files or PDF files (both for Windows and Linux) but I
> > >> haven't been successful in generating a file which is considered PDF/A
> > >> compliant by at least two different validators, even with the
> > >> following minimal file (in LaTeX) via dvips:
> > >>
> > >> === file a.tex ===
> > >> \documentclass{article}
> > >> \begin{document}
> > >> Just this line...
> > >> \end{document}
> > >> === end of file ===

> The PDF/A Wikipedia page makes it look pretty straightforward -- all fonts 
> embedded, all fonts legal everywhere, no video, audio or javascript, device 
> independent color.

Maybe it's a font issue (the validator not knowing the CM latex fonts)?

How about trying the standard PS fonts, like

=== file a.tex ===
\documentclass{article}
\usepackage{mathptmx} % or \usepackage{mathpazo}
\begin{document}
Just this line...
\end{document}
=== end of file ===

?

Günter


Re: Bug 1.5.6 + 1.6.0rc1: Wrong indentation after increased depth

2008-09-10 Thread lyx
 Original-Nachricht 
> Datum: Mon, 08 Sep 2008 16:02:50 +0200
> Von: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
> An: [EMAIL PROTECTED]
> CC: lyx-users@lists.lyx.org
> Betreff: Re: Bug 1.5.6 + 1.6.0rc1: Wrong indentation after increased depth

> [EMAIL PROTECTED] writes:
> 
> > I think this one is clearly a bug, reproducible in 1.5.6 and 1.6.0rc1
> for me:
> >
> > 1. Produce a numberd list/itemized list etc. item
> >
> > 2. Produce a standard paragraph and increase the depth to make it line
> up with the list item
> >
> > 3. Produce a standard paragraph, which is incorrectly indented in LyX,
> but correct in the output
> >
> > I use this combination quite often, so it is always a bit confusing to
> see the wrong indentation first.
> 
> Could you send an example file?
> 
> JMarc


Well, as expected it also happens in 1.6.0rc2, so here is the example file 
created in 1.6.0rc2.

Phil


wrong_indentation_example.lyx
Description: application/lyx


Re: pictures into the lyx file

2008-09-10 Thread Pavel Sanda
> Paul A. Rubin wrote:
> > It is easy to embed a compiled image (PDF, JPG, PNG, EPS, ...) from a
> > suitable drawing/graphing program.  I take it that's not what you want?

no, embedding is not possible now.

> Also, it is a pity lyx is not able t render tikz  and  xy-pic  pictures. 

http://wiki.lyx.org/LyX/XY-pic

pavel


get (author?) with natbib

2008-09-10 Thread Robert Platt

Hello,

When I use my BibTeX file (created with Jabref) in LyX with the natbib 
author-year style, I get something like this:


...some text here (author?) [1].

That's even if I view/update the output several times. Any ideas why 
this might be?


Regards
Rob
LyX Version: 1.5.5
OS: Gentoo Linux on 32-bit PC


Re: OT: post-process postscript or PDF document to add page numbering and footer

2008-09-10 Thread Pavel Sanda
> On Tue, 9 Sep 2008, Zan wrote:
> I have thousands of pages to process. The first two volumes will be around 
> 600 pages each. I will need to automate.

i think postscript is better parseable format for such a task.

pavel


Re: Generating PDF/A from LyX/LaTeX

2008-09-10 Thread William Adams

On Sep 10, 2008, at 2:48 AM, G. Milde wrote:

Maybe it's a font issue (the validator not knowing the CM latex  
fonts)?


Nope. I used Ernesto's example file w/ pdflatex and it worked as I  
described.


The problem would seem to be w/ the .pdf generated by Ghostscript  
since he's using dvips.


So prefix it w/ the following step:

 - take the source .ps file from dvips and distill it in Adobe  
Acrobat Distiller (instead of Ghostscript --- there should be an  
option to save a copy of the .ps) using the appropriate .joboptions  
file which matches your colour model (e.g., PDF/A-1b:2005 (CMYK)


Or switch to using pdflatex.

William

--
William Adams
senior graphic designer
Fry Communications




Re: Ubuntu missing screen fonts for symbols: solution.

2008-09-10 Thread G. Milde
On  4.09.08, Pavel Sanda wrote:
> > On  3.09.08, Paul Johnson wrote:
> > 
> > > In Debian, latex-xft-fonts is "suggested". I agree that the more
> > > convincing "recommended" might be the better choice but there is no
> > > need to "require" latex-xft-fonts. 

> i don't know how debian has handled this, but note, that lyx is shipped
> with bakoma fonts already, so there is no need to even recommend
> latex-xft-fonts; the only thing is that apt-get install those files
> correctly.

The Debian lyx package does not ship the bakoma fonts. 

As there are more packages that need the latex math fonts as ttf, packing
them separately in Debian is fine.

However, as the fonts and LyX are "found together ... in all but unusual
installations", the dependency should be changed to "Recommends".
(@Sven: Should I still file a bug report?)

Günter


Re: unicode in math

2008-09-10 Thread rgheck

G. Milde wrote:

Dear LyX users,

  

This looks more like something for devel

rh


with LyX 1.6, using unicode characters other than the first block is
possible also in math mode.  The character in question is either replaced
by a math-equivalent (if defined in the "unicodesymbols" file) or by
"text in math" with the text-equivalent.

This is a vast improvement over the silent failure in LyX 1.5, my thanks
go out to the relevant developer(s)!

However, there remain some inconsistencies:

* while A is typeset italic, Ä (and other accented characters) are not.
* while l is typeset italic, λ (and other Greek characters) are not.

So, the question is:

* should Ä be replaced with \"A in math?
  
  More generally: should "latin-1 supplement" characters for which a math

  equivalent exists use this instead of a text-version?

* should λ be replaced with \lambda in math?

  More generally: 
  
  * should Greek characters from the "Greek and Coptic"

unicode block use the math-equivalent, or

  * should only Greek symbols (from Greek and Coptic" and/or from

"Mathematical Alphanumeric Symbols") be converted to math symbols?

and could these also show as italic in the LyX GUI?

Attached is a patch for Greek in math.

Günter
  




Re: get (author?) with natbib

2008-09-10 Thread Bob Lounsbury
On Wed, Sep 10, 2008 at 3:48 AM, Robert Platt
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> When I use my BibTeX file (created with Jabref) in LyX with the natbib
> author-year style, I get something like this:
>
> ...some text here (author?) [1].
>
> That's even if I view/update the output several times. Any ideas why this
> might be?
>
> Regards
> Rob
> LyX Version: 1.5.5
> OS: Gentoo Linux on 32-bit PC
>

You're probably not using a natbib compatible .bst style file. You
should use something like plainnat, abbrvnat, or harvard.

Cheers,
/Bob


Re: Generating PDF/A from LyX/LaTeX

2008-09-10 Thread William Adams

On Sep 10, 2008, at 7:23 AM, William Adams wrote:


Or switch to using pdflatex.



Also, Martin Heller mentioned on texhax that the hyperref package as a  
pdfa option which may help as well.


William

--
William Adams
senior graphic designer
Fry Communications




LyX/Mac: Palatino Screen Font Missing

2008-09-10 Thread Bruce Pourciau
Have just upgraded my Mac and LyX (to 1.5.6). A hoard of fonts show up  
in the list of available _screen_ fonts, but for some reason not  
Palatino. Palatino show up in the font lists for Word and Nisus, and  
my LyX produced pdf's are generated in Palatino. Any thoughts?


Bruce


moderncv and bib as "publications"

2008-09-10 Thread B. Bogart
Hello all,

I've started converting my CV over to moderncv.

I see a few hacks on the wiki which I will play with, but I'm stuck on
using a bibtex database as a "publications" section.

I tried the using code from the moderncv example using ERT:

\nocite{*}
\bibliographystyle{plain}
\bibliography{publications}

This results in a "References" section header, but no content.

I managed to get output by including only \nocite{*} as ERT, and adding
the bib in the normal lyx way beneath.

Now this works, but does not appear to fit with the rest of the moderncv
text, the line wrap is much wider and the font looks too small (see
attached).

Also how can I change the name of the section to "Publications" rather
than "References"?

Thanks all,
B. Bogart


<>

LyX 1.6rc2 crashes when navigating in the outline panel (MAC OS X)

2008-09-10 Thread George G. Szegö

Hi there,

I'd just like to report that LyX version 1.6rc2 repeatedly crashes when
trying to open child documents from a master document by clicking in
the toggle outline panel (see details from the Apple's crash reporter in
the attached file).

Besides this minor problem I am loving the features of this new version.
Congratulations for all of those involved.

Thanks a lot,
George

Process: lyx [38799]
Path:/Applications/lyx-1.6.0rc2.app/Contents/MacOS/lyx
Identifier:  org.lyx.lyx
Version: 1.6.0svn (???)
Code Type:   X86 (Native)
Parent Process:  launchd [109]

Date/Time:   2008-09-06 19:39:53.354 -0400
OS Version:  Mac OS X 10.5.4 (9E17)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x018d
Crashed Thread:  0

Thread 0 Crashed:
0   org.lyx.lyx 0x000d7a55 std::pair 
>::pair(int const&, std::basic_string const&) + 103
1   org.lyx.lyx 0xd241 void std::list::remove_if(lyx::(anonymous namespace)::BranchNamesEqual) + 
4229
2   org.lyx.lyx 0x00041e09 
std::_Rb_tree_const_iterator > 
std::find >, std::basic_string 
>(std::_Rb_tree_const_iterator >, std::_Rb_tree_const_iterator >, std::basic_string const&) + 28205
3   org.lyx.lyx 0x000bd8f8 lyx::(anonymous 
namespace)::MatchString::MatchString(std::basic_string const&, bool, bool) + 37578
4   org.lyx.lyx 0x000a294c void 
std::sort(lyx::LexerKeyword*, lyx::LexerKeyword*, 
lyx::(anonymous namespace)::CompareTags) + 576
5   org.lyx.lyx 0x003462d9 
boost::re_detail::string_out_iterator > 
boost::regex_replace >, 
__gnu_cxx::__normal_iterator, std::allocator > >, boost::regex_traits, 
char>(boost::re_detail::string_out_iterator >, 
__gnu_cxx::__normal_iterator, std::allocator > >, 
__gnu_cxx::__normal_iterator, std::allocator > >, boost::basic_regex > const&, char 
const*, boost::regex_constants::_match_flags) + 3329
6   org.lyx.lyx 0x003473d9 
lyx::frontend::TocModel::~TocModel() + 345
7   org.lyx.lyx 0x003473fd 
lyx::frontend::TocModel::~TocModel() + 381
8   org.lyx.lyx 0x003485b1 
lyx::frontend::TocModel::~TocModel() + 4913
9   org.lyx.lyx 0x009730fd void 
std::list::_M_insert_dispatch(std::_List_iterator, 
std::_List_const_iterator, 
std::_List_const_iterator, __false_type) + 6135143
10  org.lyx.lyx 0x007a68ce void 
std::list::_M_insert_dispatch(std::_List_iterator, 
std::_List_const_iterator, 
std::_List_const_iterator, __false_type) + 424
11  org.lyx.lyx 0x007b4c1a void 
std::list::_M_insert_dispatch(std::_List_iterator, 
std::_List_const_iterator, 
std::_List_const_iterator, __false_type) + 4307076
12  org.lyx.lyx 0x003e8121 void 
std::list::_M_insert_dispatch(std::_List_iterator, 
std::_List_const_iterator, 
std::_List_const_iterator, __false_type) + 322955
13  org.lyx.lyx 0x006d6765 void 
std::list::_M_insert_dispatch(std::_List_iterator, 
std::_List_const_iterator, 
std::_List_const_iterator, __false_type) + 3396559
14  org.lyx.lyx 0x007509bf void 
std::list::_M_insert_dispatch(std::_List_iterator, 
std::_List_const_iterator, 
std::_List_const_iterator, __false_type) + 3896873
15  org.lyx.lyx 0x007b196a void 
std::list

Counters

2008-09-10 Thread Yago
Hello to all.

I need to write a book class document (two sides) with a rarely 
chapters/section numbering.

The document have three Parts and Two Apendices. The first Part have Eight 
Chapters, the second Part have five Chapters and the Part three have also five 
Chapters. The numbering of the Parts is normally (Primera Parte, Segunda Parte, 
Tercera Parte, in spanish), but the numbering of the Chapters is continuos over 
the document. That is, the first Part have the Chapters I to VIII, the second 
Part have the Chapters IX to XIII, and the third Part have the Chapters XIV to 
XVIII. The numbering of the Sections is also a little strange because is 
continuos over the document like the Chapters, that is, the first Section label 
is 1 (not 1.1 but 1) in the First Part, Chapter I, and the last Section label 
is 123 (123, not 18.xx).

So, I need something like this:

PRIMERA PARTE%center in page
BLA, BLA, BLA%center in page

CAPÍTULO I  %center in page
BLA, BLA, BLA %center in page

SECTION 1. BLA, BLA, BLA%left aligned
text
SECTION 2. BLA, BLA, BLA %left aligned
text
.
.
.
SECTION (n). BLA, BLA, BLA%left aligned
text

CAPITULO II   %center in page
BLA, BLA, BLA   %center in page

SECTION (n+1). BLA, BLA, BLA%left aligned
text
.
.
.

SEGUNDA PARTE   %center in page
BLA, BLA, BLA%center in page

CAPITULO (last Chapter number in the first Part plus one)
BLA,BLA, BLA

SECTION (last Section number in the first Part plus one). BLA, BLA, BLA
text
.
.
.
and so on to finalize in the TERCERA PARTE, CAPÍTULO XVIII, SECCIÓN 123 (BLA, 
BLA, BLA)

The package titlesec is fantastic, but also very difficult for me and I will 
appreciate your help about this.

Thanks in advance.



Wiki: MPM on Linux (need a link blessed)

2008-09-10 Thread Paul A. Rubin

Hi,

I just added a paragraph to the wiki pointing to a web page with 
instructions on how to install the MiKTeX Package Manager on Ubuntu. 
The wiki URL is http://wiki.lyx.org/LyX/LyXOnUbuntu#toc6.  The link to 
the source web page needs to be approved/blessed, which needs a 
password, which apparently is not the same as the upload password.  Can 
someone (Christian?) bless it for me?


TIA,
Paul



Re: Wiki: MPM on Linux (need a link blessed)

2008-09-10 Thread Christian Ridderström

On Wed, 10 Sep 2008, Paul A. Rubin wrote:

I've sent Paul the password.

/Christian

PS. On a good note, we haven't had any spam lately as far as I can 
remember. That's nice!


I just added a paragraph to the wiki pointing to a web page with instructions 
on how to install the MiKTeX Package Manager on Ubuntu. The wiki URL is 
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc6.  The link to the source web page 
needs to be approved/blessed, which needs a password, which apparently is not 
the same as the upload password.  Can someone (Christian?) bless it for me?


TIA,
Paul





--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr