Re: lyx 1.6.5 for linux 64

2010-01-17 Thread Liviu Andronic
On 1/16/10, EK ehud.kap...@mssm.edu wrote:
 Where can I find lyx 1.6.5 for linux 64, preferably as a .deb package?
  Kubuntu only sports 1.6.4

On Debian [1]?
Liviu

[1] http://www.debian.org/distrib/packages


TOC (newbie question)

2010-01-17 Thread Peter Bradley
I'm trying to add a TOC to my document - a paper I'm giving later this 
year.  I've done what it says to do in the help:


Insert -- List / TOC -- Table of Contents

The 'Table of Contents' button appears and if I click on it, a listing 
appears in a window at the left.  However no TOC appears in my dvi 
document, just the legend, 'Contents'.


This is my first proper attempt to create a document using LyX, so I'm 
probably misunderstanding something at a fairly fundamental level.  
Apologies if that is the case.


Thanks


Peter



Re: TOC (newbie question)

2010-01-17 Thread William Seager
On  Sunday 17 January 2010  at  08:24,  Peter Bradley wrote:
 The 'Table of Contents' button appears and if I click on it, a listing 
 appears in a window at the left.  However no TOC appears in my dvi 
 document, just the legend, 'Contents'.
 

well - just to be sure of the basics, do you have the appropriate
List in TOC settings in Tools-Documents-Lists  TOC?

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

William Seager wrote:

On  Sunday 17 January 2010  at  08:24,  Peter Bradley wrote:
  
The 'Table of Contents' button appears and if I click on it, a listing 
appears in a window at the left.  However no TOC appears in my dvi 
document, just the legend, 'Contents'.





well - just to be sure of the basics, do you have the appropriate
List in TOC settings in Tools-Documents-Lists  TOC?

  

Yes.  That's the right place to start. :)

Actually I don't have Tools-Documents-Lists  TOC.  I'm using LyX 1.6.4, 
if that helps.


I do have Document -- Settings -- Number  TOC

It has some sliders labeled 'Numbering' and 'List in Table of Contents', 
which I don't understand at all.  What value am I supposed to be 
increasing/decreasing?


It also has a table with the following columns:

Example, Numbered, Appears in TOC

Neither the sliders nor the table contents appear to be changeable.  The 
sliders don't slide and the table offers no means of 
adding/deleting/amending its entries.


There are also two buttons, 'Use class defaults' and 'Save as document 
defaults'.  I'm afraid I've no idea what they might do.


Then there are some greyed out buttons:
- Restore
- OK
- Apply

Finally, there is an active 'Close' button.

Does that help?  And thanks very much for the reply.  It's appreciated.

Cheers


Peter




Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
2010/1/17 Peter Bradley p.brad...@dsl.pipex.com:
 William Seager wrote:

 On  Sunday 17 January 2010  at  08:24,  Peter Bradley wrote:


 The 'Table of Contents' button appears and if I click on it, a listing
 appears in a window at the left.  However no TOC appears in my dvi document,
 just the legend, 'Contents'.



 well - just to be sure of the basics, do you have the appropriate
 List in TOC settings in Tools-Documents-Lists  TOC?



 Yes.  That's the right place to start. :)

 Actually I don't have Tools-Documents-Lists  TOC.  I'm using LyX 1.6.4, if
 that helps.

 I do have Document -- Settings -- Number  TOC

 It has some sliders labeled 'Numbering' and 'List in Table of Contents',
 which I don't understand at all.  What value am I supposed to be
 increasing/decreasing?

 It also has a table with the following columns:

 Example, Numbered, Appears in TOC

 Neither the sliders nor the table contents appear to be changeable.  The
 sliders don't slide and the table offers no means of
 adding/deleting/amending its entries.

 There are also two buttons, 'Use class defaults' and 'Save as document
 defaults'.  I'm afraid I've no idea what they might do.

 Then there are some greyed out buttons:
 - Restore
 - OK
 - Apply

 Finally, there is an active 'Close' button.

 Does that help?  And thanks very much for the reply.  It's appreciated.

 Cheers


 Peter




What type (class) of document  are you working on (article, report, book)?

What sections, chapters, subsections do you expect to see?

-- 
Stephen


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

stephen's mailinglist account wrote:

What type (class) of document  are you working on (article, report, book)?

What sections, chapters, subsections do you expect to see?

  

Hi Stephen,

Thank you for the reply.

It's an 'article (paper)'

The document has a number of parts with appropriate sections, 
sub-sections and sub-sub-sections.  All un-numbered.  These are what I'm 
expecting to see.


The document map that appears to the left of the editor when I insert a 
TOC looks fine.  It just doesn't appear in the final document.


Cheers


Peter



Re: LyX-doc EmbeddedObjects not compiling

2010-01-17 Thread Joachim Osnabryg

Am 17.01.2010, 01:56 Uhr, schrieb Uwe Stöhr uwesto...@web.de:
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: TOC (newbie question)

2010-01-17 Thread John Kane
I'm running the LyTex portable version of LyX 1.6.5  and I seem to be getting 
the same results with an Article class document.  I get the heading Contents 
but nothing else untill the first paragraph of the text.

A quick change to Book class gives me what appears to be a Chapter heading 
Contents and then a running header Contents.  No actual ToC appears.

Strange



--- On Sun, 1/17/10, Peter Bradley p.brad...@dsl.pipex.com wrote:

 From: Peter Bradley p.brad...@dsl.pipex.com
 Subject: Re: TOC (newbie question)
 To: lyx-users@lists.lyx.org
 Received: Sunday, January 17, 2010, 10:01 AM
 stephen's mailinglist account wrote:
  What type (class) of document  are you working on
 (article, report, book)?
  
  What sections, chapters, subsections do you expect to
 see?
  
    
 Hi Stephen,
 
 Thank you for the reply.
 
 It's an 'article (paper)'
 
 The document has a number of parts with appropriate
 sections, sub-sections and sub-sub-sections.  All
 un-numbered.  These are what I'm expecting to see.
 
 The document map that appears to the left of the editor
 when I insert a TOC looks fine.  It just doesn't appear
 in the final document.
 
 Cheers
 
 
 Peter
 
 


  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.


Fwd: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
The attached file works for me.  Can you open it and create a dvi or
pdf successfully?


--
Stephen



-- 
Stephen


testfile.lyx
Description: application/lyx


Re: TOC (newbie question)

2010-01-17 Thread Rob Oakes

Hi Peter,

It's important to make sure that you are using the numbered styles for  
your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note  
the asterisk) they will appear in your document map but not in your  
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes

Sent from Rob's Palm

On Jan 17, 2010, at 8:01 AM, Peter Bradley p.brad...@dsl.pipex.com  
wrote:



stephen's mailinglist account wrote:
What type (class) of document  are you working on (article, report,  
book)?


What sections, chapters, subsections do you expect to see?



Hi Stephen,

Thank you for the reply.

It's an 'article (paper)'

The document has a number of parts with appropriate sections, sub- 
sections and sub-sub-sections.  All un-numbered.  These are what I'm  
expecting to see.


The document map that appears to the left of the editor when I  
insert a TOC looks fine.  It just doesn't appear in the final  
document.


Cheers


Peter



Re: Fwd: TOC (newbie question)

2010-01-17 Thread John Kane
Well it seemed to wipe out the connection to my pdfviewer for a moment but 
after that it works just fine. :)

 I see that it uses sections whereas I have only unnumbered sections (i.e. 
section* and subsection*)

I changed the sections* to sections in my document and it has cranked out a 
very nice ToC.  



--- On Sun, 1/17/10, stephen's mailinglist account 
stephen4mailingli...@googlemail.com wrote:

 From: stephen's mailinglist account stephen4mailingli...@googlemail.com
 Subject: Fwd: TOC (newbie question)
 To: Lyx-Users lyx-users@lists.lyx.org
 Received: Sunday, January 17, 2010, 11:02 AM
 The attached file works for me.  Can
 you open it and create a dvi or
 pdf successfully?
 
 
 --
 Stephen
 
 
 
 -- 
 Stephen
 


  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.


Re: TOC (newbie question)

2010-01-17 Thread John Kane
Aha. Something I just discovered. Nice to have it confirmed. 

