Re: Importing excel/gnumeric to LyX

2012-03-14 Thread Helge Hafting

On 26. jan. 2012 16:11, Fred wrote:

Helge Haftinghelge.haftingat  hist.no  writes:



On 10. sep. 2011 16:14, Christian Wilhelmsen wrote:

Hi!

When trying to import and .xls or .gnumeric to LyX 2.0 I get the error
message:

no information for converting gnumeric format files to latex.
Define a converter in the preferences.

I understand what it asks of me, but I can't seem to figure out how to
define the converter.
I have installed gnumeric on my computer.


You should not need to define a converter, LyX supports ssconvert
which usually comes with gnumeric.

Is the ssconvert program in your PATH? If LyX cannot find ssconvert,
then the conversion from gnumeric to latex won't work. Because ssconvert
does that job.


Hi Helge,

I do get the same error message as Christian. How do you actually Define a
converter in the preferences of Lyx? ssconvert has been installed with gnumeric
(1.10.16), though Lyx is unable to find the path. And I am to stupid to define
exatly that particular path.


Sorry for the late answer - I have been away from the mailing list for 
some time.


There are two ways of fixing this problem.

1. Change the system PATH
=
The first is to change the PATH setting, so that ssconvert can be 
found automatically. I.e. find out what directory ssconvert resides 
in, and add that to PATH.


(You should then be able to type ssconvert
at the command line, and get a message from the program instead of an 
unknown command error.)


The change is done outside of LyX, different operating systems have 
different ways of setting up the PATH. I guess you are not on Linux, 
because on Linux, ssconvert is always in the PATH.


After this, use the menu Tools-Reconfigure in LyX, and the converter 
will be found and just work.


2. Change the preferences in LyX

The other way is to change the converter in the preferences. This way 
you won't need to mess with the system PATH setting.


In LyX, use the menu Tools-Preferences. In the dialog, click
on File Handling and then Converters.

You get a list of converters, one of them should be named
Excel spreadsheet - LaTeX(plain) click on it.

The Converter: field should now contain this:
ssconvert --export-type=Gnumeric_html:latex $$i $$o

Now, replace the word ssconvert with the complete path to the 
ssconvert binary. On my linux system, this would be

/usr/bin/ssconvert
so the complete line would become
/usr/bin/ssconvert --export-type=Gnumeric_html:latex $$i $$o
If you are on windows, this might be something like
C:\programs\gnumeric\ssconvert
instead, and then the complete line should be
C:\programs\gnumeric\ssconvert --export-type=Gnumeric_html:latex $$i $$o

Note that it probably isnt _exactly_ c:\programs\gnumeric\ssconvert
Search your disk(s) to find out exactly where the ssconvert program is 
installed - don't assume my examples are perfectly correct!


How you search the disk depends on your operating system.
Linux/mac:
open a terminal window, the command is:
find / -name ssconvert

windows:
Use some GUI utility, or run cmd.exe and give these commands:
C:
cd \
dir /s ssconvert*.*

If this yields no result, repeat but use D: instead of C:, and so on for 
the rest of the alphabet. Well, only for disks you actually have.


Helge Hafting


Re: is lyx really appropriate for my book.

2012-03-14 Thread Helge Hafting

On 14. feb. 2012 13:04, Eric Weir wrote:


On Feb 14, 2012, at 2:01 AM, Jürgen Spitzmüller wrote:

[...]

with TeX), or MS Word documents for journals and proceedings. I have
experienced that some of these journals and proceedings were in fact
produced with TeX in the end, but even then they have not accepted TeX
file as input from me, simply because the editors and reviewers don't
know how to deal with that format.


How do you deal with this?


I sent my editor/proofreader a PDF. She printed it and mailed back
the printed pages, with every change indicated in pen.

Basically, the oldfashioned way that works with everything: hand- and 
typewritten manuscripts, as well as stuff written in mysterious unknown 
software. :-)


Editors have a whole system of notation for this sort of work. Quick for 
them to write, and it is easy to understand without training. Slashes 
over stuff to remove, arrows for moving, alternative words/spelling in 
the margin . . .


Not having the editor edit my text directly was an advantage. Editors 
make mistakes too, especially when they don't know all the jargon. This 
way, I did not have to watch for such errors. I simply avoided them when 
implementing the changes, and told them why on the next iteration.


Helge Hafting


Re: lyx and hypcap

2012-03-14 Thread mario chiari
Dear Julien, All,

thanks for the reply.
Nope, it does not work even  with the \label within the \caption.

I copyaste my entire file below.
I tried to export and latex the .tex file. I get the same error, but the
final .dvi file is fine.
With pdflatex, the final .pdf file is fine too, but I get more errors.
Lyx does not let me to compile, it just dies. 

I appreciate any further hint
thanks, regards
mario

ps 
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/hypcap.sty
Package: hypcap 2008/09/08 v1.10 Adjusting anchors of captions (HO)

%%% my  .tex, exported (and simplified)
%% LyX 2.0.0beta3 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,italian]{letter}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{babel}
\usepackage{url}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[unicode=true,
 bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,
 breaklinks=true,pdfborder={0 0
1},backref=page,colorlinks=true]{hyperref}
\hypersetup{pdftitle={mario letter},
 pdfauthor={mario},
 pdfsubject={topic},
 pdfkeywords={key}}
\usepackage{breakurl}

\makeatletter

%% LyX specific LaTeX commands.
\special{papersize=\the\paperwidth,\the\paperheight}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}
%% User specified LaTeX commands.
\usepackage[top=2cm, bottom=3cm, left=1cm, right=2cm]{geometry}
%\usepackage{biblatex}%\bibliographystyle{plain}
\usepackage{lmodern}% Enable Latin Modern fonts
\usepackage{graphicx}
\usepackage{fancyhdr}

\usepackage[babel,italian=guillemets]{csquotes}
\usepackage{ifthen}
\usepackage{float}

\usepackage{hypcap}% see 

%\usepackage[bf]{caption}
%\usepackage[hypcap=true]{subcaption}  %similar issues

\AtBeginDocument{
  \def\labelitemii{\(\circ\)}
  \def\labelitemiv{\(\checkmark\)}
}

\makeatother

\begin{document}
\letter{my friend \linebreak{}
home \linebreak{}
town}
\address{myself\\
my place\\
home town\\
123123123 }
\opening{Dear}
\signature{mario}
bla bla   \ref{pict}  \ref{pict2}
\closing{ciao}

\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.2]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture here \label{pict} }
\end{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.1]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture two here \label{pict2} }
\end{myfig}
\end{document}

 error (from .log file), when I latex .tex file
..
\@float@every@myfig=\toks28
\c@myfig=\count105
File: ./myfile.jpg Graphic file (type eps)
 ./myfile.jpg
Package hyperref Info: bookmark level for unknown myfig defaults to 0 on
input 
line 79.
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H return  for immediate help.
 ...
   
l.80 \end{myfig}   
\global 
File: ./myfile.jpg Graphic file (type eps)
./myfile.jpg
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H return  for immediate help.
 ...
  
l.90 \end{myfig}  
\global 
.

% further error (from .log file), when I pdflatex .tex file

l.91 \end{document}
   pdfTeX warning (ext4): destination with the same
identifier 
(name{myfig.1}) has been already used, duplicate ignored
. 


:-(




On Tue, 2012-03-13 at 19:33 -0400, Julien Rioux wrote:
 On 13/03/2012 7:06 PM, mario chiari wrote:
  Hi
 
 
  I am trying to use captions defined thanks to \usepackage{hypcap}, as
  you may see below.
  I get the error
  ! Package hypcap Error: You have forgotten to use \caption.
 
  Indeed I have not forgot it, and I am not sure what to try.
  Note, lyx displays myfile.jpeg.
 
  Any hint is welcome.
  Thanks, Regards
  mario
 
 
 
  ---
  \floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
  \hypcapredef{myfig}
 
  \begin{myfig} \capstart
 
  \begin{center}
  \includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
  \lyxdot /myfile.jpeg}
  \par\end{center}
 
  \caption{bla bla \cite{aaa}}
 
 
  \label{bbb}\end{myfig}
 
 
 
 Do you get a better result with the \label within the \caption?
 




LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

Hi!

I think I have managed to write myself into a corner that I'm unable to get out 
of, using LyX 2.0.3 and the Beamer document class.


I have attached my LyX file, but I will explain the two issues first:

1) I don't understand how to insert an EndFrame at the bottom of the document, 
after the Block. If I put the cursor at the last possible position and press 
Enter, The Block environment only expands downwards, and I'm not given a new 
blank line. Downward arrow doesn't work either. If I could get a new blank line 
at the bottom of the document, I could insert an EndFrame there.


2) There seems to be something wrong with the layout... The 
ColumnsCenterAligned and each Column are located too far to the left, even 
outside the area of the LyX window... This must be a bug, no?


Any pointers on what I can do to fix these tvo issues? I have attached the 
problematic LyX file for any kind soul that are willing te analyse my problem.


Thanks!
Torquil Sørensen


lyx_beamer.lyx
Description: application/lyx


Re: program listing of child documents with accents

2012-03-14 Thread Helge Hafting

On 13. feb. 2012 20:33, Ricardo wrote:

Following Richard advice, below posted source code of a small document.
With the current lyx configuration I can insert a child document with
the program listing input. The document is saved utf8. I can see accents
on the pdf output, but the breaklines of the listings package does not
seem to work and I do not why. A long line does not break at any place,
despite breaklines=true param is set.
Any help welcomed


