Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 21:46:
 On 07/15/2009 03:42 PM, Sam Liddicott wrote:
 My C sources aren't generated via the tex files (partly because it's
 not simple to get Lyx to export a tex file from a noweb document
 without running noweb).

 I really need to be able to navigate to a line (and column even) in
 the Lyx file.

 So are you doing this from outside LyX with calls to the lyxserver? If
 so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
 and stupid, but it'll work.

Thanks for the advice.

I've filed an enhancement request 6087 in trac.

Sam


Re: Vertical line in the side left

2009-07-16 Thread icebna
How can put the Text in the left corner down, in vertical position 
above the line ?. See example attached.


Thanks advanced




Yago escribió:
You can put a vertical line 2pt width and a Text centered above the 
line at left on all pages of your document with this two commands into 
an ERT box at the beginning of the document:


\AddToShipoutPicture{\psline[linewidth=2pt](2,3)(2,26.5)}
\AddToShipoutPicture{\rput(2,27){\large Text}}

You will need to put this in your preamble:

\usepackage{pstricks,eso-pic,calc,graphicx}

Of course you can to change the origin/final line/text co-ordinates 
depends on the margins on the document and your needs.

- Original Message - From: icebna ice...@telefonica.net
To: lyx-users@lists.lyx.org
Sent: Wednesday, July 15, 2009 9:12 AM
Subject: Vertical line in the side left



Hi all :

How put a vertical line, up to down in the left side, with a word above
the line in the left corner down.

Please, see the example adjunct.

Thanks so much

Miguel




 





#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO
\lhead{Ejemplo  \copyright}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\author 
\end_header

\begin_body

\begin_layout Standard
How make put the line in vertical position, up to down, in the side 
left,

and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document






#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
reversemarginpar
\end_layout

\end_inset


\begin_inset Marginal
status open

\begin_layout Plain Layout
\noindent
\align center
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
rotatebox[origin=l]{90}{
\end_layout

\end_inset

 
\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
This is a centered paragraph.
 Left or right changes the space between the line and the text
\bar under
 
\end_layout

\end_inset


\bar under
Ejemplo
\begin_inset space ~
\end_inset

©
\begin_inset space \hspace*{}
\length 18cm
\end_inset


\bar default

\begin_inset ERT
status collapsed

\begin_layout Plain Layout

}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
How make put the line in vertical position, up to down, in the side left,
 and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-16 Thread Pavel Sanda
Rich Shepard wrote:
 pages, and publication/copywrite page. I'd save those as separate .pdf
 files, then assemble the entire book using pdftk. Horses for courses as the

are you aware of insert-external material-pdfpages?
pavel


Re: Keyboard Shortcut Crashed

2009-07-16 Thread Pavel Sanda
Marcelo Reis wrote:
 Guys, I was trying to configure the shortcut key CTRL+I to automatically 
 changes my text to Italic in LYX but when I tried to do it LYX crashed 
 and now seems like it ERASED all the DEFAULT shortcut list that there 
 was configured.

btw do you have some recipy how to reproduce the problem?
pavel


Re: server-goto-file-row goes to line 1

2009-07-16 Thread Pavel Sanda
Richard Heck wrote:
 So are you doing this from outside LyX with calls to the lyxserver? If 
 so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow 
 and stupid, but it'll work.

ouch, this will be dependent on the window resolution. navigate in .lyx
file is a bad idea anyway.
pavel


Re: Consolidating the bibliography for article submissions

2009-07-16 Thread Wolfgang Engelmann
Am Monday 13 July 2009 16:56:31 schrieb Manolo Martí­nez:
 To clarify what I'm asking here, I'm interested in the easiest, shortest
 way to go from:

 a) A Lyx file with a bibtex bibliography, to

 b) Another Lyx (or a .tex) file, where this bibliography has been
 resolved into /bibitems, so that it can be shared with people without
 having to share the .bib file independently.

not sure, I understood your problem. If you don't want to share the whole 
bib-file all.bib, but only the references cited in cited.bib, and your 
document is doc.lyx 
you could e.g. use JabRef as a reference manager and say on a command line
jabref --aux doc.aux,cited.bib all.bib
after having exported your doc.lyx to doc.tex by using fileexportlatex
You would share cited.bib with your colleagues

 I would have thought many of you have gone through this problem before?

if you want to send it without bib-file at all, you might have to use the 
doc.tex and the doc.aux and doc.bbl file, but I am not sure. Anyway, its one 
more file ...

Wolfgang


Re: Consolidating the bibliography for article submissions

2009-07-16 Thread pdv
In article 4a5d8e46.8070...@austrohungaro.com,
 Manolo Martí­nez 
 man...@austrohungaro.com wrote:

Copy the contents of the .bbl file in place of the \bibliography{} 
command in the .tex file.

 Hi,
 
 Nobody can help me with this, then?
 
 Thx
 M
 
 Manolo Martí­nez escribió:
  To clarify what I'm asking here, I'm interested in the easiest, 
  shortest way to go from:
 
  a) A Lyx file with a bibtex bibliography, to
 
  b) Another Lyx (or a .tex) file, where this bibliography has been 
  resolved into /bibitems, so that it can be shared with people without 
  having to share the .bib file independently.
 
  I would have thought many of you have gone through this problem before?
 
  Thanks again.
  Manolo
 
  Manolo Martí­nez escribió:
  Dear all,
 
  Is there any easy way to convert a bibtex list of references in part 
  of a .tex document? I know the roundabout way which consists of 
  exporting the lyx document to LaTeX, and then copying back the list 
  of references from the .bbl file.
 
  A Lyx plugin to do this would be extremely useful. Many publishers 
  accept LaTeX submissions but, I think, it is somewhat untidy to send 
  the .tex file and the .bib files separately, while going through the 
  .bbl route is a real pain in the neck.
 
  Thanks. Cheers,
  Manolo
 
 
 



Typing some text in Lyx with capital letters

2009-07-16 Thread silvio grosso

Hello everybody,

I am working with Lyx 1.6.3 on Windows xp (sp3) and I have a question about 
punctuation.

In short, I spend most of my working time with softwares like Microsoft Word or 
OpenOffice Writer and I am wondering if is it possible, with Lyx, to have the 
first letter always in capital letters (namely capitalised) after a punctuation 
which requires that. 
At least in Italian, French, English after a punctuation such as ? ! . (period) 
etc, you very often need to have the first letter of the new sentence 
capitalised.

For instance, with OpenOffice Writer when I type: are you all right? Yes, I 
am the Y of yes is automatically changed in capital letter (that is, Yes 
instead of yes) .
On the contrary, with Lyx I have to change the first letter manually every 
time. Obviously, I know it is not a great deal :-)
Nevertheless, in my opinion,  when you have to type a lot of text every day 
this option is really useful because it saves you a lot of time (you don't have 
to press the button Shift to make the first letter capitalised).

To sum up, is there an option in Lyx to have the same behaviour about capital 
letters as Writer or Word?

Best regards,

Silvio





Re: server-goto-file-row goes to line 1

2009-07-16 Thread rgheck

On 07/16/2009 06:23 AM, Pavel Sanda wrote:

Richard Heck wrote:
   

So are you doing this from outside LyX with calls to the lyxserver? If
so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
and stupid, but it'll work.
 


ouch, this will be dependent on the window resolution. navigate in .lyx
file is a bad idea anyway.

   
Yes, I had the same thought. But from what I can tell, that's what he 
wants to do: Go to a particular line of the displayed LyX file.


Or did you want to go to a line of the LyX file, as it is saved on disk?

rh



Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 16/07/09 13:51:
 On 07/16/2009 06:23 AM, Pavel Sanda wrote:
 Richard Heck wrote:
   
 So are you doing this from outside LyX with calls to the lyxserver? If
 so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
 and stupid, but it'll work.
  

 ouch, this will be dependent on the window resolution. navigate in .lyx
 file is a bad idea anyway.


 Yes, I had the same thought. But from what I can tell, that's what he
 wants to do: Go to a particular line of the displayed LyX file.
 
 Or did you want to go to a line of the LyX file, as it is saved on disk?

As saved on disk, as this is what gcc is complaining about (I've been
using notangle directly on the lyx file).

I'm resigned that it is impossible and wont easily be possible.

Sam


truncated sections

2009-07-16 Thread Beny Spira
Hi there

I am writing an extended CV with heaps of subsections and subsubsections.
The problem is that every time the amount of susbsubsections exceed a
certain number the list of subsubsections run though the margins and is
truncated when exported to DVI or PDF.

Is this a bug? If not, how can it be avoided?

Thanks