--- On Sun, 1/17/10, Rob Oakes lyx-de...@oak-tree.us wrote:

 From: Rob Oakes lyx-de...@oak-tree.us
 Subject: Re: TOC (newbie question)
 To: Peter Bradley p.brad...@dsl.pipex.com
 Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org
 Received: Sunday, January 17, 2010, 11:08 AM
 Hi Peter,
 
 It's important to make sure that you are using the numbered
 styles for your table of contents (e.g section,
 subsection).
 
 If you are using unnumbered styles (e.g section* ,
 subsection*; note the asterisk) they will appear in your
 document map but not in your table of contents.
 
 Pretty basic, but this might cause the behavior you
 describe.
 
 Cheers,
 
 Rob Oakes
 
 Sent from Rob's Palm
 
 On Jan 17, 2010, at 8:01 AM, Peter Bradley p.brad...@dsl.pipex.com
 wrote:
 
  stephen's mailinglist account wrote:
  What type (class) of document  are you
 working on (article, report, book)?
  
  What sections, chapters, subsections do you expect
 to see?
  
  
  Hi Stephen,
  
  Thank you for the reply.
  
  It's an 'article (paper)'
  
  The document has a number of parts with appropriate
 sections, sub-sections and sub-sub-sections.  All
 un-numbered.  These are what I'm expecting to see.
  
  The document map that appears to the left of the
 editor when I insert a TOC looks fine.  It just doesn't
 appear in the final document.
  
  Cheers
  
  
  Peter
  
 


  __
Get a sneak peak at messages with a handy reading pane with All new Yahoo! 
Mail: http://ca.promos.yahoo.com/newmail/overview2/


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

Rob Oakes wrote:

Hi Peter,

It's important to make sure that you are using the numbered styles for 
your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note 
the asterisk) they will appear in your document map but not in your 
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes


Yes.  Thanks Rob, and others.  That's the fix.

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the 
Sections number sequentially regardless of their location within Parts.  
So I get:


Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each 
Part?


RTFM is a suitable answer if it comes with a reference to the 
appropriate part of the manual :)


Thanks again

Cheers


Peter



Re: LyX version control with git

2010-01-17 Thread rgheck

On 01/16/2010 05:32 PM, Vincent van Ravesteijn wrote:

Christoph Pospiech schreef:

Hi,

as of version 1.6.4, LyX has a pull down menu File - Version 
control, which

apparently supports CVS and SVN. Any plans to support git as well ?

Thanks !

Christoph Pospiech

Not really I think, but you can define your own commands by using the 
vc-command lfuns in the stdmenus file.


Or we could say: Pavel doesn't seem to be planning to do it, but if 
anyone did want to do it it likely wouldn't be that hard. It's only a 
handful of routines that have to be written, and you can mimic the ones 
for svn, etc.


Richard



Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
 Might I be permitted a supplementary?

 Now that all the various bits are numbered, I notice that all the Sections
 number sequentially regardless of their location within Parts.  So I get:

 Part I
   Section 1
   Section 2
 Part II
   Section 3
   Section 4
   Section 5
 Part III
   Section 6

 ... and so on.

 Is there any way I can get the Section numbering to restart inside each
 Part?

 RTFM is a suitable answer if it comes with a reference to the appropriate
 part of the manual :)

 Thanks again

 Cheers


 Peter


I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?
-- 
Stephen


Re: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 11:37 AM, Peter Bradley wrote:

Rob Oakes wrote:

Hi Peter,

It's important to make sure that you are using the numbered styles 
for your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note 
the asterisk) they will appear in your document map but not in your 
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes


Yes.  Thanks Rob, and others.  That's the fix.

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the 
Sections number sequentially regardless of their location within 
Parts.  So I get:


Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside 
each Part?



This is a LaTeX thing. IN the preamble:

\makeatletter

\...@addtoreset{section}{part}

\makeatother
Or you can use the chngcntr package, which is available from CTAN, if 
you don't have it.



Note that this will not change the display in LyX. To do that, you need 
to redefine the section counter in LyX, probably using a module. See 
Chapter 5 of the Customization manual. This is a two-liner.


rh



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: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 12:03 PM, stephen's mailinglist account wrote:

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the Sections
number sequentially regardless of their location within Parts.  So I get:

Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each
Part?

RTFM is a suitable answer if it comes with a reference to the appropriate
part of the manual :)

Thanks again

Cheers


Peter


 

I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?

   

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh




Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
 I can do it with ERT is there a LyX or other more elegant way?


 ERT way adds following
 \setcounter{section}{0}
 after subsequent section headers.  I guess you could redefine \part in
 latex preamble or put into a module even and use it as a custom inset?



 \makeatletter

 \...@addtoreset{section}{part}

 \makeatother

 rh




That is a better way

-- 
Stephen


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

stephen's mailinglist account wrote:

I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?


  

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh






That is a better way

  


Thanks to all of you.

I've decided to leave it as it is because, on reflection, I think it's 
right.


And possibly partly because I don't understand the TeX/LATEX stuff 
properly.  It's on my TODO list, but has been for some years now. :(


If I reorient my thinking such that Parts are logical divisions and 
Sections are actual divisions, it all makes sense.


I'm grateful for all the help.  Thanks.

Cheers


Peter




Problem with the dash in the listings

2010-01-17 Thread Piotrek
Hi. I'm trying to use some listing with character - inside.
And always when I do it I have the following error on the subsequent
section:
Font \csname\endcsname=psyr at 12.0pt not loadable: Metric (TFM) file not
found
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\fontsame font id=substitute font name'.

Some posts I was reading suggested that it could be the case when the text
has been copied from word with long dashes. But here I write the dash myself
from the keybord.
The listing I'm trying to use is
// Open the table
Table *T = OpenOrDie(/bigtable/web/webtable);
// Write a new anchor and delete an old anchor
RowMutation r1(T, com.cnn.www);
r1.Set(anchor:www.c-span.org, CNN);
r1.Delete(anchor:www.abc.com);
Operation op;
Apply(op, r1);
//...
Scanner scanner(T);
ScanStream *stream;
stream = scanner.FetchColumnFamily(anchor);
stream-SetReturnAllVersions();
scanner.Lookup(com.cnn.www);
for (; !stream-Done(); stream-Next()) {
printf(%s %s %lld %s\n,
scanner.RowName(),
stream-ColumnName(),
stream-MicroTimestamp(),
stream-Value());
}

Do you have any suggestions?

-- 
Piotr



Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-17 Thread Joe(theWordy)Philbrook

It would appear that on Jan 15, Helge Hafting did say:

 Very good explanation - could you file in the bug tracker, where the
 developers will find it? URL:
 http://www.lyx.org/trac/wiki/BugTrackerHome

It would appear that on Jan 16, Joe(theWordy)Philbrook did say:

 OK! Just did that. SNIP
 
The Ticket number is #6460... And I gotta say I've never seen such fast
results. It'll take a while before the fix trickles down to the linux
distro supplied versions I use, But just knowing it's coming gives me a
warm fuzzy feeling...