I can use utf8 source code files and have breaklines work too. Of 
course, breaklines only works for real text. A line with no spaces will 
not break up.


To make utf8 content survive, put \usepackage{listingsutf8} in the 
document preamble. In the parameters for the included child document, 
set the Include Type to Program Listing, and in Listing 
parameters, set:

breaklines=true
inputencoding={utf8/latin1}

Or possibly utf8/latin9, if you use euro symbols in your program.

With this approach, it is not necessary to change the document encoding 
away from default.


Document:
http://www.aitel.hist.no/~helgehaf/sw/lyxdemo/listing.lyx
Included program code:
http://www.aitel.hist.no/~helgehaf/sw/lyxdemo/listing.c

Helge Hafting


Re: LyX / Beamer bugs?

2012-03-14 Thread Liviu Andronic
On Wed, Mar 14, 2012 at 10:27 AM, Torquil Macdonald Sørensen
torq...@gmail.com wrote:
 Hi!

 I think I have managed to write myself into a corner that I'm unable to get
 out of, using LyX 2.0.3 and the Beamer document class.

 I have attached my LyX file, but I will explain the two issues first:

 1) I don't understand how to insert an EndFrame at the bottom of the
 document, after the Block. If I put the cursor at the last possible
 position and press Enter, The Block environment only expands downwards,
 and I'm not given a new blank line. Downward arrow doesn't work either. If I
 could get a new blank line at the bottom of the document, I could insert an
 EndFrame there.

Hit Enter, select 'Standard' paragraph style (if you like) from the
combo-box, then select 'EndFrame'. It is also a paragraph style and
should replace the 'Block' one.

If you have trouble with building a Beamer presentation from scratch,
I would suggest starting with the beamer*.lyx template (File  New
from Template) and trimming it down till it fits your needs. At each
step make sure that the document compiles.

Liviu


 2) There seems to be something wrong with the layout... The
 ColumnsCenterAligned and each Column are located too far to the left,
 even outside the area of the LyX window... This must be a bug, no?

 Any pointers on what I can do to fix these tvo issues? I have attached the
 problematic LyX file for any kind soul that are willing te analyse my
 problem.

 Thanks!
 Torquil Sørensen



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 11:09, Liviu Andronic wrote:

On Wed, Mar 14, 2012 at 10:27 AM, Torquil Macdonald Sørensen
torq...@gmail.com  wrote:

Hi!

I think I have managed to write myself into a corner that I'm unable to get
out of, using LyX 2.0.3 and the Beamer document class.

I have attached my LyX file, but I will explain the two issues first:

1) I don't understand how to insert an EndFrame at the bottom of the
document, after the Block. If I put the cursor at the last possible
position and press Enter, The Block environment only expands downwards,
and I'm not given a new blank line. Downward arrow doesn't work either. If I
could get a new blank line at the bottom of the document, I could insert an
EndFrame there.


Hit Enter, select 'Standard' paragraph style (if you like) from the
combo-box, then select 'EndFrame'. It is also a paragraph style and
should replace the 'Block' one.


That's the thing, I did just that because that is what I normally do, but it 
didn't work in this situation. The vertical line corresponding to the Block 
environment expanded downwards, and when I inserted the EndFrame, it appeared 
inside the Block environment...


Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 11:09, Liviu Andronic wrote:

If you have trouble with building a Beamer presentation from scratch,
I would suggest starting with the beamer*.lyx template (File  New
from Template) and trimming it down till it fits your needs. At each
step make sure that the document compiles.

Liviu


Thanks, but those don't seem to have any example of two columns inside a Block.

Btw, it seems that there is a problem in the german file:

de_beamer-conference-ornate-20min.lyx

Above the heading Unterabschnitt 2.2: Ideen für Beweise/Umsetzung, there seems 
to bo a layout problem similar to mine, where some red text disappears off the 
left hand side of the LyX window, where ColumnsTopAligned is started.


(and also the same problem in the French template file.

Best regards
Torquil Sørensen


Re: kerning and accented characters

2012-03-14 Thread Helge Hafting

On 06. mars 2012 16:12, Csikos Bela wrote:

Hello:

Certain character pairs look very ugly in lyx/latex output.
For example if V is followed by Hungarian accented a or e (ie. á or é) it looks 
very ugly.
See the attached lyx and pdf files.


LyX follows the kerning in the font file. So the best advice is to get a 
font that has proper kerning.


Unfortunately, many (cheap) fonts are kerned for A-Za-z,
accented letters are provided but not kerned.

So either buy a professional font, or get some software tools
and modify your free/cheap fonts.

One could, for example, take all the kernings involving a
and apply them to á too. It might work, but for some fonts,
Tá might have the T crash into the accent if it is kerned like Ta.

Helge Hafting, wishing there were a fj ligature similar to fi


multiline equations cases

2012-03-14 Thread Bieniasz


Hi,

I am trying to produce a multiline equation (with a number)
by using the option cases. I want to have two lines of some expressions,
with a single brace at the right-hand side, followed by the equation number.
Is there any way to do this? The option cases offers a brace at the left-
hand side, and I don't see any way to transpose the brace so that it occurs on 
the right. Any suggestions?

Leslaw



Re: LyX / Beamer bugs?

2012-03-14 Thread Liviu Andronic
On Wed, Mar 14, 2012 at 11:25 AM, Torquil Macdonald Sørensen
torq...@gmail.com wrote:
 That's the thing, I did just that because that is what I normally do, but it
 didn't work in this situation. The vertical line corresponding to the Block
 environment expanded downwards, and when I inserted the EndFrame, it
 appeared inside the Block environment...

I guess it's an issue with paragraph depth. Try 'shift + tab'. Does
the attached do what you want?

Liviu


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


lyx_beamer_1.lyx
Description: application/lyx


Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 12:30, Liviu Andronic wrote:

On Wed, Mar 14, 2012 at 11:25 AM, Torquil Macdonald Sørensen
torq...@gmail.com  wrote:

That's the thing, I did just that because that is what I normally do, but it
didn't work in this situation. The vertical line corresponding to the Block
environment expanded downwards, and when I inserted the EndFrame, it
appeared inside the Block environment...


I guess it's an issue with paragraph depth. Try 'shift + tab'. Does
the attached do what you want?


Hi!

Unfortunately, that LyX doc doesn't compile here. I get an error message popup 
when trying to View (pdflatex). I really appreciate your helpful effort, though.


I have decided that there are several problems with the lyx+beamer combination 
that I cannot live with or don't have time te deal with right now, so I've 
changed to lyx+foiltex, which seems to work very well. Actually, I think I have 
all I need with foiltex and a few other small packages, so I might stick with 
that in the long run.


Best regards
Torquil Sørensen


Re: Please confirm your message

2012-03-14 Thread Hwan C. Lin
Hello,

I have a problem with Lyx 2.0.3 on mac os 10.6.8.

I inserted the graph of a pdf file into Lyx. But the graph cannot display
its full size within Lyx, although the full size will come after compiling.

In contrast, If I insert a .png graph into Lyx, it can display its full
size within Lyx.

Can you please tell me whether there is a fix? Or this is a bug that has
been fixed yet.

Thank you very much.
Hwan


Re: LyX / Beamer bugs?

2012-03-14 Thread Liviu Andronic
On Wed, Mar 14, 2012 at 3:14 PM, Torquil Macdonald Sørensen
torq...@gmail.com wrote:
 Unfortunately, that LyX doc doesn't compile here. I get an error message
 popup when trying to View (pdflatex). I really appreciate your helpful
 effort, though.

IT doesn't compile here either, but it does have the 'EndFrame' at the end.


 I have decided that there are several problems with the lyx+beamer
 combination that I cannot live

As I suggested earlier, you should try to build from an existing
_compilable_ example (such as the templates shipped by LyX) and
remove/add elements as you see fit, making sure throughout these
modifications that the document compiles. In my experience LyX works
very nicely with Beamer.

Regards
Liviu


 with or don't have time te deal with right
 now, so I've changed to lyx+foiltex, which seems to work very well.
 Actually, I think I have all I need with foiltex and a few other small
 packages, so I might stick with that in the long run.

 Best regards
 Torquil Sørensen



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: multiline equations cases

2012-03-14 Thread David L. Johnson

On 03/14/2012 07:27 AM, Bieniasz wrote:


Hi,

I am trying to produce a multiline equation (with a number)
by using the option cases. I want to have two lines of some expressions,
with a single brace at the right-hand side, followed by the equation number.
Is there any way to do this? The option cases offers a brace at the left-
hand side, and I don't see any way to transpose the brace so that it occurs on
the right. Any suggestions?

Leslaw
Use the large brackets, blank on the left, } on the right, and put a 
matrix inside it of size nx2, where n is the number of cases you want.


--

David L. Johnson

It doesn't get any easier, you just go faster.
--Greg LeMond



Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 15:22, Liviu Andronic wrote:

I have decided that there are several problems with the lyx+beamer
combination that I cannot live


As I suggested earlier, you should try to build from an existing
_compilable_ example (such as the templates shipped by LyX) and
remove/add elements as you see fit, making sure throughout these
modifications that the document compiles. In my experience LyX works
very nicely with Beamer.