Beny


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-16 Thread Steve Litt
On Thursday 16 July 2009 06:15:28 am Pavel Sanda wrote:
 Rich Shepard wrote:
  It can take an amateur like me
  almost as long to prepare the index as it does to write the text. Like

 just an idea - couldn't be this a bit automatized? something like export to
 plain text, sort  uniq all words by alphabet, manually delete the boring
 words (shouldn't be too much in tech documentation) and then run some
 script mapping it back into the text.

This is exactly what I do, except I even automatically delete all words less 
than 4 letters.

I then delete the boring words out of the remaining concordance, which then 
serves as a reminder of what concepts need indexing. It's still by far the 
most distasteful aspect of writing a book.

 this would probably cause some problems for multiple-word entries

As you go through the concordance, you imagine what multi-word phrases might 
be included, and write them into the concordance. Stuff probably falls 
through the cracks, but I'm not willing to pay a professional indexer, so 
small flaws must be expected.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-16 Thread Rich Shepard

On Thu, 16 Jul 2009, Pavel Sanda wrote:


are you aware of insert-external material-pdfpages?


pavel,

  Now I am. However, I make heavy use of pdftk for a wide range of purposes
so I'm quite familiar with this tool.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: truncated sections

2009-07-16 Thread Marcelo Acuña

 Hi there
 
 I am writing an extended CV with heaps of subsections and
 subsubsections.
 The problem is that every time the amount of
 susbsubsections exceed a
 certain number the list of subsubsections run though the
 margins and is
 truncated when exported to DVI or PDF.
 
 Is this a bug? If not, how can it be avoided?
 
 Thanks
 
 Beny

 I don't understand. You say that Index or ToC run though the margins? 


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: server-goto-file-row goes to line 1

2009-07-16 Thread rgheck

On 07/16/2009 09:16 AM, Sam Liddicott wrote:

* rgheck wrote, On 16/07/09 13:51:
   

On 07/16/2009 06:23 AM, Pavel Sanda wrote:
 

Richard Heck wrote:

   

So are you doing this from outside LyX with calls to the lyxserver? If
so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
and stupid, but it'll work.

 

ouch, this will be dependent on the window resolution. navigate in .lyx
file is a bad idea anyway.


   

Yes, I had the same thought. But from what I can tell, that's what he
wants to do: Go to a particular line of the displayed LyX file.

Or did you want to go to a line of the LyX file, as it is saved on disk?
 


As saved on disk, as this is what gcc is complaining about (I've been
using notangle directly on the lyx file).

I'm resigned that it is impossible and wont easily be possible.

   
As saved on disk will indeed be difficult. We don't have that 
information in the Buffer structure.


rh



Re: multicol package

2009-07-16 Thread Marcelo Acuña

 I am trying to set up a book (8x10
 - about 400 pages) with mostly 2 columns. 
 I want the chapter titles and section headings to go across
 the page with the 
 body text in 2 columsn.
 
 I have set it up as follows:
 
 Chapter Title
 \begin{multicols}{2}
 
 (body text)
 
 \end{multicols}
 
 or
 
 Section Heading
 \begin{multicols}{2}
 
 (body text)
 \end{multicols}
 
 It seems to work OK until I'm about half way through the
 book, then when I try 
 to view using DVI or PDF, I get an error message Dimension
 too large.
 
 Is there a limit as to how many times you can changee from
 one to two columns? 
 Is there a limit to how many words this setup can handle?
 Any help would be 
 appreciated.
 
 
 The errors is produced for another cause.
 No limits in the words.
 I have in several times Dimension too large but, for now, I can pinpoint the 
origin. I not use multicol but two columns option in koma-script style.
 Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: Vertical line in the side left

2009-07-16 Thread Yago

See the attached files.
- Original Message - 
From: icebna ice...@telefonica.net

To: lyx-users@lists.lyx.org; diazd...@ono.com
Sent: Thursday, July 16, 2009 8:48 AM
Subject: Re: Vertical line in the side left



How can put the Text in the left corner down, in vertical position
above the line ?. See example attached.

Thanks advanced




Yago escribió:

You can put a vertical line 2pt width and a Text centered above the
line at left on all pages of your document with this two commands into
an ERT box at the beginning of the document:

\AddToShipoutPicture{\psline[linewidth=2pt](2,3)(2,26.5)}
\AddToShipoutPicture{\rput(2,27){\large Text}}

You will need to put this in your preamble:

\usepackage{pstricks,eso-pic,calc,graphicx}

Of course you can to change the origin/final line/text co-ordinates
depends on the margins on the document and your needs.
- Original Message - From: icebna ice...@telefonica.net
To: lyx-users@lists.lyx.org
Sent: Wednesday, July 15, 2009 9:12 AM
Subject: Vertical line in the side left



Hi all :

How put a vertical line, up to down in the left side, with a word above
the line in the left corner down.

Please, see the example adjunct.

Thanks so much

Miguel









#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO
\lhead{Ejemplo  \copyright}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\author 
\end_header

\begin_body

\begin_layout Standard
How make put the line in vertical position, up to down, in the side
left,
and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document














#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
reversemarginpar
\end_layout

\end_inset


\begin_inset Marginal
status open

\begin_layout Plain Layout
\noindent
\align center
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
rotatebox[origin=l]{90}{
\end_layout

\end_inset


\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
This is a centered paragraph.
Left or right changes the space between the line and the text
\bar under

\end_layout

\end_inset


\bar under
Ejemplo
\begin_inset space ~
\end_inset

©
\begin_inset space \hspace*{}
\length 18cm
\end_inset


\bar default

\begin_inset ERT
status collapsed

\begin_layout Plain Layout

}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
How make put the line in vertical position, up to down, in the side left,
and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document



linea_lateral.tex
Description: Binary data


linea_lateral.lyx
Description: application/lyx


Re: Typing some text in Lyx with capital letters

2009-07-16 Thread Piero

 To sum up, is there an option in Lyx to have the
 same behaviour about capital 
letters as Writer or Word?

I think not.
However, you're right, a auto-correction tool should be implemented,
 and also for 
DOuble capitals and similar mistakes.
 I think they're working in it with the 
inline spellchecker project.





Re: Vertical line in the side left

2009-07-16 Thread icebna

OK Yago

Thanks so much

Miguel


Yago escribió:

See the attached files.
- Original Message - From: icebna ice...@telefonica.net
To: lyx-users@lists.lyx.org; diazd...@ono.com
Sent: Thursday, July 16, 2009 8:48 AM
Subject: Re: Vertical line in the side left



How can put the Text in the left corner down, in vertical position
above the line ?. See example attached.

Thanks advanced




Yago escribió:

You can put a vertical line 2pt width and a Text centered above the
line at left on all pages of your document with this two commands into
an ERT box at the beginning of the document:

\AddToShipoutPicture{\psline[linewidth=2pt](2,3)(2,26.5)}
\AddToShipoutPicture{\rput(2,27){\large Text}}

You will need to put this in your preamble:

\usepackage{pstricks,eso-pic,calc,graphicx}

Of course you can to change the origin/final line/text co-ordinates
depends on the margins on the document and your needs.
- Original Message - From: icebna ice...@telefonica.net
To: lyx-users@lists.lyx.org
Sent: Wednesday, July 15, 2009 9:12 AM
Subject: Vertical line in the side left



Hi all :

How put a vertical line, up to down in the left side, with a word 
above

the line in the left corner down.

Please, see the example adjunct.

Thanks so much

Miguel




 






#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO
\lhead{Ejemplo  \copyright}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\author 
\end_header

\begin_body

\begin_layout Standard
How make put the line in vertical position, up to down, in the side
left,
and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document










 





#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
reversemarginpar
\end_layout

\end_inset


\begin_inset Marginal
status open

\begin_layout Plain Layout
\noindent
\align center
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
rotatebox[origin=l]{90}{
\end_layout

\end_inset


\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
This is a centered paragraph.
Left or right changes the space between the line and the text
\bar under

\end_layout

\end_inset


\bar under
Ejemplo
\begin_inset space ~
\end_inset

©
\begin_inset space \hspace*{}
\length 18cm
\end_inset


\bar default

\begin_inset ERT
status collapsed

\begin_layout Plain Layout

}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
How make put the line in vertical position, up to down, in the side 
left,

and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document





Re: truncated sections

2009-07-16 Thread Beny Spira
Hi Marcelo

No, it's not the ToC that run through the margins and get truncated. It is
the list of subsubsections that is truncated. For example, I have a list of
12 subsubsections that does not fit entirely in one page, the last let's say
3 or 4 entries should have continued into the next page of the DVI or PDF
export, but they are missing.
Let me know if it is clear now or if you need any further information.

Thanks,

Beny





  Hi there
 
  I am writing an extended CV with heaps of subsections and
  subsubsections.
  The problem is that every time the amount of
  susbsubsections exceed a
  certain number the list of subsubsections run though the
  margins and is
  truncated when exported to DVI or PDF.
 
  Is this a bug? If not, how can it be avoided?
 
  Thanks
 
  Beny

  I don't understand. You say that Index or ToC run though the margins?



  
 
 ¡Viví la mejor experiencia en la web!
 Descargá gratis el nuevo Internet Explorer 8
 http://downloads.yahoo.com/ieak8/?l=ar



Re: Typing some text in Lyx with capital letters

2009-07-16 Thread John Coppens
On Thu, 16 Jul 2009 12:02:39 + (GMT)
silvio grosso grossosil...@yahoo.it wrote:

 To sum up, is there an option in Lyx to have the same behaviour about
 capital letters as Writer or Word?

Do think about this. I have noticed the 'feature' in some editors, then
noticed that those programs also want to be intelligent and, for example
don't permit 'MHz' (they consider the only the first letter should be
capitalized). Then, to solve this, they have an exception table where you
can put those.

I ended up losing more time administering the exceptions than what I
could have ever gained by the capitalize-checking feature.

John


Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 17:28:

 Here's what the docs say:
 
 LFUN_SERVER_GOTO_FILE_ROW
 
 * Action Sets the cursor position based on the row number of generated
 TeX file.
 
 * Notion This can be useful for DVI inverse-search or detection of the
 problematic line from LaTeX compilation. Note that before this function
 can be used export to LaTeX output must occur (in order to map the row
 numbers).
 
 * Syntax server-goto-file-row FILE[.ext] ROW_NUMBER
 
 * Params FILE: the filename. Environment variables are expaned in the
 path. In case this LFUN does not work make sure you are giving correct
 path to the file.If the file is located inside LyX temporary directory
 it will be mapped back into the appropriate opened buffer (e.g. for the
 case of generated .tex file). .ext: extensions will be automatically
 replaced by .lyx.
 
 Note that the row number is that of the LaTeX output file, NOT the LyX
 file on screen.


atm this isn't working as you say either (for me)...

I fired up a fresh invocation of Lyx, CTRL+N and typed:
now is the time
for all good men
to drink lemonade
at the party

CTRL+S to save as /tmp/file.lyx

I then did a dvi preview, In /tmp/lyx_tmpdir.J19856/lyx_tmpbuf0 I can
see the files that were generated. file.tex shows:

--8-8-8---
\batchmode
\makeatletter
\def\in...@path{{/tmp//}}
\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\usepackage{babel}

\begin{document}
now is the time

for all good men

to drink lemonade

at the party
\end{document}
--8-8-8---

and in the command buffer I type (to jump to for all good men):

server-goto-file-row /tmp/file.lyx 14

but the cursor just goes back to line 1 again...

I even tried (for good luck):
server-goto-file-row /tmp/lyx_tmpdir.J19856/lyx_tmpbuf0/file.tex 14

but the cursor jumps to line 1 still.

I've tried lines 1-17 but still it won't do anything apart from jump
back to line 1.


I then switched to Article (noweb).

I note that a .nw is created as an intermediate file - is this the file
used for the line number mappings or is it the text file generated by
noweave? This question really concerns me because I am trying to map
from source files back to the lyx document, not from the dvi back to the
lyx document.

Sam



Re: truncated sections

2009-07-16 Thread Jean-Marc Lasgouttes

Le 16 juil. 09 à 16:47, Beny Spira a écrit :
No, it's not the ToC that run through the margins and get truncated.  
It is
the list of subsubsections that is truncated. For example, I have a  
list of
12 subsubsections that does not fit entirely in one page, the last  
let's say
3 or 4 entries should have continued into the next page of the DVI  
or PDF

export, but they are missing.


Subsection have special code to forbid page breaks after them (to  
avoid a title
at the end of a page). They are designed for what you do? Why do you  
need this?


JMarc

Re: Typing some text in Lyx with capital letters

2009-07-16 Thread Marcelo Acuña

  To sum up, is there an option in Lyx to have the same
 behaviour about
  capital letters as Writer or Word?
 
 Do think about this. I have noticed the 'feature' in some
 editors, then
 noticed that those programs also want to be intelligent
 and, for example
 don't permit 'MHz' (they consider the only the first letter
 should be
 capitalized). Then, to solve this, they have an exception
 table where you
 can put those.
 
 I ended up losing more time administering the exceptions
 than what I
 could have ever gained by the capitalize-checking feature.
 
 John
 
 Yes. Is a battle against a ghost in the computer that make changes without 
notice. A nightmare.
 Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: truncated sections

2009-07-16 Thread Marcelo Acuña

 Hi Marcelo
 
 No, it's not the ToC that run through the margins and
 get truncated. It is the list of subsubsections that is
 truncated. For example, I have a list of 12 subsubsections
 that does not fit entirely in one page, the last let's
 say 3 or 4 entries should have continued into the next page
 of the DVI or PDF export, but they are missing.
 
 
 Let me know if it is clear now or if you need any further
 information.
 
 Thanks,
 
 Beny
  
 I understand that part of the text in the main text not appears.
 It seems an interrupted process.
 Do you have an error message?

 Marcelo


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


Multiple author affiliations

2009-07-16 Thread E. Kaplan
Often one needs to list several authors for a scientific paper, with 
more than one institutional affiliation.
I tried to do this with the AUTHOR text type and superscripts on both 
the authors names and their institutional affiliations, but Lyx gagged 
on it.

How can I do that?
Thanks,
E. Kaplan




Re: Multiple author affiliations

2009-07-16 Thread Rich Shepard

On Thu, 16 Jul 2009, E. Kaplan wrote:


Often one needs to list several authors for a scientific paper, with more
than one institutional affiliation. I tried to do this with the AUTHOR
text type and superscripts on both the authors names and their
institutional affiliations, but Lyx gagged on it. How can I do that?


E. Kaplan:

  Rather than superscript placement/sizing, why not use footnotes? You can
have multiple authors listed and define a footnote for each one's employer.
LyX will happily digest this.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Typing some text in Lyx with capital letters

2009-07-16 Thread Michael Joyner ᏩᏯ
I concur, I usually end up turning OFF auto-correct.
If someone is looking for a feature like this, maybe have it along the
lines of the inline spell checker and have squiggles marking potentially
bad words.

Marcelo Acuña wrote:
 To sum up, is there an option in Lyx to have the same
   
 behaviour about
 
 capital letters as Writer or Word?
   
 Do think about this. I have noticed the 'feature' in some
 editors, then
 noticed that those programs also want to be intelligent
 and, for example
 don't permit 'MHz' (they consider the only the first letter
 should be
 capitalized). Then, to solve this, they have an exception
 table where you
 can put those.

 I ended up losing more time administering the exceptions
 than what I
 could have ever gained by the capitalize-checking feature.

 John

 
  Yes. Is a battle against a ghost in the computer that make changes without 
 notice. A nightmare.
  Marcelo


   
 
 ¡Viví la mejor experiencia en la web!
 Descargá gratis el nuevo Internet Explorer 8
 http://downloads.yahoo.com/ieak8/?l=ar
   


-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/



signature.asc
Description: OpenPGP digital signature


Re: Another Point to Consider in Your Writing

2009-07-16 Thread Steve Litt
On Thursday 16 July 2009 01:13:38 pm Rich Shepard wrote:
Now that we've flogged index creation until it's moribund, it's time to
 consider another factor in making your opus magnum welcomed by readers: the
 font size.

I'm re-reading a soft-cover book that I first read several years ago;
 it's a technical book with lots of mathematics so it doesn't scan like a
 novel. I found it difficult to read back then and only now, during my
 re-reading, am I aware of why it's so difficult. The body text is set in
 9pt type, and the in-line examples are set in 8pt type. It is very
 difficult to read -- even with my reading glasses -- and this makes it more
 difficult to follow because it takes conscious effort to just read the
 text. The book is self-published (the publishing company is named after the
 author's wife's initials) and the physical page size is also smaller than
 the standard 6-1/2x9-1/8 page.

Body text one point smaller than the standard 10pt (which I can read
 without glasses as long as environment is not too dark) makes a _huge_
 difference in readability and ease of comprehension. My advice is to
 _never_ set the body text smaller than 10pt (and always use a serif
 typeface because that tracks much more easily than do san-serif typefaces).

The other side of this type size issue is that everyone who uses
 Microsoft Word never changes the document default from Times-Roman 12pt; at
 least, no one whose documents I've seen has done so. That size, too, is
 difficult to read because it's 20% larger than we're used to reading in
 books and journals/magazines. Also, the Times fonts were developed for the
 London Times broadsheet newspaper with narrow columns. It's not the best or
 nicest looking typeface for use in most documents that are a single column
 on letter or A4 size paper. But, I suppose it's part of the Microsoft
 training to not consider making any changes to what comes out of the shrink
 wrapping.

I believe this topic is appropriate for the LyX mail list because we all
 know that documents typeset with TeX are more attractive and readable
 than are documents of processed words, even if most readers cannot tell you
 exactly why they feel that way. Paying attention to typeface and size just
 goes with the desire to produce outstanding looking output.

I think so too.

I use 12pt Century Schoolbook because Century Schoolbook appears very clear 
and readable to me. If the Book document class supported 14 point, I'd use 
that. I have no knowledge of my readers, so some of them may have very bad 
vision. My book Troubleshooting: Tools, Tips and Techniques was written in 
WordPerfect 5.1 back in 1990 using 14 point serif type, and I've been thanked 
more than once for providing such a big font.

I might be more sensitive to this than most. If my glasses are not absolutely 
clean, and if I'm not absolutely fresh and bright, I can't comfortably read 
anything smaller than 12pt.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Multiple author affiliations

2009-07-16 Thread I Wayan Warmada

--- On Fri, 7/17/09, Rich Shepard rshep...@appl-ecosys.com wrote:

 E. Kaplan:
 
 Rather than superscript placement/sizing, why not
 use footnotes? You can
 have multiple authors listed and define a footnote for each
 one's employer.
 LyX will happily digest this.
 

use authblk.sty from preprint package. The authblk.sty can handle up to 6 
affiliation. I have use by putting this package in preamble like:

\usepackage[auth-lg]{authblk}
   \author[1]{name of author 1}
   \author[1,2]{name of author 2 with two affiliation}
   \affil[1]{affiliation 1}
   \affil[2]{affiliation 2}

etc, please read the documentation.
Btw, you don't need to put the author in editing area, because it already 
define in preamble.

Regards,
Wayan






  


List of Tables, numbering problem

2009-07-16 Thread Laser Yuan
Hello,

I have tables in Chapters, say, two in the first Chapter, one in the second.
And I'm using ASM(book) class.

The numbering comes up with the list of talbes are like this:

1 
2 ...

1 ...

I want it to be:
1.1 ...
1.2 ...

2.1 ...

Could anybody tell me, how this wizard numbering happened. and how to solve
it. I attached a sample as bellow for your information

Thanks.
_

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsbook
\begin_preamble

\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing onehalf
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Chapter
the first chapter
\end_layout

\begin_layout Section
the first section of chapter 1
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the second table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Chapter
the second chapter
\end_layout

\begin_layout Section
the first section of chapter 2
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first chapter in chapter 2
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document


Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 21:46:
 On 07/15/2009 03:42 PM, Sam Liddicott wrote:
 My C sources aren't generated via the tex files (partly because it's
 not simple to get Lyx to export a tex file from a noweb document
 without running noweb).

 I really need to be able to navigate to a line (and column even) in
 the Lyx file.

 So are you doing this from outside LyX with calls to the lyxserver? If
 so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
 and stupid, but it'll work.

Thanks for the advice.

I've filed an enhancement request 6087 in trac.

Sam


Re: Vertical line in the side left

2009-07-16 Thread icebna
How can put the Text in the left corner down, in vertical position 
above the line ?. See example attached.


Thanks advanced




Yago escribió:
You can put a vertical line 2pt width and a Text centered above the 
line at left on all pages of your document with this two commands into 
an ERT box at the beginning of the document:


\AddToShipoutPicture{\psline[linewidth=2pt](2,3)(2,26.5)}
\AddToShipoutPicture{\rput(2,27){\large Text}}

You will need to put this in your preamble:

\usepackage{pstricks,eso-pic,calc,graphicx}

Of course you can to change the origin/final line/text co-ordinates 
depends on the margins on the document and your needs.

- Original Message - From: icebna ice...@telefonica.net
To: lyx-users@lists.lyx.org
Sent: Wednesday, July 15, 2009 9:12 AM
Subject: Vertical line in the side left



Hi all :

How put a vertical line, up to down in the left side, with a word above
the line in the left corner down.

Please, see the example adjunct.

Thanks so much

Miguel




 





#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO
\lhead{Ejemplo  \copyright}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\author 
\end_header

\begin_body

\begin_layout Standard
How make put the line in vertical position, up to down, in the side 
left,

and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document






#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author  
\author  
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
reversemarginpar
\end_layout

\end_inset


\begin_inset Marginal
status open

\begin_layout Plain Layout
\noindent
\align center
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
rotatebox[origin=l]{90}{
\end_layout

\end_inset

 
\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
This is a centered paragraph.
 Left or right changes the space between the line and the text
\bar under
 
\end_layout

\end_inset


\bar under
Ejemplo
\begin_inset space ~
\end_inset

©
\begin_inset space \hspace*{}
\length 18cm
\end_inset


\bar default

\begin_inset ERT
status collapsed

\begin_layout Plain Layout

}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
How make put the line in vertical position, up to down, in the side left,
 and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-16 Thread Pavel Sanda
Rich Shepard wrote:
 pages, and publication/copywrite page. I'd save those as separate .pdf
 files, then assemble the entire book using pdftk. Horses for courses as the

are you aware of insert-external material-pdfpages?
pavel


Re: Keyboard Shortcut Crashed

2009-07-16 Thread Pavel Sanda
Marcelo Reis wrote:
 Guys, I was trying to configure the shortcut key CTRL+I to automatically 
 changes my text to Italic in LYX but when I tried to do it LYX crashed 
 and now seems like it ERASED all the DEFAULT shortcut list that there 
 was configured.

btw do you have some recipy how to reproduce the problem?
pavel


Re: server-goto-file-row goes to line 1

2009-07-16 Thread Pavel Sanda
Richard Heck wrote:
 So are you doing this from outside LyX with calls to the lyxserver? If 
 so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow 
 and stupid, but it'll work.

ouch, this will be dependent on the window resolution. navigate in .lyx
file is a bad idea anyway.
pavel


Re: Consolidating the bibliography for article submissions

2009-07-16 Thread Wolfgang Engelmann
Am Monday 13 July 2009 16:56:31 schrieb Manolo Martí­nez:
 To clarify what I'm asking here, I'm interested in the easiest, shortest
 way to go from:

 a) A Lyx file with a bibtex bibliography, to

 b) Another Lyx (or a .tex) file, where this bibliography has been
 resolved into /bibitems, so that it can be shared with people without
 having to share the .bib file independently.

not sure, I understood your problem. If you don't want to share the whole 
bib-file all.bib, but only the references cited in cited.bib, and your 
document is doc.lyx 
you could e.g. use JabRef as a reference manager and say on a command line
jabref --aux doc.aux,cited.bib all.bib
after having exported your doc.lyx to doc.tex by using fileexportlatex
You would share cited.bib with your colleagues

 I would have thought many of you have gone through this problem before?