By the way. I'm new to this BugTracker, so I don't know. Since the fix
that's been described to me as having been done (upstream of course) is
exactly what I asked for... Am I expected to do anything to mark this as
resolved??? (I'm still not used to wiki methods) Or do the developers
expect to do that themselves?

-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ jtw...@ttlc.net



Re: Problem with the dash in the listings

2010-01-17 Thread rgheck

On 01/17/2010 01:03 PM, Piotrek wrote:

Hi. I'm trying to use some listing with character - inside.
[snip]

   
It's just a guess, but you could try changing the typewriter font under 
DocumentSettingsFont.


rh



RE: Problem with the dash in the listings

2010-01-17 Thread Piotrek
Thank you for the message.
Yeah. I tried that before. Currently I am using Bera Mono font for typewriter. 
But changing the font doesn't stop the error message in PDF export anyway.
BR
Piotr

-Original Message-
From: rgheck [mailto:rgh...@bobjweil.com] 
Sent: Sunday, January 17, 2010 7:19 PM
To: Piotrek
Cc: lyx-users@lists.lyx.org
Subject: Re: Problem with the dash in the listings

On 01/17/2010 01:03 PM, Piotrek wrote:
 Hi. I'm trying to use some listing with character - inside.
 [snip]


It's just a guess, but you could try changing the typewriter font under 
DocumentSettingsFont.

rh



RE: Problem with the dash in the listings

2010-01-17 Thread Piotrek
Hmm after checking the other then typewriter fonts types I found that the 
problem does exist only because I have set the Default Family as Roman and 
Roman to Times Roman in the document settings.
However, I must keep this settings - any idea how to use the dash with default 
family Times Roman in listings?

BR
Piotr

-Original Message-
From: rgheck [mailto:rgh...@bobjweil.com] 
Sent: Sunday, January 17, 2010 7:19 PM
To: Piotrek
Cc: lyx-users@lists.lyx.org
Subject: Re: Problem with the dash in the listings

On 01/17/2010 01:03 PM, Piotrek wrote:
 Hi. I'm trying to use some listing with character - inside.
 [snip]


It's just a guess, but you could try changing the typewriter font under 
DocumentSettingsFont.

rh



Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-17 Thread Vincent van Ravesteijn

Joe(theWordy)Philbrook schreef:

 Am I expected to do anything to mark this as
resolved??? (I'm still not used to wiki methods) Or do the developers
expect to do that themselves?
  


We will take care of it. It will remain fixedintrunk until the next 
release with the fix is released.


Vincent


Re: Problem with the dash in the listings

2010-01-17 Thread Guenter Milde
On 2010-01-17, Piotrek wrote:
 Hmm after checking the other then typewriter fonts types I found that
 the problem does exist only because I have set the Default Family as
 Roman and Roman to Times Roman in the document settings. However, I
 must keep this settings - any idea how to use the dash with default
 family Times Roman in listings?

You might try with TeX-Gyre Termes, a Times-clone with wide Unicode
coverage.


Günter



RE: Problem with the dash in the listings

2010-01-17 Thread Piotrek
Thanks for suggestion. But is it really necessary? Is the dash Unicode 
character? I am writing the document in English. Is the Unicode support 
necessary in that case? I am trying to understand what causes such a behavior. 
Well, if I remove the dash characters from the Program Listing it works 
perfectly!

BR
Piotr

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Guenter Milde
Sent: Sunday, January 17, 2010 8:53 PM
To: lyx-users@lists.lyx.org
Subject: Re: Problem with the dash in the listings

On 2010-01-17, Piotrek wrote:
 Hmm after checking the other then typewriter fonts types I found that
 the problem does exist only because I have set the Default Family as
 Roman and Roman to Times Roman in the document settings. However, I
 must keep this settings - any idea how to use the dash with default
 family Times Roman in listings?

You might try with TeX-Gyre Termes, a Times-clone with wide Unicode
coverage.


Günter



Re: LyX and the Humanities

2010-01-17 Thread Guido Milanese
Il giorno sab, 16/01/2010 alle 10.30 -0500, Maria Gouskova ha scritto:
 At least some areas of linguistics could be placed in the humanities,
 so you might want to check out http://wiki.lyx.org/LyX/LinguistLyX.
Yes, thanks -- I had already mentioned this very useful document in my
original message:
  I read the document about LyX and linguistics [...]

Thank you anyway!
gm

-- 
Guido Milanese - Professor of Latin
The Catholic University, Milan and Brescia, Italy
http://docenti.unicatt.it/ita/guido_fabrizio_milanese
http://www.arsantiqua.org



Re: LyX and the Humanities

2010-01-17 Thread Guido Milanese
On 16/01/2010 at 09.14 -0500, rgheck wrote:
   
 I don't know of any, but there are plenty of humanists around the list 
 if you need to ask questions. E.g., I'm a philosopher, and I know of two 
 others who regularly contribute to the list.

Yes, I know, and that's why I posted the question here! I hope to get
some more answers after the weekend :-)

Thank you,
gm

-- 
Guido Milanese - Professor of Latin
The Catholic University, Milan and Brescia, Italy
http://docenti.unicatt.it/ita/guido_fabrizio_milanese
http://www.arsantiqua.org



RE: Problem with the dash in the listings

2010-01-17 Thread Piotrek
Thank you.
After checking your solution it seems working fine!

BR
Piotr

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Guenter Milde
Sent: Sunday, January 17, 2010 8:53 PM
To: lyx-users@lists.lyx.org
Subject: Re: Problem with the dash in the listings

On 2010-01-17, Piotrek wrote:
 Hmm after checking the other then typewriter fonts types I found that
 the problem does exist only because I have set the Default Family as
 Roman and Roman to Times Roman in the document settings. However, I
 must keep this settings - any idea how to use the dash with default
 family Times Roman in listings?

You might try with TeX-Gyre Termes, a Times-clone with wide Unicode
coverage.


Günter



Lyx 1.6.5

2010-01-17 Thread E. Kaplan

What am I doing wrong?

I tried to install Lyx 1.6.5.1 for Kubuntu 64 bits using the deb package 
from Debian.
I uninstalled 1.6.4, and installed the two deb packages: lyx 1.6.5.1 and 
lyx-common 1.6.5.1.

I kept getting an error message: Dependency is not satisfiable: libqtcore4
I reinstalled libqtcore4, but it did not help.  I had to re-install lyx 
1.6.4  ;-(


EK




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 1.6.5

2010-01-17 Thread rgheck

On 01/17/2010 08:06 PM, E. Kaplan wrote:

What am I doing wrong?

I tried to install Lyx 1.6.5.1 for Kubuntu 64 bits using the deb 
package from Debian.
I uninstalled 1.6.4, and installed the two deb packages: lyx 1.6.5.1 
and lyx-common 1.6.5.1.
I kept getting an error message: Dependency is not satisfiable: 
libqtcore4
I reinstalled libqtcore4, but it did not help.  I had to re-install 
lyx 1.6.4  ;-(


You should report this kind of issue to the debian lists. Though I think 
the debian maintainers read this list, they manage the packages, not us.


rh



Letter [KOMA - Script-v.2............

2010-01-17 Thread M-L

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

This in my preamble as per the template for that letter style [only
the number has changed]:

% vertical position of the address field
\...@addtoplength{toaddrvpos}{2mm}

What command do I add: 

* preceding that
* to that, or
* following that

To add a bit more space above the address?

\vspace*{2cm} in various places and in various ways doesn't cut it.

I must be doing something wrong?

TIA
Charlie
-- 
Registered Linux User:- 329524
***
The pleasure we feel in music springs from the obedience which is in
it. .Henry David Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Output track changes in pdf with lyx 1.6 error

2010-01-17 Thread Birte S.

Hi Peter, 

my problem is similar with lyx 1.6 and installed packages soul and xcolor
and reconfiguration of lyx and restart of lyx, though the error message is
as follows:
 Changes will not be highlighted in LaTeX output when using pdflatex
because
xcolor and soul are not installed.
Please install both packages or redefine \lyxadded and \lyxdeleted in the
LaTeX preamble.
The latter i would not know how to do.

Any ideas would be very much appreciated!
Thanks a lot.
The dvi shows the tracked changes but I cannot print that file as a pdf due
to an error message .The psi does not work properly at all.

regards, 
Birte


Peter Sutovsky wrote:
 
 There seems to be problem if citation is in the deleted text.
 
 
 On Tue, Apr 1, 2008 at 5:30 PM, Bo Peng ben@gmail.com wrote:

 On Mon, Mar 31, 2008 at 5:30 PM, Peter Sutovsky sutov...@gmail.com
 wrote:
   I get error message when I try to get output in pdf with show changes
 in
output  is on. Output to dvi and ps works well. Is it way to make it
 work
with pdf? Thanks.

  What does Document-LaTeX log say?

  Bo

 
 

-- 
View this message in context: 
http://n2.nabble.com/Output-track-changes-in-pdf-with-latex-error-tp478477p4412248.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Letter [KOMA - Script-v.2............

2010-01-17 Thread Jean-Marie Pacquet

M-L a écrit :

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

This in my preamble as per the template for that letter style [only
the number has changed]:

% vertical position of the address field
\...@addtoplength{toaddrvpos}{2mm}

What command do I add: 


* preceding that
* to that, or
* following that

To add a bit more space above the address?

\vspace*{2cm} in various places and in various ways doesn't cut it.

I must be doing something wrong?

TIA
Charlie
  
May be I don't understand the question, but to add a bit more space 
above the address you only need to change the value 2mm (which is 
precisely the measure of the vertical space added to the predefined 
address position) to what you want it to be (2cm):


\...@addtoplength{toaddrvpos}{2cm}

HTH
--
jmp


Re: Letter [KOMA - Script-v.2............

2010-01-17 Thread Jürgen Spitzmüller
M-L wrote:
 This in my preamble as per the template for that letter style [only
 the number has changed]:
 
 % vertical position of the address field
 \...@addtoplength{toaddrvpos}{2mm}
 
 What command do I add: 
 
 * preceding that
 * to that, or
 * following that
 
 To add a bit more space above the address?

I'm not sure I understand your question. Doesn't
changing the mentioned declaration (to e.g.
\...@addtoplength{toaddrvpos}{22mm}) do what you want?

Jürgen


Re: lyx 1.6.5 for linux 64

2010-01-17 Thread Liviu Andronic
On 1/16/10, EK ehud.kap...@mssm.edu wrote:
 Where can I find lyx 1.6.5 for linux 64, preferably as a .deb package?
  Kubuntu only sports 1.6.4

On Debian [1]?
Liviu

[1] http://www.debian.org/distrib/packages


TOC (newbie question)

2010-01-17 Thread Peter Bradley
I'm trying to add a TOC to my document - a paper I'm giving later this 
year.  I've done what it says to do in the help:


Insert -- List / TOC -- Table of Contents

The 'Table of Contents' button appears and if I click on it, a listing 
appears in a window at the left.  However no TOC appears in my dvi 
document, just the legend, 'Contents'.


This is my first proper attempt to create a document using LyX, so I'm 
probably misunderstanding something at a fairly fundamental level.  
Apologies if that is the case.


Thanks


Peter



Re: TOC (newbie question)

2010-01-17 Thread William Seager
On  Sunday 17 January 2010  at  08:24,  Peter Bradley wrote:
 The 'Table of Contents' button appears and if I click on it, a listing 
 appears in a window at the left.  However no TOC appears in my dvi 
 document, just the legend, 'Contents'.
 

well - just to be sure of the basics, do you have the appropriate
List in TOC settings in Tools-Documents-Lists  TOC?

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

William Seager wrote:

On  Sunday 17 January 2010  at  08:24,  Peter Bradley wrote:
  
The 'Table of Contents' button appears and if I click on it, a listing 
appears in a window at the left.  However no TOC appears in my dvi 
document, just the legend, 'Contents'.





well - just to be sure of the basics, do you have the appropriate
List in TOC settings in Tools-Documents-Lists  TOC?

  

Yes.  That's the right place to start. :)

Actually I don't have Tools-Documents-Lists  TOC.  I'm using LyX 1.6.4, 
if that helps.


I do have Document -- Settings -- Number  TOC

It has some sliders labeled 'Numbering' and 'List in Table of Contents', 
which I don't understand at all.  What value am I supposed to be 
increasing/decreasing?


It also has a table with the following columns:

Example, Numbered, Appears in TOC

Neither the sliders nor the table contents appear to be changeable.  The 
sliders don't slide and the table offers no means of 
adding/deleting/amending its entries.


There are also two buttons, 'Use class defaults' and 'Save as document 
defaults'.  I'm afraid I've no idea what they might do.


Then there are some greyed out buttons:
- Restore
- OK
- Apply

Finally, there is an active 'Close' button.

Does that help?  And thanks very much for the reply.  It's appreciated.

Cheers


Peter




Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
2010/1/17 Peter Bradley p.brad...@dsl.pipex.com:
 William Seager wrote:

 On  Sunday 17 January 2010  at  08:24,  Peter Bradley wrote:


 The 'Table of Contents' button appears and if I click on it, a listing
 appears in a window at the left.  However no TOC appears in my dvi document,
 just the legend, 'Contents'.



 well - just to be sure of the basics, do you have the appropriate
 List in TOC settings in Tools-Documents-Lists  TOC?



 Yes.  That's the right place to start. :)

 Actually I don't have Tools-Documents-Lists  TOC.  I'm using LyX 1.6.4, if
 that helps.

 I do have Document -- Settings -- Number  TOC

 It has some sliders labeled 'Numbering' and 'List in Table of Contents',
 which I don't understand at all.  What value am I supposed to be
 increasing/decreasing?

 It also has a table with the following columns:

 Example, Numbered, Appears in TOC

 Neither the sliders nor the table contents appear to be changeable.  The
 sliders don't slide and the table offers no means of
 adding/deleting/amending its entries.

 There are also two buttons, 'Use class defaults' and 'Save as document
 defaults'.  I'm afraid I've no idea what they might do.

 Then there are some greyed out buttons:
 - Restore
 - OK
 - Apply

 Finally, there is an active 'Close' button.

 Does that help?  And thanks very much for the reply.  It's appreciated.

 Cheers


 Peter




What type (class) of document  are you working on (article, report, book)?

What sections, chapters, subsections do you expect to see?

-- 
Stephen


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

stephen's mailinglist account wrote:

What type (class) of document  are you working on (article, report, book)?

What sections, chapters, subsections do you expect to see?

  

Hi Stephen,

Thank you for the reply.

It's an 'article (paper)'

The document has a number of parts with appropriate sections, 
sub-sections and sub-sub-sections.  All un-numbered.  These are what I'm 
expecting to see.


The document map that appears to the left of the editor when I insert a 
TOC looks fine.  It just doesn't appear in the final document.


Cheers


Peter



Re: LyX-doc EmbeddedObjects not compiling

2010-01-17 Thread Joachim Osnabryg

Am 17.01.2010, 01:56 Uhr, schrieb Uwe Stöhr uwesto...@web.de:
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: TOC (newbie question)

2010-01-17 Thread John Kane
I'm running the LyTex portable version of LyX 1.6.5  and I seem to be getting 
the same results with an Article class document.  I get the heading Contents 
but nothing else untill the first paragraph of the text.

A quick change to Book class gives me what appears to be a Chapter heading 
Contents and then a running header Contents.  No actual ToC appears.

Strange



--- On Sun, 1/17/10, Peter Bradley p.brad...@dsl.pipex.com wrote:

 From: Peter Bradley p.brad...@dsl.pipex.com
 Subject: Re: TOC (newbie question)
 To: lyx-users@lists.lyx.org
 Received: Sunday, January 17, 2010, 10:01 AM
 stephen's mailinglist account wrote:
  What type (class) of document  are you working on
 (article, report, book)?
  
  What sections, chapters, subsections do you expect to
 see?
  
    
 Hi Stephen,
 
 Thank you for the reply.
 
 It's an 'article (paper)'
 
 The document has a number of parts with appropriate
 sections, sub-sections and sub-sub-sections.  All
 un-numbered.  These are what I'm expecting to see.
 
 The document map that appears to the left of the editor
 when I insert a TOC looks fine.  It just doesn't appear
 in the final document.
 
 Cheers
 
 
 Peter
 
 


  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.


Fwd: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
The attached file works for me.  Can you open it and create a dvi or
pdf successfully?


--
Stephen



-- 
Stephen


testfile.lyx
Description: application/lyx


Re: TOC (newbie question)

2010-01-17 Thread Rob Oakes

Hi Peter,

It's important to make sure that you are using the numbered styles for  
your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note  
the asterisk) they will appear in your document map but not in your  
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes

Sent from Rob's Palm

On Jan 17, 2010, at 8:01 AM, Peter Bradley p.brad...@dsl.pipex.com  
wrote:



stephen's mailinglist account wrote:
What type (class) of document  are you working on (article, report,  
book)?


What sections, chapters, subsections do you expect to see?



Hi Stephen,

Thank you for the reply.

It's an 'article (paper)'

The document has a number of parts with appropriate sections, sub- 
sections and sub-sub-sections.  All un-numbered.  These are what I'm  
expecting to see.


The document map that appears to the left of the editor when I  
insert a TOC looks fine.  It just doesn't appear in the final  
document.


Cheers


Peter



Re: Fwd: TOC (newbie question)

2010-01-17 Thread John Kane
Well it seemed to wipe out the connection to my pdfviewer for a moment but 
after that it works just fine. :)

 I see that it uses sections whereas I have only unnumbered sections (i.e. 
section* and subsection*)

I changed the sections* to sections in my document and it has cranked out a 
very nice ToC.  



--- On Sun, 1/17/10, stephen's mailinglist account 
stephen4mailingli...@googlemail.com wrote:

 From: stephen's mailinglist account stephen4mailingli...@googlemail.com
 Subject: Fwd: TOC (newbie question)
 To: Lyx-Users lyx-users@lists.lyx.org
 Received: Sunday, January 17, 2010, 11:02 AM
 The attached file works for me.  Can
 you open it and create a dvi or
 pdf successfully?
 
 
 --
 Stephen
 
 
 
 -- 
 Stephen
 


  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.


Re: TOC (newbie question)

2010-01-17 Thread John Kane
Aha. Something I just discovered. Nice to have it confirmed. 

--- On Sun, 1/17/10, Rob Oakes lyx-de...@oak-tree.us wrote:

 From: Rob Oakes lyx-de...@oak-tree.us
 Subject: Re: TOC (newbie question)
 To: Peter Bradley p.brad...@dsl.pipex.com
 Cc: lyx-users@lists.lyx.org lyx-users@lists.lyx.org
 Received: Sunday, January 17, 2010, 11:08 AM
 Hi Peter,
 
 It's important to make sure that you are using the numbered
 styles for your table of contents (e.g section,
 subsection).
 
 If you are using unnumbered styles (e.g section* ,
 subsection*; note the asterisk) they will appear in your
 document map but not in your table of contents.
 
 Pretty basic, but this might cause the behavior you
 describe.
 
 Cheers,
 
 Rob Oakes
 
 Sent from Rob's Palm
 
 On Jan 17, 2010, at 8:01 AM, Peter Bradley p.brad...@dsl.pipex.com
 wrote:
 
  stephen's mailinglist account wrote:
  What type (class) of document  are you
 working on (article, report, book)?
  
  What sections, chapters, subsections do you expect
 to see?
  
  
  Hi Stephen,
  
  Thank you for the reply.
  
  It's an 'article (paper)'
  
  The document has a number of parts with appropriate
 sections, sub-sections and sub-sub-sections.  All
 un-numbered.  These are what I'm expecting to see.
  
  The document map that appears to the left of the
 editor when I insert a TOC looks fine.  It just doesn't
 appear in the final document.
  
  Cheers
  
  
  Peter
  
 


  __
Get a sneak peak at messages with a handy reading pane with All new Yahoo! 
Mail: http://ca.promos.yahoo.com/newmail/overview2/


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

Rob Oakes wrote:

Hi Peter,

It's important to make sure that you are using the numbered styles for 
your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note 
the asterisk) they will appear in your document map but not in your 
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes


Yes.  Thanks Rob, and others.  That's the fix.

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the 
Sections number sequentially regardless of their location within Parts.  
So I get:


Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each 
Part?


RTFM is a suitable answer if it comes with a reference to the 
appropriate part of the manual :)


Thanks again

Cheers


Peter



Re: LyX version control with git

2010-01-17 Thread rgheck

On 01/16/2010 05:32 PM, Vincent van Ravesteijn wrote:

Christoph Pospiech schreef:

Hi,

as of version 1.6.4, LyX has a pull down menu File - Version 
control, which

apparently supports CVS and SVN. Any plans to support git as well ?

Thanks !

Christoph Pospiech

Not really I think, but you can define your own commands by using the 
vc-command lfuns in the stdmenus file.


Or we could say: Pavel doesn't seem to be planning to do it, but if 
anyone did want to do it it likely wouldn't be that hard. It's only a 
handful of routines that have to be written, and you can mimic the ones 
for svn, etc.


Richard



Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
 Might I be permitted a supplementary?

 Now that all the various bits are numbered, I notice that all the Sections
 number sequentially regardless of their location within Parts.  So I get:

 Part I
   Section 1
   Section 2
 Part II
   Section 3
   Section 4
   Section 5
 Part III
   Section 6

 ... and so on.

 Is there any way I can get the Section numbering to restart inside each
 Part?

 RTFM is a suitable answer if it comes with a reference to the appropriate
 part of the manual :)

 Thanks again

 Cheers


 Peter


