Re: Accents

2010-08-30 Thread Guenter Milde
On 2010-08-29, Hal Kierstead wrote:

>> I have a problem with LyX 1.6.7.  I work with collaborators who do not
>> use LyX. Suppose I import this to LyX:

>> \begin{document}
>> P\'osa, R\"odl, Erd\H os.
>> \end{document}  

>> I get.

>> Pósa, Rödl, Erdős.

>> This is fine for me.  When I export it I get 

>> \begin{document}
>> PÛsa, Rˆdl, Erdo\H{o}s.
>> \end{document}

By default, LyX generates LaTeX files in a language-dependent 8-bit
encoding.

>> The last is fine for me but not for my collaborators.  It would be
>> much better to export the standard tex code for accents.

This is configurable on a document basis by checking
Document>Settings>Language>Encoding>Other and selecting "ASCII".

Whether 7-bit ASCII or 8-bit language-dependent encodings or UTF-8
encoded Unicode are much better is hard to agree on.


Instead of changing the encoding setting for every document, you can also
copy the file "languages" from the LyX-directory (here /usr/share/lyx/)
to your personal LyX-directory (here ~/.lyx/) and change the default
setting for the respective language, e.g.

- magyar  magyar"Hungarian" false  iso8859-2  hu_HU  ""

to 

+ magyar  magyar"Hungarian" false  ascii  hu_HU  ""

or

+ magyar  magyar"Hungarian" false  utf8  hu_HU   ""


>> Is this a bug or desired enhancement?

While I do not consider this a bug, I see two enhancement options:

* Store the original encoding (inputenc option) when importing LaTeX
  files. Use ASCII instead of "language default", if there is no
  "\usepackage[]{inputenc}" in the original.
  
* Provide a configurable file encoding default with the values "ascii",
  "utf-8" and "language-dependent".


Günter



Re: Can't sync LyX with Skim

2010-08-30 Thread BH
On Sun, Aug 29, 2010 at 11:13 PM, Nat Jacobs  wrote:
>
> Hello all,
>    I'm on a Mac. I'm trying to edit a lengthy thesis and I can't for the
> life of me figure out how to get LyX to sync with Skim. That is, I
> want to be able to view a pdf or dvi in Skim, and then
> command-shift-click and be taken to the corresponding part of my LyX
> file. Doesn't work. I've been spending hours looking for different
> instructions on how to do this. I can't get it to work with either
> PdfSync or SyncTeX. I put the pdfsync package in my latex preamble. I
> set the file format in the preferences for LyX and I set the
> preferences of Skim. I even tried carefully setting the command path
> for PdfSync. When I was trying to use SyncTeX, I set teh converter. I
> hope I'm just missing one extra step. Anyone able to get this work ? I
> hope I'm just missing one simple step.

I believe Skim thinks that LyX will be in your /Applications folder.
If you have LyX somewhere else, you'll need to enter the appropriate
path in Skim's preferences -- something like this:

/path/to/LyX.app/Contents/MacOS/lyxeditor

Is that the issue?

BH


looking for layout for MNRAS journal

2010-08-30 Thread Piotr A. Dybczyński
Hi,

I am in urgent need of obtaining LyX layout file for the journal paper for
Monthly Notices of the Royal Astronomical Society (MNRAS).

Its LaTeX class is available at:

http://www.wiley.com/bw/static/mnras_latex.asp