I have started from a compilable example, and then compiled after each 
nontrivial edit. Nevertheless, I find Foiltex a bit easier to use, and it seems 
to do the job for me right now. I like a bit of minimalism :-) And again, thank 
you for taking the time to help!


Btw, another issue I had with lyx+beamer was with copying and pasting of a whole 
Columns environment containing two columns. But I will I try to get back with 
proper bug reports when time allows it.


Best regards
Torquil Sørensen


Re: is lyx really appropriate for my book.

2012-03-14 Thread Steve Litt
On Wed, 14 Mar 2012 10:00:09 +0100
Helge Hafting helge.haft...@hist.no wrote:

 On 14. feb. 2012 13:04, Eric Weir wrote:
 
  On Feb 14, 2012, at 2:01 AM, Jürgen Spitzmüller wrote:
 [...]
  with TeX), or MS Word documents for journals and proceedings. I
  have experienced that some of these journals and proceedings were
  in fact produced with TeX in the end, but even then they have not
  accepted TeX file as input from me, simply because the editors and
  reviewers don't know how to deal with that format.
 
  How do you deal with this?
 
 I sent my editor/proofreader a PDF. She printed it and mailed back
 the printed pages, with every change indicated in pen.
 
 Basically, the oldfashioned way that works with everything: hand- and 
 typewritten manuscripts, as well as stuff written in mysterious
 unknown software. :-)
 
 Editors have a whole system of notation for this sort of work. Quick
 for them to write, and it is easy to understand without training.
 Slashes over stuff to remove, arrows for moving, alternative
 words/spelling in the margin . . .
 
 Not having the editor edit my text directly was an advantage. Editors 
 make mistakes too, especially when they don't know all the jargon.
 This way, I did not have to watch for such errors. I simply avoided
 them when implementing the changes, and told them why on the next
 iteration.
 
 Helge Hafting

Hi Helge,

There are two downsides to marking up paper in red ink:

1) The paper can get lost
2) No room for queries and responses
2) There is no historical record of queries, responses, and changes

#1 can be easily fixed by scanning, so it's no problem. #2 can be fixed
by referencing numbered queries, but it's a lot more work for the
editor and, depending on how much context the editor puts in, a little
or a lot more work for the writer. #3 could conceivably be fixed by
numbering the papers with red ink, but it's a poor solution.

The benefits you state for red ink on paper are certainly true, so it's
a tradeoff of benefits one must evaluate before deciding whether to go
red pen on paper.

SteveT


Re: Problem compiling a memoir class document

2012-03-14 Thread Eric Weir

On Mar 13, 2012, at 2:30 PM, Julien Rioux wrote:

 On 16/02/2012 10:46 AM, Eric Weir wrote:
 
 At Stefano's suggestion I'm giving the memoir class a look--or trying to. 
 Without any formatting my document compiles to pdflatex fine. When I apply 
 the title environment to my title and attempt to compile t get the following 
 error message three times:
 
 Undefined control sequence.
 
 and a Case}
 
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
 
 Which version of LyX are you using? I think there was recent changes to this 
 document class.

Thanks, Julien. I have 2.0.3. However, I no longer have this problem. Don't 
remember how it got fixed. Can check if you like.

Regards, 
--
Eric Weir
eew...@bellsouth.net

Every moment is unique and discrete.

Eknath Eswaran



Labels

2012-03-14 Thread Merhebi, Bob
Hello,

Just a simple question: Is there a way to keep figures, sections 
subsctionslabels separate?

I am asking this since it is quite annoying to search for a label in the
cross reference window!!!

thanks
-- 
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



signature.asc
Description: OpenPGP digital signature


Track changes - 'final' vs 'mark-up' view

2012-03-14 Thread Maggie Donovan
Hello Lyx users

 

I'm very new to LyX (or any TeX-based system). Have recently installed it in
order to edit a journal paper written in LyX.

 

I have Windows 7 with MikTeX 2.9 and LyX 2.0.3.

 

I've read the user guide, experimented and generally hunted around, but am
still not sure of the following:

 

*When working with track changes, is it possible to work with the document
looking as if the changes have been made (= MS Word 'Final' view) and with
any notes (comments) hidden?*

 

So far the only mode I've found is to see all changes and notes while I'm
working (= MS Word 'Final: Show Markup'), which can be intrusive and also
less clear around issues of spacing.

 

I've read in the user guide about needing the LaTeX package dvipost to do
this (if I understood correctly) but I can't see it in the TeX catalogue,
nor find convincingly up-to-date information about it on the net.

 

Very many thanks, in hope.

 

Maggie

 

 

Maggie Donovan

Member of the Society for Editors and Proofreaders (SfEP)

Headingley Editorial

www.head-edit.co.uk http://www.head-edit.co.uk/ 

  

 



Re: Labels

2012-03-14 Thread Richard Heck

On 03/14/2012 05:02 PM, Merhebi, Bob wrote:

Hello,

Just a simple question: Is there a way to keep figures, sections
subsctionslabels separate?


By default, LyX uses different prefixes for these: fig, sec, sub.


I am asking this since it is quite annoying to search for a label in the
cross reference window!!!


Try sorting them.

Richard



Cannot get vertical alignment to work

2012-03-14 Thread John O'Gorman
Hi

I'm trying to put a jpeg image on the left with a paragraph of text to
its right.

I've tried putting these items into a table.
I've tried putting them into 2 lyx boxes (aka minipages) with an hfill
between them.

In both instances the left element (the graphics is top aligned) and
right one is bottom aligned.
They look OK  (both top aligned) within LyX but not when I view or print
the DVI or PDF.
Can anyone help?

My systems:
1. Opensuse 11.3  with LyX 1.6.5
2. OSX v 10.6.8 with  LyX 1.6.4.2

Both show exactly the same symptoms.


Re: Importing excel/gnumeric to LyX

2012-03-14 Thread Helge Hafting

On 26. jan. 2012 16:11, Fred wrote:

Helge Haftinghelge.haftingat  hist.no  writes:



On 10. sep. 2011 16:14, Christian Wilhelmsen wrote:

Hi!

When trying to import and .xls or .gnumeric to LyX 2.0 I get the error
message:

no information for converting gnumeric format files to latex.
Define a converter in the preferences.

I understand what it asks of me, but I can't seem to figure out how to
define the converter.
I have installed gnumeric on my computer.


You should not need to define a converter, LyX supports ssconvert
which usually comes with gnumeric.

Is the ssconvert program in your PATH? If LyX cannot find ssconvert,
then the conversion from gnumeric to latex won't work. Because ssconvert
does that job.


Hi Helge,

I do get the same error message as Christian. How do you actually Define a
converter in the preferences of Lyx? ssconvert has been installed with gnumeric
(1.10.16), though Lyx is unable to find the path. And I am to stupid to define
exatly that particular path.


Sorry for the late answer - I have been away from the mailing list for 
some time.


There are two ways of fixing this problem.

1. Change the system PATH
=
The first is to change the PATH setting, so that ssconvert can be 
found automatically. I.e. find out what directory ssconvert resides 
in, and add that to PATH.


(You should then be able to type ssconvert
at the command line, and get a message from the program instead of an 
unknown command error.)


The change is done outside of LyX, different operating systems have 
different ways of setting up the PATH. I guess you are not on Linux, 
because on Linux, ssconvert is always in the PATH.


After this, use the menu Tools-Reconfigure in LyX, and the converter 
will be found and just work.


2. Change the preferences in LyX

The other way is to change the converter in the preferences. This way 
you won't need to mess with the system PATH setting.


In LyX, use the menu Tools-Preferences. In the dialog, click
on File Handling and then Converters.

You get a list of converters, one of them should be named
Excel spreadsheet - LaTeX(plain) click on it.

The Converter: field should now contain this:
ssconvert --export-type=Gnumeric_html:latex $$i $$o

Now, replace the word ssconvert with the complete path to the 
ssconvert binary. On my linux system, this would be

/usr/bin/ssconvert
so the complete line would become
/usr/bin/ssconvert --export-type=Gnumeric_html:latex $$i $$o
If you are on windows, this might be something like
C:\programs\gnumeric\ssconvert
instead, and then the complete line should be
C:\programs\gnumeric\ssconvert --export-type=Gnumeric_html:latex $$i $$o

Note that it probably isnt _exactly_ c:\programs\gnumeric\ssconvert
Search your disk(s) to find out exactly where the ssconvert program is 
installed - don't assume my examples are perfectly correct!


How you search the disk depends on your operating system.
Linux/mac:
open a terminal window, the command is:
find / -name ssconvert

windows:
Use some GUI utility, or run cmd.exe and give these commands:
C:
cd \
dir /s ssconvert*.*

If this yields no result, repeat but use D: instead of C:, and so on for 
the rest of the alphabet. Well, only for disks you actually have.


Helge Hafting


Re: is lyx really appropriate for my book.

2012-03-14 Thread Helge Hafting

On 14. feb. 2012 13:04, Eric Weir wrote:


On Feb 14, 2012, at 2:01 AM, Jürgen Spitzmüller wrote:

[...]

with TeX), or MS Word documents for journals and proceedings. I have
experienced that some of these journals and proceedings were in fact
produced with TeX in the end, but even then they have not accepted TeX
file as input from me, simply because the editors and reviewers don't
know how to deal with that format.


How do you deal with this?


I sent my editor/proofreader a PDF. She printed it and mailed back
the printed pages, with every change indicated in pen.