I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?
-- 
Stephen


Re: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 11:37 AM, Peter Bradley wrote:

Rob Oakes wrote:

Hi Peter,

It's important to make sure that you are using the numbered styles 
for your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note 
the asterisk) they will appear in your document map but not in your 
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes


Yes.  Thanks Rob, and others.  That's the fix.

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the 
Sections number sequentially regardless of their location within 
Parts.  So I get:


Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside 
each Part?



This is a LaTeX thing. IN the preamble:

\makeatletter

\...@addtoreset{section}{part}

\makeatother
Or you can use the chngcntr package, which is available from CTAN, if 
you don't have it.



Note that this will not change the display in LyX. To do that, you need 
to redefine the section counter in LyX, probably using a module. See 
Chapter 5 of the Customization manual. This is a two-liner.


rh



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: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 12:03 PM, stephen's mailinglist account wrote:

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the Sections
number sequentially regardless of their location within Parts.  So I get:

Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each
Part?

RTFM is a suitable answer if it comes with a reference to the appropriate
part of the manual :)

Thanks again

Cheers


Peter


 

I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?

   

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh




Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
 I can do it with ERT is there a LyX or other more elegant way?


 ERT way adds following
 \setcounter{section}{0}
 after subsequent section headers.  I guess you could redefine \part in
 latex preamble or put into a module even and use it as a custom inset?



 \makeatletter

 \...@addtoreset{section}{part}

 \makeatother

 rh