if you want to send it without bib-file at all, you might have to use the 
doc.tex and the doc.aux and doc.bbl file, but I am not sure. Anyway, its one 
more file ...

Wolfgang


Re: Consolidating the bibliography for article submissions

2009-07-16 Thread pdv
In article 4a5d8e46.8070...@austrohungaro.com,
 Manolo Martí­nez 
 man...@austrohungaro.com wrote:

Copy the contents of the .bbl file in place of the \bibliography{} 
command in the .tex file.

 Hi,
 
 Nobody can help me with this, then?
 
 Thx
 M
 
 Manolo Martí­nez escribió:
  To clarify what I'm asking here, I'm interested in the easiest, 
  shortest way to go from:
 
  a) A Lyx file with a bibtex bibliography, to
 
  b) Another Lyx (or a .tex) file, where this bibliography has been 
  resolved into /bibitems, so that it can be shared with people without 
  having to share the .bib file independently.
 
  I would have thought many of you have gone through this problem before?
 
  Thanks again.
  Manolo
 
  Manolo Martí­nez escribió:
  Dear all,
 
  Is there any easy way to convert a bibtex list of references in part 
  of a .tex document? I know the roundabout way which consists of 
  exporting the lyx document to LaTeX, and then copying back the list 
  of references from the .bbl file.
 
  A Lyx plugin to do this would be extremely useful. Many publishers 
  accept LaTeX submissions but, I think, it is somewhat untidy to send 
  the .tex file and the .bib files separately, while going through the 
  .bbl route is a real pain in the neck.
 
  Thanks. Cheers,
  Manolo
 
 
 



Typing some text in Lyx with capital letters

2009-07-16 Thread silvio grosso

Hello everybody,

I am working with Lyx 1.6.3 on Windows xp (sp3) and I have a question about 
punctuation.

In short, I spend most of my working time with softwares like Microsoft Word or 
OpenOffice Writer and I am wondering if is it possible, with Lyx, to have the 
first letter always in capital letters (namely capitalised) after a punctuation 
which requires that. 
At least in Italian, French, English after a punctuation such as ? ! . (period) 
etc, you very often need to have the first letter of the new sentence 
capitalised.

For instance, with OpenOffice Writer when I type: are you all right? Yes, I 
am the Y of yes is automatically changed in capital letter (that is, Yes 
instead of yes) .
On the contrary, with Lyx I have to change the first letter manually every 
time. Obviously, I know it is not a great deal :-)
Nevertheless, in my opinion,  when you have to type a lot of text every day 
this option is really useful because it saves you a lot of time (you don't have 
to press the button Shift to make the first letter capitalised).

To sum up, is there an option in Lyx to have the same behaviour about capital 
letters as Writer or Word?

Best regards,

Silvio





Re: server-goto-file-row goes to line 1

2009-07-16 Thread rgheck

On 07/16/2009 06:23 AM, Pavel Sanda wrote:

Richard Heck wrote:
   

So are you doing this from outside LyX with calls to the lyxserver? If
so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
and stupid, but it'll work.
 


ouch, this will be dependent on the window resolution. navigate in .lyx
file is a bad idea anyway.

   
Yes, I had the same thought. But from what I can tell, that's what he 
wants to do: Go to a particular line of the displayed LyX file.


Or did you want to go to a line of the LyX file, as it is saved on disk?

rh



Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 16/07/09 13:51:
 On 07/16/2009 06:23 AM, Pavel Sanda wrote:
 Richard Heck wrote:
   
 So are you doing this from outside LyX with calls to the lyxserver? If
 so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
 and stupid, but it'll work.
  

 ouch, this will be dependent on the window resolution. navigate in .lyx
 file is a bad idea anyway.


 Yes, I had the same thought. But from what I can tell, that's what he
 wants to do: Go to a particular line of the displayed LyX file.
 
 Or did you want to go to a line of the LyX file, as it is saved on disk?

As saved on disk, as this is what gcc is complaining about (I've been
using notangle directly on the lyx file).

I'm resigned that it is impossible and wont easily be possible.

Sam


truncated sections

2009-07-16 Thread Beny Spira
Hi there

I am writing an extended CV with heaps of subsections and subsubsections.
The problem is that every time the amount of susbsubsections exceed a
certain number the list of subsubsections run though the margins and is
truncated when exported to DVI or PDF.

Is this a bug? If not, how can it be avoided?

Thanks

Beny


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-16 Thread Steve Litt
On Thursday 16 July 2009 06:15:28 am Pavel Sanda wrote:
 Rich Shepard wrote:
  It can take an amateur like me
  almost as long to prepare the index as it does to write the text. Like

 just an idea - couldn't be this a bit automatized? something like export to
 plain text, sort  uniq all words by alphabet, manually delete the boring
 words (shouldn't be too much in tech documentation) and then run some
 script mapping it back into the text.

This is exactly what I do, except I even automatically delete all words less 
than 4 letters.

I then delete the boring words out of the remaining concordance, which then 
serves as a reminder of what concepts need indexing. It's still by far the 
most distasteful aspect of writing a book.

 this would probably cause some problems for multiple-word entries

As you go through the concordance, you imagine what multi-word phrases might 
be included, and write them into the concordance. Stuff probably falls 
through the cracks, but I'm not willing to pay a professional indexer, so 
small flaws must be expected.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-16 Thread Rich Shepard

On Thu, 16 Jul 2009, Pavel Sanda wrote:


are you aware of insert-external material-pdfpages?


pavel,

  Now I am. However, I make heavy use of pdftk for a wide range of purposes
so I'm quite familiar with this tool.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: truncated sections

2009-07-16 Thread Marcelo Acuña

 Hi there
 
 I am writing an extended CV with heaps of subsections and
 subsubsections.
 The problem is that every time the amount of
 susbsubsections exceed a
 certain number the list of subsubsections run though the
 margins and is
 truncated when exported to DVI or PDF.
 
 Is this a bug? If not, how can it be avoided?
 
 Thanks
 
 Beny

 I don't understand. You say that Index or ToC run though the margins? 


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: server-goto-file-row goes to line 1

2009-07-16 Thread rgheck

On 07/16/2009 09:16 AM, Sam Liddicott wrote:

* rgheck wrote, On 16/07/09 13:51:
   

On 07/16/2009 06:23 AM, Pavel Sanda wrote:
 

Richard Heck wrote:

   

So are you doing this from outside LyX with calls to the lyxserver? If
so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
and stupid, but it'll work.

 

ouch, this will be dependent on the window resolution. navigate in .lyx
file is a bad idea anyway.


   

Yes, I had the same thought. But from what I can tell, that's what he
wants to do: Go to a particular line of the displayed LyX file.

Or did you want to go to a line of the LyX file, as it is saved on disk?
 


As saved on disk, as this is what gcc is complaining about (I've been
using notangle directly on the lyx file).

I'm resigned that it is impossible and wont easily be possible.

   
As saved on disk will indeed be difficult. We don't have that 
information in the Buffer structure.


rh



Re: multicol package

2009-07-16 Thread Marcelo Acuña

 I am trying to set up a book (8x10
 - about 400 pages) with mostly 2 columns. 
 I want the chapter titles and section headings to go across
 the page with the 
 body text in 2 columsn.
 
 I have set it up as follows:
 
 Chapter Title
 \begin{multicols}{2}
 
 (body text)
 
 \end{multicols}
 
 or
 
 Section Heading
 \begin{multicols}{2}
 
 (body text)
 \end{multicols}
 
 It seems to work OK until I'm about half way through the
 book, then when I try 
 to view using DVI or PDF, I get an error message Dimension
 too large.
 
 Is there a limit as to how many times you can changee from
 one to two columns? 
 Is there a limit to how many words this setup can handle?
 Any help would be 
 appreciated.
 
 
 The errors is produced for another cause.
 No limits in the words.
 I have in several times Dimension too large but, for now, I can pinpoint the 
origin. I not use multicol but two columns option in koma-script style.
 Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: Vertical line in the side left

2009-07-16 Thread Yago

See the attached files.
- Original Message - 
From: icebna ice...@telefonica.net

To: lyx-users@lists.lyx.org; diazd...@ono.com
Sent: Thursday, July 16, 2009 8:48 AM
Subject: Re: Vertical line in the side left



How can put the Text in the left corner down, in vertical position
above the line ?. See example attached.

Thanks advanced




Yago escribió:

You can put a vertical line 2pt width and a Text centered above the
line at left on all pages of your document with this two commands into
an ERT box at the beginning of the document:

\AddToShipoutPicture{\psline[linewidth=2pt](2,3)(2,26.5)}
\AddToShipoutPicture{\rput(2,27){\large Text}}

You will need to put this in your preamble:

\usepackage{pstricks,eso-pic,calc,graphicx}

Of course you can to change the origin/final line/text co-ordinates
depends on the margins on the document and your needs.
- Original Message - From: icebna ice...@telefonica.net
To: lyx-users@lists.lyx.org
Sent: Wednesday, July 15, 2009 9:12 AM
Subject: Vertical line in the side left



Hi all :

How put a vertical line, up to down in the left side, with a word above
the line in the left corner down.

Please, see the example adjunct.

Thanks so much

Miguel









#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO
\lhead{Ejemplo  \copyright}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\author 
\end_header

\begin_body

\begin_layout Standard
How make put the line in vertical position, up to down, in the side
left,
and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document














#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
reversemarginpar
\end_layout

\end_inset


\begin_inset Marginal
status open

\begin_layout Plain Layout
\noindent
\align center
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
rotatebox[origin=l]{90}{
\end_layout

\end_inset


\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
This is a centered paragraph.
Left or right changes the space between the line and the text
\bar under

\end_layout

\end_inset


\bar under
Ejemplo
\begin_inset space ~
\end_inset

©
\begin_inset space \hspace*{}
\length 18cm
\end_inset


\bar default

\begin_inset ERT
status collapsed

\begin_layout Plain Layout

}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
How make put the line in vertical position, up to down, in the side left,
and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document



linea_lateral.tex
Description: Binary data


linea_lateral.lyx
Description: application/lyx


Re: Typing some text in Lyx with capital letters

2009-07-16 Thread Piero

 To sum up, is there an option in Lyx to have the
 same behaviour about capital 
letters as Writer or Word?

I think not.
However, you're right, a auto-correction tool should be implemented,
 and also for 
DOuble capitals and similar mistakes.
 I think they're working in it with the 
inline spellchecker project.





Re: Vertical line in the side left

2009-07-16 Thread icebna

OK Yago

Thanks so much

Miguel


Yago escribió:

See the attached files.
- Original Message - From: icebna ice...@telefonica.net
To: lyx-users@lists.lyx.org; diazd...@ono.com
Sent: Thursday, July 16, 2009 8:48 AM
Subject: Re: Vertical line in the side left



How can put the Text in the left corner down, in vertical position
above the line ?. See example attached.

Thanks advanced




Yago escribió:

You can put a vertical line 2pt width and a Text centered above the
line at left on all pages of your document with this two commands into
an ERT box at the beginning of the document:

\AddToShipoutPicture{\psline[linewidth=2pt](2,3)(2,26.5)}
\AddToShipoutPicture{\rput(2,27){\large Text}}

You will need to put this in your preamble:

\usepackage{pstricks,eso-pic,calc,graphicx}

Of course you can to change the origin/final line/text co-ordinates
depends on the margins on the document and your needs.
- Original Message - From: icebna ice...@telefonica.net
To: lyx-users@lists.lyx.org
Sent: Wednesday, July 15, 2009 9:12 AM
Subject: Vertical line in the side left



Hi all :

How put a vertical line, up to down in the left side, with a word 
above

the line in the left corner down.

Please, see the example adjunct.

Thanks so much

Miguel




 






#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO
\lhead{Ejemplo  \copyright}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\author 
\end_header

\begin_body

\begin_layout Standard
How make put the line in vertical position, up to down, in the side
left,
and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document










 





#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
reversemarginpar
\end_layout

\end_inset


\begin_inset Marginal
status open

\begin_layout Plain Layout
\noindent
\align center
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
rotatebox[origin=l]{90}{
\end_layout

\end_inset


\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
This is a centered paragraph.
Left or right changes the space between the line and the text
\bar under

\end_layout

\end_inset


\bar under
Ejemplo
\begin_inset space ~
\end_inset

©
\begin_inset space \hspace*{}
\length 18cm
\end_inset


\bar default

\begin_inset ERT
status collapsed

\begin_layout Plain Layout

}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
How make put the line in vertical position, up to down, in the side 
left,

and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document





Re: truncated sections

2009-07-16 Thread Beny Spira
Hi Marcelo

No, it's not the ToC that run through the margins and get truncated. It is
the list of subsubsections that is truncated. For example, I have a list of
12 subsubsections that does not fit entirely in one page, the last let's say
3 or 4 entries should have continued into the next page of the DVI or PDF
export, but they are missing.
Let me know if it is clear now or if you need any further information.

Thanks,

Beny





  Hi there
 
  I am writing an extended CV with heaps of subsections and
  subsubsections.
  The problem is that every time the amount of
  susbsubsections exceed a
  certain number the list of subsubsections run though the
  margins and is
  truncated when exported to DVI or PDF.
 
  Is this a bug? If not, how can it be avoided?
 
  Thanks
 
  Beny

  I don't understand. You say that Index or ToC run though the margins?



  
 
 ¡Viví la mejor experiencia en la web!
 Descargá gratis el nuevo Internet Explorer 8
 http://downloads.yahoo.com/ieak8/?l=ar



Re: Typing some text in Lyx with capital letters

2009-07-16 Thread John Coppens
On Thu, 16 Jul 2009 12:02:39 + (GMT)
silvio grosso grossosil...@yahoo.it wrote:

 To sum up, is there an option in Lyx to have the same behaviour about
 capital letters as Writer or Word?

Do think about this. I have noticed the 'feature' in some editors, then
noticed that those programs also want to be intelligent and, for example
don't permit 'MHz' (they consider the only the first letter should be
capitalized). Then, to solve this, they have an exception table where you
can put those.