I am not skilled enough to prepare it myself :-(

Maybe someone have it already done and can share it with the public? 

Thanks in advance,
PAD
-- 
/**
 Dr Piotr A. Dybczynski, Astronomical Observatory, A.Mickiewicz University 
 homepage: http://apollo.astro.amu.edu.pl/PAD e-mail: dy...@amu.edu.pl
PAD***/


Re: looking for layout for MNRAS journal

2010-08-30 Thread Julien Rioux

On 30/08/2010 8:56 AM, Piotr A. Dybczyński wrote:

Hi,



Hi

I am in urgent need of obtaining LyX layout file for the journal paper for
Monthly Notices of the Royal Astronomical Society (MNRAS).

Its LaTeX class is available at:

http://www.wiley.com/bw/static/mnras_latex.asp

I am not skilled enough to prepare it myself :-(



In case nobody comes forward with the layout you are looking for, you 
still might attempt it yourself and succeed. A comment in the mn2e.cls 
file says that it is based on the article class. So the first step is to 
copy the file article.layout from your LyX application folder, rename it 
to mn2e.layout and place that file in your LyX user/layouts folder. This 
will get you a working layout with likely 90% of the class features.


Follow the customization manual and advices on this list to accomplish 
the rest.



Maybe someone have it already done and can share it with the public?

Thanks in advance,
PAD


Best of luck,
Julien



Re: looking for layout for MNRAS journal

2010-08-30 Thread Richard Heck

On 08/30/2010 09:44 AM, Julien Rioux wrote:

On 30/08/2010 8:56 AM, Piotr A. Dybczyński wrote:

Hi,



Hi
I am in urgent need of obtaining LyX layout file for the journal 
paper for

Monthly Notices of the Royal Astronomical Society (MNRAS).

Its LaTeX class is available at:

http://www.wiley.com/bw/static/mnras_latex.asp

I am not skilled enough to prepare it myself :-(



In case nobody comes forward with the layout you are looking for, you 
still might attempt it yourself and succeed. A comment in the mn2e.cls 
file says that it is based on the article class. So the first step is 
to copy the file article.layout from your LyX application folder, 
rename it to mn2e.layout and place that file in your LyX user/layouts 
folder. This will get you a working layout with likely 90% of the 
class features.



You also have to change the declaration line.

rh



Different page sizes in one document (eng/ger)

2010-08-30 Thread Roland Werth
ENGLISH:
Dear Community,

I am currently writing a thesis in LyX, using Koma-Script(book). The page size 
is A4. Several technical drawings sufficient for the thesis are in A3 and A31 
(page height 297mm, width 841mm, to be folded down to A4 after print) and A2 
(also to be folded). I want to integrate them in the document to make one lush 
book. The drawings are explained within the text and they should occur either 
after a single chapter or in the appendix and to be cross-referenced. The 
drawings are in PDF.

Example:
Chapter 1: Architectural Design
1.1 lorem ipsum blablabla, as seen in drawing (1) on page 47.
1.1.1 lorem ipsum blablabla
1.2
1.3
***at the end of the chapter to be the drawings in their original size 
(A3,A31,A2) with page number for each drawing.***

alternative:
Abstract
Foreword
Chapter 1
Chapter 2
Chapter 3
Conclusion
Bibliography
Appendices
- Appendix 1 (e.g. drawing A3)
- Appendix 2 (e.g. drawing A31)

I am favorizing the first variant, since there are 3-12 drawings per Chapter 
and they are more easy to be referenced (and the book looks way better this 
way). The book would look as lush as one of the nice architectural design 
magazines on the market with fold-out-drawings.

I am a LyX-Newbie and ask for your support. Would you be so kind and give me 
some help in how to change page sizes per single page in LyX? Thank you for 
your understanding and efforts. My english isn't that good so I posted the 
question in my native language below for any German readers. Of course you can 
write me in English too (my understanding is far better than my writing).

GERMAN:

Liebe Community,
ich schreibe momentan eine Studienarbeit in LyX (ein wirklich großartiges 
Programm) und nutze Koma-Script (book) für das ganze. Als Standardseitenformat 
nutze ich A4. Ich habe hier mehrere technische Zeichnungen und Skizzen im 
Format A3 und A2 sowie im Wildformat A31 (Höhe wie A3 quer, Länge wie A1 quer, 
Maße s.o.), die im gedruckten Dokument planmäßig auf A4 heruntergefaltet sind, 
aber auch im späteren PDF auftauchen sollen und zusammen ein schönes Buch geben 
sollen.
Die Zeichnungen werden im Text entsprechend besprochen und erläutert und 
sollten der Übersichtlichkeit halber entweder am Kapitelende zusammen 
auftauchen (wie in einigen bekannten Architekturmagazinen) oder ganz am Ende 
der Arbeit im Anhang. Da es pro Kapitel etwa 3-12 Zeichnungen sind, wäre mir 
die Lösung am Kapitelende am liebsten.
Die Zeichnungen sollen mit Querweisen referenzierbar sein und eigene 
Seitennummern erhalten.

Ich bin eigentlich noch Anfänger in Lyx (mit ein paar Grundkenntnissen), an 
diesem Problem beiße ich mir aber momentan wirklich die Zähne aus. Könntet Ihr 
mir bei dem Problem bitte behilflich sein und mir etwas unter die Arme greifen?
Was muss ich machen, um die entsprechenden PDF-Zeichnungen korrekt als einzelne 
Seiten einzufügen? An der Uni könnte ich auch Acrobat nutzen, um die 
Zeichnungen später an bestimmter Seite einzufügen, aber dann habe ich Null 
Kontrolle über die entsprechend notwendigen Querverweise im Text.
Über Eure Hilfe wäre ich sehr dankbar.

Für Eure Bemühungen danke ich schonmal im Voraus ganz herzlich.

R.W.
-- 
Roland Werth

GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 €/mtl.!*
http://portal.gmx.net/de/go/dsl


print slides with notes

2010-08-30 Thread Necati Demir
Hello,

I want to create a presentation and print it with notes. For example;
here is an example[1] created with OpenOffice, how can i create with
lyx?

[1] http://rapidshare.com/files/416060719/oo_presentation_notes.ps

-- 
Necati DEMİR
http://demir.web.tr

Pi Bilişim Teknolojileri
http://www.pibilisim.com.tr
--


Re: print slides with notes

2010-08-30 Thread Necati Demir
On 30 August 2010 18:58, Necati Demir  wrote:
> Hello,
>
> I want to create a presentation and print it with notes. For example;
> here is an example[1] created with OpenOffice, how can i create with
> lyx?
>
> [1] http://rapidshare.com/files/416060719/oo_presentation_notes.ps

alternative link:
http://rapidshare.com/files/416061246/oo_presentation_notes.ps.html

>
> --
> Necati DEMİR
> http://demir.web.tr
>
> Pi Bilişim Teknolojileri
> http://www.pibilisim.com.tr
> --
>


Re: Enlace roto

2010-08-30 Thread Marcelo Acuña

Hola LyX, 

   

He experimentado problemas al
querer descargar la versión 1.6.7 de LyX para Windows de su página de descargas
desde hace ya mucho tiempo así como instalando diccionarios aspell con
versiones anteriores, ¿tienen algún sito en donde se pueda descargar la última
versión de LyX sin problemas?¿Cuándo arreglaran el enlace defectuoso de su 
página
de descargas? Necesito bajar LyX y estoy desesperado.  

   

Saludos 

   

Jesús 


 Hola, no tuve problemas al intentar bajarlo. No sé que pudo haberte pasado. De 
todas formas, deberías escribir en inglés, porque así más gente podrá conocer 
tu problema y darte una solución.SaludosMarcelo
 



 




  

OpenDocument on Windows

2010-08-30 Thread David Bickel
View >>> OpenDocument produces a blank .odt file my platform (LyX
1.6.6.1, Windows Vista Home Basic).

Are there any easy workarounds?

David

-- 
David R. Bickel, PhD
Associate Professor
Ottawa Institute of Systems Biology
Biochem., Micro. and I. Department
Mathematics and Statistics Department
University of Ottawa
451 Smyth Road
Ottawa, Ontario K1H 8M5

http://www.statomics.com


Two Lemmas in a row

2010-08-30 Thread Torquil Macdonald Sørensen

Hi!

I'm using the "article (AMS)" document class and want to have two Lemmas in a 
row with no additional text between them.


However, Lyx seems to combine the Lemmas into just one if I don't include any 
text between them in standard format.


Do I have to put some sort of invisible character between the Lemmas?

-Torquil

Test-file with a line of text separating the two lemmas:

#LyX 1.6.7 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass amsart
\use_default_options true
\begin_modules
theorems-ams
eqs-within-sections
figs-within-sections
\end_modules
\language british
\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 ""
\end_header

\begin_body

\begin_layout Lemma
This is the first Lemma.
\end_layout

\begin_layout Standard
Is this text is removed, the two lemmas are combined into one.
\end_layout

\begin_layout Lemma
This is the second Lemma.
\end_layout

\end_body
\end_document


Re: Two Lemmas in a row

2010-08-30 Thread Julien Rioux

On 30/08/2010 1:53 PM, Torquil Macdonald Sørensen wrote:

Hi!

I'm using the "article (AMS)" document class and want to have two Lemmas
in a row with no additional text between them.

However, Lyx seems to combine the Lemmas into just one if I don't
include any text between them in standard format.

Do I have to put some sort of invisible character between the Lemmas?

-Torquil



Hi,

You will use a --Separator--
You will find it on the toolbar, in the drop-down where you find Title, 
Author, Section, etc.


--
Julien



Re: Can't sync LyX with Skim

2010-08-30 Thread Nat Jacobs

Thanks for the quick reply.
Unfortunately, no, that doesn't seem to help. My LyX file is in a
different place. But moving it back to the Applications folder didn't
help. Nor did customizing the path (I didn't do these two things
simultaneously :) ).
I wonder if my pdfsync package could be out of date. I tried to update
everything last night (TeX installation, LyX, Skim), but I'm not sure how
to check if  pdfsync is uptodate or not. (of course, I coudln't get
synctex to work either).




> On Sun, Aug 29, 2010 at 11:13 PM, Nat Jacobs  wrote:
>>
>> Hello all,
>>    I'm on a Mac. I'm trying to edit a lengthy thesis and I can't for the
>> life of me figure out how to get LyX to sync with Skim. That is, I
>> want to be able to view a pdf or dvi in Skim, and then
>> command-shift-click and be taken to the corresponding part of my LyX
>> file. Doesn't work. I've been spending hours looking for different
>> instructions on how to do this. I can't get it to work with either
>> PdfSync or SyncTeX. I put the pdfsync package in my latex preamble. I
>> set the file format in the preferences for LyX and I set the
>> preferences of Skim. I even tried carefully setting the command path
>> for PdfSync. When I was trying to use SyncTeX, I set teh converter. I
>> hope I'm just missing one extra step. Anyone able to get this work ? I
>> hope I'm just missing one simple step.
>
> I believe Skim thinks that LyX will be in your /Applications folder.
> If you have LyX somewhere else, you'll need to enter the appropriate
> path in Skim's preferences -- something like this:
>
> /path/to/LyX.app/Contents/MacOS/lyxeditor
>
> Is that the issue?
>
> BH
>



Re: Two Lemmas in a row

2010-08-30 Thread Torquil Macdonald Sørensen

On 30/08/10 20:00, Julien Rioux wrote:

On 30/08/2010 1:53 PM, Torquil Macdonald Sørensen wrote:

Hi!

I'm using the "article (AMS)" document class and want to have two Lemmas
in a row with no additional text between them.

However, Lyx seems to combine the Lemmas into just one if I don't
include any text between them in standard format.

Do I have to put some sort of invisible character between the Lemmas?

-Torquil



Hi,

You will use a --Separator--
You will find it on the toolbar, in the drop-down where you find Title,
Author, Section, etc.



Thanks Julien! I haven't even used that before. It seems to work perfectly.

Torquil


Re: print slides with notes

2010-08-30 Thread Paul Rubin
Necati Demir  demir.web.tr> writes:


> > I want to create a presentation and print it with notes. For example;
> > here is an example[1] created with OpenOffice, how can i create with
> > lyx?

The Beamer class is very popular for presentations, and it includes the ability
to generate handouts, speaker notes etc.  You can find the user guide at
http://www.ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf.
 LyX comes with a layout file and a couple of template files for Beamer.

/Paul



Re: print slides with notes

2010-08-30 Thread Necati Demir
Yeah, i know beamer. But i could not create what i need.

On 30 August 2010 21:49, Paul Rubin  wrote:
> Necati Demir  demir.web.tr> writes:
>
>
>> > I want to create a presentation and print it with notes. For example;
>> > here is an example[1] created with OpenOffice, how can i create with
>> > lyx?
>
> The Beamer class is very popular for presentations, and it includes the 
> ability
> to generate handouts, speaker notes etc.  You can find the user guide at
> http://www.ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf.
>  LyX comes with a layout file and a couple of template files for Beamer.
>
> /Paul
>
>



-- 
Necati DEMİR
http://demir.web.tr

Pi Bilişim Teknolojileri
http://www.pibilisim.com.tr
--


Re: Can't sync LyX with Skim

2010-08-30 Thread Pavel Sanda
Nat Jacobs wrote:
> 
> Thanks for the quick reply.
> Unfortunately, no, that doesn't seem to help. My LyX file is in a
> different place. But moving it back to the Applications folder didn't
> help. Nor did customizing the path (I didn't do these two things
> simultaneously :) ).
> I wonder if my pdfsync package could be out of date. I tried to update
> everything last night (TeX installation, LyX, Skim), but I'm not sure how
> to check if  pdfsync is uptodate or not. (of course, I coudln't get
> synctex to work either).

when you run lyx -dbg action do you see something like:
GuiApplication.cpp(1226): cmd:  action: 93 [server-goto-file-row]  arg: 
'/tmp/lyx_tmpdir.T17568/lyx_tmpbuf1/mug.tex 141' x: 0 y: 0
on your console (after commanding skim to do the reverse search)?

pavel


Re: print slides with notes

2010-08-30 Thread Paul Rubin
Necati Demir  demir.web.tr> writes:

> 
> Yeah, i know beamer. But i could not create what i need.

Can you be more precise about what you need?  I've uploaded a small beamer
example with notes to http://dl.dropbox.com/u/9417226/beamer_notes.lyx.  As
configured, it prints just the notes.  Change the second line of the preamble to
\setbeameroption{show notes} (delete "only") and it shows each slide followed on
the next page by the notes.  Change that to \setbeameroption{hide notes} (or
omit it altogether) and you get just the slides with no notes.

/Paul




Re: Different page sizes in one document (eng/ger)

2010-08-30 Thread Les Denham
On Monday 30 August 2010 06:53:49 Roland Werth wrote:
> ENGLISH:
> Dear Community,
> 
> I am currently writing a thesis in LyX, using Koma-Script(book). The page
>  size is A4. Several technical drawings sufficient for the thesis are in A3
>  and A31 (page height 297mm, width 841mm, to be folded down to A4 after
>  print) and A2 (also to be folded). I want to integrate them in the
>  document to make one lush book. The drawings are explained within the text
>  and they should occur either after a single chapter or in the appendix and
>  to be cross-referenced. The drawings are in PDF.
> 

Roland,

I would use PDFTK (http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/).

1. If you want your final page numbering to include the drawings, insert the 
requisite number of blank pages at the end of each chapter, with a dummy figure 
float on each blank page to get the drawings in the List of Figures.

2. Export the LyX file to PDF.

3. Using PDFTK, split out the pages for each chapter as a single PDF file for 
the text of each chapter (do not include the blank pages).

4. Add the drawings to the end of each chapter file (using PDFTK).

5. Assemble the chapters into a single file using PDFTK.

Les

-- 
..
Les Denham


Can't compile files with .eps figures

2010-08-30 Thread Tobias Manrique
Hi,

After an update to a new computer (Mac OS X 10.6.4) and to the latest TeX
(MacTex-2009) and LyX (1.6.7) versions, none of my former documents that
contain .eps figures will compile (nor does a test file that just contains
an .eps figure).

Compiling via pdflatex and ps2pdf yields the following error message: "An
error occurred whilst running epstopdf

--outfile='01" (and, subsequently, " Package pdftex.def Erorr: File
'01.pdf' ")


Compiling via dvipdfm at least produces an output, but with blanks in place
of the .eps figures.


My preference settings are unaltered (EPS--> PDF: epstopdf --outfile=$$0
$$i).


Any hints? I have been looking through mailing lists all day but couldn't
find a solution.


Tobias


Re: Undefined control sequence: \dddot ??

2010-08-30 Thread Uwe Stöhr

For information:
The next LyX version LyX 1.6.8 will also fully support \ot and all \dddot 
bugs are fixed.

regards Uwe


Re: print slides with notes

2010-08-30 Thread Necati Demir
On 30 August 2010 23:39, Paul Rubin  wrote:
> Necati Demir  demir.web.tr> writes:
>
>>
>> Yeah, i know beamer. But i could not create what i need.
>
> Can you be more precise about what you need?

Did you take a look what i shared? [1]

[1]http://rapidshare.com/files/416061246/oo_presentation_notes.ps.html

Now we create slides with BeginFrame and finish slide with EndFrame. I
want something like; BeginNotes and EndNotes, which is another slide
page without titles and background ... I want to print it in two ways:
* Normal Presentation (Only Slides)
* Presentation with Notes (one page is A4 and it contains slide and
notes, for example;
http://rapidshare.com/files/416061246/oo_presentation_notes.ps.html)


> I've uploaded a small beamer
> example with notes to http://dl.dropbox.com/u/9417226/beamer_notes.lyx.  As
> configured, it prints just the notes.  Change the second line of the preamble 
> to
> \setbeameroption{show notes} (delete "only") and it shows each slide followed 
> on
> the next page by the notes.  Change that to \setbeameroption{hide notes} (or
> omit it altogether) and you get just the slides with no notes.
>
> /Paul
>
>
>



-- 
Necati DEMİR
http://demir.web.tr

Pi Bilişim Teknolojileri
http://www.pibilisim.com.tr
--


Re: print slides with notes

2010-08-30 Thread Graham Smith

Necati

Not exactly what you need maybe, but this is what I do.

This is copied from my preamble

%next five  lines needed to print two to a page handout comment out for 
presentation

\usepackage{pgfpages}
\pgfpagesuselayout{2 on 1}[a4paper,border shrink=2mm]
\setbeamercolor{background canvas}{bg=black!1}
\setbeamertemplate{footline}[page number]
\setbeameroption{show only notes}

It shows a thumbnail of the slide, plus any notes associated with the slide.

For it to work, every slide has to have a note attached, even if its 
empty, as its really printing the notes, with the thumbnail of the slide 
an addition to the note.


I haven't used it for a bit, and its cobbled together from beamer help 
from different places, but it might help.


Graham





Re: print slides with notes

2010-08-30 Thread Necati Demir
* Is there a way to disable the thumbnail?
* When i add notes, notes are seen as numbered list. Is there a way to
change to itemized list?

On 31 August 2010 09:41, Graham Smith  wrote:
> Necati
>
> Not exactly what you need maybe, but this is what I do.
>
> This is copied from my preamble
>
> %next five  lines needed to print two to a page handout comment out for
> presentation
> \usepackage{pgfpages}
> \pgfpagesuselayout{2 on 1}[a4paper,border shrink=2mm]
> \setbeamercolor{background canvas}{bg=black!1}
> \setbeamertemplate{footline}[page number]
> \setbeameroption{show only notes}
>
> It shows a thumbnail of the slide, plus any notes associated with the slide.
>
> For it to work, every slide has to have a note attached, even if its empty,
> as its really printing the notes, with the thumbnail of the slide an
> addition to the note.
>
> I haven't used it for a bit, and its cobbled together from beamer help from
> different places, but it might help.
>
> Graham
>
>
>
>



-- 
Necati DEMİR
http://demir.web.tr

Pi Bilişim Teknolojileri
http://www.pibilisim.com.tr
--


Re: print slides with notes

2010-08-30 Thread Graham Smith

Necati


* Is there a way to disable the thumbnail?
* When i add notes, notes are seen as numbered list. Is there a way to
change to itemized list?


Sorry, I don't know the answer to either of these questions, I'm still 
very new to this. Hopefully someone else can help.


Graham