That is a better way

-- 
Stephen


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

stephen's mailinglist account wrote:

I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?


  

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh






That is a better way

  


Thanks to all of you.

I've decided to leave it as it is because, on reflection, I think it's 
right.


And possibly partly because I don't understand the TeX/LATEX stuff 
properly.  It's on my TODO list, but has been for some years now. :(


If I reorient my thinking such that Parts are logical divisions and 
Sections are actual divisions, it all makes sense.


I'm grateful for all the help.  Thanks.

Cheers


Peter




Problem with the dash in the listings

2010-01-17 Thread Piotrek
Hi. I'm trying to use some listing with character - inside.
And always when I do it I have the following error on the subsequent
section:
Font \csname\endcsname=psyr at 12.0pt not loadable: Metric (TFM) file not
found
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\fontsame font id=substitute font name'.

Some posts I was reading suggested that it could be the case when the text
has been copied from word with long dashes. But here I write the dash myself
from the keybord.
The listing I'm trying to use is
// Open the table
Table *T = OpenOrDie(/bigtable/web/webtable);
// Write a new anchor and delete an old anchor
RowMutation r1(T, com.cnn.www);
r1.Set(anchor:www.c-span.org, CNN);
r1.Delete(anchor:www.abc.com);
Operation op;
Apply(op, r1);
//...
Scanner scanner(T);
ScanStream *stream;
stream = scanner.FetchColumnFamily(anchor);
stream-SetReturnAllVersions();
scanner.Lookup(com.cnn.www);
for (; !stream-Done(); stream-Next()) {
printf(%s %s %lld %s\n,
scanner.RowName(),
stream-ColumnName(),
stream-MicroTimestamp(),
stream-Value());
}

Do you have any suggestions?

-- 
Piotr



Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-17 Thread Joe(theWordy)Philbrook

It would appear that on Jan 15, Helge Hafting did say:

 Very good explanation - could you file in the bug tracker, where the
 developers will find it? URL:
 http://www.lyx.org/trac/wiki/BugTrackerHome

It would appear that on Jan 16, Joe(theWordy)Philbrook did say:

 OK! Just did that. SNIP
 
The Ticket number is #6460... And I gotta say I've never seen such fast
results. It'll take a while before the fix trickles down to the linux
distro supplied versions I use, But just knowing it's coming gives me a
warm fuzzy feeling...