I ended up losing more time administering the exceptions than what I
could have ever gained by the capitalize-checking feature.

John


Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 17:28:

 Here's what the docs say:
 
 LFUN_SERVER_GOTO_FILE_ROW
 
 * Action Sets the cursor position based on the row number of generated
 TeX file.
 
 * Notion This can be useful for DVI inverse-search or detection of the
 problematic line from LaTeX compilation. Note that before this function
 can be used export to LaTeX output must occur (in order to map the row
 numbers).
 
 * Syntax server-goto-file-row FILE[.ext] ROW_NUMBER
 
 * Params FILE: the filename. Environment variables are expaned in the
 path. In case this LFUN does not work make sure you are giving correct
 path to the file.If the file is located inside LyX temporary directory
 it will be mapped back into the appropriate opened buffer (e.g. for the
 case of generated .tex file). .ext: extensions will be automatically
 replaced by .lyx.
 
 Note that the row number is that of the LaTeX output file, NOT the LyX
 file on screen.


atm this isn't working as you say either (for me)...

I fired up a fresh invocation of Lyx, CTRL+N and typed:
now is the time
for all good men
to drink lemonade
at the party

CTRL+S to save as /tmp/file.lyx

I then did a dvi preview, In /tmp/lyx_tmpdir.J19856/lyx_tmpbuf0 I can
see the files that were generated. file.tex shows:

--8-8-8---
\batchmode
\makeatletter
\def\in...@path{{/tmp//}}
\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\usepackage{babel}

\begin{document}
now is the time

for all good men

to drink lemonade

at the party
\end{document}
--8-8-8---

and in the command buffer I type (to jump to for all good men):

server-goto-file-row /tmp/file.lyx 14

but the cursor just goes back to line 1 again...

I even tried (for good luck):
server-goto-file-row /tmp/lyx_tmpdir.J19856/lyx_tmpbuf0/file.tex 14

but the cursor jumps to line 1 still.

I've tried lines 1-17 but still it won't do anything apart from jump
back to line 1.


I then switched to Article (noweb).

I note that a .nw is created as an intermediate file - is this the file
used for the line number mappings or is it the text file generated by
noweave? This question really concerns me because I am trying to map
from source files back to the lyx document, not from the dvi back to the
lyx document.

Sam



Re: truncated sections

2009-07-16 Thread Jean-Marc Lasgouttes

Le 16 juil. 09 à 16:47, Beny Spira a écrit :
No, it's not the ToC that run through the margins and get truncated.  
It is
the list of subsubsections that is truncated. For example, I have a  
list of
12 subsubsections that does not fit entirely in one page, the last  
let's say
3 or 4 entries should have continued into the next page of the DVI  
or PDF

export, but they are missing.


Subsection have special code to forbid page breaks after them (to  
avoid a title
at the end of a page). They are designed for what you do? Why do you  
need this?


JMarc

Re: Typing some text in Lyx with capital letters

2009-07-16 Thread Marcelo Acuña

  To sum up, is there an option in Lyx to have the same
 behaviour about
  capital letters as Writer or Word?
 
 Do think about this. I have noticed the 'feature' in some
 editors, then
 noticed that those programs also want to be intelligent
 and, for example
 don't permit 'MHz' (they consider the only the first letter
 should be
 capitalized). Then, to solve this, they have an exception
 table where you
 can put those.
 
 I ended up losing more time administering the exceptions
 than what I
 could have ever gained by the capitalize-checking feature.
 
 John
 
 Yes. Is a battle against a ghost in the computer that make changes without 
notice. A nightmare.
 Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: truncated sections

2009-07-16 Thread Marcelo Acuña

 Hi Marcelo
 
 No, it's not the ToC that run through the margins and
 get truncated. It is the list of subsubsections that is
 truncated. For example, I have a list of 12 subsubsections
 that does not fit entirely in one page, the last let's
 say 3 or 4 entries should have continued into the next page
 of the DVI or PDF export, but they are missing.
 
 
 Let me know if it is clear now or if you need any further
 information.
 
 Thanks,
 
 Beny
  
 I understand that part of the text in the main text not appears.
 It seems an interrupted process.
 Do you have an error message?

 Marcelo


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


Multiple author affiliations

2009-07-16 Thread E. Kaplan
Often one needs to list several authors for a scientific paper, with 
more than one institutional affiliation.
I tried to do this with the AUTHOR text type and superscripts on both 
the authors names and their institutional affiliations, but Lyx gagged 
on it.

How can I do that?
Thanks,
E. Kaplan




Re: Multiple author affiliations

2009-07-16 Thread Rich Shepard

On Thu, 16 Jul 2009, E. Kaplan wrote:


Often one needs to list several authors for a scientific paper, with more
than one institutional affiliation. I tried to do this with the AUTHOR
text type and superscripts on both the authors names and their
institutional affiliations, but Lyx gagged on it. How can I do that?


E. Kaplan:

  Rather than superscript placement/sizing, why not use footnotes? You can
have multiple authors listed and define a footnote for each one's employer.
LyX will happily digest this.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Typing some text in Lyx with capital letters

2009-07-16 Thread Michael Joyner ᏩᏯ
I concur, I usually end up turning OFF auto-correct.
If someone is looking for a feature like this, maybe have it along the
lines of the inline spell checker and have squiggles marking potentially
bad words.

Marcelo Acuña wrote:
 To sum up, is there an option in Lyx to have the same
   
 behaviour about
 
 capital letters as Writer or Word?
   
 Do think about this. I have noticed the 'feature' in some
 editors, then
 noticed that those programs also want to be intelligent
 and, for example
 don't permit 'MHz' (they consider the only the first letter
 should be
 capitalized). Then, to solve this, they have an exception
 table where you
 can put those.

 I ended up losing more time administering the exceptions
 than what I
 could have ever gained by the capitalize-checking feature.

 John

 
  Yes. Is a battle against a ghost in the computer that make changes without 
 notice. A nightmare.
  Marcelo


   
 
 ¡Viví la mejor experiencia en la web!
 Descargá gratis el nuevo Internet Explorer 8
 http://downloads.yahoo.com/ieak8/?l=ar
   


-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/



signature.asc
Description: OpenPGP digital signature


Re: Another Point to Consider in Your Writing

2009-07-16 Thread Steve Litt
On Thursday 16 July 2009 01:13:38 pm Rich Shepard wrote:
Now that we've flogged index creation until it's moribund, it's time to
 consider another factor in making your opus magnum welcomed by readers: the
 font size.

I'm re-reading a soft-cover book that I first read several years ago;
 it's a technical book with lots of mathematics so it doesn't scan like a
 novel. I found it difficult to read back then and only now, during my
 re-reading, am I aware of why it's so difficult. The body text is set in
 9pt type, and the in-line examples are set in 8pt type. It is very
 difficult to read -- even with my reading glasses -- and this makes it more
 difficult to follow because it takes conscious effort to just read the
 text. The book is self-published (the publishing company is named after the
 author's wife's initials) and the physical page size is also smaller than
 the standard 6-1/2x9-1/8 page.

Body text one point smaller than the standard 10pt (which I can read
 without glasses as long as environment is not too dark) makes a _huge_
 difference in readability and ease of comprehension. My advice is to
 _never_ set the body text smaller than 10pt (and always use a serif
 typeface because that tracks much more easily than do san-serif typefaces).

The other side of this type size issue is that everyone who uses
 Microsoft Word never changes the document default from Times-Roman 12pt; at
 least, no one whose documents I've seen has done so. That size, too, is
 difficult to read because it's 20% larger than we're used to reading in
 books and journals/magazines. Also, the Times fonts were developed for the
 London Times broadsheet newspaper with narrow columns. It's not the best or
 nicest looking typeface for use in most documents that are a single column
 on letter or A4 size paper. But, I suppose it's part of the Microsoft
 training to not consider making any changes to what comes out of the shrink
 wrapping.