Basically, the oldfashioned way that works with everything: hand- and 
typewritten manuscripts, as well as stuff written in mysterious unknown 
software. :-)


Editors have a whole system of notation for this sort of work. Quick for 
them to write, and it is easy to understand without training. Slashes 
over stuff to remove, arrows for moving, alternative words/spelling in 
the margin . . .


Not having the editor edit my text directly was an advantage. Editors 
make mistakes too, especially when they don't know all the jargon. This 
way, I did not have to watch for such errors. I simply avoided them when 
implementing the changes, and told them why on the next iteration.


Helge Hafting


Re: lyx and hypcap

2012-03-14 Thread mario chiari
Dear Julien, All,

thanks for the reply.
Nope, it does not work even  with the \label within the \caption.

I copyaste my entire file below.
I tried to export and latex the .tex file. I get the same error, but the
final .dvi file is fine.
With pdflatex, the final .pdf file is fine too, but I get more errors.
Lyx does not let me to compile, it just dies. 

I appreciate any further hint
thanks, regards
mario

ps 
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/hypcap.sty
Package: hypcap 2008/09/08 v1.10 Adjusting anchors of captions (HO)

%%% my  .tex, exported (and simplified)
%% LyX 2.0.0beta3 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,italian]{letter}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{babel}
\usepackage{url}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[unicode=true,
 bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,
 breaklinks=true,pdfborder={0 0
1},backref=page,colorlinks=true]{hyperref}
\hypersetup{pdftitle={mario letter},
 pdfauthor={mario},
 pdfsubject={topic},
 pdfkeywords={key}}
\usepackage{breakurl}

\makeatletter

%% LyX specific LaTeX commands.
\special{papersize=\the\paperwidth,\the\paperheight}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}
%% User specified LaTeX commands.
\usepackage[top=2cm, bottom=3cm, left=1cm, right=2cm]{geometry}
%\usepackage{biblatex}%\bibliographystyle{plain}
\usepackage{lmodern}% Enable Latin Modern fonts
\usepackage{graphicx}
\usepackage{fancyhdr}

\usepackage[babel,italian=guillemets]{csquotes}
\usepackage{ifthen}
\usepackage{float}

\usepackage{hypcap}% see 

%\usepackage[bf]{caption}
%\usepackage[hypcap=true]{subcaption}  %similar issues

\AtBeginDocument{
  \def\labelitemii{\(\circ\)}
  \def\labelitemiv{\(\checkmark\)}
}

\makeatother

\begin{document}
\letter{my friend \linebreak{}
home \linebreak{}
town}
\address{myself\\
my place\\
home town\\
123123123 }
\opening{Dear}
\signature{mario}
bla bla   \ref{pict}  \ref{pict2}
\closing{ciao}

\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.2]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture here \label{pict} }
\end{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.1]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture two here \label{pict2} }
\end{myfig}
\end{document}

 error (from .log file), when I latex .tex file
..
\@float@every@myfig=\toks28
\c@myfig=\count105
File: ./myfile.jpg Graphic file (type eps)
 ./myfile.jpg
Package hyperref Info: bookmark level for unknown myfig defaults to 0 on
input 
line 79.
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H return  for immediate help.
 ...
   
l.80 \end{myfig}   
\global 
File: ./myfile.jpg Graphic file (type eps)
./myfile.jpg
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H return  for immediate help.
 ...
  
l.90 \end{myfig}  
\global 
.

% further error (from .log file), when I pdflatex .tex file

l.91 \end{document}
   pdfTeX warning (ext4): destination with the same
identifier 
(name{myfig.1}) has been already used, duplicate ignored
. 


:-(




On Tue, 2012-03-13 at 19:33 -0400, Julien Rioux wrote:
 On 13/03/2012 7:06 PM, mario chiari wrote:
  Hi
 
 
  I am trying to use captions defined thanks to \usepackage{hypcap}, as
  you may see below.
  I get the error
  ! Package hypcap Error: You have forgotten to use \caption.
 
  Indeed I have not forgot it, and I am not sure what to try.
  Note, lyx displays myfile.jpeg.
 
  Any hint is welcome.
  Thanks, Regards
  mario
 
 
 
  ---
  \floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
  \hypcapredef{myfig}
 
  \begin{myfig} \capstart
 
  \begin{center}
  \includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
  \lyxdot /myfile.jpeg}
  \par\end{center}
 
  \caption{bla bla \cite{aaa}}
 
 
  \label{bbb}\end{myfig}
 
 
 
 Do you get a better result with the \label within the \caption?
 




LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

Hi!

I think I have managed to write myself into a corner that I'm unable to get out 
of, using LyX 2.0.3 and the Beamer document class.


I have attached my LyX file, but I will explain the two issues first:

1) I don't understand how to insert an EndFrame at the bottom of the document, 
after the Block. If I put the cursor at the last possible position and press 
Enter, The Block environment only expands downwards, and I'm not given a new 
blank line. Downward arrow doesn't work either. If I could get a new blank line 
at the bottom of the document, I could insert an EndFrame there.


2) There seems to be something wrong with the layout... The 
ColumnsCenterAligned and each Column are located too far to the left, even 
outside the area of the LyX window... This must be a bug, no?


Any pointers on what I can do to fix these tvo issues? I have attached the 
problematic LyX file for any kind soul that are willing te analyse my problem.


Thanks!
Torquil Sørensen


lyx_beamer.lyx
Description: application/lyx


Re: program listing of child documents with accents

2012-03-14 Thread Helge Hafting

On 13. feb. 2012 20:33, Ricardo wrote:

Following Richard advice, below posted source code of a small document.
With the current lyx configuration I can insert a child document with
the program listing input. The document is saved utf8. I can see accents
on the pdf output, but the breaklines of the listings package does not
seem to work and I do not why. A long line does not break at any place,
despite breaklines=true param is set.
Any help welcomed


I can use utf8 source code files and have breaklines work too. Of 
course, breaklines only works for real text. A line with no spaces will 
not break up.


To make utf8 content survive, put \usepackage{listingsutf8} in the 
document preamble. In the parameters for the included child document, 
set the Include Type to Program Listing, and in Listing 
parameters, set:

breaklines=true
inputencoding={utf8/latin1}

Or possibly utf8/latin9, if you use euro symbols in your program.

With this approach, it is not necessary to change the document encoding 
away from default.


Document:
http://www.aitel.hist.no/~helgehaf/sw/lyxdemo/listing.lyx
Included program code:
http://www.aitel.hist.no/~helgehaf/sw/lyxdemo/listing.c

Helge Hafting


Re: LyX / Beamer bugs?

2012-03-14 Thread Liviu Andronic
On Wed, Mar 14, 2012 at 10:27 AM, Torquil Macdonald Sørensen
torq...@gmail.com wrote:
 Hi!

 I think I have managed to write myself into a corner that I'm unable to get
 out of, using LyX 2.0.3 and the Beamer document class.

 I have attached my LyX file, but I will explain the two issues first:

 1) I don't understand how to insert an EndFrame at the bottom of the
 document, after the Block. If I put the cursor at the last possible
 position and press Enter, The Block environment only expands downwards,
 and I'm not given a new blank line. Downward arrow doesn't work either. If I
 could get a new blank line at the bottom of the document, I could insert an
 EndFrame there.

Hit Enter, select 'Standard' paragraph style (if you like) from the
combo-box, then select 'EndFrame'. It is also a paragraph style and
should replace the 'Block' one.

If you have trouble with building a Beamer presentation from scratch,
I would suggest starting with the beamer*.lyx template (File  New
from Template) and trimming it down till it fits your needs. At each
step make sure that the document compiles.

Liviu


 2) There seems to be something wrong with the layout... The
 ColumnsCenterAligned and each Column are located too far to the left,
 even outside the area of the LyX window... This must be a bug, no?

 Any pointers on what I can do to fix these tvo issues? I have attached the
 problematic LyX file for any kind soul that are willing te analyse my
 problem.

 Thanks!
 Torquil Sørensen



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 11:09, Liviu Andronic wrote:

On Wed, Mar 14, 2012 at 10:27 AM, Torquil Macdonald Sørensen
torq...@gmail.com  wrote:

Hi!

I think I have managed to write myself into a corner that I'm unable to get
out of, using LyX 2.0.3 and the Beamer document class.

I have attached my LyX file, but I will explain the two issues first:

1) I don't understand how to insert an EndFrame at the bottom of the
document, after the Block. If I put the cursor at the last possible
position and press Enter, The Block environment only expands downwards,
and I'm not given a new blank line. Downward arrow doesn't work either. If I
could get a new blank line at the bottom of the document, I could insert an
EndFrame there.


Hit Enter, select 'Standard' paragraph style (if you like) from the
combo-box, then select 'EndFrame'. It is also a paragraph style and
should replace the 'Block' one.


That's the thing, I did just that because that is what I normally do, but it 
didn't work in this situation. The vertical line corresponding to the Block 
environment expanded downwards, and when I inserted the EndFrame, it appeared 
inside the Block environment...


Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 11:09, Liviu Andronic wrote:

If you have trouble with building a Beamer presentation from scratch,
I would suggest starting with the beamer*.lyx template (File  New
from Template) and trimming it down till it fits your needs. At each
step make sure that the document compiles.

Liviu


Thanks, but those don't seem to have any example of two columns inside a Block.

Btw, it seems that there is a problem in the german file:

de_beamer-conference-ornate-20min.lyx

Above the heading Unterabschnitt 2.2: Ideen für Beweise/Umsetzung, there seems 
to bo a layout problem similar to mine, where some red text disappears off the 
left hand side of the LyX window, where ColumnsTopAligned is started.


(and also the same problem in the French template file.

Best regards
Torquil Sørensen


Re: kerning and accented characters

2012-03-14 Thread Helge Hafting

On 06. mars 2012 16:12, Csikos Bela wrote:

Hello:

Certain character pairs look very ugly in lyx/latex output.
For example if V is followed by Hungarian accented a or e (ie. á or é) it looks 
very ugly.
See the attached lyx and pdf files.


LyX follows the kerning in the font file. So the best advice is to get a 
font that has proper kerning.


Unfortunately, many (cheap) fonts are kerned for A-Za-z,
accented letters are provided but not kerned.

So either buy a professional font, or get some software tools
and modify your free/cheap fonts.

One could, for example, take all the kernings involving a
and apply them to á too. It might work, but for some fonts,
Tá might have the T crash into the accent if it is kerned like Ta.

Helge Hafting, wishing there were a fj ligature similar to fi


multiline equations cases

2012-03-14 Thread Bieniasz


Hi,

I am trying to produce a multiline equation (with a number)
by using the option cases. I want to have two lines of some expressions,
with a single brace at the right-hand side, followed by the equation number.
Is there any way to do this? The option cases offers a brace at the left-
hand side, and I don't see any way to transpose the brace so that it occurs on 
the right. Any suggestions?

Leslaw



Re: LyX / Beamer bugs?

2012-03-14 Thread Liviu Andronic
On Wed, Mar 14, 2012 at 11:25 AM, Torquil Macdonald Sørensen
torq...@gmail.com wrote:
 That's the thing, I did just that because that is what I normally do, but it
 didn't work in this situation. The vertical line corresponding to the Block
 environment expanded downwards, and when I inserted the EndFrame, it
 appeared inside the Block environment...

I guess it's an issue with paragraph depth. Try 'shift + tab'. Does
the attached do what you want?

Liviu


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


lyx_beamer_1.lyx
Description: application/lyx


Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 12:30, Liviu Andronic wrote:

On Wed, Mar 14, 2012 at 11:25 AM, Torquil Macdonald Sørensen
torq...@gmail.com  wrote:

That's the thing, I did just that because that is what I normally do, but it
didn't work in this situation. The vertical line corresponding to the Block
environment expanded downwards, and when I inserted the EndFrame, it
appeared inside the Block environment...


I guess it's an issue with paragraph depth. Try 'shift + tab'. Does
the attached do what you want?


Hi!

Unfortunately, that LyX doc doesn't compile here. I get an error message popup 
when trying to View (pdflatex). I really appreciate your helpful effort, though.


I have decided that there are several problems with the lyx+beamer combination 
that I cannot live with or don't have time te deal with right now, so I've 
changed to lyx+foiltex, which seems to work very well. Actually, I think I have 
all I need with foiltex and a few other small packages, so I might stick with 
that in the long run.


Best regards
Torquil Sørensen


Re: Please confirm your message

2012-03-14 Thread Hwan C. Lin
Hello,

I have a problem with Lyx 2.0.3 on mac os 10.6.8.

I inserted the graph of a pdf file into Lyx. But the graph cannot display
its full size within Lyx, although the full size will come after compiling.

In contrast, If I insert a .png graph into Lyx, it can display its full
size within Lyx.

Can you please tell me whether there is a fix? Or this is a bug that has
been fixed yet.

Thank you very much.
Hwan


Re: LyX / Beamer bugs?

2012-03-14 Thread Liviu Andronic
On Wed, Mar 14, 2012 at 3:14 PM, Torquil Macdonald Sørensen
torq...@gmail.com wrote:
 Unfortunately, that LyX doc doesn't compile here. I get an error message
 popup when trying to View (pdflatex). I really appreciate your helpful
 effort, though.

IT doesn't compile here either, but it does have the 'EndFrame' at the end.


 I have decided that there are several problems with the lyx+beamer
 combination that I cannot live

As I suggested earlier, you should try to build from an existing
_compilable_ example (such as the templates shipped by LyX) and
remove/add elements as you see fit, making sure throughout these
modifications that the document compiles. In my experience LyX works
very nicely with Beamer.

Regards
Liviu


 with or don't have time te deal with right
 now, so I've changed to lyx+foiltex, which seems to work very well.
 Actually, I think I have all I need with foiltex and a few other small
 packages, so I might stick with that in the long run.

 Best regards
 Torquil Sørensen



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: multiline equations cases

2012-03-14 Thread David L. Johnson

On 03/14/2012 07:27 AM, Bieniasz wrote:


Hi,

I am trying to produce a multiline equation (with a number)
by using the option cases. I want to have two lines of some expressions,
with a single brace at the right-hand side, followed by the equation number.
Is there any way to do this? The option cases offers a brace at the left-
hand side, and I don't see any way to transpose the brace so that it occurs on
the right. Any suggestions?

Leslaw
Use the large brackets, blank on the left, } on the right, and put a 
matrix inside it of size nx2, where n is the number of cases you want.


--

David L. Johnson

It doesn't get any easier, you just go faster.
--Greg LeMond



Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 15:22, Liviu Andronic wrote:

I have decided that there are several problems with the lyx+beamer
combination that I cannot live


As I suggested earlier, you should try to build from an existing
_compilable_ example (such as the templates shipped by LyX) and
remove/add elements as you see fit, making sure throughout these
modifications that the document compiles. In my experience LyX works
very nicely with Beamer.


I have started from a compilable example, and then compiled after each 
nontrivial edit. Nevertheless, I find Foiltex a bit easier to use, and it seems 
to do the job for me right now. I like a bit of minimalism :-) And again, thank 
you for taking the time to help!


Btw, another issue I had with lyx+beamer was with copying and pasting of a whole 
Columns environment containing two columns. But I will I try to get back with 
proper bug reports when time allows it.


Best regards
Torquil Sørensen


Re: is lyx really appropriate for my book.

2012-03-14 Thread Steve Litt
On Wed, 14 Mar 2012 10:00:09 +0100
Helge Hafting helge.haft...@hist.no wrote:

 On 14. feb. 2012 13:04, Eric Weir wrote:
 
  On Feb 14, 2012, at 2:01 AM, Jürgen Spitzmüller wrote:
 [...]
  with TeX), or MS Word documents for journals and proceedings. I
  have experienced that some of these journals and proceedings were
  in fact produced with TeX in the end, but even then they have not
  accepted TeX file as input from me, simply because the editors and
  reviewers don't know how to deal with that format.
 
  How do you deal with this?
 
 I sent my editor/proofreader a PDF. She printed it and mailed back
 the printed pages, with every change indicated in pen.
 
 Basically, the oldfashioned way that works with everything: hand- and 
 typewritten manuscripts, as well as stuff written in mysterious
 unknown software. :-)
 
 Editors have a whole system of notation for this sort of work. Quick
 for them to write, and it is easy to understand without training.
 Slashes over stuff to remove, arrows for moving, alternative
 words/spelling in the margin . . .
 
 Not having the editor edit my text directly was an advantage. Editors 
 make mistakes too, especially when they don't know all the jargon.
 This way, I did not have to watch for such errors. I simply avoided
 them when implementing the changes, and told them why on the next
 iteration.
 
 Helge Hafting

Hi Helge,

There are two downsides to marking up paper in red ink:

1) The paper can get lost
2) No room for queries and responses
2) There is no historical record of queries, responses, and changes

#1 can be easily fixed by scanning, so it's no problem. #2 can be fixed
by referencing numbered queries, but it's a lot more work for the
editor and, depending on how much context the editor puts in, a little
or a lot more work for the writer. #3 could conceivably be fixed by
numbering the papers with red ink, but it's a poor solution.

The benefits you state for red ink on paper are certainly true, so it's
a tradeoff of benefits one must evaluate before deciding whether to go
red pen on paper.

SteveT


Re: Problem compiling a memoir class document

2012-03-14 Thread Eric Weir