By the way. I'm new to this BugTracker, so I don't know. Since the fix
that's been described to me as having been done (upstream of course) is
exactly what I asked for... Am I expected to do anything to mark this as
resolved??? (I'm still not used to wiki methods) Or do the developers
expect to do that themselves?

-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ jtw...@ttlc.net



Re: Problem with the dash in the listings

2010-01-17 Thread rgheck

On 01/17/2010 01:03 PM, Piotrek wrote:

Hi. I'm trying to use some listing with character - inside.
[snip]

   
It's just a guess, but you could try changing the typewriter font under 
DocumentSettingsFont.


rh



RE: Problem with the dash in the listings

2010-01-17 Thread Piotrek
Thank you for the message.
Yeah. I tried that before. Currently I am using Bera Mono font for typewriter. 
But changing the font doesn't stop the error message in PDF export anyway.
BR
Piotr

-Original Message-
From: rgheck [mailto:rgh...@bobjweil.com] 
Sent: Sunday, January 17, 2010 7:19 PM
To: Piotrek
Cc: lyx-users@lists.lyx.org
Subject: Re: Problem with the dash in the listings

On 01/17/2010 01:03 PM, Piotrek wrote:
 Hi. I'm trying to use some listing with character - inside.
 [snip]


It's just a guess, but you could try changing the typewriter font under 
DocumentSettingsFont.

rh



RE: Problem with the dash in the listings

2010-01-17 Thread Piotrek
Hmm after checking the other then typewriter fonts types I found that the 
problem does exist only because I have set the Default Family as Roman and 
Roman to Times Roman in the document settings.
However, I must keep this settings - any idea how to use the dash with default 
family Times Roman in listings?

BR
Piotr

-Original Message-
From: rgheck [mailto:rgh...@bobjweil.com] 
Sent: Sunday, January 17, 2010 7:19 PM
To: Piotrek
Cc: lyx-users@lists.lyx.org
Subject: Re: Problem with the dash in the listings

On 01/17/2010 01:03 PM, Piotrek wrote:
 Hi. I'm trying to use some listing with character - inside.
 [snip]


It's just a guess, but you could try changing the typewriter font under 
DocumentSettingsFont.

rh



Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-17 Thread Vincent van Ravesteijn

Joe(theWordy)Philbrook schreef:

 Am I expected to do anything to mark this as
resolved??? (I'm still not used to wiki methods) Or do the developers
expect to do that themselves?
  


We will take care of it. It will remain fixedintrunk until the next 
release with the fix is released.


Vincent


Re: Problem with the dash in the listings

2010-01-17 Thread Guenter Milde
On 2010-01-17, Piotrek wrote:
 Hmm after checking the other then typewriter fonts types I found that
 the problem does exist only because I have set the Default Family as
 Roman and Roman to Times Roman in the document settings. However, I
 must keep this settings - any idea how to use the dash with default
 family Times Roman in listings?

You might try with TeX-Gyre Termes, a Times-clone with wide Unicode
coverage.


Günter



RE: Problem with the dash in the listings

2010-01-17 Thread Piotrek
Thanks for suggestion. But is it really necessary? Is the dash Unicode 
character? I am writing the document in English. Is the Unicode support 
necessary in that case? I am trying to understand what causes such a behavior. 
Well, if I remove the dash characters from the Program Listing it works 
perfectly!

BR
Piotr

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Guenter Milde
Sent: Sunday, January 17, 2010 8:53 PM
To: lyx-users@lists.lyx.org
Subject: Re: Problem with the dash in the listings

On 2010-01-17, Piotrek wrote:
 Hmm after checking the other then typewriter fonts types I found that
 the problem does exist only because I have set the Default Family as
 Roman and Roman to Times Roman in the document settings. However, I
 must keep this settings - any idea how to use the dash with default
 family Times Roman in listings?

You might try with TeX-Gyre Termes, a Times-clone with wide Unicode
coverage.


Günter



Re: LyX and the Humanities

2010-01-17 Thread Guido Milanese
Il giorno sab, 16/01/2010 alle 10.30 -0500, Maria Gouskova ha scritto:
 At least some areas of linguistics could be placed in the humanities,
 so you might want to check out http://wiki.lyx.org/LyX/LinguistLyX.
Yes, thanks -- I had already mentioned this very useful document in my
original message:
  I read the document about LyX and linguistics [...]

Thank you anyway!
gm

-- 
Guido Milanese - Professor of Latin
The Catholic University, Milan and Brescia, Italy
http://docenti.unicatt.it/ita/guido_fabrizio_milanese
http://www.arsantiqua.org



Re: LyX and the Humanities

2010-01-17 Thread Guido Milanese
On 16/01/2010 at 09.14 -0500, rgheck wrote:
   
 I don't know of any, but there are plenty of humanists around the list 
 if you need to ask questions. E.g., I'm a philosopher, and I know of two 
 others who regularly contribute to the list.

Yes, I know, and that's why I posted the question here! I hope to get
some more answers after the weekend :-)

Thank you,
gm

-- 
Guido Milanese - Professor of Latin
The Catholic University, Milan and Brescia, Italy
http://docenti.unicatt.it/ita/guido_fabrizio_milanese
http://www.arsantiqua.org



RE: Problem with the dash in the listings

2010-01-17 Thread Piotrek
Thank you.
After checking your solution it seems working fine!

BR
Piotr

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Guenter Milde
Sent: Sunday, January 17, 2010 8:53 PM
To: lyx-users@lists.lyx.org
Subject: Re: Problem with the dash in the listings

On 2010-01-17, Piotrek wrote:
 Hmm after checking the other then typewriter fonts types I found that
 the problem does exist only because I have set the Default Family as
 Roman and Roman to Times Roman in the document settings. However, I
 must keep this settings - any idea how to use the dash with default
 family Times Roman in listings?

You might try with TeX-Gyre Termes, a Times-clone with wide Unicode
coverage.


Günter



Lyx 1.6.5

2010-01-17 Thread E. Kaplan

What am I doing wrong?

I tried to install Lyx 1.6.5.1 for Kubuntu 64 bits using the deb package 
from Debian.
I uninstalled 1.6.4, and installed the two deb packages: lyx 1.6.5.1 and 
lyx-common 1.6.5.1.

I kept getting an error message: Dependency is not satisfiable: libqtcore4
I reinstalled libqtcore4, but it did not help.  I had to re-install lyx 
1.6.4  ;-(


EK




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 1.6.5

2010-01-17 Thread rgheck

On 01/17/2010 08:06 PM, E. Kaplan wrote:

What am I doing wrong?

I tried to install Lyx 1.6.5.1 for Kubuntu 64 bits using the deb 
package from Debian.
I uninstalled 1.6.4, and installed the two deb packages: lyx 1.6.5.1 
and lyx-common 1.6.5.1.
I kept getting an error message: Dependency is not satisfiable: 
libqtcore4
I reinstalled libqtcore4, but it did not help.  I had to re-install 
lyx 1.6.4  ;-(


You should report this kind of issue to the debian lists. Though I think 
the debian maintainers read this list, they manage the packages, not us.


rh



Letter [KOMA - Script-v.2............

2010-01-17 Thread M-L

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

This in my preamble as per the template for that letter style [only
the number has changed]:

% vertical position of the address field
\...@addtoplength{toaddrvpos}{2mm}

What command do I add: 

* preceding that
* to that, or
* following that

To add a bit more space above the address?

\vspace*{2cm} in various places and in various ways doesn't cut it.

I must be doing something wrong?

TIA
Charlie
-- 
Registered Linux User:- 329524
***
The pleasure we feel in music springs from the obedience which is in
it. .Henry David Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Output track changes in pdf with lyx 1.6 error

2010-01-17 Thread Birte S.

Hi Peter, 

my problem is similar with lyx 1.6 and installed packages soul and xcolor
and reconfiguration of lyx and restart of lyx, though the error message is
as follows:
 Changes will not be highlighted in LaTeX output when using pdflatex
because
xcolor and soul are not installed.
Please install both packages or redefine \lyxadded and \lyxdeleted in the
LaTeX preamble.
The latter i would not know how to do.

Any ideas would be very much appreciated!
Thanks a lot.
The dvi shows the tracked changes but I cannot print that file as a pdf due
to an error message .The psi does not work properly at all.

regards, 
Birte


Peter Sutovsky wrote:
 
 There seems to be problem if citation is in the deleted text.
 
 
 On Tue, Apr 1, 2008 at 5:30 PM, Bo Peng ben@gmail.com wrote:

 On Mon, Mar 31, 2008 at 5:30 PM, Peter Sutovsky sutov...@gmail.com
 wrote:
   I get error message when I try to get output in pdf with show changes
 in
output  is on. Output to dvi and ps works well. Is it way to make it
 work
with pdf? Thanks.

  What does Document-LaTeX log say?

  Bo

 
 

-- 
View this message in context: 
http://n2.nabble.com/Output-track-changes-in-pdf-with-latex-error-tp478477p4412248.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Letter [KOMA - Script-v.2............

2010-01-17 Thread Jean-Marie Pacquet

M-L a écrit :

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

This in my preamble as per the template for that letter style [only
the number has changed]:

% vertical position of the address field
\...@addtoplength{toaddrvpos}{2mm}

What command do I add: 


* preceding that
* to that, or
* following that

To add a bit more space above the address?

\vspace*{2cm} in various places and in various ways doesn't cut it.

I must be doing something wrong?

TIA
Charlie
  
May be I don't understand the question, but to add a bit more space 
above the address you only need to change the value 2mm (which is 
precisely the measure of the vertical space added to the predefined 
address position) to what you want it to be (2cm):


\...@addtoplength{toaddrvpos}{2cm}

HTH
--
jmp


Re: Letter [KOMA - Script-v.2............

2010-01-17 Thread Jürgen Spitzmüller
M-L wrote:
 This in my preamble as per the template for that letter style [only
 the number has changed]:
 
 % vertical position of the address field
 \...@addtoplength{toaddrvpos}{2mm}
 
 What command do I add: 
 
 * preceding that
 * to that, or
 * following that
 
 To add a bit more space above the address?

I'm not sure I understand your question. Doesn't
changing the mentioned declaration (to e.g.
\...@addtoplength{toaddrvpos}{22mm}) do what you want?

Jürgen


Re: lyx 1.6.5 for linux 64

2010-01-17 Thread Liviu Andronic
On 1/16/10, EK  wrote:
> Where can I find lyx 1.6.5 for linux 64, preferably as a .deb package?
>  Kubuntu only sports 1.6.4
>
On Debian [1]?
Liviu

[1] http://www.debian.org/distrib/packages


TOC (newbie question)

2010-01-17 Thread Peter Bradley
I'm trying to add a TOC to my document - a paper I'm giving later this 
year.  I've done what it says to do in the help:


Insert --> List / TOC --> Table of Contents

The 'Table of Contents' button appears and if I click on it, a listing 
appears in a window at the left.  However no TOC appears in my dvi 
document, just the legend, 'Contents'.


This is my first proper attempt to create a document using LyX, so I'm 
probably misunderstanding something at a fairly fundamental level.  
Apologies if that is the case.


Thanks


Peter



Re: TOC (newbie question)

2010-01-17 Thread William Seager
On  Sunday 17 January 2010  at  08:24,  Peter Bradley wrote:
> The 'Table of Contents' button appears and if I click on it, a listing 
> appears in a window at the left.  However no TOC appears in my dvi 
> document, just the legend, 'Contents'.
> 

well - just to be sure of the basics, do you have the appropriate
"List in TOC" settings in Tools-Documents-Lists & TOC?

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

William Seager wrote:

On  Sunday 17 January 2010  at  08:24,  Peter Bradley wrote:
  
The 'Table of Contents' button appears and if I click on it, a listing 
appears in a window at the left.  However no TOC appears in my dvi 
document, just the legend, 'Contents'.





well - just to be sure of the basics, do you have the appropriate
"List in TOC" settings in Tools-Documents-Lists & TOC?

  

Yes.  That's the right place to start. :)

Actually I don't have Tools-Documents-Lists & TOC.  I'm using LyX 1.6.4, 
if that helps.


I do have Document --> Settings --> Number & TOC

It has some sliders labeled 'Numbering' and 'List in Table of Contents', 
which I don't understand at all.  What value am I supposed to be 
increasing/decreasing?


It also has a table with the following columns:

Example, Numbered, Appears in TOC

Neither the sliders nor the table contents appear to be changeable.  The 
sliders don't slide and the table offers no means of 
adding/deleting/amending its entries.


There are also two buttons, 'Use class defaults' and 'Save as document 
defaults'.  I'm afraid I've no idea what they might do.


Then there are some greyed out buttons:
- Restore
- OK
- Apply

Finally, there is an active 'Close' button.

Does that help?  And thanks very much for the reply.  It's appreciated.

Cheers


Peter




Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
2010/1/17 Peter Bradley :
> William Seager wrote:
>>
>> On  Sunday 17 January 2010  at  08:24,  Peter Bradley wrote:
>>
>>>
>>> The 'Table of Contents' button appears and if I click on it, a listing
>>> appears in a window at the left.  However no TOC appears in my dvi document,
>>> just the legend, 'Contents'.
>>>
>>>
>>
>> well - just to be sure of the basics, do you have the appropriate
>> "List in TOC" settings in Tools-Documents-Lists & TOC?
>>
>>
>
> Yes.  That's the right place to start. :)
>
> Actually I don't have Tools-Documents-Lists & TOC.  I'm using LyX 1.6.4, if
> that helps.
>
> I do have Document --> Settings --> Number & TOC
>
> It has some sliders labeled 'Numbering' and 'List in Table of Contents',
> which I don't understand at all.  What value am I supposed to be
> increasing/decreasing?
>
> It also has a table with the following columns:
>
> Example, Numbered, Appears in TOC
>
> Neither the sliders nor the table contents appear to be changeable.  The
> sliders don't slide and the table offers no means of
> adding/deleting/amending its entries.
>
> There are also two buttons, 'Use class defaults' and 'Save as document
> defaults'.  I'm afraid I've no idea what they might do.
>
> Then there are some greyed out buttons:
> - Restore
> - OK
> - Apply
>
> Finally, there is an active 'Close' button.
>
> Does that help?  And thanks very much for the reply.  It's appreciated.
>
> Cheers
>
>
> Peter
>
>
>

What type (class) of document  are you working on (article, report, book)?

What sections, chapters, subsections do you expect to see?

-- 
Stephen


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

stephen's mailinglist account wrote:

What type (class) of document  are you working on (article, report, book)?

What sections, chapters, subsections do you expect to see?

  

Hi Stephen,

Thank you for the reply.

It's an 'article (paper)'

The document has a number of parts with appropriate sections, 
sub-sections and sub-sub-sections.  All un-numbered.  These are what I'm 
expecting to see.


The document map that appears to the left of the editor when I insert a 
TOC looks fine.  It just doesn't appear in the final document.


Cheers


Peter



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: TOC (newbie question)

2010-01-17 Thread John Kane
I'm running the LyTex portable version of LyX 1.6.5  and I seem to be getting 
the same results with an Article class document.  I get the heading Contents 
but nothing else untill the first paragraph of the text.

A quick change to Book class gives me what appears to be a Chapter heading 
Contents and then a running header Contents.  No actual ToC appears.

Strange



--- On Sun, 1/17/10, Peter Bradley  wrote:

> From: Peter Bradley 
> Subject: Re: TOC (newbie question)
> To: lyx-users@lists.lyx.org
> Received: Sunday, January 17, 2010, 10:01 AM
> stephen's mailinglist account wrote:
> > What type (class) of document  are you working on
> (article, report, book)?
> > 
> > What sections, chapters, subsections do you expect to
> see?
> > 
> >   
> Hi Stephen,
> 
> Thank you for the reply.
> 
> It's an 'article (paper)'
> 
> The document has a number of parts with appropriate
> sections, sub-sections and sub-sub-sections.  All
> un-numbered.  These are what I'm expecting to see.
> 
> The document map that appears to the left of the editor
> when I insert a TOC looks fine.  It just doesn't appear
> in the final document.
> 
> Cheers
> 
> 
> Peter
> 
> 


  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.


Fwd: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
The attached file works for me.  Can you open it and create a dvi or
pdf successfully?


--
Stephen



-- 
Stephen


testfile.lyx
Description: application/lyx


Re: TOC (newbie question)

2010-01-17 Thread Rob Oakes

Hi Peter,

It's important to make sure that you are using the numbered styles for  
your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note  
the asterisk) they will appear in your document map but not in your  
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes

Sent from Rob's Palm

On Jan 17, 2010, at 8:01 AM, Peter Bradley   
wrote:



stephen's mailinglist account wrote:
What type (class) of document  are you working on (article, report,  
book)?


What sections, chapters, subsections do you expect to see?



Hi Stephen,

Thank you for the reply.

It's an 'article (paper)'

The document has a number of parts with appropriate sections, sub- 
sections and sub-sub-sections.  All un-numbered.  These are what I'm  
expecting to see.


The document map that appears to the left of the editor when I  
insert a TOC looks fine.  It just doesn't appear in the final  
document.


Cheers


Peter



Re: Fwd: TOC (newbie question)

2010-01-17 Thread John Kane
Well it seemed to wipe out the connection to my pdfviewer for a moment but 
after that it works just fine. :)

 I see that it uses sections whereas I have only unnumbered sections (i.e. 
section* and subsection*)

I changed the sections* to sections in my document and it has cranked out a 
very nice ToC.  



--- On Sun, 1/17/10, stephen's mailinglist account 
 wrote:

> From: stephen's mailinglist account 
> Subject: Fwd: TOC (newbie question)
> To: "Lyx-Users" 
> Received: Sunday, January 17, 2010, 11:02 AM
> The attached file works for me.  Can
> you open it and create a dvi or
> pdf successfully?
> 
> 
> --
> Stephen
> 
> 
> 
> -- 
> Stephen
> 


  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.


Re: TOC (newbie question)

2010-01-17 Thread John Kane
Aha. Something I just discovered. Nice to have it confirmed. 

--- On Sun, 1/17/10, Rob Oakes  wrote:

> From: Rob Oakes 
> Subject: Re: TOC (newbie question)
> To: "Peter Bradley" 
> Cc: "lyx-users@lists.lyx.org" 
> Received: Sunday, January 17, 2010, 11:08 AM
> Hi Peter,
> 
> It's important to make sure that you are using the numbered
> styles for your table of contents (e.g section,
> subsection).
> 
> If you are using unnumbered styles (e.g section* ,
> subsection*; note the asterisk) they will appear in your
> document map but not in your table of contents.
> 
> Pretty basic, but this might cause the behavior you
> describe.
> 
> Cheers,
> 
> Rob Oakes
> 
> Sent from Rob's Palm
> 
> On Jan 17, 2010, at 8:01 AM, Peter Bradley 
> wrote:
> 
> > stephen's mailinglist account wrote:
> >> What type (class) of document  are you
> working on (article, report, book)?
> >> 
> >> What sections, chapters, subsections do you expect
> to see?
> >> 
> >> 
> > Hi Stephen,
> > 
> > Thank you for the reply.
> > 
> > It's an 'article (paper)'
> > 
> > The document has a number of parts with appropriate
> sections, sub-sections and sub-sub-sections.  All
> un-numbered.  These are what I'm expecting to see.
> > 
> > The document map that appears to the left of the
> editor when I insert a TOC looks fine.  It just doesn't
> appear in the final document.
> > 
> > Cheers
> > 
> > 
> > Peter
> > 
> 


  __
Get a sneak peak at messages with a handy reading pane with All new Yahoo! 
Mail: http://ca.promos.yahoo.com/newmail/overview2/


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

Rob Oakes wrote:

Hi Peter,

It's important to make sure that you are using the numbered styles for 
your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note 
the asterisk) they will appear in your document map but not in your 
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes


Yes.  Thanks Rob, and others.  That's the fix.

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the 
Sections number sequentially regardless of their location within Parts.  
So I get:


Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each 
Part?


RTFM is a suitable answer if it comes with a reference to the 
appropriate part of the manual :)


Thanks again

Cheers


Peter



Re: LyX version control with git

2010-01-17 Thread rgheck

On 01/16/2010 05:32 PM, Vincent van Ravesteijn wrote:

Christoph Pospiech schreef:

Hi,

as of version 1.6.4, LyX has a pull down menu "File -> Version 
control", which

apparently supports CVS and SVN. Any plans to support git as well ?

Thanks !

Christoph Pospiech

Not really I think, but you can define your own commands by using the 
vc-command lfuns in the stdmenus file.


Or we could say: Pavel doesn't seem to be planning to do it, but if 
anyone did want to do it it likely wouldn't be that hard. It's only a 
handful of routines that have to be written, and you can mimic the ones 
for svn, etc.


Richard



Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
> Might I be permitted a supplementary?
>
> Now that all the various bits are numbered, I notice that all the Sections
> number sequentially regardless of their location within Parts.  So I get:
>
> Part I
>   Section 1
>   Section 2
> Part II
>   Section 3
>   Section 4
>   Section 5
> Part III
>   Section 6
>
> ... and so on.
>
> Is there any way I can get the Section numbering to restart inside each
> Part?
>
> RTFM is a suitable answer if it comes with a reference to the appropriate
> part of the manual :)
>
> Thanks again
>
> Cheers
>
>
> Peter
>
>
I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?
-- 
Stephen