I believe this topic is appropriate for the LyX mail list because we all
 know that documents typeset with TeX are more attractive and readable
 than are documents of processed words, even if most readers cannot tell you
 exactly why they feel that way. Paying attention to typeface and size just
 goes with the desire to produce outstanding looking output.

I think so too.

I use 12pt Century Schoolbook because Century Schoolbook appears very clear 
and readable to me. If the Book document class supported 14 point, I'd use 
that. I have no knowledge of my readers, so some of them may have very bad 
vision. My book Troubleshooting: Tools, Tips and Techniques was written in 
WordPerfect 5.1 back in 1990 using 14 point serif type, and I've been thanked 
more than once for providing such a big font.

I might be more sensitive to this than most. If my glasses are not absolutely 
clean, and if I'm not absolutely fresh and bright, I can't comfortably read 
anything smaller than 12pt.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Multiple author affiliations

2009-07-16 Thread I Wayan Warmada

--- On Fri, 7/17/09, Rich Shepard rshep...@appl-ecosys.com wrote:

 E. Kaplan:
 
 Rather than superscript placement/sizing, why not
 use footnotes? You can
 have multiple authors listed and define a footnote for each
 one's employer.
 LyX will happily digest this.
 

use authblk.sty from preprint package. The authblk.sty can handle up to 6 
affiliation. I have use by putting this package in preamble like:

\usepackage[auth-lg]{authblk}
   \author[1]{name of author 1}
   \author[1,2]{name of author 2 with two affiliation}
   \affil[1]{affiliation 1}
   \affil[2]{affiliation 2}

etc, please read the documentation.
Btw, you don't need to put the author in editing area, because it already 
define in preamble.

Regards,
Wayan






  


List of Tables, numbering problem

2009-07-16 Thread Laser Yuan
Hello,

I have tables in Chapters, say, two in the first Chapter, one in the second.
And I'm using ASM(book) class.

The numbering comes up with the list of talbes are like this:

1 
2 ...

1 ...

I want it to be:
1.1 ...
1.2 ...

2.1 ...

Could anybody tell me, how this wizard numbering happened. and how to solve
it. I attached a sample as bellow for your information

Thanks.
_

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsbook
\begin_preamble

\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing onehalf
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author 
\author 
\end_header

\begin_body

\begin_layout Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Chapter
the first chapter
\end_layout

\begin_layout Section
the first section of chapter 1
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the second table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Chapter
the second chapter
\end_layout

\begin_layout Section
the first section of chapter 2
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first chapter in chapter 2
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document


Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 21:46:
> On 07/15/2009 03:42 PM, Sam Liddicott wrote:
>> My C sources aren't generated via the tex files (partly because it's
>> not simple to get Lyx to export a tex file from a noweb document
>> without running noweb).
>>
>> I really need to be able to navigate to a line (and column even) in
>> the Lyx file.
>>
> So are you doing this from outside LyX with calls to the lyxserver? If
> so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
> and stupid, but it'll work.

Thanks for the advice.

I've filed an enhancement request 6087 in trac.

Sam


Re: Vertical line in the side left

2009-07-16 Thread icebna
How can put the "Text" in the left corner down, in vertical position 
above the line ?. See example attached.


Thanks advanced




Yago escribió:
You can put a vertical line 2pt width and a "Text" centered above the 
line at left on all pages of your document with this two commands into 
an ERT box at the beginning of the document:


\AddToShipoutPicture{\psline[linewidth=2pt](2,3)(2,26.5)}
\AddToShipoutPicture{\rput(2,27){\large Text}}

You will need to put this in your preamble:

\usepackage{pstricks,eso-pic,calc,graphicx}

Of course you can to change the origin/final line/text co-ordinates 
depends on the margins on the document and your needs.

- Original Message - From: "icebna" 
To: 
Sent: Wednesday, July 15, 2009 9:12 AM
Subject: Vertical line in the side left



Hi all :

How put a vertical line, up to down in the left side, with a word above
the line in the left corner down.

Please, see the example adjunct.

Thanks so much

Miguel




 





#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO
\lhead{Ejemplo  \copyright}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\author ""
\end_header

\begin_body

\begin_layout Standard
How make put the line in vertical position, up to down, in the side 
left,

and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document






#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
reversemarginpar
\end_layout

\end_inset


\begin_inset Marginal
status open

\begin_layout Plain Layout
\noindent
\align center
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
rotatebox[origin=l]{90}{
\end_layout

\end_inset

 
\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
This is a centered paragraph.
 Left or right changes the space between the line and the text
\bar under
 
\end_layout

\end_inset


\bar under
Ejemplo
\begin_inset space ~
\end_inset

©
\begin_inset space \hspace*{}
\length 18cm
\end_inset


\bar default

\begin_inset ERT
status collapsed

\begin_layout Plain Layout

}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
How make put the line in vertical position, up to down, in the side left,
 and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-16 Thread Pavel Sanda
Rich Shepard wrote:
> pages, and publication/copywrite page. I'd save those as separate .pdf
> files, then assemble the entire book using pdftk. Horses for courses as the

are you aware of insert->external material->pdfpages?
pavel


Re: Keyboard Shortcut Crashed

2009-07-16 Thread Pavel Sanda
Marcelo Reis wrote:
> Guys, I was trying to configure the shortcut key CTRL+I to automatically 
> changes my text to Italic in LYX but when I tried to do it LYX crashed 
> and now seems like it ERASED all the DEFAULT shortcut list that there 
> was configured.

btw do you have some recipy how to reproduce the problem?
pavel


Re: server-goto-file-row goes to line 1

2009-07-16 Thread Pavel Sanda
Richard Heck wrote:
> So are you doing this from outside LyX with calls to the lyxserver? If 
> so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow 
> and stupid, but it'll work.

ouch, this will be dependent on the window resolution. navigate in .lyx
file is a bad idea anyway.
pavel


Re: Consolidating the bibliography for article submissions

2009-07-16 Thread Wolfgang Engelmann
Am Monday 13 July 2009 16:56:31 schrieb Manolo Martí­nez:
> To clarify what I'm asking here, I'm interested in the easiest, shortest
> way to go from:
>
> a) A Lyx file with a bibtex bibliography, to
>
> b) Another Lyx (or a .tex) file, where this bibliography has been
> resolved into /bibitems, so that it can be shared with people without
> having to share the .bib file independently.

not sure, I understood your problem. If you don't want to share the whole 
bib-file all.bib, but only the references cited in cited.bib, and your 
document is doc.lyx 
you could e.g. use JabRef as a reference manager and say on a command line
jabref --aux doc.aux,cited.bib all.bib
after having exported your doc.lyx to doc.tex by using file>export>latex
You would share cited.bib with your colleagues
>
> I would have thought many of you have gone through this problem before?
>
if you want to send it without bib-file at all, you might have to use the 
doc.tex and the doc.aux and doc.bbl file, but I am not sure. Anyway, its one 
more file ...

Wolfgang


Re: Consolidating the bibliography for article submissions

2009-07-16 Thread pdv
In article <4a5d8e46.8070...@austrohungaro.com>,
 Manolo Martí­nez 
  wrote:

Copy the contents of the .bbl file in place of the \bibliography{} 
command in the .tex file.

> Hi,
> 
> Nobody can help me with this, then?
> 
> Thx
> M
> 
> Manolo Martí­nez escribió:
> > To clarify what I'm asking here, I'm interested in the easiest, 
> > shortest way to go from:
> >
> > a) A Lyx file with a bibtex bibliography, to
> >
> > b) Another Lyx (or a .tex) file, where this bibliography has been 
> > resolved into /bibitems, so that it can be shared with people without 
> > having to share the .bib file independently.
> >
> > I would have thought many of you have gone through this problem before?
> >
> > Thanks again.
> > Manolo
> >
> > Manolo Martí­nez escribió:
> >> Dear all,
> >>
> >> Is there any easy way to convert a bibtex list of references in part 
> >> of a .tex document? I know the roundabout way which consists of 
> >> exporting the lyx document to LaTeX, and then copying back the list 
> >> of references from the .bbl file.
> >>
> >> A Lyx plugin to do this would be extremely useful. Many publishers 
> >> accept LaTeX submissions but, I think, it is somewhat untidy to send 
> >> the .tex file and the .bib files separately, while going through the 
> >> .bbl route is a real pain in the neck.
> >>
> >> Thanks. Cheers,
> >> Manolo
> >>
> >
> >



Typing some text in Lyx with capital letters

2009-07-16 Thread silvio grosso

Hello everybody,

I am working with Lyx 1.6.3 on Windows xp (sp3) and I have a question about 
punctuation.

In short, I spend most of my working time with softwares like Microsoft Word or 
OpenOffice Writer and I am wondering if is it possible, with Lyx, to have the 
first letter always in capital letters (namely capitalised) after a punctuation 
which "requires" that. 
At least in Italian, French, English after a punctuation such as ? ! . (period) 
etc, you very often need to have the first letter of the new sentence 
capitalised.

For instance, with OpenOffice Writer when I type: "are you all right? Yes, I 
am" the Y of yes is automatically changed in capital letter (that is, Yes 
instead of yes) .
On the contrary, with Lyx I have to change the first letter manually every 
time. Obviously, I know it is not a great deal :-)
Nevertheless, in my opinion,  when you have to type a lot of text every day 
this option is really useful because it saves you a lot of time (you don't have 
to press the button Shift to make the first letter capitalised).

To sum up, is there an option in Lyx to have the same behaviour about capital 
letters as Writer or Word?

Best regards,

Silvio





Re: server-goto-file-row goes to line 1

2009-07-16 Thread rgheck

On 07/16/2009 06:23 AM, Pavel Sanda wrote:

Richard Heck wrote:
   

So are you doing this from outside LyX with calls to the lyxserver? If
so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
and stupid, but it'll work.
 


ouch, this will be dependent on the window resolution. navigate in .lyx
file is a bad idea anyway.

   
Yes, I had the same thought. But from what I can tell, that's what he 
wants to do: Go to a particular line of the displayed LyX file.


Or did you want to go to a line of the LyX file, as it is saved on disk?

rh



Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 16/07/09 13:51:
> On 07/16/2009 06:23 AM, Pavel Sanda wrote:
>> Richard Heck wrote:
>>   
>>> So are you doing this from outside LyX with calls to the lyxserver? If
>>> so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
>>> and stupid, but it'll work.
>>>  
>>
>> ouch, this will be dependent on the window resolution. navigate in .lyx
>> file is a bad idea anyway.
>>
>>
> Yes, I had the same thought. But from what I can tell, that's what he
> wants to do: Go to a particular line of the displayed LyX file.
> 
> Or did you want to go to a line of the LyX file, as it is saved on disk?

As saved on disk, as this is what gcc is complaining about (I've been
using notangle directly on the lyx file).

I'm resigned that it is impossible and wont easily be possible.

Sam


truncated sections

2009-07-16 Thread Beny Spira
Hi there