On Mar 13, 2012, at 2:30 PM, Julien Rioux wrote:

 On 16/02/2012 10:46 AM, Eric Weir wrote:
 
 At Stefano's suggestion I'm giving the memoir class a look--or trying to. 
 Without any formatting my document compiles to pdflatex fine. When I apply 
 the title environment to my title and attempt to compile t get the following 
 error message three times:
 
 Undefined control sequence.
 
 and a Case}
 
 The control sequence at the end of the top line
 of your error message was never \def'ed. If you have
 misspelled it (e.g., `\hobx'), type `I' and the correct
 spelling (e.g., `I\hbox'). Otherwise just continue,
 and I'll forget about whatever was undefined.
 
 Which version of LyX are you using? I think there was recent changes to this 
 document class.

Thanks, Julien. I have 2.0.3. However, I no longer have this problem. Don't 
remember how it got fixed. Can check if you like.

Regards, 
--
Eric Weir
eew...@bellsouth.net

Every moment is unique and discrete.

Eknath Eswaran



Labels

2012-03-14 Thread Merhebi, Bob
Hello,

Just a simple question: Is there a way to keep figures, sections 
subsctionslabels separate?

I am asking this since it is quite annoying to search for a label in the
cross reference window!!!

thanks
-- 
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



signature.asc
Description: OpenPGP digital signature


Track changes - 'final' vs 'mark-up' view

2012-03-14 Thread Maggie Donovan
Hello Lyx users

 

I'm very new to LyX (or any TeX-based system). Have recently installed it in
order to edit a journal paper written in LyX.

 

I have Windows 7 with MikTeX 2.9 and LyX 2.0.3.

 

I've read the user guide, experimented and generally hunted around, but am
still not sure of the following:

 

*When working with track changes, is it possible to work with the document
looking as if the changes have been made (= MS Word 'Final' view) and with
any notes (comments) hidden?*

 

So far the only mode I've found is to see all changes and notes while I'm
working (= MS Word 'Final: Show Markup'), which can be intrusive and also
less clear around issues of spacing.

 

I've read in the user guide about needing the LaTeX package dvipost to do
this (if I understood correctly) but I can't see it in the TeX catalogue,
nor find convincingly up-to-date information about it on the net.

 

Very many thanks, in hope.

 

Maggie

 

 

Maggie Donovan

Member of the Society for Editors and Proofreaders (SfEP)

Headingley Editorial

www.head-edit.co.uk http://www.head-edit.co.uk/ 

  

 



Re: Labels

2012-03-14 Thread Richard Heck

On 03/14/2012 05:02 PM, Merhebi, Bob wrote:

Hello,

Just a simple question: Is there a way to keep figures, sections
subsctionslabels separate?


By default, LyX uses different prefixes for these: fig, sec, sub.


I am asking this since it is quite annoying to search for a label in the
cross reference window!!!


Try sorting them.

Richard



Cannot get vertical alignment to work

2012-03-14 Thread John O'Gorman
Hi

I'm trying to put a jpeg image on the left with a paragraph of text to
its right.

I've tried putting these items into a table.
I've tried putting them into 2 lyx boxes (aka minipages) with an hfill
between them.

In both instances the left element (the graphics is top aligned) and
right one is bottom aligned.
They look OK  (both top aligned) within LyX but not when I view or print
the DVI or PDF.
Can anyone help?

My systems:
1. Opensuse 11.3  with LyX 1.6.5
2. OSX v 10.6.8 with  LyX 1.6.4.2

Both show exactly the same symptoms.


Re: Importing excel/gnumeric to LyX

2012-03-14 Thread Helge Hafting

On 26. jan. 2012 16:11, Fred wrote:

Helge Hafting  writes:



On 10. sep. 2011 16:14, Christian Wilhelmsen wrote:

Hi!

When trying to import and .xls or .gnumeric to LyX 2.0 I get the error
message:

"no information for converting gnumeric format files to latex.
Define a converter in the preferences".

I understand what it asks of me, but I can't seem to figure out how to
define the converter.
I have installed gnumeric on my computer.


You should not need to define a converter, LyX supports "ssconvert"
which usually comes with gnumeric.

Is the ssconvert program in your PATH? If LyX cannot find ssconvert,
then the conversion from gnumeric to latex won't work. Because ssconvert
does that job.


Hi Helge,

I do get the same error message as Christian. How do you actually "Define a
converter in the preferences" of Lyx? ssconvert has been installed with gnumeric
(1.10.16), though Lyx is unable to find the path. And I am to stupid to define
exatly that particular path.


Sorry for the late answer - I have been away from the mailing list for 
some time.


There are two ways of fixing this problem.

1. Change the system PATH
=
The first is to change the PATH setting, so that "ssconvert" can be 
found automatically. I.e. find out what directory "ssconvert" resides 
in, and add that to PATH.


(You should then be able to type "ssconvert"
at the command line, and get a message from the program instead of an 
"unknown command" error.)


The change is done outside of LyX, different operating systems have 
different ways of setting up the PATH. I guess you are not on Linux, 
because on Linux, ssconvert is always in the PATH.


After this, use the menu "Tools->Reconfigure" in LyX, and the converter 
will be found and "just work".


2. Change the preferences in LyX

The other way is to change the converter in the preferences. This way 
you won't need to mess with the system PATH setting.


In LyX, use the menu "Tools->Preferences". In the dialog, click
on "File Handling" and then "Converters".

You get a list of converters, one of them should be named
"Excel spreadsheet -> LaTeX(plain)" click on it.

The "Converter:" field should now contain this:
ssconvert --export-type=Gnumeric_html:latex $$i $$o

Now, replace the word "ssconvert" with the complete path to the 
ssconvert binary. On my linux system, this would be

/usr/bin/ssconvert
so the complete line would become
/usr/bin/ssconvert --export-type=Gnumeric_html:latex $$i $$o
If you are on windows, this might be something like
C:\programs\gnumeric\ssconvert
instead, and then the complete line should be
C:\programs\gnumeric\ssconvert --export-type=Gnumeric_html:latex $$i $$o

Note that it probably isnt _exactly_ c:\programs\gnumeric\ssconvert
Search your disk(s) to find out exactly where the ssconvert program is 
installed - don't assume my examples are perfectly correct!


How you search the disk depends on your operating system.
Linux/mac:
open a terminal window, the command is:
find / -name ssconvert

windows:
Use some GUI utility, or run "cmd.exe" and give these commands:
C:
cd \
dir /s ssconvert*.*

If this yields no result, repeat but use D: instead of C:, and so on for 
the rest of the alphabet. Well, only for disks you actually have.


Helge Hafting


Re: is lyx really appropriate for my book.

2012-03-14 Thread Helge Hafting

On 14. feb. 2012 13:04, Eric Weir wrote:


On Feb 14, 2012, at 2:01 AM, Jürgen Spitzmüller wrote:

[...]

with TeX), or MS Word documents for journals and proceedings. I have
experienced that some of these journals and proceedings were in fact
produced with TeX in the end, but even then they have not accepted TeX
file as input from me, simply because the editors and reviewers don't
know how to deal with that format.


How do you deal with this?


I sent my editor/proofreader a PDF. She printed it and mailed back
the printed pages, with every change indicated in pen.

Basically, the oldfashioned way that works with everything: hand- and 
typewritten manuscripts, as well as stuff written in mysterious unknown 
software. :-)


Editors have a whole system of notation for this sort of work. Quick for 
them to write, and it is easy to understand without training. Slashes 
over stuff to remove, arrows for moving, alternative words/spelling in 
the margin . . .


Not having the editor edit my text directly was an advantage. Editors 
make mistakes too, especially when they don't know all the jargon. This 
way, I did not have to watch for such errors. I simply avoided them when 
implementing the changes, and told them why on the next iteration.


Helge Hafting


Re: lyx and hypcap

2012-03-14 Thread mario chiari
Dear Julien, All,

thanks for the reply.
Nope, it does not work even  with the \label within the \caption.

I copy my entire file below.
I tried to export and latex the .tex file. I get the same error, but the
final .dvi file is fine.
With pdflatex, the final .pdf file is fine too, but I get more errors.
Lyx does not let me to compile, it just dies. 

I appreciate any further hint
thanks, regards
mario

ps 
(/usr/local/texlive/2010/texmf-dist/tex/latex/oberdiek/hypcap.sty
Package: hypcap 2008/09/08 v1.10 Adjusting anchors of captions (HO)

%%% my  .tex, exported (and simplified)
%% LyX 2.0.0beta3 created this file.  For more info, see
http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,a4paper,italian]{letter}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{babel}
\usepackage{url}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[unicode=true,
 bookmarks=true,bookmarksnumbered=true,bookmarksopen=false,
 breaklinks=true,pdfborder={0 0
1},backref=page,colorlinks=true]{hyperref}
\hypersetup{pdftitle={mario letter},
 pdfauthor={mario},
 pdfsubject={topic},
 pdfkeywords={key}}
\usepackage{breakurl}

\makeatletter

%% LyX specific LaTeX commands.
\special{papersize=\the\paperwidth,\the\paperheight}
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}
%% User specified LaTeX commands.
\usepackage[top=2cm, bottom=3cm, left=1cm, right=2cm]{geometry}
%\usepackage{biblatex}%\bibliographystyle{plain}
\usepackage{lmodern}% Enable Latin Modern fonts
\usepackage{graphicx}
\usepackage{fancyhdr}

\usepackage[babel,italian=guillemets]{csquotes}
\usepackage{ifthen}
\usepackage{float}

\usepackage{hypcap}% see 

%\usepackage[bf]{caption}
%\usepackage[hypcap=true]{subcaption}  %similar issues

\AtBeginDocument{
  \def\labelitemii{\(\circ\)}
  \def\labelitemiv{\(\checkmark\)}
}

\makeatother

\begin{document}
\letter{my friend \linebreak{}
home \linebreak{}
town}
\address{myself\\
my place\\
home town\\
123123123 }
\opening{Dear}
\signature{mario}
bla bla   \ref{pict}  \ref{pict2}
\closing{ciao}

\floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
\hypcapredef{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.2]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture here \label{pict} }
\end{myfig}


\begin{myfig} 
\capstart 
\begin{center}
 \includegraphics[bb=0 0 173 468,scale=1.1]{./myfile.jpg}
 % myfile.jpg: 480x1300 pixel, 200dpi, 6.10x16.51 cm, bb=0 0 173 468
\end{center}
\caption{my picture two here \label{pict2} }
\end{myfig}
\end{document}

 error (from .log file), when I latex .tex file
..
\@float@every@myfig=\toks28
\c@myfig=\count105
File: ./myfile.jpg Graphic file (type eps)
 <./myfile.jpg>
Package hyperref Info: bookmark level for unknown myfig defaults to 0 on
input 
line 79.
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H   for immediate help.
 ...
   
l.80 \end{myfig}   
\global 
File: ./myfile.jpg Graphic file (type eps)
<./myfile.jpg>
! Package hypcap Error: You have forgotten to use \caption.
See the hypcap package documentation for explanation.
Type  H   for immediate help.
 ...
  
l.90 \end{myfig}  
\global 
.

% further error (from .log file), when I pdflatex .tex file

l.91 \end{document}
   pdfTeX warning (ext4): destination with the same
identifier 
(name{myfig.1}) has been already used, duplicate ignored
. 


:-(




On Tue, 2012-03-13 at 19:33 -0400, Julien Rioux wrote:
> On 13/03/2012 7:06 PM, mario chiari wrote:
> > Hi
> >
> >
> > I am trying to use captions defined thanks to \usepackage{hypcap}, as
> > you may see below.
> > I get the error
> > ! Package hypcap Error: You have forgotten to use \caption.
> >
> > Indeed I have not forgot it, and I am not sure what to try.
> > Note, lyx displays myfile.jpeg.
> >
> > Any hint is welcome.
> > Thanks, Regards
> > mario
> >
> >
> >
> > ---
> > \floatstyle{ruled} \newfloat{myfig}{thp}{lop} \floatname{myfig}{Testo}
> > \hypcapredef{myfig}
> >
> > \begin{myfig} \capstart
> >
> > \begin{center}
> > \includegraphics[bb=0 0 593 608,scale=1.05]{\lyxdot \lyxdot /\lyxdot
> > \lyxdot /myfile.jpeg}
> > \par\end{center}
> >
> > \caption{bla bla \cite{aaa}}
> >
> >
> > \label{bbb}\end{myfig}
> >
> >
> 
> Do you get a better result with the \label within the \caption?
> 




LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

Hi!

I think I have managed to write myself into a corner that I'm unable to get out 
of, using LyX 2.0.3 and the Beamer document class.


I have attached my LyX file, but I will explain the two issues first:

1) I don't understand how to insert an "EndFrame" at the bottom of the document, 
after the "Block". If I put the cursor at the last possible position and press 
Enter, The "Block" environment only expands downwards, and I'm not given a new 
blank line. Downward arrow doesn't work either. If I could get a new blank line 
at the bottom of the document, I could insert an EndFrame there.


2) There seems to be something wrong with the layout... The 
"ColumnsCenterAligned" and each "Column" are located too far to the left, even 
outside the area of the LyX window... This must be a bug, no?


Any pointers on what I can do to fix these tvo issues? I have attached the 
problematic LyX file for any kind soul that are willing te analyse my problem.


Thanks!
Torquil Sørensen


lyx_beamer.lyx
Description: application/lyx


Re: program listing of child documents with accents

2012-03-14 Thread Helge Hafting

On 13. feb. 2012 20:33, Ricardo wrote:

Following Richard advice, below posted source code of a small document.
With the current lyx configuration I can insert a child document with
the program listing input. The document is saved utf8. I can see accents
on the pdf output, but the breaklines of the listings package does not
seem to work and I do not why. A long line does not break at any place,
despite breaklines=true param is set.
Any help welcomed


I can use utf8 source code files and have breaklines work too. Of 
course, breaklines only works for real text. A line with no spaces will 
not break up.


To make utf8 content survive, put \usepackage{listingsutf8} in the 
document preamble. In the parameters for the included child document, 
set the "Include Type" to "Program Listing", and in "Listing 
parameters", set:

breaklines=true
inputencoding={utf8/latin1}

Or possibly utf8/latin9, if you use euro symbols in your program.

With this approach, it is not necessary to change the document encoding 
away from default.


Document:
http://www.aitel.hist.no/~helgehaf/sw/lyxdemo/listing.lyx
Included program code:
http://www.aitel.hist.no/~helgehaf/sw/lyxdemo/listing.c

Helge Hafting


Re: LyX / Beamer bugs?

2012-03-14 Thread Liviu Andronic
On Wed, Mar 14, 2012 at 10:27 AM, Torquil Macdonald Sørensen
 wrote:
> Hi!
>
> I think I have managed to write myself into a corner that I'm unable to get
> out of, using LyX 2.0.3 and the Beamer document class.
>
> I have attached my LyX file, but I will explain the two issues first:
>
> 1) I don't understand how to insert an "EndFrame" at the bottom of the
> document, after the "Block". If I put the cursor at the last possible
> position and press Enter, The "Block" environment only expands downwards,
> and I'm not given a new blank line. Downward arrow doesn't work either. If I
> could get a new blank line at the bottom of the document, I could insert an
> EndFrame there.
>
Hit Enter, select 'Standard' paragraph style (if you like) from the
combo-box, then select 'EndFrame'. It is also a paragraph style and
should replace the 'Block' one.

If you have trouble with building a Beamer presentation from scratch,
I would suggest starting with the beamer*.lyx template (File > New
from Template) and trimming it down till it fits your needs. At each
step make sure that the document compiles.

Liviu


> 2) There seems to be something wrong with the layout... The
> "ColumnsCenterAligned" and each "Column" are located too far to the left,
> even outside the area of the LyX window... This must be a bug, no?
>
> Any pointers on what I can do to fix these tvo issues? I have attached the
> problematic LyX file for any kind soul that are willing te analyse my
> problem.
>
> Thanks!
> Torquil Sørensen



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 11:09, Liviu Andronic wrote:

On Wed, Mar 14, 2012 at 10:27 AM, Torquil Macdonald Sørensen
  wrote:

Hi!

I think I have managed to write myself into a corner that I'm unable to get
out of, using LyX 2.0.3 and the Beamer document class.

I have attached my LyX file, but I will explain the two issues first:

1) I don't understand how to insert an "EndFrame" at the bottom of the
document, after the "Block". If I put the cursor at the last possible
position and press Enter, The "Block" environment only expands downwards,
and I'm not given a new blank line. Downward arrow doesn't work either. If I
could get a new blank line at the bottom of the document, I could insert an
EndFrame there.


Hit Enter, select 'Standard' paragraph style (if you like) from the
combo-box, then select 'EndFrame'. It is also a paragraph style and
should replace the 'Block' one.


That's the thing, I did just that because that is what I normally do, but it 
didn't work in this situation. The vertical line corresponding to the Block 
environment expanded downwards, and when I inserted the EndFrame, it appeared 
inside the Block environment...


Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 11:09, Liviu Andronic wrote:

If you have trouble with building a Beamer presentation from scratch,
I would suggest starting with the beamer*.lyx template (File>  New
from Template) and trimming it down till it fits your needs. At each
step make sure that the document compiles.

Liviu


Thanks, but those don't seem to have any example of two columns inside a Block.

Btw, it seems that there is a problem in the german file:

de_beamer-conference-ornate-20min.lyx

Above the heading "Unterabschnitt 2.2: Ideen für Beweise/Umsetzung", there seems 
to bo a layout problem similar to mine, where some red text disappears off the 
left hand side of the LyX window, where "ColumnsTopAligned" is started.


(and also the same problem in the French template file.

Best regards
Torquil Sørensen


Re: kerning and accented characters

2012-03-14 Thread Helge Hafting

On 06. mars 2012 16:12, Csikos Bela wrote:

Hello:

Certain character pairs look very ugly in lyx/latex output.
For example if V is followed by Hungarian accented a or e (ie. á or é) it looks 
very ugly.
See the attached lyx and pdf files.


LyX follows the kerning in the font file. So the best advice is to get a 
font that has proper kerning.


Unfortunately, many (cheap) fonts are kerned for A-Za-z,
accented letters are provided but not kerned.

So either buy a professional font, or get some software tools
and modify your free/cheap fonts.

One could, for example, take all the kernings involving "a"
and apply them to "á" too. It might work, but for some fonts,
"Tá" might have the T crash into the accent if it is kerned like "Ta".

Helge Hafting, wishing there were a "fj" ligature similar to "fi"


multiline equations & "cases"

2012-03-14 Thread Bieniasz


Hi,

I am trying to produce a multiline equation (with a number)
by using the option "cases". I want to have two lines of some expressions,
with a single brace at the right-hand side, followed by the equation number.
Is there any way to do this? The option "cases" offers a brace at the left-
hand side, and I don't see any way to transpose the brace so that it occurs on 
the right. Any suggestions?

Leslaw



Re: LyX / Beamer bugs?

2012-03-14 Thread Liviu Andronic
On Wed, Mar 14, 2012 at 11:25 AM, Torquil Macdonald Sørensen
 wrote:
> That's the thing, I did just that because that is what I normally do, but it
> didn't work in this situation. The vertical line corresponding to the Block
> environment expanded downwards, and when I inserted the EndFrame, it
> appeared inside the Block environment...
>
I guess it's an issue with paragraph depth. Try 'shift + tab'. Does
the attached do what you want?

Liviu


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


lyx_beamer_1.lyx
Description: application/lyx


Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 12:30, Liviu Andronic wrote:

On Wed, Mar 14, 2012 at 11:25 AM, Torquil Macdonald Sørensen
  wrote:

That's the thing, I did just that because that is what I normally do, but it
didn't work in this situation. The vertical line corresponding to the Block
environment expanded downwards, and when I inserted the EndFrame, it
appeared inside the Block environment...


I guess it's an issue with paragraph depth. Try 'shift + tab'. Does
the attached do what you want?


Hi!

Unfortunately, that LyX doc doesn't compile here. I get an error message popup 
when trying to "View (pdflatex)". I really appreciate your helpful effort, though.


I have decided that there are several problems with the lyx+beamer combination 
that I cannot live with or don't have time te deal with right now, so I've 
changed to lyx+foiltex, which seems to work very well. Actually, I think I have 
all I need with foiltex and a few other small packages, so I might stick with 
that in the long run.


Best regards
Torquil Sørensen


Re: Please confirm your message

2012-03-14 Thread Hwan C. Lin
Hello,

I have a problem with Lyx 2.0.3 on mac os 10.6.8.

I inserted the graph of a pdf file into Lyx. But the graph cannot display
its full size within Lyx, although the full size will come after compiling.

In contrast, If I insert a .png graph into Lyx, it can display its full
size within Lyx.

Can you please tell me whether there is a fix? Or this is a bug that has
been fixed yet.

Thank you very much.
Hwan


Re: LyX / Beamer bugs?

2012-03-14 Thread Liviu Andronic
On Wed, Mar 14, 2012 at 3:14 PM, Torquil Macdonald Sørensen
 wrote:
> Unfortunately, that LyX doc doesn't compile here. I get an error message
> popup when trying to "View (pdflatex)". I really appreciate your helpful
> effort, though.
>
IT doesn't compile here either, but it does have the 'EndFrame' at the end.


> I have decided that there are several problems with the lyx+beamer
> combination that I cannot live
>
As I suggested earlier, you should try to build from an existing
_compilable_ example (such as the templates shipped by LyX) and
remove/add elements as you see fit, making sure throughout these
modifications that the document compiles. In my experience LyX works
very nicely with Beamer.

Regards
Liviu


> with or don't have time te deal with right
> now, so I've changed to lyx+foiltex, which seems to work very well.
> Actually, I think I have all I need with foiltex and a few other small
> packages, so I might stick with that in the long run.
>
> Best regards
> Torquil Sørensen



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: multiline equations & "cases"

2012-03-14 Thread David L. Johnson

On 03/14/2012 07:27 AM, Bieniasz wrote:


Hi,

I am trying to produce a multiline equation (with a number)
by using the option "cases". I want to have two lines of some expressions,
with a single brace at the right-hand side, followed by the equation number.
Is there any way to do this? The option "cases" offers a brace at the left-
hand side, and I don't see any way to transpose the brace so that it occurs on
the right. Any suggestions?

Leslaw
Use the large brackets, blank on the left, } on the right, and put a 
matrix inside it of size nx2, where n is the number of cases you want.


--

David L. Johnson

It doesn't get any easier, you just go faster.
--Greg LeMond



Re: LyX / Beamer bugs?

2012-03-14 Thread Torquil Macdonald Sørensen

On 14/03/12 15:22, Liviu Andronic wrote:

I have decided that there are several problems with the lyx+beamer
combination that I cannot live


As I suggested earlier, you should try to build from an existing
_compilable_ example (such as the templates shipped by LyX) and
remove/add elements as you see fit, making sure throughout these
modifications that the document compiles. In my experience LyX works
very nicely with Beamer.


I have started from a compilable example, and then compiled after each 
nontrivial edit. Nevertheless, I find Foiltex a bit easier to use, and it seems 
to do the job for me right now. I like a bit of minimalism :-) And again, thank 
you for taking the time to help!


Btw, another issue I had with lyx+beamer was with copying and pasting of a whole 
"Columns" environment containing two columns. But I will I try to get back with 
proper bug reports when time allows it.


Best regards
Torquil Sørensen


Re: is lyx really appropriate for my book.

2012-03-14 Thread Steve Litt
On Wed, 14 Mar 2012 10:00:09 +0100
Helge Hafting  wrote:

> On 14. feb. 2012 13:04, Eric Weir wrote:
> >
> > On Feb 14, 2012, at 2:01 AM, Jürgen Spitzmüller wrote:
> [...]
> >> with TeX), or MS Word documents for journals and proceedings. I
> >> have experienced that some of these journals and proceedings were
> >> in fact produced with TeX in the end, but even then they have not
> >> accepted TeX file as input from me, simply because the editors and
> >> reviewers don't know how to deal with that format.
> >
> > How do you deal with this?
> 
> I sent my editor/proofreader a PDF. She printed it and mailed back
> the printed pages, with every change indicated in pen.
> 
> Basically, the oldfashioned way that works with everything: hand- and 
> typewritten manuscripts, as well as stuff written in mysterious
> unknown software. :-)
> 
> Editors have a whole system of notation for this sort of work. Quick
> for them to write, and it is easy to understand without training.
> Slashes over stuff to remove, arrows for moving, alternative
> words/spelling in the margin . . .
> 
> Not having the editor edit my text directly was an advantage. Editors 
> make mistakes too, especially when they don't know all the jargon.
> This way, I did not have to watch for such errors. I simply avoided
> them when implementing the changes, and told them why on the next
> iteration.
> 
> Helge Hafting

Hi Helge,

There are two downsides to marking up paper in red ink:

1) The paper can get lost
2) No room for queries and responses
2) There is no historical record of queries, responses, and changes

#1 can be easily fixed by scanning, so it's no problem. #2 can be fixed
by referencing numbered queries, but it's a lot more work for the
editor and, depending on how much context the editor puts in, a little
or a lot more work for the writer. #3 could conceivably be fixed by
numbering the papers with red ink, but it's a poor solution.

The benefits you state for red ink on paper are certainly true, so it's
a tradeoff of benefits one must evaluate before deciding whether to go
red pen on paper.

SteveT


Re: Problem compiling a memoir class document

2012-03-14 Thread Eric Weir

On Mar 13, 2012, at 2:30 PM, Julien Rioux wrote:

> On 16/02/2012 10:46 AM, Eric Weir wrote:
>> 
>> At Stefano's suggestion I'm giving the memoir class a look--or trying to. 
>> Without any formatting my document compiles to pdflatex fine. When I apply 
>> the title environment to my title and attempt to compile t get the following 
>> error message three times:
>> 
>> Undefined control sequence.
>> 
>> and a Case}
>> 
>> The control sequence at the end of the top line
>> of your error message was never \def'ed. If you have
>> misspelled it (e.g., `\hobx'), type `I' and the correct
>> spelling (e.g., `I\hbox'). Otherwise just continue,
>> and I'll forget about whatever was undefined.
> 
> Which version of LyX are you using? I think there was recent changes to this 
> document class.

Thanks, Julien. I have 2.0.3. However, I no longer have this problem. Don't 
remember how it got fixed. Can check if you like.

Regards, 
--
Eric Weir
eew...@bellsouth.net

"Every moment is unique and discrete."

Eknath Eswaran



Labels

2012-03-14 Thread Merhebi, Bob
Hello,

Just a simple question: Is there a way to keep figures, sections &
subsctions"labels" separate?

I am asking this since it is quite annoying to search for a label in the
cross reference window!!!

thanks
-- 
Sincerely Yours,
-Merhebi, Bob

Thunderbird Signature



signature.asc
Description: OpenPGP digital signature


Track changes - 'final' vs 'mark-up' view

2012-03-14 Thread Maggie Donovan
Hello Lyx users

 

I'm very new to LyX (or any TeX-based system). Have recently installed it in
order to edit a journal paper written in LyX.

 

I have Windows 7 with MikTeX 2.9 and LyX 2.0.3.

 

I've read the user guide, experimented and generally hunted around, but am
still not sure of the following:

 

*When working with track changes, is it possible to work with the document
looking as if the changes have been made (= MS Word 'Final' view) and with
any notes (comments) hidden?*

 

So far the only mode I've found is to see all changes and notes while I'm
working (= MS Word 'Final: Show Markup'), which can be intrusive and also
less clear around issues of spacing.

 

I've read in the user guide about needing the LaTeX package dvipost to do
this (if I understood correctly) but I can't see it in the TeX catalogue,
nor find convincingly up-to-date information about it on the net.

 

Very many thanks, in hope.

 

Maggie

 

 

Maggie Donovan

Member of the Society for Editors and Proofreaders (SfEP)

Headingley Editorial

www.head-edit.co.uk  

  

 



Re: Labels

2012-03-14 Thread Richard Heck

On 03/14/2012 05:02 PM, Merhebi, Bob wrote:

Hello,

Just a simple question: Is there a way to keep figures, sections&
subsctions"labels" separate?


By default, LyX uses different prefixes for these: fig, sec, sub.


I am asking this since it is quite annoying to search for a label in the
cross reference window!!!


Try sorting them.

Richard



Cannot get vertical alignment to work

2012-03-14 Thread John O'Gorman
Hi

I'm trying to put a jpeg image on the left with a paragraph of text to
its right.

I've tried putting these items into a table.
I've tried putting them into 2 lyx boxes (aka minipages) with an hfill
between them.

In both instances the left element (the graphics is top aligned) and
right one is bottom aligned.
They look OK  (both top aligned) within LyX but not when I view or print
the DVI or PDF.
Can anyone help?

My systems:
1. Opensuse 11.3  with LyX 1.6.5
2. OSX v 10.6.8 with  LyX 1.6.4.2

Both show exactly the same symptoms.