Re: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 11:37 AM, Peter Bradley wrote:

Rob Oakes wrote:

Hi Peter,

It's important to make sure that you are using the numbered styles 
for your table of contents (e.g section, subsection).


If you are using unnumbered styles (e.g section* , subsection*; note 
the asterisk) they will appear in your document map but not in your 
table of contents.


Pretty basic, but this might cause the behavior you describe.

Cheers,

Rob Oakes


Yes.  Thanks Rob, and others.  That's the fix.

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the 
Sections number sequentially regardless of their location within 
Parts.  So I get:


Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside 
each Part?



This is a LaTeX thing. IN the preamble:

\makeatletter

\...@addtoreset{section}{part}

\makeatother
Or you can use the chngcntr package, which is available from CTAN, if 
you don't have it.



Note that this will not change the display in LyX. To do that, you need 
to redefine the section counter in LyX, probably using a module. See 
Chapter 5 of the Customization manual. This is a two-liner.


rh



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: TOC (newbie question)

2010-01-17 Thread rgheck

On 01/17/2010 12:03 PM, stephen's mailinglist account wrote:

Might I be permitted a supplementary?

Now that all the various bits are numbered, I notice that all the Sections
number sequentially regardless of their location within Parts.  So I get:

Part I
   Section 1
   Section 2