I am writing an extended CV with heaps of subsections and subsubsections.
The problem is that every time the amount of susbsubsections exceed a
certain number the list of subsubsections run though the margins and is
truncated when exported to DVI or PDF.

Is this a bug? If not, how can it be avoided?

Thanks

Beny


Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-16 Thread Steve Litt
On Thursday 16 July 2009 06:15:28 am Pavel Sanda wrote:
> Rich Shepard wrote:
> > It can take an amateur like me
> > almost as long to prepare the index as it does to write the text. Like
>
> just an idea - couldn't be this a bit automatized? something like export to
> plain text, sort & uniq all words by alphabet, manually delete the boring
> words (shouldn't be too much in tech documentation) and then run some
> script mapping it back into the text.

This is exactly what I do, except I even automatically delete all words less 
than 4 letters.

I then delete the boring words out of the remaining concordance, which then 
serves as a reminder of what concepts need indexing. It's still by far the 
most distasteful aspect of writing a book.

> this would probably cause some problems for multiple-word entries

As you go through the concordance, you imagine what multi-word phrases might 
be included, and write them into the concordance. Stuff probably falls 
through the cracks, but I'm not willing to pay a professional indexer, so 
small flaws must be expected.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX is a pain in the butt, but it's the easiest among alternatives

2009-07-16 Thread Rich Shepard

On Thu, 16 Jul 2009, Pavel Sanda wrote:


are you aware of insert->external material->pdfpages?


pavel,

  Now I am. However, I make heavy use of pdftk for a wide range of purposes
so I'm quite familiar with this tool.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: truncated sections

2009-07-16 Thread Marcelo Acuña

> Hi there
> 
> I am writing an extended CV with heaps of subsections and
> subsubsections.
> The problem is that every time the amount of
> susbsubsections exceed a
> certain number the list of subsubsections run though the
> margins and is
> truncated when exported to DVI or PDF.
> 
> Is this a bug? If not, how can it be avoided?
> 
> Thanks
> 
> Beny

 I don't understand. You say that Index or ToC run though the margins? 


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: server-goto-file-row goes to line 1

2009-07-16 Thread rgheck

On 07/16/2009 09:16 AM, Sam Liddicott wrote:

* rgheck wrote, On 16/07/09 13:51:
   

On 07/16/2009 06:23 AM, Pavel Sanda wrote:
 

Richard Heck wrote:

   

So are you doing this from outside LyX with calls to the lyxserver? If
so, then use a for loop or something and call LFUN_DOWN repeatedly. Slow
and stupid, but it'll work.

 

ouch, this will be dependent on the window resolution. navigate in .lyx
file is a bad idea anyway.


   

Yes, I had the same thought. But from what I can tell, that's what he
wants to do: Go to a particular line of the displayed LyX file.

Or did you want to go to a line of the LyX file, as it is saved on disk?
 


As saved on disk, as this is what gcc is complaining about (I've been
using notangle directly on the lyx file).

I'm resigned that it is impossible and wont easily be possible.

   
As saved on disk will indeed be difficult. We don't have that 
information in the Buffer structure.


rh



Re: multicol package

2009-07-16 Thread Marcelo Acuña

> I am trying to set up a book (8"x10"
> - about 400 pages) with mostly 2 columns. 
> I want the chapter titles and section headings to go across
> the page with the 
> body text in 2 columsn.
> 
> I have set it up as follows:
> 
> Chapter Title
> \begin{multicols}{2}
> 
> (body text)
> 
> \end{multicols}
> 
> or
> 
> Section Heading
> \begin{multicols}{2}
> 
> (body text)
> \end{multicols}
> 
> It seems to work OK until I'm about half way through the
> book, then when I try 
> to view using DVI or PDF, I get an error message "Dimension
> too large."
> 
> Is there a limit as to how many times you can changee from
> one to two columns? 
> Is there a limit to how many words this setup can handle?
> Any help would be 
> appreciated.
> 
> 
 The errors is produced for another cause.
 No limits in the words.
 I have in several times "Dimension too large" but, for now, I can pinpoint the 
origin. I not use multicol but two columns option in koma-script style.
 Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: Vertical line in the side left

2009-07-16 Thread Yago

See the attached files.
- Original Message - 
From: "icebna" 

To: ; 
Sent: Thursday, July 16, 2009 8:48 AM
Subject: Re: Vertical line in the side left



How can put the "Text" in the left corner down, in vertical position
above the line ?. See example attached.

Thanks advanced




Yago escribió:

You can put a vertical line 2pt width and a "Text" centered above the
line at left on all pages of your document with this two commands into
an ERT box at the beginning of the document:

\AddToShipoutPicture{\psline[linewidth=2pt](2,3)(2,26.5)}
\AddToShipoutPicture{\rput(2,27){\large Text}}

You will need to put this in your preamble:

\usepackage{pstricks,eso-pic,calc,graphicx}

Of course you can to change the origin/final line/text co-ordinates
depends on the margins on the document and your needs.
- Original Message - From: "icebna" 
To: 
Sent: Wednesday, July 15, 2009 9:12 AM
Subject: Vertical line in the side left



Hi all :

How put a vertical line, up to down in the left side, with a word above
the line in the left corner down.

Please, see the example adjunct.

Thanks so much

Miguel









#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO
\lhead{Ejemplo  \copyright}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\author ""
\end_header

\begin_body

\begin_layout Standard
How make put the line in vertical position, up to down, in the side
left,
and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document














#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author ""
\author ""
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
reversemarginpar
\end_layout

\end_inset


\begin_inset Marginal
status open

\begin_layout Plain Layout
\noindent
\align center
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
rotatebox[origin=l]{90}{
\end_layout

\end_inset


\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
This is a centered paragraph.
Left or right changes the space between the line and the text
\bar under

\end_layout

\end_inset


\bar under
Ejemplo
\begin_inset space ~
\end_inset

©
\begin_inset space \hspace*{}
\length 18cm
\end_inset


\bar default

\begin_inset ERT
status collapsed

\begin_layout Plain Layout

}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
How make put the line in vertical position, up to down, in the side left,
and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document



linea_lateral.tex
Description: Binary data


linea_lateral.lyx
Description: application/lyx


Re: Typing some text in Lyx with capital letters

2009-07-16 Thread Piero

> To sum up, is there an option in Lyx to have the
 same behaviour about capital 
letters as Writer or Word?

I think not.
However, you're right, a auto-correction tool should be implemented,
 and also for 
DOuble capitals and similar mistakes.
 I think they're working in it with the 
inline spellchecker project.





Re: Vertical line in the side left

2009-07-16 Thread icebna

OK Yago

Thanks so much

Miguel


Yago escribió:

See the attached files.
- Original Message - From: "icebna" 
To: ; 
Sent: Thursday, July 16, 2009 8:48 AM
Subject: Re: Vertical line in the side left



How can put the "Text" in the left corner down, in vertical position
above the line ?. See example attached.

Thanks advanced




Yago escribió:

You can put a vertical line 2pt width and a "Text" centered above the
line at left on all pages of your document with this two commands into
an ERT box at the beginning of the document:

\AddToShipoutPicture{\psline[linewidth=2pt](2,3)(2,26.5)}
\AddToShipoutPicture{\rput(2,27){\large Text}}

You will need to put this in your preamble:

\usepackage{pstricks,eso-pic,calc,graphicx}

Of course you can to change the origin/final line/text co-ordinates
depends on the margins on the document and your needs.
- Original Message - From: "icebna" 
To: 
Sent: Wednesday, July 15, 2009 9:12 AM
Subject: Vertical line in the side left



Hi all :

How put a vertical line, up to down in the left side, with a word 
above

the line in the left corner down.

Please, see the example adjunct.

Thanks so much

Miguel




 






#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO
\lhead{Ejemplo  \copyright}
\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\author ""
\end_header

\begin_body

\begin_layout Standard
How make put the line in vertical position, up to down, in the side
left,
and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document










 





#LyX 1.6.3 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass article
\begin_preamble
% NO ALTERE ESTE PREAMBULO

\usepackage{rotating}
\usepackage{graphicx}
\usepackage{fancyhdr}
\end_preamble
\use_default_options true
\language spanish
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author ""
\author ""
\end_header

\begin_body

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
reversemarginpar
\end_layout

\end_inset


\begin_inset Marginal
status open

\begin_layout Plain Layout
\noindent
\align center
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
rotatebox[origin=l]{90}{
\end_layout

\end_inset


\begin_inset Note Note
status collapsed

\begin_layout Plain Layout
This is a centered paragraph.
Left or right changes the space between the line and the text
\bar under

\end_layout

\end_inset


\bar under
Ejemplo
\begin_inset space ~
\end_inset

©
\begin_inset space \hspace*{}
\length 18cm
\end_inset


\bar default

\begin_inset ERT
status collapsed

\begin_layout Plain Layout

}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
How make put the line in vertical position, up to down, in the side 
left,

and with the word Example, in the left corner down, above the line.
\end_layout

\end_body
\end_document





Re: truncated sections

2009-07-16 Thread Beny Spira
Hi Marcelo

No, it's not the ToC that run through the margins and get truncated. It is
the list of subsubsections that is truncated. For example, I have a list of
12 subsubsections that does not fit entirely in one page, the last let's say
3 or 4 entries should have continued into the next page of the DVI or PDF
export, but they are missing.
Let me know if it is clear now or if you need any further information.

Thanks,

Beny





> > Hi there
> >
> > I am writing an extended CV with heaps of subsections and
> > subsubsections.
> > The problem is that every time the amount of
> > susbsubsections exceed a
> > certain number the list of subsubsections run though the
> > margins and is
> > truncated when exported to DVI or PDF.
> >
> > Is this a bug? If not, how can it be avoided?
> >
> > Thanks
> >
> > Beny
>
>  I don't understand. You say that Index or ToC run though the margins?
>
>
>
>  
> 
> ¡Viví la mejor experiencia en la web!
> Descargá gratis el nuevo Internet Explorer 8
> http://downloads.yahoo.com/ieak8/?l=ar
>


Re: Typing some text in Lyx with capital letters

2009-07-16 Thread John Coppens
On Thu, 16 Jul 2009 12:02:39 + (GMT)
silvio grosso  wrote:

> To sum up, is there an option in Lyx to have the same behaviour about
> capital letters as Writer or Word?

Do think about this. I have noticed the 'feature' in some editors, then
noticed that those programs also want to be intelligent and, for example
don't permit 'MHz' (they consider the only the first letter should be
capitalized). Then, to solve this, they have an exception table where you
can put those.

I ended up losing more time administering the exceptions than what I
could have ever gained by the capitalize-checking feature.

John


Re: server-goto-file-row goes to line 1

2009-07-16 Thread Sam Liddicott
* rgheck wrote, On 15/07/09 17:28:

> Here's what the docs say:
> 
> LFUN_SERVER_GOTO_FILE_ROW
> 
> * Action Sets the cursor position based on the row number of generated
> TeX file.
> 
> * Notion This can be useful for DVI inverse-search or detection of the
> problematic line from LaTeX compilation. Note that before this function
> can be used export to LaTeX output must occur (in order to map the row
> numbers).
> 
> * Syntax server-goto-file-row  
> 
> * Params : the filename. Environment variables are expaned in the
> path. In case this LFUN does not work make sure you are giving correct
> path to the file.If the file is located inside LyX temporary directory
> it will be mapped back into the appropriate opened buffer (e.g. for the
> case of generated .tex file). .ext: extensions will be automatically
> replaced by .lyx.
> 
> Note that the row number is that of the LaTeX output file, NOT the LyX
> file on screen.


atm this isn't working as you say either (for me)...

I fired up a fresh invocation of Lyx, CTRL+N and typed:
now is the time
for all good men
to drink lemonade
at the party

CTRL+S to save as /tmp/file.lyx

I then did a dvi preview, In /tmp/lyx_tmpdir.J19856/lyx_tmpbuf0 I can
see the files that were generated. file.tex shows:

--8<-8<-8<---
\batchmode
\makeatletter
\def\in...@path{{/tmp//}}
\makeatother
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}

\usepackage{babel}

\begin{document}
now is the time

for all good men

to drink lemonade

at the party
\end{document}
--8<-8<-8<---

and in the command buffer I type (to jump to "for all good men"):

server-goto-file-row /tmp/file.lyx 14

but the cursor just goes back to line 1 again...

I even tried (for good luck):
server-goto-file-row /tmp/lyx_tmpdir.J19856/lyx_tmpbuf0/file.tex 14

but the cursor jumps to line 1 still.

I've tried lines 1-17 but still it won't do anything apart from jump
back to line 1.


I then switched to "Article (noweb)".

I note that a .nw is created as an intermediate file - is this the file
used for the line number mappings or is it the text file generated by
noweave? This question really concerns me because I am trying to map
from source files back to the lyx document, not from the dvi back to the
lyx document.

Sam



Re: truncated sections

2009-07-16 Thread Jean-Marc Lasgouttes

Le 16 juil. 09 à 16:47, Beny Spira a écrit :
No, it's not the ToC that run through the margins and get truncated.  
It is
the list of subsubsections that is truncated. For example, I have a  
list of
12 subsubsections that does not fit entirely in one page, the last  
let's say
3 or 4 entries should have continued into the next page of the DVI  
or PDF

export, but they are missing.


Subsection have special code to forbid page breaks after them (to  
avoid a title
at the end of a page). They are designed for what you do? Why do you  
need this?


JMarc

Re: Typing some text in Lyx with capital letters

2009-07-16 Thread Marcelo Acuña

> > To sum up, is there an option in Lyx to have the same
> behaviour about
> > capital letters as Writer or Word?
> 
> Do think about this. I have noticed the 'feature' in some
> editors, then
> noticed that those programs also want to be intelligent
> and, for example
> don't permit 'MHz' (they consider the only the first letter
> should be
> capitalized). Then, to solve this, they have an exception
> table where you
> can put those.
> 
> I ended up losing more time administering the exceptions
> than what I
> could have ever gained by the capitalize-checking feature.
> 
> John
> 
 Yes. Is a battle against a ghost in the computer that make changes without 
notice. A nightmare.
 Marcelo


  

¡Viví la mejor experiencia en la web!
Descargá gratis el nuevo Internet Explorer 8
http://downloads.yahoo.com/ieak8/?l=ar


Re: truncated sections

2009-07-16 Thread Marcelo Acuña

> Hi Marcelo
> 
> No, it's not the ToC that run through the margins and
> get truncated. It is the list of subsubsections that is
> truncated. For example, I have a list of 12 subsubsections
> that does not fit entirely in one page, the last let's
> say 3 or 4 entries should have continued into the next page
> of the DVI or PDF export, but they are missing.
> 
> 
> Let me know if it is clear now or if you need any further
> information.
> 
> Thanks,
> 
> Beny
  
 I understand that part of the text in the main text not appears.
 It seems an interrupted process.
 Do you have an error message?

 Marcelo


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


Multiple author affiliations

2009-07-16 Thread E. Kaplan
Often one needs to list several authors for a scientific paper, with 
more than one institutional affiliation.
I tried to do this with the AUTHOR text type and superscripts on both 
the authors names and their institutional affiliations, but Lyx gagged 
on it.

How can I do that?
Thanks,
E. Kaplan




Re: Multiple author affiliations

2009-07-16 Thread Rich Shepard

On Thu, 16 Jul 2009, E. Kaplan wrote:


Often one needs to list several authors for a scientific paper, with more
than one institutional affiliation. I tried to do this with the AUTHOR
text type and superscripts on both the authors names and their
institutional affiliations, but Lyx gagged on it. How can I do that?


E. Kaplan:

  Rather than superscript placement/sizing, why not use footnotes? You can
have multiple authors listed and define a footnote for each one's employer.
LyX will happily digest this.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Typing some text in Lyx with capital letters

2009-07-16 Thread Michael Joyner ᏩᏯ
I concur, I usually end up turning OFF auto-correct.
If someone is looking for a feature like this, maybe have it along the
lines of the inline spell checker and have squiggles marking potentially
bad words.

Marcelo Acuña wrote:
>>> To sum up, is there an option in Lyx to have the same
>>>   
>> behaviour about
>> 
>>> capital letters as Writer or Word?
>>>   
>> Do think about this. I have noticed the 'feature' in some
>> editors, then
>> noticed that those programs also want to be intelligent
>> and, for example
>> don't permit 'MHz' (they consider the only the first letter
>> should be
>> capitalized). Then, to solve this, they have an exception
>> table where you
>> can put those.
>>
>> I ended up losing more time administering the exceptions
>> than what I
>> could have ever gained by the capitalize-checking feature.
>>
>> John
>>
>> 
>  Yes. Is a battle against a ghost in the computer that make changes without 
> notice. A nightmare.
>  Marcelo
>
>
>   
> 
> ¡Viví la mejor experiencia en la web!
> Descargá gratis el nuevo Internet Explorer 8
> http://downloads.yahoo.com/ieak8/?l=ar
>   


-- 
LyX: http://www.lyx.org/ OpenOffice: http://www.openoffice.org/
Inkscape: http://www.inkscape.org/ Scribus: http://www.scribus.net/
GIMP: http://www.gimp.org/ PDF: http://www.pdfforge.org/



signature.asc
Description: OpenPGP digital signature


Re: Another Point to Consider in Your Writing

2009-07-16 Thread Steve Litt
On Thursday 16 July 2009 01:13:38 pm Rich Shepard wrote:
>Now that we've flogged index creation until it's moribund, it's time to
> consider another factor in making your opus magnum welcomed by readers: the
> font size.
>
>I'm re-reading a soft-cover book that I first read several years ago;
> it's a technical book with lots of mathematics so it doesn't scan like a
> novel. I found it difficult to read back then and only now, during my
> re-reading, am I aware of why it's so difficult. The body text is set in
> 9pt type, and the in-line examples are set in 8pt type. It is very
> difficult to read -- even with my reading glasses -- and this makes it more
> difficult to follow because it takes conscious effort to just read the
> text. The book is self-published (the publishing company is named after the
> author's wife's initials) and the physical page size is also smaller than
> the standard 6-1/2"x9-1/8" page.
>
>Body text one point smaller than the standard 10pt (which I can read
> without glasses as long as environment is not too dark) makes a _huge_
> difference in readability and ease of comprehension. My advice is to
> _never_ set the body text smaller than 10pt (and always use a serif
> typeface because that tracks much more easily than do san-serif typefaces).
>
>The other side of this type size issue is that everyone who uses
> Microsoft Word never changes the document default from Times-Roman 12pt; at
> least, no one whose documents I've seen has done so. That size, too, is
> difficult to read because it's 20% larger than we're used to reading in
> books and journals/magazines. Also, the Times fonts were developed for the
> London Times broadsheet newspaper with narrow columns. It's not the best or
> nicest looking typeface for use in most documents that are a single column
> on letter or A4 size paper. But, I suppose it's part of the Microsoft
> training to not consider making any changes to what comes out of the shrink
> wrapping.
>
>I believe this topic is appropriate for the LyX mail list because we all
> know that documents typeset with TeX are more attractive and readable
> than are documents of processed words, even if most readers cannot tell you
> exactly why they feel that way. Paying attention to typeface and size just
> goes with the desire to produce outstanding looking output.

I think so too.

I use 12pt Century Schoolbook because Century Schoolbook appears very clear 
and readable to me. If the Book document class supported 14 point, I'd use 
that. I have no knowledge of my readers, so some of them may have very bad 
vision. My book "Troubleshooting: Tools, Tips and Techniques" was written in 
WordPerfect 5.1 back in 1990 using 14 point serif type, and I've been thanked 
more than once for providing such a big font.

I might be more sensitive to this than most. If my glasses are not absolutely 
clean, and if I'm not absolutely fresh and bright, I can't comfortably read 
anything smaller than 12pt.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Multiple author affiliations

2009-07-16 Thread I Wayan Warmada

--- On Fri, 7/17/09, Rich Shepard  wrote:

> E. Kaplan:
> 
> Rather than superscript placement/sizing, why not
> use footnotes? You can
> have multiple authors listed and define a footnote for each
> one's employer.
> LyX will happily digest this.
> 

use authblk.sty from preprint package. The authblk.sty can handle up to 6 
affiliation. I have use by putting this package in preamble like:

\usepackage[auth-lg]{authblk}
   \author[1]{name of author 1}
   \author[1,2]{name of author 2 with two affiliation}
   \affil[1]{affiliation 1}
   \affil[2]{affiliation 2}

etc, please read the documentation.
Btw, you don't need to put the author in editing area, because it already 
define in preamble.

Regards,
Wayan






  


List of Tables, numbering problem

2009-07-16 Thread Laser Yuan
Hello,

I have tables in Chapters, say, two in the first Chapter, one in the second.
And I'm using ASM(book) class.

The numbering comes up with the "list of talbes" are like this:

1 
2 ...

1 ...

I want it to be:
1.1 ...
1.2 ...

2.1 ...

Could anybody tell me, how this wizard numbering happened. and how to solve
it. I attached a sample as bellow for your information

Thanks.
_

#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsbook
\begin_preamble

\end_preamble
\use_default_options true
\begin_modules
theorems-ams
\end_modules
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing onehalf
\use_hyperref false
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
\pdf_bookmarksopenlevel 3
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\leftmargin 1.5cm
\topmargin 3cm
\rightmargin 1.5cm
\bottommargin 1.5cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author ""
\author ""
\end_header

\begin_body

\begin_layout Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Chapter
the first chapter
\end_layout

\begin_layout Section
the first section of chapter 1
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the second table in chpter 1
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Chapter
the second chapter
\end_layout

\begin_layout Section
the first section of chapter 2
\end_layout

\begin_layout Standard
\begin_inset Float table
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
the first chapter in chapter 2
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\end_body
\end_document