Re: LyX-doc "EmbeddedObjects" not compiling

2010-01-17 Thread Uwe Stöhr

Am 17.01.2010 16:53, schrieb Joachim Osnabryg:


You haven't used the new version, but the old one. Can you please
recheck this?


You are right, I didn't realize that you had made the correction in the
English version, not the German.


That's not correct, take the latest version from our LyX 1.6.x development 
branch:
http://www.lyx.org/trac/export/33063/lyx-devel/branches/BRANCH_1_6_X/lib/doc/de/EmbeddedObjects.lyx

I of course corrected all language versions at once.


Your corrected version, put on right
place within LyX.app directory, could be run with success.


Good to hear.

regards Uwe


Re: LyX-doc "EmbeddedObjects" not compiling

2010-01-17 Thread Joachim Osnabryg

Am 17.01.2010, 16:53 Uhr, schrieb Joachim Osnabryg, => me:


Remaining problem:
 => The pdf output of this table is flawed and misarranged in column 2  
and 3, i. e. not usable for real purposes.

 - With your corrected English version the output is correct -
 I couldn't figure out, what's the difference in LyX or in LaTeX code.


Finally I managed to get correct output
- by copying the table 2.22 from Uwe's corrected English version into the  
German one,

- then changing the English words to German
- and changing the language-choose of that part in LyX to German as well.

No more help needed for my scope. But nevertheless the other language  
versions have to be corrected for the next LyX release.


joachim

The part of the LaTex Code now reads:

there are some tiny differences to the other code, which I'm not able to  
explane or interpret, e. g. line 6 in the following code began with  
\begin{centering}, what is now \centering{}

part of new code--

\begin{table}[h]
\caption[Ausrichtung mit dem \protect\LaTeX{}-Paket  
\textbf{dcolumn}]{\label{tab:Ausrichtung-mit-dem}Ausrichtung mit dem  
\protect\LaTeX{}-Paket

\textbf{dcolumn}. Bei allen Spalten musste getrickst werden, um die
gewünschte Ausgabe zu bekommen.}

\centering{}\begin{tabular}{D{x}{\times}{-1}|D{x}{\times}{4.9}|D{+}{\,}{9.7}}
\multicolumn{1}{c|}{Einheiten} & \multicolumn{1}{c|}{Einheiten} &  
\multicolumn{1}{c}{Einheiten}\tabularnewline

\hline
12x24\,Flaschen & 12x24\,$\mbox{Flaschen}$ & 12\times  
24+$\mbox{Flaschen}$\tabularnewline
1024x768\,Pixel & 1024x768\,$\mbox{Pixel}$ & 1024\times  
768+$\mbox{Pixel}$\tabularnewline

32x6\,cm & 32x6\,$\mbox{cm}$ & 32\times 6+$\mbox{cm}$\tabularnewline
\end{tabular}
\end{table}


--
Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3
LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger



Re: LyX-doc "EmbeddedObjects" not compiling

2010-01-17 Thread Joachim Osnabryg

Am 17.01.2010, 01:56 Uhr, schrieb Uwe Stöhr :
You haven#t used the new version, but the old one. Can you please  
recheck this?


You are right, I didn't realize that you had made the correction in the  
English version, not the German. Your corrected version, put on right  
place within LyX.app directory, could be run with success. (On Mac, I had  
to open it from within the LyX.app package directory.)


You can see if you are using the correct one by checking that the  
problematic table 2.22 contains now a "+" instead of a "~" in the third  
table column.


I managed to make the same correction in the German version within the  
LyX.app directory and compiled it then from LyX window "Help/Hilfe >  
Eingebettete Objekte" with result, too.


Remaining problem:

=> The pdf output of this table is flawed and misarranged in column 2 and  
3, i. e. not usable for real purposes.


- With your corrected English version the output is correct -

I couldn't figure out, what's the difference in LyX or in LaTeX code.


In my corrected German version the code is:

\begin{table}[h]
\caption[Ausrichtung mit dem \protect\LaTeX{}-Paket  
\textbf{dcolumn}]{\label{tab:Ausrichtung-mit-dem}Ausrichtung mit dem  
\protect\LaTeX{}-Paket

\textbf{dcolumn}. Bei allen Spalten musste getrickst werden, um die
gewünschte Ausgabe zu bekommen.}

\begin{centering}
\begin{tabular}{D{x}{\times}{-1}|D{x}{\times}{4.9}|D{~}{\,}{9.7}}
\multicolumn{1}{c|}{Einheiten} & \multicolumn{1}{c|}{Einheiten} &  
\multicolumn{1}{c}{Einheiten}\tabularnewline

\hline
12x24\,$\mbox{Flaschen}$ & 12x24\,$\mbox{Flaschen}$ & 12\times  
24+$\mbox{Flaschen}$\tabularnewline
1024x768\,$\mbox{Pixel}$ & 1024x768\,$\mbox{Pixel}$ & 1024\times  
768+$\mbox{Pixel}$\tabularnewline
32x6\,$\mbox{cm}$ & 32x6\,$\mbox{cm}$ & 32\times  
6+$\mbox{cm}$\tabularnewline

\end{tabular}
\par\end{centering}

If you can give advice, it would be appreciated.

Thank you so far, think to change all the language versions for the next  
LyX release, I advice… ;)


joachim
--
Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3
LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger


Re: LyX-doc "EmbeddedObjects" not compiling

2010-01-16 Thread Uwe Stöhr

Am 17.01.2010 01:38, schrieb Joachim Osnabryg:


I replaced the ~ now with a +, please check if this version:
http://www.lyx.org/trac/export/33063/lyx-devel/branches/BRANCH_1_6_X/lib/doc/EmbeddedObjects.lyx

works now for you.


Here not, sorry. Still the same errors. (See below)


You haven#t used the new version, but the old one. Can you please recheck this? You can see if you 
are using the correct one by checking that the problematic table 2.22 contains now a "+" instead of 
a "~" in the third table column.



LaTeX Warning: Command \~ invalid in math mode on input line 2152.

! Please use \mathaccent for accents in math mode.
\...@accent @spacefactor \spacefactor }\accent
#1 #2\egroup \spacefactor ...
l.2152 ...{Flaschen}$ & 12\times 24\textasciitilde
{}$\mbox{Flaschen}$\tabula...


The new version has the following code:

l.2152 ...{Flaschen}$ & 12\times 24+
{}$\mbox{Flaschen}$\tabula...

regards Uwe


Re: LyX-doc "EmbeddedObjects" not compiling

2010-01-16 Thread Joachim Osnabryg

Am 17.01.2010, 00:51 Uhr, schrieb Uwe Stöhr:

I replaced the ~ now with a +, please check if this version:
http://www.lyx.org/trac/export/33063/lyx-devel/branches/BRANCH_1_6_X/lib/doc/EmbeddedObjects.lyx
works now for you.



Here not, sorry. Still the same errors. (See below)

joachim
-
Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3
LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger

---first errors---


LaTeX Warning: Command \textasciitilde invalid in math mode on input line  
2152.


LaTeX Warning: Command \~ invalid in math mode on input line 2152.

! Please use \mathaccent for accents in math mode.
\...@accent @spacefactor \spacefactor }\accent
  #1 #2\egroup  
\spacefactor ...

l.2152 ...{Flaschen}$ & 12\times 24\textasciitilde
  {}$\mbox{Flaschen}$\tabula...
I'm changing \accent to \mathaccent here; wish me luck.
(Accents are not the same in formulas as they are in text.)

! Missing { inserted.

   \egroup
l.2152 ...{Flaschen}$ & 12\times 24\textasciitilde
  {}$\mbox{Flaschen}$\tabula...
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)

! You can't use `\spacefactor' in math mode.

etc. etc…
--
Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3
LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger



Re: LyX-doc "EmbeddedObjects" not compiling

2010-01-16 Thread Uwe Stöhr

Am 16.01.2010 15:24, schrieb rgheck:


Today I tried to make a pdf or dvi from the LyX Help doc/de
"EmbeddedObjects", but it stops with LaTeX errors at the floating
table 22 before the section head 2.12.3. I report the first LaTeX
errors below.



LaTeX Warning: Command \textasciitilde invalid in math mode on input
line 2152.


As written in the text, the LaTeX-package takes the whole table content as math.
\textasciitilde is therefore indeed not correct, it is nevertheless strange that you cannot compile 
the file due to a warning.


I replaced the ~ now with a +, please check if this version:
http://www.lyx.org/trac/export/33063/lyx-devel/branches/BRANCH_1_6_X/lib/doc/EmbeddedObjects.lyx
works now for you.

regards Uwe


LyX-doc "EmbeddedObjects" not compiling

2010-01-16 Thread Joachim Osnabryg


Dear Helpers,

Today I tried to make a pdf or dvi from the LyX Help doc/de  
"EmbeddedObjects", but it stops with LaTeX errors at the floating table 22  
before the section head 2.12.3. I report the first LaTeX errors below.


I am completely at a loss with this fact. I wanted to have the  
EmbeddedObjects.lyx as pdf for better being able to study it…


Any advice/hint, what's going wrong and/or the way out?

joachim
--
Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3
LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger

---the first LaTeX  
Warnings


LaTeX Warning: Command \textasciitilde invalid in math mode on input line  
2152.


LaTeX Warning: Command \~ invalid in math mode on input line 2152.

! Please use \mathaccent for accents in math mode.
\...@accent @spacefactor \spacefactor }\accent
  #1 #2\egroup  
\spacefactor ...

l.2152 ...{Flaschen}$ & 12\times 24\textasciitilde
  {}$\mbox{Flaschen}$\tabula...
I'm changing \accent to \mathaccent here; wish me luck.
(Accents are not the same in formulas as they are in text.)

! Missing { inserted.

   \egroup
l.2152 ...{Flaschen}$ & 12\times 24\textasciitilde
  {}$\mbox{Flaschen}$\tabula...
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)

! You can't use `\spacefactor' in math mode.
\...@accent ...}\accent #1 #2\egroup \spacefactor
  \acc...@spacefactor
--
! You can't use `\spacefactor' in math mode.
--

! Missing } inserted.

}
l.2152 ...aschen}$ & 12\times 24\textasciitilde{}$
  \mbox{Flaschen}$\tabularne...
I've inserted something that you may have forgotten.
(See the  above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.

Missing character: There is no � in font lmex10!

LaTeX Warning: Command \textasciitilde invalid in math mode on input line  
2153.


! Please use \mathaccent for accents in math mode.
---

etc. etc…