Part II
   Section 3
   Section 4
   Section 5
Part III
   Section 6

... and so on.

Is there any way I can get the Section numbering to restart inside each
Part?

RTFM is a suitable answer if it comes with a reference to the appropriate
part of the manual :)

Thanks again

Cheers


Peter


 

I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?

   

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh




Re: TOC (newbie question)

2010-01-17 Thread stephen's mailinglist account
>> I can do it with ERT is there a LyX or other more elegant way?
>>
>>
>> ERT way adds following
>> \setcounter{section}{0}
>> after subsequent section headers.  I guess you could redefine \part in
>> latex preamble or put into a module even and use it as a custom inset?
>>
>>
>
> \makeatletter
>
> \...@addtoreset{section}{part}
>
> \makeatother
>
> rh
>
>
>

That is a better way

-- 
Stephen


Re: TOC (newbie question)

2010-01-17 Thread Peter Bradley

stephen's mailinglist account wrote:

I can do it with ERT is there a LyX or other more elegant way?


ERT way adds following
\setcounter{section}{0}
after subsequent section headers.  I guess you could redefine \part in
latex preamble or put into a module even and use it as a custom inset?


  

\makeatletter

\...@addtoreset{section}{part}

\makeatother

rh






That is a better way

  


Thanks to all of you.

I've decided to leave it as it is because, on reflection, I think it's 
right.


And possibly partly because I don't understand the TeX/LATEX stuff 
properly.  It's on my TODO list, but has been for some years now. :(


If I reorient my thinking such that Parts are logical divisions and 
Sections are actual divisions, it all makes sense.


I'm grateful for all the help.  Thanks.

Cheers


Peter




Problem with the dash in the listings

2010-01-17 Thread Piotrek
Hi. I'm trying to use some listing with character "-" inside.
And always when I do it I have the following error on the subsequent
section:
Font \csname\endcsname=psyr at 12.0pt not loadable: Metric (TFM) file not
found
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font='.

Some posts I was reading suggested that it could be the case when the text
has been copied from word with long dashes. But here I write the dash myself
from the keybord.
The listing I'm trying to use is
// Open the table
Table *T = OpenOrDie("/bigtable/web/webtable");
// Write a new anchor and delete an old anchor
RowMutation r1(T, "com.cnn.www");
r1.Set("anchor:www.c-span.org", "CNN");
r1.Delete("anchor:www.abc.com");
Operation op;
Apply(, );
//...
Scanner scanner(T);
ScanStream *stream;
stream = scanner.FetchColumnFamily("anchor");
stream->SetReturnAllVersions();
scanner.Lookup("com.cnn.www");
for (; !stream->Done(); stream->Next()) {
printf("%s %s %lld %s\n",
scanner.RowName(),
stream->ColumnName(),
stream->MicroTimestamp(),
stream->Value());
}

Do you have any suggestions?

-- 
Piotr



Re: I surely do wish I could use aspell directly on a *.lyx file...

2010-01-17 Thread Joe(theWordy)Philbrook

It would appear that on Jan 15, Helge Hafting did say:

> Very good explanation - could you file in the bug tracker, where the
> developers will find it? URL:
> http://www.lyx.org/trac/wiki/BugTrackerHome

It would appear that on Jan 16, Joe(theWordy)Philbrook did say:

> OK! Just did that. <>
 
The Ticket number is #6460... And I gotta say I've never seen such fast
results. It'll take a while before the fix trickles down to the linux
distro supplied versions I use, But just knowing it's coming gives me a
warm fuzzy feeling...

By the way. I'm new to this BugTracker, so I don't know. Since the fix
that's been described to me as having been done (upstream of course) is
exactly what I asked for... Am I expected to do anything to mark this as
resolved??? (I'm still not used to wiki methods) Or do the developers
expect to do that themselves?

-- 
|   ---   ___
|   <0>   <->  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ <>



Re: Problem with the dash in the listings

2010-01-17 Thread rgheck

On 01/17/2010 01:03 PM, Piotrek wrote:

Hi. I'm trying to use some listing with character "-" inside.
[snip]

   
It's just a guess, but you could try changing the typewriter font under 
Document>Settings>Font.


rh



RE: Problem with the dash in the listings

2010-01-17 Thread Piotrek
Thank you for the message.
Yeah. I tried that before. Currently I am using Bera Mono font for typewriter. 
But changing the font doesn't stop the error message in PDF export anyway.
BR
Piotr

-Original Message-
From: rgheck [mailto:rgh...@bobjweil.com] 
Sent: Sunday, January 17, 2010 7:19 PM
To: Piotrek
Cc: lyx-users@lists.lyx.org
Subject: Re: Problem with the dash in the listings

On 01/17/2010 01:03 PM, Piotrek wrote:
> Hi. I'm trying to use some listing with character "-" inside.
> [snip]
>
>
It's just a guess, but you could try changing the typewriter font under 
Document>Settings>Font.

rh



  1   2   >