Re: Literal monofont underscores?

2008-03-19 Thread Daniel Lohmann


On 19.03.2008, at 03:01, Paul A. Rubin wrote:


Doh!

And here's why it worked for me and not you:  I typed in the  
underscores, and LyX cleverly escaped them as \_\_ (ad nauseum).   
I'm guessing you pasted them in or imported them as text, and got  
just underscores, no escapes.




Hm...

LyX really should behave identically in both cases. It should not  
produce a different output from *typing weather *inserting* some text.


According to my experience  LyX 1.5 versions (it may as well be just a  
Mac problem...) generally suffer from strange effects that something  
that looks identically in the LyX editor in fact produces different  
LaTeX code, which is surprising at best for the user. I am still  
suffering twice a day from the funny invisible chars problem without  
really understanding how these chars make it into my document:


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62392.html

Maybe it is time to open a bugzilla entry for this?


Daniel


Experiences with biblatex?

2008-03-19 Thread Daniel Lohmann

Hi,

After finding myself spending more and more time with tweaking and  
customizing bibliography handling I am considering switching to  
biblatex.


According to the wiki (http://wiki.lyx.org/BibTeX/Biblatex) and a  
thread from last December (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60714.html 
) this seems to be not overly difficult -- it can't be more  
complicated than my current bibtex, multibib, and child-/master mode  
tweaks. Before really digging into all this, I am, however, curious  
about other users' experience with biblatex:


1) Do you have to change your .bib-files? I remember that this was an  
issue when I first read about biblatex, but did not find a comment or  
hint into this direction in the documentation of the current version.


2) Does it work well with hyperref (including backref support and so  
on)? The documentation states so -- but with respect to hyperref many  
oddities arise in practice. (I had, for instance, all my requirements  
fulfilled with  bibunits and some tweaks when I finally figured out  
that with bibunits reference no longer become hyperlinks - a show  
stopper.)


3) Do I really have to use the natbib options? I know, everybody  
recommends natbib, but I prefer the simple alpha style.


4) Why is it the case that the path to the bib-files has to be either  
absolute or the bib-file has to be in texmf? I really would like to  
avoid both.


5) Even though I never heard any complaints about the 0.7 version of  
biblatex, it is still considered as beta. Did you experience any  
problems while using it?


Thanks a lot!

Daniel


WRB - Problems with LaTeX

2008-03-19 Thread William R. Buckley
Testing the patience of this group, I have a short term problem.

Well, truth is I probably have several such short term problems,
and I would appreciate help with each.

However, this problem is not with LyX directly, and though the
various experts on this group will likely find motivation to answer
the better questions, I am hoping that some of you will help me
through an off-topic newbie problem.

I need an italic *s* character which has a prime symbol above
it.

I have tried variations of

\emph\skew9\acute sand  \it\skew9\acute s

and in no case have I found execution without error upon pdflatex
or the proper result.  At best, there are errors reported, and the
output text is converted to italic after production of the desired
 italic s'  symbol.

Has anyone any idea as to the solution of this problem?

William R. Buckley



Re: Bachelor Thesis template from thesis-template.com

2008-03-19 Thread G. Milde
On 18.03.08, diefettenjahre wrote:
 Hi Maksi, thanks for your reply.

  you might as well make your own template, based of 
  preferrable KOMA-Book or Memoir (rather than the standard classes). 

 Well, this is why I've chosen Lyx and this template. Basically I hoped
 that I don't have to learn all these LaTeX commands. But I'll try my
 best and have a brief look at the KOMA Script documentation.

It is really well written and informative.

 If anyone else give me some hint, at least about the headlines since
 this seams to be some bug -- of course in front of the pc :-)

I assume this it not a bug but a setting as well.

Back to the original questions: a non-breaking hyphen can be input as ERT
(evil red text, i.e. raw LaTeX): Press Strg-L and insert ~ in the
appearing box. (This and a lot more about basic typograhic rules and
their implementation with LaTeX can be found in a PDF document: 

   Einige typographische Grundregeln 
  und ihre Umsetzung in LATEX
Werner Struckmann
3. September 2007

which I found on the net (don't remember where).

Günter


Re: Experiences with biblatex?

2008-03-19 Thread Dominik Waßenhoven

Daniel Lohmann schrieb am 19.03.2008:

After finding myself spending more and more time with tweaking and  
customizing bibliography handling I am considering switching to  
biblatex.



[...]



1) Do you have to change your .bib-files?


Yes, slightly. biblatex introduces some new field types (like maintitle, 
subtitle, titleaddon etc.). In order to get your bibliography properly 
formatted, some changes to the bib file will be necessary. I used 
jurabib previously, and it took me about 2-3 hours with a 1000 entries 
bib file.


2) Does it work well with hyperref (including backref support and so  
on)? 


Yes, I have no problems so far.


3) Do I really have to use the natbib options?


No, I don't use natbib at all. biblatex is absolutely independent from 
natbib, there is only a natbib-compatibility-mode in order to use 
natbib's commands (\citep, \citet etc.), not the ones biblatex provides 
(\parencite, \textcite etc.).


4) Why is it the case that the path to the bib-files has to be either  
absolute or the bib-file has to be in texmf? I really would like to  
avoid both.


I have all my bib files in my local texmf tree. But it should work if 
the bib file is in the same directory as the master tex file (though I'm 
not sure if LyX can handle this).


5) Even though I never heard any complaints about the 0.7 version of  
biblatex, it is still considered as beta. Did you experience any  
problems while using it?


I am using it a lot, and for a long time, and I had no serious problems 
since version 0.6.


Regards,
Dominik.-

--
biblatex styles: http://biblatex.dominik-wassenhoven.de/index-en.shtml



Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: getting page

2008-03-19 Thread G. Milde
On 19.03.08, Pol wrote:
 I would like to get straightforwardly pages where to apply corrections that
 i have made to the printed on paper version of my document. 
 Is there a way to display pagination?

No. LyX does not know about the pagination as this is done by the LaTeX
backend.

However, there is (as far as I know) the possibility to jump to a given
place in the LyX window from the xdvi or kdvi previewers (don't know about
the settings, though).

I usually use the Search feature (searching for prominent words near the
correction) or the Navigation menu (as I do have many sub- and
subsubsections, this brings me pretty close).

GM


Re: Experiences with biblatex?

2008-03-19 Thread Daniel Lohmann


On 19.03.2008, at 10:26, Dominik Waßenhoven wrote:


Daniel Lohmann schrieb am 19.03.2008:

After finding myself spending more and more time with tweaking and   
customizing bibliography handling I am considering switching to   
biblatex.



[...]



1) Do you have to change your .bib-files?


Yes, slightly. biblatex introduces some new field types (like  
maintitle, subtitle, titleaddon etc.). In order to get your  
bibliography properly formatted, some changes to the bib file will  
be necessary. I used jurabib previously, and it took me about 2-3  
hours with a 1000 entries bib file.


I see. Are these new fields backward compatible in the sense that  
they do not interfere with old-fashioned bibtex and both work smoothly  
on the same database?


(Our group uses a global svn-managed bibtex database which is included  
as svn:externals into every paper or thesis project. I doubt that I  
would get through with a big bang transition to biblatex.)



Thanks Dominik!


Daniel

Re: pdf file size

2008-03-19 Thread José Matos
On Tuesday 18 March 2008 21:03:11 Miki Dovrat wrote:
 Hi,

 Can I give lyx (or imagemagick convert through lyx) or some other latex
 package an option to resample all graphics in a certain resolution to
 reduce the pdf file size?  convert has a -resample option.

 I would love to do it on the fly without actually producing lower
 resolution images on disk, and pointing to them. Can I run a python
 script in the lyx tmp directory by lyx, or any such solution?

 I know adobe acrobat does this on the output pdf for $300. Doing convert
 on the pdf ruins the text as well.

 Thanks

 Miki

Please add this to lyx bugzilla so that it does not get forgoten. I don't 
remember to see this request before. All the times I had this problem before 
I have fixed it by hand.

-- 
José Abílio


Re: Experiences with biblatex?

2008-03-19 Thread Dominik Waßenhoven

Daniel Lohmann schrieb am 19.03.2008:

Are these new fields backward compatible in the sense that  
they do not interfere with old-fashioned bibtex and both work smoothly  
on the same database?


I think so. biblatex treats some fields in another way, e.g. 'edition', 
which should contain only numerals, or 'address', which can cope with 
lists like London and New York and ... in order to abbreviate the list 
if necessary. Most of these fields should also work if the expected data 
type is different, e.g. 'address = {London, New York}' works also (only 
the abbreviation does not work, then). For details, please look into the 
biblatex documentation, there is also a list of all fields and how they 
are treated in biblatex.


Regards,
Dominik.-




RE: Authors in preamble using \twoauthors

2008-03-19 Thread Phillip Ferguson
Paul,

Yes I understand where you are coming from. I can see the conference people
being up in arms about an additional author. I have emailed them anyway so
I'll just wait for the reply.

Just for my own knowledge how would I go about creating a \threeauthors?
Can I just copy the \twoauthors and modify the table columns and add it to
the spconf.sty?

Thanks again!

PDF

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Paul A. Rubin
Sent: 19 March 2008 02:08
To: lyx-users@lists.lyx.org
Subject: Re: Authors in preamble using \twoauthors

Phillip Ferguson wrote:
 Hey all,



 Yet again I am having some issues with the spconf.sty.



 This time it's the authors.

 In spconf.sty the comments for \twoauthors are:



 - use \twoauthors{author1}{address1}{author2}{address2}

 % for two (or more) authors with two separate addresses

 %- note: no need for \author nor \date

 %- optional: can use \thanks{xx} within \name or \twoauthors,

 % asterisk is not printed after name nor in footnote

 %- optional: can use \sthanks{xx} after each name within \name or

 % \twoauthors if different thanks for each author,

 % footnote symbol will appear for each name and footnote





  And it defines \twoauthors:



 [EMAIL PROTECTED]

[EMAIL PROTECTED]@[EMAIL PROTECTED]

 {\em #1} \\ \\

 #2\relax

\end{tabular}\hskip [EMAIL PROTECTED]@{}}

 {\em #3} \\ \\

 #4\relax

 \end{tabular}}}



 I have no idea of latex but I guess that this must set the layout and
 parameters for only 2 author areas where only one address is allowed. My
 problem is that I need 3 authors with three distinct addresses.

 Can I modify this piece of code to spread 3 authors evenly across the
page?
 I suspect I may have to reduce the text size to accommodate all 3.



 Does anyone know how to set this up correctly, or by doing this am I
 violating the template?




Have you considered summarily dropping one of your co-authors?  :-)

The \twoauthors macro uses a pair of side-by-side tables to space out
the authors and institutions, so hypothetically you could cobble
together a \threeauthors macro along similar lines but with three
tables.  You likely would have to reduce the font size, which might
easily offend the conference people.  Before doing that, I would suggest
contacting them and asking how they would recommend you handle it.

/Paul




images with pdflatex

2008-03-19 Thread Phillip Ferguson
Hey all,

 

I just noticed something that I wondered might be a bug.

When I have a eps image that is scaled and clipped in lyx, and the document
is using the article class, pdflatex does not format the image correctly.

It is as if the article class is conflicting with the clipping. The image is
not off a side of the page but underlapping text in the page.

To resolve it have resorted to export the lyx file via dvipdfm which creates
a pdf exactly like the dvi.

 

Is this a know bug?

 

Thanks

 

PDF



Is there a text-macros equivalent of math-macros?

2008-03-19 Thread Dominik Böhm
Hello,

I was wondering if one can also use macros for some text things. For
example, I would like to use macros for abbreviations. In German the
abbreviation of zum Beispiel is z.B. with a small space between
z. and B.. I realized it by putting
\newcommand{\realAbkzB}{z.\,B.} into the preamble and adding a
math-macro \abkzB that calles the \realAbkzB-command. In the .lyx-file
it looks like this:

\begin_inset FormulaMacro
\newcommand{\abkzB}{\mbox{\realAbkzB }}
{\mbox{z.\, B.}}
\end_inset

When I want to include z.B. in my document, I have to press Ctrl+m
and enter \abkzB. That works, but I have got to switch to math-mode
and in the macro I use an mbox to get back to normal text.

Is there any more convenient solution for such problems in LyX or is
the macro-feature a math-only thing?

Dominik


Re: WRB - Problems with LaTeX

2008-03-19 Thread Stephen Buonopane


I need an italic *s* character which has a prime symbol above
it.

I have tried variations of

\emph\skew9\acute sand  \it\skew9\acute s



how about
\acute{s}
in math mode?


Re: WRB - Problems with LaTeX

2008-03-19 Thread Dominik Böhm
On Wed, Mar 19, 2008 at 1:27 PM, Stephen Buonopane
[EMAIL PROTECTED] wrote:
 
   I need an italic *s* character which has a prime symbol above
   it.
  
   I have tried variations of
  
   \emph\skew9\acute sand  \it\skew9\acute s
  

  how about
  \acute{s}
  in math mode?

Or maybe Insert-Special Character-Symbols, there Latin Extended-A,
fourth row, ŝ/ś.


Re: Is there a text-macros equivalent of math-macros?

2008-03-19 Thread G. Milde
On 19.03.08, Dominik Böhm wrote:

 Is there any more convenient solution for such problems in LyX or is
 the macro-feature a math-only thing?

Currently, there is unfortunately no text-macro available. 

However, if I understand it right lyx 1.6 will come with support in form
of user-configurable text-styles that can be embedded in the document.

I am not quite sure whether you can already define a text style
in a layout file with 1.5.


OTOH, you can get the \zB a bit simpler:

M-x math-macro abkzB

and in the math Box:

   Strg-m (text in math)
   z.
   Strg-Shift-Space  (small space)
   B.
   

 When I want to include z.B. in my document, I have to press Ctrl+m
 and enter \abkzB. 

You can even define a keybinding for this.

Günter


Re: Is there a text-macros equivalent of math-macros?

2008-03-19 Thread Dominik Böhm
On Wed, Mar 19, 2008 at 1:42 PM, G. Milde [EMAIL PROTECTED] wrote:
 On 19.03.08, Dominik Böhm wrote:

   Is there any more convenient solution for such problems in LyX or is
   the macro-feature a math-only thing?

  Currently, there is unfortunately no text-macro available.

Okay, I already thought so.

  OTOH, you can get the \zB a bit simpler:

  M-x math-macro abkzB

  and in the math Box:

Strg-m (text in math)
z.
Strg-Shift-Space  (small space)
B.

Nope, that doesn't work, as LyX generates $\mbox{z.\, B.}$ (note the
space after \,). That makes the space not a half but a one and a half
space. I think, putting it into a separate command into the preamble
is the only way.

   When I want to include z.B. in my document, I have to press Ctrl+m
   and enter \abkzB.

  You can even define a keybinding for this.

That's right, but it's still not the way I would do it using plain LaTeX.

Dominik


Re: Is there a text-macros equivalent of math-macros?

2008-03-19 Thread Uwe Stöhr

Dominik Böhm schrieb:


I was wondering if one can also use macros for some text things.


This will be possible in the next major lyX release lyX 1.6.0.

For now you have to define new commands using the ERT or the document preamble. The math manaul 
explains how to do this (this method is relevant for all document parts, also text stuff).


regards Uwe


Re: Problem with eps in Lyx 1.5/Ubuntu Gutsy

2008-03-19 Thread hansi



Ignacio García-6 wrote:
 
 hansi wrote
 I started to write a paper in Lyx 1.4.x. I used eps-graphics mostly. I
 used
 the pdflatex-converter and it worked fine. Eps-files were scaled as I
 wanted.
 
 Now I upgraded my Ubuntu from Feisty to Gutsy and also the Lyx version
 to
 1.5.1. When I use the pdflatex-converter now, the output (pdf) looks not
 as
 before. They are not scaled as before. This happens also with files,
 that I
 wrote in this version. I installed the older version, what doesn't help,
 either. I think it has to do with one of the newer packages.
 
 Do you know advise?
 
 Is this your problem:?
 On 27/12 D. Clement wrote:
  I do see the eps images in pdf, but shrinked to
 a tiny size in the lower right corner of their normal place.
   (see 
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60856.html)
 
 I have a similar problem since lyx1.5.x on Gutsy.
 I have not found solution  for direct conversion eps to pdf with pdflatex.
 
 I must convert the eps figures to pdf figures with 'epstopdf' outside Lyx
 and to insert the figures in the document as PDF images. So pdflatex
 gives correct scaled images in the output.
 
 regards
 Ignacio
 
 

Yes, it sounds like the same problem!

What I do at the moment is, that make a ps-file and convert it with pstoedit
into pdf. Works but takes more time and also more memory-space for the ps.

I don't know, why it doesn't work in Lyx 1.5.x but did work in 1.4.x ...?

I tried texlive-extra-utils, what doesn't help.

Let me know, if you find a solution!

Regards, Hannes
-- 
View this message in context: 
http://www.nabble.com/Problem-with-eps-in-Lyx-1.5-Ubuntu-Gutsy-tp16118076p16143648.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Problem with eps in Lyx 1.5/Ubuntu Gutsy

2008-03-19 Thread hansi

Yes, it sounds like the same problem!

What I do at the moment is, that make a ps-file and convert it with pstoedit
into pdf. Works but takes more time and also more memory-space for the ps.

I don't know, why it doesn't work in Lyx 1.5.x but did work in 1.4.x ...?

I tried texlive-extra-utils, what doesn't help.

Let me know, if you find a solution!

Regards, Hannes
-- 
View this message in context: 
http://www.nabble.com/Problem-with-eps-in-Lyx-1.5-Ubuntu-Gutsy-tp16118076p16143650.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Problem with eps in Lyx 1.5/Ubuntu Gutsy

2008-03-19 Thread hansi

Yes, it sounds like the same problem!

What I do at the moment is, that I make a ps-file and convert it with
pstoedit into pdf. Works but takes more time and also more memory-space for
the ps.

I don't know, why it doesn't work in Lyx 1.5.x but did work in 1.4.x ...?

I tried texlive-extra-utils, what doesn't help.

Let me know, if you find a solution!

Regards, Hannes
-- 
View this message in context: 
http://www.nabble.com/Problem-with-eps-in-Lyx-1.5-Ubuntu-Gutsy-tp16118076p16143667.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Extra vertical space between some paragarphs

2008-03-19 Thread Peter Sutovsky
I am using Lyx 1.5.4. There is extra vertical space between several
paragraphs in pdf output. Only, separate paragraphs with indentation is set
on and no vertical space is set in the global document setting. Local
setting of the paragraphs is the same and still some paragraph have extra
line before and after paragraph. Any idea how to fix this annoying behaviour
is welcome. Thanks.

Peter


Float caption indentation

2008-03-19 Thread Zoltan Sarosi

Hi!

Does anybody know, how can I make indentations in my float caption texts?
My problem is, that I have a 2 lines long caption text under an image, 
and the second line of the caption begins under the keyword Table 1: 
or Figure 1. I would like to have the 2nd line of the caption to begin 
under the text in the first line of my caption.

For example:

Figure 1: Now my text looks like this,
here begins the 2nd line of the caption.

Figure 2: And I would like to have something like
  this, where there is an indent in the 2nd line.


Regards,
Zoltan


Re: Is there a text-macros equivalent of math-macros?

2008-03-19 Thread Richard Heck

Dominik Böhm wrote:

On Wed, Mar 19, 2008 at 1:42 PM, G. Milde [EMAIL PROTECTED] wrote:
  

On 19.03.08, Dominik Böhm wrote:

  Is there any more convenient solution for such problems in LyX or is
  the macro-feature a math-only thing?

 Currently, there is unfortunately no text-macro available.



Okay, I already thought so.

  

There are enhancement requests about this. It'd be great to have it.

  When I want to include z.B. in my document, I have to press Ctrl+m
  and enter \abkzB.

 You can even define a keybinding for this.



That's right, but it's still not the way I would do it using plain LaTeX.

  
Of course, you can always use ERT for this, and you can bind the whole 
business to a key.


rh



Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:
How do I set up Lyx to use a network printer? At the moment I can 
print by

viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?



I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
 Beyond that, it's not entirely obvious (at least to a newbie) just 
what File-Print is going to print, since DVI, PS and PDF outputs of the 
same doc tend to differ a bit.


/Paul



Re: Float caption indentation

2008-03-19 Thread Paul A. Rubin

Zoltan Sarosi wrote:

Hi!

Does anybody know, how can I make indentations in my float caption texts?
My problem is, that I have a 2 lines long caption text under an image, 
and the second line of the caption begins under the keyword Table 1: 
or Figure 1. I would like to have the 2nd line of the caption to begin 
under the text in the first line of my caption.

For example:

Figure 1: Now my text looks like this,
here begins the 2nd line of the caption.

Figure 2: And I would like to have something like
  this, where there is an indent in the 2nd line.




In the preamble: \usepackage[hang]{caption}

/Paul



Re: Authors in preamble using \twoauthors

2008-03-19 Thread Paul A. Rubin

Phillip Ferguson wrote:


Just for my own knowledge how would I go about creating a \threeauthors?
Can I just copy the \twoauthors and modify the table columns and add it to
the spconf.sty?



Example attached.

/Paul


pf.lyx
Description: application/lyx


cases help

2008-03-19 Thread Carlos Sosa Paz
Dear all I this is part of the latex code that i am using in Lyx,

 \mathrm{pro}\mathrm{j}_{H_{v,t}}\left(\widetilde{F}_{e\in 
E^{+}\left(v\right),m\in M,t}\left(\mathbf{p}\right)_{v\in V,t\in 
T}\right):=\begin{cases}
 \widetilde{F}_{e\in E^{+}\left(v\right),m\in M,t}\left(\mathbf{p}\right)  if 
 \sum_{e\in E^{^{+}}(v)}\sum_{m\in 
M}p_{e,m,t}\leq\frac{P_{\bar{v}}^{Max}}{\left|E^{^{+}}(\bar{v})\right|\times\left|M\right|}\\
 c  if   \sum_{e\in E^{^{+}}(v)}\sum_{m\in 
M}p_{e,m,t}\frac{P_{\bar{v}}^{Max}}{\left|E^{^{+}}(\bar{v})\right|\times\left|M\right|}\end{cases}

 when I try to generate the pdf file i have the followind text

 c   
   \sum_{e\in E^{^{+}}(v)}\sum_{m\in M}p_{e,m,t}\frac{P_{\bar{v}...
 You have given more \span or  marks than there were
 in the preamble to the \halign or \valign now in progress.
 So I'll assume that you meant to type \cr instead.

 
 I can generate the pdf file with 2 columns but I have a problem trying to add 
the third 3 column.

 I am including ntheorem class  I dont know if this is the problem.

 Thanks for you help.

 Carlos Sosa Paz


Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Wed, 19 Mar 2008, Paul A. Rubin wrote:

   How do I set up Lyx to use a network printer? At the moment I can 
   print by viewing as pdf in kpdf which sees my printer. I would 
   like to be able to print direct from Lyx though, as I sometimes 
   want to print old files and not have to preview them first.
 
  Printing from one of the viewers is pretty much the recommended 
  method.


 Should we then have a 'print' entry in the File-menu?


I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
Beyond that, it's not entirely obvious (at least to a newbie) just what 
File-Print is going to print, since DVI, PS and PDF outputs of the same 
doc tend to differ a bit.


Does it seem strange to have a document processor that cannot print?

I'd be ok with using the viewer, but it's confusing with a File-Print 
that doesn't work.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Bachelor Thesis template from thesis-template.com

2008-03-19 Thread diefettenjahre
Dominik Böhm [EMAIL PROTECTED] writes:

 You can insert it by pressing Ctrl+Alt+-. More of those
 commands can be found in the Insert-Special Character/Formatting
 menu. So, don't ERTs for protected hyphens...

I looked both into the user guide and into the abbreviations list, but couldn't
find this shortcut neither the menu point (for non-breaking hyphen). But that's
good to know, thank you.

But getting back to my worst problem: any ideas about my missing headlines?
Here's a link to the document:
http://www.wreeno.de/lyx2/my_content/thesis_template.zip


thanks a lot, diefettenjahre.







Re: Using a network printer

2008-03-19 Thread Les Denham
On Wednesday 19 March 2008, [EMAIL PROTECTED] wrote:
 On Wed, 19 Mar 2008, Paul A. Rubin wrote:
 How do I set up Lyx to use a network printer? At the moment I can
 print by viewing as pdf in kpdf which sees my printer. I would
 like to be able to print direct from Lyx though, as I sometimes
 want to print old files and not have to preview them first.
  
Printing from one of the viewers is pretty much the recommended
method.
 
   Should we then have a 'print' entry in the File-menu?
 
  I wonder about that myself.  I never use it (I always print from a
  viewer), although that's partly because I don't have a PS-aware printer.
  Beyond that, it's not entirely obvious (at least to a newbie) just what
  File-Print is going to print, since DVI, PS and PDF outputs of the same
  doc tend to differ a bit.

 Does it seem strange to have a document processor that cannot print?

 I'd be ok with using the viewer, but it's confusing with a File-Print
 that doesn't work.

Christian,

The problem with that thought is that on my system it Just Works, without any 
arcane settings.  And mine is not a particularly simple setup: I'm running 
Gentoo Linux, with CUPS printing, on a rather complicated network, and LyX 
just defaults to running a document through dvips and sending it to the 
default printer.

However . . . as many LyX users do, I usually use pdflatex for my default 
preview and most common export.  And some figures which work perfectly with 
pdflatex do not work at all with latex.  When I try to print a document with 
such figures, the printing fails with the message:

Could not print document name.lyx.  
 Check that your printer is set up correctly.

Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Literal monofont underscores?

2008-03-19 Thread Steve Litt
On Tuesday 18 March 2008 22:01, Paul A. Rubin wrote:
 Doh!

 And here's why it worked for me and not you:  I typed in the
 underscores, and LyX cleverly escaped them as \_\_ (ad nauseum).  I'm
 guessing you pasted them in or imported them as text, and got just
 underscores, no escapes.

 /Paul

Yes and no.

Yes, I pasted them in and they went in as only underscores. But no, no matter 
what I did with backslashes I couldn't get them to do the right thing.

You gave me an idea though. I'm going to make a TeX file and a LaTeX file, and 
see if this problem occurs in those places too.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


RE: WRB - Problems with LaTeX

2008-03-19 Thread William R. Buckley
Thanks for the solution!

I elect to use Stephens solution, as I am not using LyX (making
the changes directly to the LaTeX source).  When I learn the
proper use of LyX, I'll try the other suggested solution.

the command I use is

$\skew9\acute{s}\thinspace$

The thinspace is to accommodate the non-italic text which
follows.  Perhaps I should also try the \ / mechanism, too.

wrb 

 -Original Message-
 From: Dominik Böhm [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 19, 2008 5:33 AM
 To: [EMAIL PROTECTED]; LyX User
 Subject: Re: WRB - Problems with LaTeX
 
 On Wed, Mar 19, 2008 at 1:27 PM, Stephen Buonopane 
 [EMAIL PROTECTED] wrote:
  
I need an italic *s* character which has a prime symbol above   
  it.
   
I have tried variations of
   
\emph\skew9\acute sand  \it\skew9\acute s
   
 
   how about
   \acute{s}
   in math mode?
 
 Or maybe Insert-Special Character-Symbols, there Latin 
 Extended-A, fourth row, s/s.
 



noweb book chapter include problem. How about external material strategy?

2008-03-19 Thread Paul Johnson
I've asked before, but have new enthusiasm because I just learned
about the ExternalMaterial handling in lyx-1.5.4.

I succeed using NoWeb strategy in LyX to interact with the statistics
program R.  There has been some posting about that in here lately by
other people doing it too and I see Gregor has updated the Wiki:
http://wiki.lyx.org/LyX/LyxWithRThroughSweave

Now I'm writing a book and want to include some of those Noweb
articles as chapters.  I create the book master document and try to
include the lyx files, but when I view the book in lyx, the included
documents are not put through the Noweb processor.  They just appear
in the output as they are in the lyx file.  They don't get sent
through the Lyx- LaTeX (via noweb) step. I've tried many variations
on this theme.

Now I'm thinking that the LyX  Insert-File-Lyx Document was the
wrong approach from the start.  Instead, I think what I need is
Insert-file-external material where the external material is
customized for this type of document.  But I need help in making it
work.

Here's why I think it might work. I noticed a neat thing LyX does that
I did not know about before.

An Xfig drawing can be included in 2 ways into LyX.

1. Insert- graphics

Choose the fig file, then LyX will process the fig file and it will
show as a graphic.  The processing lyx does to the fig file translates
it to postscript, I think.  It just treats the fig file as a picture.

2. Insert-File-External Material.

This does something different.  It will decipher LaTeX markup in text
in the fig file. (I think it is doing the 2 parts export to EPS
format, if you know what i mean).   If you put LaTeX text in your
file, and you marked it with the special attribute, then LyX will
process that xfig file to convert the LaTeX markup and fit it into
the graphic.  So in the xfig file, you can put in text like $\alpha$
and in the output, you see the Greek alpha.  Note this is different
from the Insert-graphics approach, where the literal string
$\alpha$ appears.

Seeing this external handling made me wonder, why doesn't one of the
smart guys who knows LyX inside and out design a Noweb handler for
External Material.  The converter specified in LyX preferences to go
from he noweb format Sweave to LaTeX is

.R CMD Sweave $$i


So, If I want to include a lyx file, I need some way to tell Lyx it
needs that post processing, and that's  why the external material
thing seems just right.


If one of you would do it for me, it would be great.  More likely, you
will tell me what manual to read about writing external material
handlers in LyX.  That would be good too, but requiring more work :)

PJ

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Literal monofont underscores?

2008-03-19 Thread Steve Litt
On Tuesday 18 March 2008 22:01, Paul A. Rubin wrote:
 Doh!

 And here's why it worked for me and not you:  I typed in the
 underscores, and LyX cleverly escaped them as \_\_ (ad nauseum).  I'm
 guessing you pasted them in or imported them as text, and got just
 underscores, no escapes.

 /Paul

I exported to LaTeX, and it indeed did turn my underscores into \_ commands. 
Within LaTeX, if I deleted the underscores, it wouldn't compile. I guess an 
underscore is some kind of a LaTeX reserved word.

So, your MiKTeX 2.6 on WinXP gives \_ the right monospace width, but my latex 
command on Mandriva Linux 2007 does not.

I'm wondering if there's some other command to get an underscore.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

Les Denham wrote:



Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.




That's the more dramatic version, but even when the document compiles 
successfully, it may look different generated one way versus another. 
For instance, I think that font substitutions can occur with, say, a PDF 
file that would not occur (or would occur differently) with a DVI file, 
and I believe that graphics are handled somewhat differently by one 
approach versus another.  If all you want is the printed output, this 
might be ok, but if you are printing a copy (as PS output, perhaps 
without realizing it) while generating a file (say PDF) for 
distribution, you might get short-hopped by the differences.  I always 
try to print from a viewer looking at the final distribution version.


/Paul



Re: Literal monofont underscores?

2008-03-19 Thread Paul A. Rubin

Steve Litt wrote:



I exported to LaTeX, and it indeed did turn my underscores into \_ commands. 
Within LaTeX, if I deleted the underscores, it wouldn't compile. I guess an 
underscore is some kind of a LaTeX reserved word.


So, your MiKTeX 2.6 on WinXP gives \_ the right monospace width, but my latex 
command on Mandriva Linux 2007 does not.


I'm wondering if there's some other command to get an underscore.


I might be getting lost (well, more lost than usual) here.  First, 
responding to your other message where you said putting the backslashes 
into LyX failed, did you do that in ERT?  If you type a backslash into 
text in LyX, I think it gets escaped (so that it's treated as a literal 
backslash).


Re your Mandriva output, are you saying that \_ in the LaTeX file, 
inside a LyX-code environment, produces proportionally spaced (or 
monospaced with inadequate width) underscores?  If so, what are you 
using for a typewriter font?  It doesn't seem that this should be 
OS-specific.


/Paul



Re: WRB - Problems with LaTeX

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 12:11 PM, William R. Buckley [EMAIL PROTECTED] wrote:
  the command I use is

  $\skew9\acute{s}\thinspace$

This command works just fine in math mode in LyX for me. Displaying an
italic s with a prime symbol. See the attached file.

Cheers,
/Bob


acute-s.lyx
Description: application/lyx


Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
Hello,

I would like to have a program listing's caption beneath the listing.
Therefore I tried to add \lstset{captionpos=b} to the preamble,
tried to put captionpos=b into the text layout area, tried to call
\lstset{captionpos=b} in an ERT before the listing.

The command positions the caption under the listing but breaks the
numbering. Please find attached an exemplary lyx-file and the
resulting pdf file. After the first listing, I executed
\lstset{captionpos=b}, thus the second reference is broken.

Is that a known bug in the listings package (I didn't find anything on
Google) or does LyX do anything wrong? I had a look at the generated
latex (pdflatex)-file (which I attached, too) but it looks ok.

I hope someone knows what to to about this issue.. Thanks a lot
Dominik


test.lyx
Description: application/lyx


test.pdf
Description: Adobe PDF document


test.tex
Description: TeX document


Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote:
 Hello,

  I would like to have a program listing's caption beneath the listing.
  Therefore I tried to add \lstset{captionpos=b} to the preamble,
  tried to put captionpos=b into the text layout area, tried to call
  \lstset{captionpos=b} in an ERT before the listing.

  The command positions the caption under the listing but breaks the
  numbering. Please find attached an exemplary lyx-file and the
  resulting pdf file. After the first listing, I executed
  \lstset{captionpos=b}, thus the second reference is broken.

  Is that a known bug in the listings package (I didn't find anything on
  Google) or does LyX do anything wrong? I had a look at the generated
  latex (pdflatex)-file (which I attached, too) but it looks ok.

  I hope someone knows what to to about this issue.. Thanks a lot
  Dominik


Disclaimer: I don't know anything about listings. However, I remember
seeing a similar post. For LyX 1.5.3 you would put 'captionpos=b' in
Document-Settings-Text Layout-Listing settings.

Cheers,
/Bob


Re: Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury [EMAIL PROTECTED] wrote:

 On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote:
I would like to have a program listing's caption beneath the listing.
Therefore I tried to add \lstset{captionpos=b} to the preamble,
tried to put captionpos=b into the text layout area, tried to call
\lstset{captionpos=b} in an ERT before the listing.

  Disclaimer: I don't know anything about listings. However, I remember
  seeing a similar post. For LyX 1.5.3 you would put 'captionpos=b' in
  Document-Settings-Text Layout-Listing settings.

Yes I know, in LyX 1.6.0 you would also put it there. The problem is
not that the caption gets positioned wrongly. The problem is that
after wherever inserting captionpos=b the numbering doesn't work
anymore: when I add a reference to Listing 2, LyX (or LaTeX) prints
... 3 ... (see test.pdf in my first message).

I am not sure what exactly goes wrong here...


Re: Literal monofont underscores?

2008-03-19 Thread Steve Litt
On Wednesday 19 March 2008 14:57, Paul A. Rubin wrote:
 Steve Litt wrote:
  I exported to LaTeX, and it indeed did turn my underscores into \_
  commands. Within LaTeX, if I deleted the underscores, it wouldn't
  compile. I guess an underscore is some kind of a LaTeX reserved word.
 
  So, your MiKTeX 2.6 on WinXP gives \_ the right monospace width, but my
  latex command on Mandriva Linux 2007 does not.
 
  I'm wondering if there's some other command to get an underscore.

 I might be getting lost (well, more lost than usual) here.  First,
 responding to your other message where you said putting the backslashes
 into LyX failed, did you do that in ERT? 

No, I typed \_ commands straight into LyX.

 If you type a backslash into 
 text in LyX, I think it gets escaped (so that it's treated as a literal
 backslash).

 Re your Mandriva output, are you saying that \_ in the LaTeX file,
 inside a LyX-code environment, produces proportionally spaced (or
 monospaced with inadequate width) underscores?

That's exactly what I'm saying. \_ in the LaTeX file, inside a standard 
LyX-Code environment, produces either proportionally spaced or monospaced 
with inadequate width underscores.

 If so, what are you 
 using for a typewriter font?  

Let me check. Hang on...

I just tried default, Latin Modern Typewriter, Computer Modern Typewriter, and 
Courier, and all did the same thing.

 It doesn't seem that this should be 
 OS-specific.

It's a mystery :-)

I'm attaching the LyX file and the resulting LaTeX file and the resulting dvi 
file.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


test.dvi
Description: TeX dvi file


test.lyx
Description: application/lyx
%% LyX 1.5.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,english]{book}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=1cm,bmargin=1cm,lmargin=1cm,rmargin=1cm}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\makeatletter
%% Textclass specific LaTeX commands.
\newenvironment{lyxcode}
{\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\normalfont\ttfamily}%
 \item[]}
{\end{list}}

\usepackage{babel}
\makeatother

\begin{document}
Notice that the remote program's STDOUT shows up the local computer.
The output clearly shows that the command ran on the remote computer,
not the local one. Now let's use a program requiring both STDOUT and
STDIN: UMENU. On the remote computer, UMENU is run with the command:

\begin{lyxcode}
[EMAIL PROTECTED]

[EMAIL PROTECTED]'s~password:

~UMENU~0.7.1~menu~system~(ruby~version),~(C)~2005~by~Steve~Litt

NO~WARRANTY!~See~GPL~license.~~

{*}{*}{*}{*}{*}~~Main~Menu~~{*}{*}{*}{*}{*}{[}s]

~Z:~Zuname~

...~~I:~Internet~~

...~~O:~Outlining~~

...~~C:~Calendars~~

...~~N:~coNfiguration~~

...~~S:~Sales~~

...~~P:~Projects~~

...~~A:~Accounting~~

...~~L:~Litt's~Pet~Menu~

...~~E:~Entertainment~Menu~

...~~W:~Windows~Apps~(Crossover~Office)

~K:~Kt~to~MPH~converter~

...~~H:~Hurricanes

...~~T:~Timekeeping

~X:~eXit~Your~choice~please==

sh:~/dev/tty:~No~such~device~or~address

~\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

|~~Copyright~(C)~2005~by~Steve~Litt~([EMAIL PROTECTED])|

|~~GNU~General~Public~License~version~2.~NO~WARRANTY!~~|

|~~|

|~~You~should~have~received~a~copy~of~the~GNU~General~Public~License~~~|

|~~along~with~this~program;~if~not,~write~to~the~Free~Software~|

|~~Foundation,~Inc.,~675~Mass~Ave,~Cambridge,~MA~02139,~USA.~~~|

|\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_|

Thank~You~for~using~the~Universal~Menu~System!

[EMAIL PROTECTED]

0~

[EMAIL PROTECTED]
\end{lyxcode}
In the preceding experiment, I ran UMENU in a terminal on I know it
was run on , because 
\end{document}


Re: Literal monofont underscores?

2008-03-19 Thread Paul A. Rubin

Steve Litt wrote:

On Wednesday 19 March 2008 14:57, Paul A. Rubin wrote:

Steve Litt wrote:

I exported to LaTeX, and it indeed did turn my underscores into \_
commands. Within LaTeX, if I deleted the underscores, it wouldn't
compile. I guess an underscore is some kind of a LaTeX reserved word.

So, your MiKTeX 2.6 on WinXP gives \_ the right monospace width, but my
latex command on Mandriva Linux 2007 does not.

I'm wondering if there's some other command to get an underscore.

I might be getting lost (well, more lost than usual) here.  First,
responding to your other message where you said putting the backslashes
into LyX failed, did you do that in ERT? 


No, I typed \_ commands straight into LyX.

If you type a backslash into 
text in LyX, I think it gets escaped (so that it's treated as a literal

backslash).

Re your Mandriva output, are you saying that \_ in the LaTeX file,
inside a LyX-code environment, produces proportionally spaced (or
monospaced with inadequate width) underscores?


That's exactly what I'm saying. \_ in the LaTeX file, inside a standard 
LyX-Code environment, produces either proportionally spaced or monospaced 
with inadequate width underscores.


If so, what are you 
using for a typewriter font?  


Let me check. Hang on...

I just tried default, Latin Modern Typewriter, Computer Modern Typewriter, and 
Courier, and all did the same thing.


It doesn't seem that this should be 
OS-specific.


It's a mystery :-)

I'm attaching the LyX file and the resulting LaTeX file and the resulting dvi 
file.




Whoever invented this font encoding bull excrement should be forced to 
sit in a stiff chair and listen to every campaign speech this year (all 
at once, no potty breaks)!


I confirmed that running LaTeX against your test.tex file produced a 
misformatted result (though not quite your test.dvi -- apparently you 
changed your e-mail address somewhere along the line).  Dinking around 
with your LyX file, I accidentally got the desired result.  I had to 
export a new LaTeX file and run a diff program against yours and mine to 
find the culprit.


LyX 1.5.4 inserts \usepackage[T1]{fontenc} in the preamble.  You don't 
have that in your .tex file; inserting it fixes the problem.


/Paul



Re: cases help

2008-03-19 Thread Uwe Stöhr

Carlos Sosa Paz schrieb:


Dear all I this is part of the latex code that i am using in Lyx, ...

 I can generate the pdf file with 2 columns but I have a problem trying to add 
the third 3 column.


I cannot help you without a small LyX example file. But perhaps you find a way not to use directly 
LaTeX code to generate your formula when looking in the new math manual that comes with LyX 1.5.4.


regards Uwe


Re: Float caption indentation

2008-03-19 Thread Uwe Stöhr

Zoltan Sarosi schrieb:


Does anybody know, how can I make indentations in my float caption texts?


Use the LateX-package caption. The EmbeddedObjects manual has some example what you can do with this 
package. All you have to do is to add the correct option of the caption package as described there. 
I refer to the documentation of caption for the detailed description of the different options:

http://www.ctan.org/get/macros/latex/contrib/caption/caption.pdf

regards Uwe


Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 3:35 PM, Dominik Böhm [EMAIL PROTECTED] wrote:
 On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury [EMAIL PROTECTED] wrote:
  
   On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote:

 I would like to have a program listing's caption beneath the listing.
  Therefore I tried to add \lstset{captionpos=b} to the preamble,
  tried to put captionpos=b into the text layout area, tried to call
  \lstset{captionpos=b} in an ERT before the listing.
  

   Disclaimer: I don't know anything about listings. However, I remember
seeing a similar post. For LyX 1.5.3 you would put 'captionpos=b' in
Document-Settings-Text Layout-Listing settings.

  Yes I know, in LyX 1.6.0 you would also put it there. The problem is
  not that the caption gets positioned wrongly. The problem is that
  after wherever inserting captionpos=b the numbering doesn't work
  anymore: when I add a reference to Listing 2, LyX (or LaTeX) prints
  ... 3 ... (see test.pdf in my first message).

  I am not sure what exactly goes wrong here...


Hopefully someone with more knowledge will respond soon. LyX 1.6 is
still in svn, so I can't open you're lyx file and importing the tex
file makes it more confusing.

Bob


Re: Literal monofont underscores?

2008-03-19 Thread Daniel Lohmann


On 19.03.2008, at 03:01, Paul A. Rubin wrote:


Doh!

And here's why it worked for me and not you:  I typed in the  
underscores, and LyX cleverly escaped them as \_\_ (ad nauseum).   
I'm guessing you pasted them in or imported them as text, and got  
just underscores, no escapes.




Hm...

LyX really should behave identically in both cases. It should not  
produce a different output from *typing weather *inserting* some text.


According to my experience  LyX 1.5 versions (it may as well be just a  
Mac problem...) generally suffer from strange effects that something  
that looks identically in the LyX editor in fact produces different  
LaTeX code, which is surprising at best for the user. I am still  
suffering twice a day from the funny invisible chars problem without  
really understanding how these chars make it into my document:


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62392.html

Maybe it is time to open a bugzilla entry for this?


Daniel


Experiences with biblatex?

2008-03-19 Thread Daniel Lohmann

Hi,

After finding myself spending more and more time with tweaking and  
customizing bibliography handling I am considering switching to  
biblatex.


According to the wiki (http://wiki.lyx.org/BibTeX/Biblatex) and a  
thread from last December (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60714.html 
) this seems to be not overly difficult -- it can't be more  
complicated than my current bibtex, multibib, and child-/master mode  
tweaks. Before really digging into all this, I am, however, curious  
about other users' experience with biblatex:


1) Do you have to change your .bib-files? I remember that this was an  
issue when I first read about biblatex, but did not find a comment or  
hint into this direction in the documentation of the current version.


2) Does it work well with hyperref (including backref support and so  
on)? The documentation states so -- but with respect to hyperref many  
oddities arise in practice. (I had, for instance, all my requirements  
fulfilled with  bibunits and some tweaks when I finally figured out  
that with bibunits reference no longer become hyperlinks - a show  
stopper.)


3) Do I really have to use the natbib options? I know, everybody  
recommends natbib, but I prefer the simple alpha style.


4) Why is it the case that the path to the bib-files has to be either  
absolute or the bib-file has to be in texmf? I really would like to  
avoid both.


5) Even though I never heard any complaints about the 0.7 version of  
biblatex, it is still considered as beta. Did you experience any  
problems while using it?


Thanks a lot!

Daniel


WRB - Problems with LaTeX

2008-03-19 Thread William R. Buckley
Testing the patience of this group, I have a short term problem.

Well, truth is I probably have several such short term problems,
and I would appreciate help with each.

However, this problem is not with LyX directly, and though the
various experts on this group will likely find motivation to answer
the better questions, I am hoping that some of you will help me
through an off-topic newbie problem.

I need an italic *s* character which has a prime symbol above
it.

I have tried variations of

\emph\skew9\acute sand  \it\skew9\acute s

and in no case have I found execution without error upon pdflatex
or the proper result.  At best, there are errors reported, and the
output text is converted to italic after production of the desired
 italic s'  symbol.

Has anyone any idea as to the solution of this problem?

William R. Buckley



Re: Bachelor Thesis template from thesis-template.com

2008-03-19 Thread G. Milde
On 18.03.08, diefettenjahre wrote:
 Hi Maksi, thanks for your reply.

  you might as well make your own template, based of 
  preferrable KOMA-Book or Memoir (rather than the standard classes). 

 Well, this is why I've chosen Lyx and this template. Basically I hoped
 that I don't have to learn all these LaTeX commands. But I'll try my
 best and have a brief look at the KOMA Script documentation.

It is really well written and informative.

 If anyone else give me some hint, at least about the headlines since
 this seams to be some bug -- of course in front of the pc :-)

I assume this it not a bug but a setting as well.

Back to the original questions: a non-breaking hyphen can be input as ERT
(evil red text, i.e. raw LaTeX): Press Strg-L and insert ~ in the
appearing box. (This and a lot more about basic typograhic rules and
their implementation with LaTeX can be found in a PDF document: 

   Einige typographische Grundregeln 
  und ihre Umsetzung in LATEX
Werner Struckmann
3. September 2007

which I found on the net (don't remember where).

Günter


Re: Experiences with biblatex?

2008-03-19 Thread Dominik Waßenhoven

Daniel Lohmann schrieb am 19.03.2008:

After finding myself spending more and more time with tweaking and  
customizing bibliography handling I am considering switching to  
biblatex.



[...]



1) Do you have to change your .bib-files?


Yes, slightly. biblatex introduces some new field types (like maintitle, 
subtitle, titleaddon etc.). In order to get your bibliography properly 
formatted, some changes to the bib file will be necessary. I used 
jurabib previously, and it took me about 2-3 hours with a 1000 entries 
bib file.


2) Does it work well with hyperref (including backref support and so  
on)? 


Yes, I have no problems so far.


3) Do I really have to use the natbib options?


No, I don't use natbib at all. biblatex is absolutely independent from 
natbib, there is only a natbib-compatibility-mode in order to use 
natbib's commands (\citep, \citet etc.), not the ones biblatex provides 
(\parencite, \textcite etc.).


4) Why is it the case that the path to the bib-files has to be either  
absolute or the bib-file has to be in texmf? I really would like to  
avoid both.


I have all my bib files in my local texmf tree. But it should work if 
the bib file is in the same directory as the master tex file (though I'm 
not sure if LyX can handle this).


5) Even though I never heard any complaints about the 0.7 version of  
biblatex, it is still considered as beta. Did you experience any  
problems while using it?


I am using it a lot, and for a long time, and I had no serious problems 
since version 0.6.


Regards,
Dominik.-

--
biblatex styles: http://biblatex.dominik-wassenhoven.de/index-en.shtml



Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: getting page

2008-03-19 Thread G. Milde
On 19.03.08, Pol wrote:
 I would like to get straightforwardly pages where to apply corrections that
 i have made to the printed on paper version of my document. 
 Is there a way to display pagination?

No. LyX does not know about the pagination as this is done by the LaTeX
backend.

However, there is (as far as I know) the possibility to jump to a given
place in the LyX window from the xdvi or kdvi previewers (don't know about
the settings, though).

I usually use the Search feature (searching for prominent words near the
correction) or the Navigation menu (as I do have many sub- and
subsubsections, this brings me pretty close).

GM


Re: Experiences with biblatex?

2008-03-19 Thread Daniel Lohmann


On 19.03.2008, at 10:26, Dominik Waßenhoven wrote:


Daniel Lohmann schrieb am 19.03.2008:

After finding myself spending more and more time with tweaking and   
customizing bibliography handling I am considering switching to   
biblatex.



[...]



1) Do you have to change your .bib-files?


Yes, slightly. biblatex introduces some new field types (like  
maintitle, subtitle, titleaddon etc.). In order to get your  
bibliography properly formatted, some changes to the bib file will  
be necessary. I used jurabib previously, and it took me about 2-3  
hours with a 1000 entries bib file.


I see. Are these new fields backward compatible in the sense that  
they do not interfere with old-fashioned bibtex and both work smoothly  
on the same database?


(Our group uses a global svn-managed bibtex database which is included  
as svn:externals into every paper or thesis project. I doubt that I  
would get through with a big bang transition to biblatex.)



Thanks Dominik!


Daniel

Re: pdf file size

2008-03-19 Thread José Matos
On Tuesday 18 March 2008 21:03:11 Miki Dovrat wrote:
 Hi,

 Can I give lyx (or imagemagick convert through lyx) or some other latex
 package an option to resample all graphics in a certain resolution to
 reduce the pdf file size?  convert has a -resample option.

 I would love to do it on the fly without actually producing lower
 resolution images on disk, and pointing to them. Can I run a python
 script in the lyx tmp directory by lyx, or any such solution?

 I know adobe acrobat does this on the output pdf for $300. Doing convert
 on the pdf ruins the text as well.

 Thanks

 Miki

Please add this to lyx bugzilla so that it does not get forgoten. I don't 
remember to see this request before. All the times I had this problem before 
I have fixed it by hand.

-- 
José Abílio


Re: Experiences with biblatex?

2008-03-19 Thread Dominik Waßenhoven

Daniel Lohmann schrieb am 19.03.2008:

Are these new fields backward compatible in the sense that  
they do not interfere with old-fashioned bibtex and both work smoothly  
on the same database?


I think so. biblatex treats some fields in another way, e.g. 'edition', 
which should contain only numerals, or 'address', which can cope with 
lists like London and New York and ... in order to abbreviate the list 
if necessary. Most of these fields should also work if the expected data 
type is different, e.g. 'address = {London, New York}' works also (only 
the abbreviation does not work, then). For details, please look into the 
biblatex documentation, there is also a list of all fields and how they 
are treated in biblatex.


Regards,
Dominik.-




RE: Authors in preamble using \twoauthors

2008-03-19 Thread Phillip Ferguson
Paul,

Yes I understand where you are coming from. I can see the conference people
being up in arms about an additional author. I have emailed them anyway so
I'll just wait for the reply.

Just for my own knowledge how would I go about creating a \threeauthors?
Can I just copy the \twoauthors and modify the table columns and add it to
the spconf.sty?

Thanks again!

PDF

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Paul A. Rubin
Sent: 19 March 2008 02:08
To: lyx-users@lists.lyx.org
Subject: Re: Authors in preamble using \twoauthors

Phillip Ferguson wrote:
 Hey all,



 Yet again I am having some issues with the spconf.sty.



 This time it's the authors.

 In spconf.sty the comments for \twoauthors are:



 - use \twoauthors{author1}{address1}{author2}{address2}

 % for two (or more) authors with two separate addresses

 %- note: no need for \author nor \date

 %- optional: can use \thanks{xx} within \name or \twoauthors,

 % asterisk is not printed after name nor in footnote

 %- optional: can use \sthanks{xx} after each name within \name or

 % \twoauthors if different thanks for each author,

 % footnote symbol will appear for each name and footnote





  And it defines \twoauthors:



 [EMAIL PROTECTED]

[EMAIL PROTECTED]@[EMAIL PROTECTED]

 {\em #1} \\ \\

 #2\relax

\end{tabular}\hskip [EMAIL PROTECTED]@{}}

 {\em #3} \\ \\

 #4\relax

 \end{tabular}}}



 I have no idea of latex but I guess that this must set the layout and
 parameters for only 2 author areas where only one address is allowed. My
 problem is that I need 3 authors with three distinct addresses.

 Can I modify this piece of code to spread 3 authors evenly across the
page?
 I suspect I may have to reduce the text size to accommodate all 3.



 Does anyone know how to set this up correctly, or by doing this am I
 violating the template?




Have you considered summarily dropping one of your co-authors?  :-)

The \twoauthors macro uses a pair of side-by-side tables to space out
the authors and institutions, so hypothetically you could cobble
together a \threeauthors macro along similar lines but with three
tables.  You likely would have to reduce the font size, which might
easily offend the conference people.  Before doing that, I would suggest
contacting them and asking how they would recommend you handle it.

/Paul




images with pdflatex

2008-03-19 Thread Phillip Ferguson
Hey all,

 

I just noticed something that I wondered might be a bug.

When I have a eps image that is scaled and clipped in lyx, and the document
is using the article class, pdflatex does not format the image correctly.

It is as if the article class is conflicting with the clipping. The image is
not off a side of the page but underlapping text in the page.

To resolve it have resorted to export the lyx file via dvipdfm which creates
a pdf exactly like the dvi.

 

Is this a know bug?

 

Thanks

 

PDF



Is there a text-macros equivalent of math-macros?

2008-03-19 Thread Dominik Böhm
Hello,

I was wondering if one can also use macros for some text things. For
example, I would like to use macros for abbreviations. In German the
abbreviation of zum Beispiel is z.B. with a small space between
z. and B.. I realized it by putting
\newcommand{\realAbkzB}{z.\,B.} into the preamble and adding a
math-macro \abkzB that calles the \realAbkzB-command. In the .lyx-file
it looks like this:

\begin_inset FormulaMacro
\newcommand{\abkzB}{\mbox{\realAbkzB }}
{\mbox{z.\, B.}}
\end_inset

When I want to include z.B. in my document, I have to press Ctrl+m
and enter \abkzB. That works, but I have got to switch to math-mode
and in the macro I use an mbox to get back to normal text.

Is there any more convenient solution for such problems in LyX or is
the macro-feature a math-only thing?

Dominik


Re: WRB - Problems with LaTeX

2008-03-19 Thread Stephen Buonopane


I need an italic *s* character which has a prime symbol above
it.

I have tried variations of

\emph\skew9\acute sand  \it\skew9\acute s



how about
\acute{s}
in math mode?


Re: WRB - Problems with LaTeX

2008-03-19 Thread Dominik Böhm
On Wed, Mar 19, 2008 at 1:27 PM, Stephen Buonopane
[EMAIL PROTECTED] wrote:
 
   I need an italic *s* character which has a prime symbol above
   it.
  
   I have tried variations of
  
   \emph\skew9\acute sand  \it\skew9\acute s
  

  how about
  \acute{s}
  in math mode?

Or maybe Insert-Special Character-Symbols, there Latin Extended-A,
fourth row, ŝ/ś.


Re: Is there a text-macros equivalent of math-macros?

2008-03-19 Thread G. Milde
On 19.03.08, Dominik Böhm wrote:

 Is there any more convenient solution for such problems in LyX or is
 the macro-feature a math-only thing?

Currently, there is unfortunately no text-macro available. 

However, if I understand it right lyx 1.6 will come with support in form
of user-configurable text-styles that can be embedded in the document.

I am not quite sure whether you can already define a text style
in a layout file with 1.5.


OTOH, you can get the \zB a bit simpler:

M-x math-macro abkzB

and in the math Box:

   Strg-m (text in math)
   z.
   Strg-Shift-Space  (small space)
   B.
   

 When I want to include z.B. in my document, I have to press Ctrl+m
 and enter \abkzB. 

You can even define a keybinding for this.

Günter


Re: Is there a text-macros equivalent of math-macros?

2008-03-19 Thread Dominik Böhm
On Wed, Mar 19, 2008 at 1:42 PM, G. Milde [EMAIL PROTECTED] wrote:
 On 19.03.08, Dominik Böhm wrote:

   Is there any more convenient solution for such problems in LyX or is
   the macro-feature a math-only thing?

  Currently, there is unfortunately no text-macro available.

Okay, I already thought so.

  OTOH, you can get the \zB a bit simpler:

  M-x math-macro abkzB

  and in the math Box:

Strg-m (text in math)
z.
Strg-Shift-Space  (small space)
B.

Nope, that doesn't work, as LyX generates $\mbox{z.\, B.}$ (note the
space after \,). That makes the space not a half but a one and a half
space. I think, putting it into a separate command into the preamble
is the only way.

   When I want to include z.B. in my document, I have to press Ctrl+m
   and enter \abkzB.

  You can even define a keybinding for this.

That's right, but it's still not the way I would do it using plain LaTeX.

Dominik


Re: Is there a text-macros equivalent of math-macros?

2008-03-19 Thread Uwe Stöhr

Dominik Böhm schrieb:


I was wondering if one can also use macros for some text things.


This will be possible in the next major lyX release lyX 1.6.0.

For now you have to define new commands using the ERT or the document preamble. The math manaul 
explains how to do this (this method is relevant for all document parts, also text stuff).


regards Uwe


Re: Problem with eps in Lyx 1.5/Ubuntu Gutsy

2008-03-19 Thread hansi



Ignacio García-6 wrote:
 
 hansi wrote
 I started to write a paper in Lyx 1.4.x. I used eps-graphics mostly. I
 used
 the pdflatex-converter and it worked fine. Eps-files were scaled as I
 wanted.
 
 Now I upgraded my Ubuntu from Feisty to Gutsy and also the Lyx version
 to
 1.5.1. When I use the pdflatex-converter now, the output (pdf) looks not
 as
 before. They are not scaled as before. This happens also with files,
 that I
 wrote in this version. I installed the older version, what doesn't help,
 either. I think it has to do with one of the newer packages.
 
 Do you know advise?
 
 Is this your problem:?
 On 27/12 D. Clement wrote:
  I do see the eps images in pdf, but shrinked to
 a tiny size in the lower right corner of their normal place.
   (see 
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60856.html)
 
 I have a similar problem since lyx1.5.x on Gutsy.
 I have not found solution  for direct conversion eps to pdf with pdflatex.
 
 I must convert the eps figures to pdf figures with 'epstopdf' outside Lyx
 and to insert the figures in the document as PDF images. So pdflatex
 gives correct scaled images in the output.
 
 regards
 Ignacio
 
 

Yes, it sounds like the same problem!

What I do at the moment is, that make a ps-file and convert it with pstoedit
into pdf. Works but takes more time and also more memory-space for the ps.

I don't know, why it doesn't work in Lyx 1.5.x but did work in 1.4.x ...?

I tried texlive-extra-utils, what doesn't help.

Let me know, if you find a solution!

Regards, Hannes
-- 
View this message in context: 
http://www.nabble.com/Problem-with-eps-in-Lyx-1.5-Ubuntu-Gutsy-tp16118076p16143648.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Problem with eps in Lyx 1.5/Ubuntu Gutsy

2008-03-19 Thread hansi

Yes, it sounds like the same problem!

What I do at the moment is, that make a ps-file and convert it with pstoedit
into pdf. Works but takes more time and also more memory-space for the ps.

I don't know, why it doesn't work in Lyx 1.5.x but did work in 1.4.x ...?

I tried texlive-extra-utils, what doesn't help.

Let me know, if you find a solution!

Regards, Hannes
-- 
View this message in context: 
http://www.nabble.com/Problem-with-eps-in-Lyx-1.5-Ubuntu-Gutsy-tp16118076p16143650.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Problem with eps in Lyx 1.5/Ubuntu Gutsy

2008-03-19 Thread hansi

Yes, it sounds like the same problem!

What I do at the moment is, that I make a ps-file and convert it with
pstoedit into pdf. Works but takes more time and also more memory-space for
the ps.

I don't know, why it doesn't work in Lyx 1.5.x but did work in 1.4.x ...?

I tried texlive-extra-utils, what doesn't help.

Let me know, if you find a solution!

Regards, Hannes
-- 
View this message in context: 
http://www.nabble.com/Problem-with-eps-in-Lyx-1.5-Ubuntu-Gutsy-tp16118076p16143667.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Extra vertical space between some paragarphs

2008-03-19 Thread Peter Sutovsky
I am using Lyx 1.5.4. There is extra vertical space between several
paragraphs in pdf output. Only, separate paragraphs with indentation is set
on and no vertical space is set in the global document setting. Local
setting of the paragraphs is the same and still some paragraph have extra
line before and after paragraph. Any idea how to fix this annoying behaviour
is welcome. Thanks.

Peter


Float caption indentation

2008-03-19 Thread Zoltan Sarosi

Hi!

Does anybody know, how can I make indentations in my float caption texts?
My problem is, that I have a 2 lines long caption text under an image, 
and the second line of the caption begins under the keyword Table 1: 
or Figure 1. I would like to have the 2nd line of the caption to begin 
under the text in the first line of my caption.

For example:

Figure 1: Now my text looks like this,
here begins the 2nd line of the caption.

Figure 2: And I would like to have something like
  this, where there is an indent in the 2nd line.


Regards,
Zoltan


Re: Is there a text-macros equivalent of math-macros?

2008-03-19 Thread Richard Heck

Dominik Böhm wrote:

On Wed, Mar 19, 2008 at 1:42 PM, G. Milde [EMAIL PROTECTED] wrote:
  

On 19.03.08, Dominik Böhm wrote:

  Is there any more convenient solution for such problems in LyX or is
  the macro-feature a math-only thing?

 Currently, there is unfortunately no text-macro available.



Okay, I already thought so.

  

There are enhancement requests about this. It'd be great to have it.

  When I want to include z.B. in my document, I have to press Ctrl+m
  and enter \abkzB.

 You can even define a keybinding for this.



That's right, but it's still not the way I would do it using plain LaTeX.

  
Of course, you can always use ERT for this, and you can bind the whole 
business to a key.


rh



Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

[EMAIL PROTECTED] wrote:

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:
How do I set up Lyx to use a network printer? At the moment I can 
print by

viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?



I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
 Beyond that, it's not entirely obvious (at least to a newbie) just 
what File-Print is going to print, since DVI, PS and PDF outputs of the 
same doc tend to differ a bit.


/Paul



Re: Float caption indentation

2008-03-19 Thread Paul A. Rubin

Zoltan Sarosi wrote:

Hi!

Does anybody know, how can I make indentations in my float caption texts?
My problem is, that I have a 2 lines long caption text under an image, 
and the second line of the caption begins under the keyword Table 1: 
or Figure 1. I would like to have the 2nd line of the caption to begin 
under the text in the first line of my caption.

For example:

Figure 1: Now my text looks like this,
here begins the 2nd line of the caption.

Figure 2: And I would like to have something like
  this, where there is an indent in the 2nd line.




In the preamble: \usepackage[hang]{caption}

/Paul



Re: Authors in preamble using \twoauthors

2008-03-19 Thread Paul A. Rubin

Phillip Ferguson wrote:


Just for my own knowledge how would I go about creating a \threeauthors?
Can I just copy the \twoauthors and modify the table columns and add it to
the spconf.sty?



Example attached.

/Paul


pf.lyx
Description: application/lyx


cases help

2008-03-19 Thread Carlos Sosa Paz
Dear all I this is part of the latex code that i am using in Lyx,

 \mathrm{pro}\mathrm{j}_{H_{v,t}}\left(\widetilde{F}_{e\in 
E^{+}\left(v\right),m\in M,t}\left(\mathbf{p}\right)_{v\in V,t\in 
T}\right):=\begin{cases}
 \widetilde{F}_{e\in E^{+}\left(v\right),m\in M,t}\left(\mathbf{p}\right)  if 
 \sum_{e\in E^{^{+}}(v)}\sum_{m\in 
M}p_{e,m,t}\leq\frac{P_{\bar{v}}^{Max}}{\left|E^{^{+}}(\bar{v})\right|\times\left|M\right|}\\
 c  if   \sum_{e\in E^{^{+}}(v)}\sum_{m\in 
M}p_{e,m,t}\frac{P_{\bar{v}}^{Max}}{\left|E^{^{+}}(\bar{v})\right|\times\left|M\right|}\end{cases}

 when I try to generate the pdf file i have the followind text

 c   
   \sum_{e\in E^{^{+}}(v)}\sum_{m\in M}p_{e,m,t}\frac{P_{\bar{v}...
 You have given more \span or  marks than there were
 in the preamble to the \halign or \valign now in progress.
 So I'll assume that you meant to type \cr instead.

 
 I can generate the pdf file with 2 columns but I have a problem trying to add 
the third 3 column.

 I am including ntheorem class  I dont know if this is the problem.

 Thanks for you help.

 Carlos Sosa Paz


Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Wed, 19 Mar 2008, Paul A. Rubin wrote:

   How do I set up Lyx to use a network printer? At the moment I can 
   print by viewing as pdf in kpdf which sees my printer. I would 
   like to be able to print direct from Lyx though, as I sometimes 
   want to print old files and not have to preview them first.
 
  Printing from one of the viewers is pretty much the recommended 
  method.


 Should we then have a 'print' entry in the File-menu?


I wonder about that myself.  I never use it (I always print from a 
viewer), although that's partly because I don't have a PS-aware printer. 
Beyond that, it's not entirely obvious (at least to a newbie) just what 
File-Print is going to print, since DVI, PS and PDF outputs of the same 
doc tend to differ a bit.


Does it seem strange to have a document processor that cannot print?

I'd be ok with using the viewer, but it's confusing with a File-Print 
that doesn't work.


/C

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Bachelor Thesis template from thesis-template.com

2008-03-19 Thread diefettenjahre
Dominik Böhm [EMAIL PROTECTED] writes:

 You can insert it by pressing Ctrl+Alt+-. More of those
 commands can be found in the Insert-Special Character/Formatting
 menu. So, don't ERTs for protected hyphens...

I looked both into the user guide and into the abbreviations list, but couldn't
find this shortcut neither the menu point (for non-breaking hyphen). But that's
good to know, thank you.

But getting back to my worst problem: any ideas about my missing headlines?
Here's a link to the document:
http://www.wreeno.de/lyx2/my_content/thesis_template.zip


thanks a lot, diefettenjahre.







Re: Using a network printer

2008-03-19 Thread Les Denham
On Wednesday 19 March 2008, [EMAIL PROTECTED] wrote:
 On Wed, 19 Mar 2008, Paul A. Rubin wrote:
 How do I set up Lyx to use a network printer? At the moment I can
 print by viewing as pdf in kpdf which sees my printer. I would
 like to be able to print direct from Lyx though, as I sometimes
 want to print old files and not have to preview them first.
  
Printing from one of the viewers is pretty much the recommended
method.
 
   Should we then have a 'print' entry in the File-menu?
 
  I wonder about that myself.  I never use it (I always print from a
  viewer), although that's partly because I don't have a PS-aware printer.
  Beyond that, it's not entirely obvious (at least to a newbie) just what
  File-Print is going to print, since DVI, PS and PDF outputs of the same
  doc tend to differ a bit.

 Does it seem strange to have a document processor that cannot print?

 I'd be ok with using the viewer, but it's confusing with a File-Print
 that doesn't work.

Christian,

The problem with that thought is that on my system it Just Works, without any 
arcane settings.  And mine is not a particularly simple setup: I'm running 
Gentoo Linux, with CUPS printing, on a rather complicated network, and LyX 
just defaults to running a document through dvips and sending it to the 
default printer.

However . . . as many LyX users do, I usually use pdflatex for my default 
preview and most common export.  And some figures which work perfectly with 
pdflatex do not work at all with latex.  When I try to print a document with 
such figures, the printing fails with the message:

Could not print document name.lyx.  
 Check that your printer is set up correctly.

Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: Literal monofont underscores?

2008-03-19 Thread Steve Litt
On Tuesday 18 March 2008 22:01, Paul A. Rubin wrote:
 Doh!

 And here's why it worked for me and not you:  I typed in the
 underscores, and LyX cleverly escaped them as \_\_ (ad nauseum).  I'm
 guessing you pasted them in or imported them as text, and got just
 underscores, no escapes.

 /Paul

Yes and no.

Yes, I pasted them in and they went in as only underscores. But no, no matter 
what I did with backslashes I couldn't get them to do the right thing.

You gave me an idea though. I'm going to make a TeX file and a LaTeX file, and 
see if this problem occurs in those places too.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


RE: WRB - Problems with LaTeX

2008-03-19 Thread William R. Buckley
Thanks for the solution!

I elect to use Stephens solution, as I am not using LyX (making
the changes directly to the LaTeX source).  When I learn the
proper use of LyX, I'll try the other suggested solution.

the command I use is

$\skew9\acute{s}\thinspace$

The thinspace is to accommodate the non-italic text which
follows.  Perhaps I should also try the \ / mechanism, too.

wrb 

 -Original Message-
 From: Dominik Böhm [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 19, 2008 5:33 AM
 To: [EMAIL PROTECTED]; LyX User
 Subject: Re: WRB - Problems with LaTeX
 
 On Wed, Mar 19, 2008 at 1:27 PM, Stephen Buonopane 
 [EMAIL PROTECTED] wrote:
  
I need an italic *s* character which has a prime symbol above   
  it.
   
I have tried variations of
   
\emph\skew9\acute sand  \it\skew9\acute s
   
 
   how about
   \acute{s}
   in math mode?
 
 Or maybe Insert-Special Character-Symbols, there Latin 
 Extended-A, fourth row, s/s.
 



noweb book chapter include problem. How about external material strategy?

2008-03-19 Thread Paul Johnson
I've asked before, but have new enthusiasm because I just learned
about the ExternalMaterial handling in lyx-1.5.4.

I succeed using NoWeb strategy in LyX to interact with the statistics
program R.  There has been some posting about that in here lately by
other people doing it too and I see Gregor has updated the Wiki:
http://wiki.lyx.org/LyX/LyxWithRThroughSweave

Now I'm writing a book and want to include some of those Noweb
articles as chapters.  I create the book master document and try to
include the lyx files, but when I view the book in lyx, the included
documents are not put through the Noweb processor.  They just appear
in the output as they are in the lyx file.  They don't get sent
through the Lyx- LaTeX (via noweb) step. I've tried many variations
on this theme.

Now I'm thinking that the LyX  Insert-File-Lyx Document was the
wrong approach from the start.  Instead, I think what I need is
Insert-file-external material where the external material is
customized for this type of document.  But I need help in making it
work.

Here's why I think it might work. I noticed a neat thing LyX does that
I did not know about before.

An Xfig drawing can be included in 2 ways into LyX.

1. Insert- graphics

Choose the fig file, then LyX will process the fig file and it will
show as a graphic.  The processing lyx does to the fig file translates
it to postscript, I think.  It just treats the fig file as a picture.

2. Insert-File-External Material.

This does something different.  It will decipher LaTeX markup in text
in the fig file. (I think it is doing the 2 parts export to EPS
format, if you know what i mean).   If you put LaTeX text in your
file, and you marked it with the special attribute, then LyX will
process that xfig file to convert the LaTeX markup and fit it into
the graphic.  So in the xfig file, you can put in text like $\alpha$
and in the output, you see the Greek alpha.  Note this is different
from the Insert-graphics approach, where the literal string
$\alpha$ appears.

Seeing this external handling made me wonder, why doesn't one of the
smart guys who knows LyX inside and out design a Noweb handler for
External Material.  The converter specified in LyX preferences to go
from he noweb format Sweave to LaTeX is

.R CMD Sweave $$i


So, If I want to include a lyx file, I need some way to tell Lyx it
needs that post processing, and that's  why the external material
thing seems just right.


If one of you would do it for me, it would be great.  More likely, you
will tell me what manual to read about writing external material
handlers in LyX.  That would be good too, but requiring more work :)

PJ

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: Literal monofont underscores?

2008-03-19 Thread Steve Litt
On Tuesday 18 March 2008 22:01, Paul A. Rubin wrote:
 Doh!

 And here's why it worked for me and not you:  I typed in the
 underscores, and LyX cleverly escaped them as \_\_ (ad nauseum).  I'm
 guessing you pasted them in or imported them as text, and got just
 underscores, no escapes.

 /Paul

I exported to LaTeX, and it indeed did turn my underscores into \_ commands. 
Within LaTeX, if I deleted the underscores, it wouldn't compile. I guess an 
underscore is some kind of a LaTeX reserved word.

So, your MiKTeX 2.6 on WinXP gives \_ the right monospace width, but my latex 
command on Mandriva Linux 2007 does not.

I'm wondering if there's some other command to get an underscore.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Using a network printer

2008-03-19 Thread Paul A. Rubin

Les Denham wrote:



Perhaps this is exactly the problem Paul has encountered: the error message 
gives the impression it is a printer problem, whereas the real problem is the 
difference between latex and pdflatex.




That's the more dramatic version, but even when the document compiles 
successfully, it may look different generated one way versus another. 
For instance, I think that font substitutions can occur with, say, a PDF 
file that would not occur (or would occur differently) with a DVI file, 
and I believe that graphics are handled somewhat differently by one 
approach versus another.  If all you want is the printed output, this 
might be ok, but if you are printing a copy (as PS output, perhaps 
without realizing it) while generating a file (say PDF) for 
distribution, you might get short-hopped by the differences.  I always 
try to print from a viewer looking at the final distribution version.


/Paul



Re: Literal monofont underscores?

2008-03-19 Thread Paul A. Rubin

Steve Litt wrote:



I exported to LaTeX, and it indeed did turn my underscores into \_ commands. 
Within LaTeX, if I deleted the underscores, it wouldn't compile. I guess an 
underscore is some kind of a LaTeX reserved word.


So, your MiKTeX 2.6 on WinXP gives \_ the right monospace width, but my latex 
command on Mandriva Linux 2007 does not.


I'm wondering if there's some other command to get an underscore.


I might be getting lost (well, more lost than usual) here.  First, 
responding to your other message where you said putting the backslashes 
into LyX failed, did you do that in ERT?  If you type a backslash into 
text in LyX, I think it gets escaped (so that it's treated as a literal 
backslash).


Re your Mandriva output, are you saying that \_ in the LaTeX file, 
inside a LyX-code environment, produces proportionally spaced (or 
monospaced with inadequate width) underscores?  If so, what are you 
using for a typewriter font?  It doesn't seem that this should be 
OS-specific.


/Paul



Re: WRB - Problems with LaTeX

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 12:11 PM, William R. Buckley [EMAIL PROTECTED] wrote:
  the command I use is

  $\skew9\acute{s}\thinspace$

This command works just fine in math mode in LyX for me. Displaying an
italic s with a prime symbol. See the attached file.

Cheers,
/Bob


acute-s.lyx
Description: application/lyx


Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
Hello,

I would like to have a program listing's caption beneath the listing.
Therefore I tried to add \lstset{captionpos=b} to the preamble,
tried to put captionpos=b into the text layout area, tried to call
\lstset{captionpos=b} in an ERT before the listing.

The command positions the caption under the listing but breaks the
numbering. Please find attached an exemplary lyx-file and the
resulting pdf file. After the first listing, I executed
\lstset{captionpos=b}, thus the second reference is broken.

Is that a known bug in the listings package (I didn't find anything on
Google) or does LyX do anything wrong? I had a look at the generated
latex (pdflatex)-file (which I attached, too) but it looks ok.

I hope someone knows what to to about this issue.. Thanks a lot
Dominik


test.lyx
Description: application/lyx


test.pdf
Description: Adobe PDF document


test.tex
Description: TeX document


Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote:
 Hello,

  I would like to have a program listing's caption beneath the listing.
  Therefore I tried to add \lstset{captionpos=b} to the preamble,
  tried to put captionpos=b into the text layout area, tried to call
  \lstset{captionpos=b} in an ERT before the listing.

  The command positions the caption under the listing but breaks the
  numbering. Please find attached an exemplary lyx-file and the
  resulting pdf file. After the first listing, I executed
  \lstset{captionpos=b}, thus the second reference is broken.

  Is that a known bug in the listings package (I didn't find anything on
  Google) or does LyX do anything wrong? I had a look at the generated
  latex (pdflatex)-file (which I attached, too) but it looks ok.

  I hope someone knows what to to about this issue.. Thanks a lot
  Dominik


Disclaimer: I don't know anything about listings. However, I remember
seeing a similar post. For LyX 1.5.3 you would put 'captionpos=b' in
Document-Settings-Text Layout-Listing settings.

Cheers,
/Bob


Re: Problems with program listings and captions/labels

2008-03-19 Thread Dominik Böhm
On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury [EMAIL PROTECTED] wrote:

 On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote:
I would like to have a program listing's caption beneath the listing.
Therefore I tried to add \lstset{captionpos=b} to the preamble,
tried to put captionpos=b into the text layout area, tried to call
\lstset{captionpos=b} in an ERT before the listing.

  Disclaimer: I don't know anything about listings. However, I remember
  seeing a similar post. For LyX 1.5.3 you would put 'captionpos=b' in
  Document-Settings-Text Layout-Listing settings.

Yes I know, in LyX 1.6.0 you would also put it there. The problem is
not that the caption gets positioned wrongly. The problem is that
after wherever inserting captionpos=b the numbering doesn't work
anymore: when I add a reference to Listing 2, LyX (or LaTeX) prints
... 3 ... (see test.pdf in my first message).

I am not sure what exactly goes wrong here...


Re: Literal monofont underscores?

2008-03-19 Thread Steve Litt
On Wednesday 19 March 2008 14:57, Paul A. Rubin wrote:
 Steve Litt wrote:
  I exported to LaTeX, and it indeed did turn my underscores into \_
  commands. Within LaTeX, if I deleted the underscores, it wouldn't
  compile. I guess an underscore is some kind of a LaTeX reserved word.
 
  So, your MiKTeX 2.6 on WinXP gives \_ the right monospace width, but my
  latex command on Mandriva Linux 2007 does not.
 
  I'm wondering if there's some other command to get an underscore.

 I might be getting lost (well, more lost than usual) here.  First,
 responding to your other message where you said putting the backslashes
 into LyX failed, did you do that in ERT? 

No, I typed \_ commands straight into LyX.

 If you type a backslash into 
 text in LyX, I think it gets escaped (so that it's treated as a literal
 backslash).

 Re your Mandriva output, are you saying that \_ in the LaTeX file,
 inside a LyX-code environment, produces proportionally spaced (or
 monospaced with inadequate width) underscores?

That's exactly what I'm saying. \_ in the LaTeX file, inside a standard 
LyX-Code environment, produces either proportionally spaced or monospaced 
with inadequate width underscores.

 If so, what are you 
 using for a typewriter font?  

Let me check. Hang on...

I just tried default, Latin Modern Typewriter, Computer Modern Typewriter, and 
Courier, and all did the same thing.

 It doesn't seem that this should be 
 OS-specific.

It's a mystery :-)

I'm attaching the LyX file and the resulting LaTeX file and the resulting dvi 
file.

Thanks

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


test.dvi
Description: TeX dvi file


test.lyx
Description: application/lyx
%% LyX 1.5.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,english]{book}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\geometry{verbose,letterpaper,tmargin=1cm,bmargin=1cm,lmargin=1cm,rmargin=1cm}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\makeatletter
%% Textclass specific LaTeX commands.
\newenvironment{lyxcode}
{\begin{list}{}{
\setlength{\rightmargin}{\leftmargin}
\setlength{\listparindent}{0pt}% needed for AMS classes
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\normalfont\ttfamily}%
 \item[]}
{\end{list}}

\usepackage{babel}
\makeatother

\begin{document}
Notice that the remote program's STDOUT shows up the local computer.
The output clearly shows that the command ran on the remote computer,
not the local one. Now let's use a program requiring both STDOUT and
STDIN: UMENU. On the remote computer, UMENU is run with the command:

\begin{lyxcode}
[EMAIL PROTECTED]

[EMAIL PROTECTED]'s~password:

~UMENU~0.7.1~menu~system~(ruby~version),~(C)~2005~by~Steve~Litt

NO~WARRANTY!~See~GPL~license.~~

{*}{*}{*}{*}{*}~~Main~Menu~~{*}{*}{*}{*}{*}{[}s]

~Z:~Zuname~

...~~I:~Internet~~

...~~O:~Outlining~~

...~~C:~Calendars~~

...~~N:~coNfiguration~~

...~~S:~Sales~~

...~~P:~Projects~~

...~~A:~Accounting~~

...~~L:~Litt's~Pet~Menu~

...~~E:~Entertainment~Menu~

...~~W:~Windows~Apps~(Crossover~Office)

~K:~Kt~to~MPH~converter~

...~~H:~Hurricanes

...~~T:~Timekeeping

~X:~eXit~Your~choice~please==

sh:~/dev/tty:~No~such~device~or~address

~\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

|~~Copyright~(C)~2005~by~Steve~Litt~([EMAIL PROTECTED])|

|~~GNU~General~Public~License~version~2.~NO~WARRANTY!~~|

|~~|

|~~You~should~have~received~a~copy~of~the~GNU~General~Public~License~~~|

|~~along~with~this~program;~if~not,~write~to~the~Free~Software~|

|~~Foundation,~Inc.,~675~Mass~Ave,~Cambridge,~MA~02139,~USA.~~~|

|\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_|

Thank~You~for~using~the~Universal~Menu~System!

[EMAIL PROTECTED]

0~

[EMAIL PROTECTED]
\end{lyxcode}
In the preceding experiment, I ran UMENU in a terminal on I know it
was run on , because 
\end{document}


Re: Literal monofont underscores?

2008-03-19 Thread Paul A. Rubin

Steve Litt wrote:

On Wednesday 19 March 2008 14:57, Paul A. Rubin wrote:

Steve Litt wrote:

I exported to LaTeX, and it indeed did turn my underscores into \_
commands. Within LaTeX, if I deleted the underscores, it wouldn't
compile. I guess an underscore is some kind of a LaTeX reserved word.

So, your MiKTeX 2.6 on WinXP gives \_ the right monospace width, but my
latex command on Mandriva Linux 2007 does not.

I'm wondering if there's some other command to get an underscore.

I might be getting lost (well, more lost than usual) here.  First,
responding to your other message where you said putting the backslashes
into LyX failed, did you do that in ERT? 


No, I typed \_ commands straight into LyX.

If you type a backslash into 
text in LyX, I think it gets escaped (so that it's treated as a literal

backslash).

Re your Mandriva output, are you saying that \_ in the LaTeX file,
inside a LyX-code environment, produces proportionally spaced (or
monospaced with inadequate width) underscores?


That's exactly what I'm saying. \_ in the LaTeX file, inside a standard 
LyX-Code environment, produces either proportionally spaced or monospaced 
with inadequate width underscores.


If so, what are you 
using for a typewriter font?  


Let me check. Hang on...

I just tried default, Latin Modern Typewriter, Computer Modern Typewriter, and 
Courier, and all did the same thing.


It doesn't seem that this should be 
OS-specific.


It's a mystery :-)

I'm attaching the LyX file and the resulting LaTeX file and the resulting dvi 
file.




Whoever invented this font encoding bull excrement should be forced to 
sit in a stiff chair and listen to every campaign speech this year (all 
at once, no potty breaks)!


I confirmed that running LaTeX against your test.tex file produced a 
misformatted result (though not quite your test.dvi -- apparently you 
changed your e-mail address somewhere along the line).  Dinking around 
with your LyX file, I accidentally got the desired result.  I had to 
export a new LaTeX file and run a diff program against yours and mine to 
find the culprit.


LyX 1.5.4 inserts \usepackage[T1]{fontenc} in the preamble.  You don't 
have that in your .tex file; inserting it fixes the problem.


/Paul



Re: cases help

2008-03-19 Thread Uwe Stöhr

Carlos Sosa Paz schrieb:


Dear all I this is part of the latex code that i am using in Lyx, ...

 I can generate the pdf file with 2 columns but I have a problem trying to add 
the third 3 column.


I cannot help you without a small LyX example file. But perhaps you find a way not to use directly 
LaTeX code to generate your formula when looking in the new math manual that comes with LyX 1.5.4.


regards Uwe


Re: Float caption indentation

2008-03-19 Thread Uwe Stöhr

Zoltan Sarosi schrieb:


Does anybody know, how can I make indentations in my float caption texts?


Use the LateX-package caption. The EmbeddedObjects manual has some example what you can do with this 
package. All you have to do is to add the correct option of the caption package as described there. 
I refer to the documentation of caption for the detailed description of the different options:

http://www.ctan.org/get/macros/latex/contrib/caption/caption.pdf

regards Uwe


Re: Problems with program listings and captions/labels

2008-03-19 Thread Bob Lounsbury
On Wed, Mar 19, 2008 at 3:35 PM, Dominik Böhm [EMAIL PROTECTED] wrote:
 On Wed, Mar 19, 2008 at 10:23 PM, Bob Lounsbury [EMAIL PROTECTED] wrote:
  
   On Wed, Mar 19, 2008 at 2:02 PM, Dominik Böhm [EMAIL PROTECTED] wrote:

 I would like to have a program listing's caption beneath the listing.
  Therefore I tried to add \lstset{captionpos=b} to the preamble,
  tried to put captionpos=b into the text layout area, tried to call
  \lstset{captionpos=b} in an ERT before the listing.
  

   Disclaimer: I don't know anything about listings. However, I remember
seeing a similar post. For LyX 1.5.3 you would put 'captionpos=b' in
Document-Settings-Text Layout-Listing settings.

  Yes I know, in LyX 1.6.0 you would also put it there. The problem is
  not that the caption gets positioned wrongly. The problem is that
  after wherever inserting captionpos=b the numbering doesn't work
  anymore: when I add a reference to Listing 2, LyX (or LaTeX) prints
  ... 3 ... (see test.pdf in my first message).

  I am not sure what exactly goes wrong here...


Hopefully someone with more knowledge will respond soon. LyX 1.6 is
still in svn, so I can't open you're lyx file and importing the tex
file makes it more confusing.

Bob


Re: Literal monofont underscores?

2008-03-19 Thread Daniel Lohmann


On 19.03.2008, at 03:01, Paul A. Rubin wrote:


Doh!

And here's why it worked for me and not you:  I typed in the  
underscores, and LyX cleverly escaped them as \_\_ (ad nauseum).   
I'm guessing you pasted them in or imported them as text, and got  
just underscores, no escapes.




Hm...

LyX really should behave identically in both cases. It should not  
produce a different output from *typing" weather *inserting* some text.


According to my experience  LyX 1.5 versions (it may as well be just a  
Mac problem...) generally suffer from strange effects that something  
that looks identically in the LyX editor in fact produces different  
LaTeX code, which is "surprising" at best for the user. I am still  
suffering twice a day from the "funny invisible chars" problem without  
really understanding how these chars make it into my document:


http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62392.html

Maybe it is time to open a bugzilla entry for this?


Daniel


Experiences with biblatex?

2008-03-19 Thread Daniel Lohmann

Hi,

After finding myself spending more and more time with tweaking and  
customizing bibliography handling I am considering switching to  
biblatex.


According to the wiki (http://wiki.lyx.org/BibTeX/Biblatex) and a  
thread from last December (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg60714.html 
) this seems to be not overly difficult -- it can't be more  
complicated than my current bibtex, multibib, and child-/master mode  
tweaks. Before really digging into all this, I am, however, curious  
about other users' experience with biblatex:


1) Do you have to change your .bib-files? I remember that this was an  
issue when I first read about biblatex, but did not find a comment or  
hint into this direction in the documentation of the current version.


2) Does it work well with hyperref (including backref support and so  
on)? The documentation states so -- but with respect to hyperref many  
oddities arise in practice. (I had, for instance, all my requirements  
fulfilled with  bibunits and some tweaks when I finally figured out  
that with bibunits reference no longer become hyperlinks - a show  
stopper.)


3) Do I really have to use the natbib options? I know, everybody  
recommends natbib, but I prefer the simple alpha style.


4) Why is it the case that the path to the bib-files has to be either  
absolute or the bib-file has to be in texmf? I really would like to  
avoid both.


5) Even though I never heard any complaints about the 0.7 version of  
biblatex, it is still considered as "beta". Did you experience any  
problems while using it?


Thanks a lot!

Daniel


WRB - Problems with LaTeX

2008-03-19 Thread William R. Buckley
Testing the patience of this group, I have a short term problem.

Well, truth is I probably have several such short term problems,
and I would appreciate help with each.

However, this problem is not with LyX directly, and though the
various experts on this group will likely find motivation to answer
the better questions, I am hoping that some of you will help me
through an off-topic newbie problem.

I need an italic *s* character which has a prime symbol above
it.

I have tried variations of

\emph\skew9\acute sand  \it\skew9\acute s

and in no case have I found execution without error upon pdflatex
or the proper result.  At best, there are errors reported, and the
output text is converted to italic after production of the desired
< italic s' > symbol.

Has anyone any idea as to the solution of this problem?

William R. Buckley



Re: Bachelor Thesis template from thesis-template.com

2008-03-19 Thread G. Milde
On 18.03.08, diefettenjahre wrote:
> Hi Maksi, thanks for your reply.

> > you might as well make your own template, based of 
> > preferrable KOMA-Book or Memoir (rather than the standard classes). 

> Well, this is why I've chosen Lyx and this template. Basically I hoped
> that I don't have to learn all these LaTeX commands. But I'll try my
> best and have a brief look at the KOMA Script documentation.

It is really well written and informative.

> If anyone else give me some hint, at least about the headlines since
> this seams to be some bug -- of course in front of the pc :-)

I assume this it not a bug but a setting as well.

Back to the original questions: a non-breaking hyphen can be input as ERT
(evil red text, i.e. raw LaTeX): Press Strg-L and insert "~ in the
appearing box. (This and a lot more about basic typograhic rules and
their implementation with LaTeX can be found in a PDF document: 

   Einige typographische Grundregeln 
  und ihre Umsetzung in LATEX
Werner Struckmann
3. September 2007

which I found on the net (don't remember where).

Günter


Re: Experiences with biblatex?

2008-03-19 Thread Dominik Waßenhoven

Daniel Lohmann schrieb am 19.03.2008:

After finding myself spending more and more time with tweaking and  
customizing bibliography handling I am considering switching to  
biblatex.



[...]



1) Do you have to change your .bib-files?


Yes, slightly. biblatex introduces some new field types (like maintitle, 
subtitle, titleaddon etc.). In order to get your bibliography properly 
formatted, some changes to the bib file will be necessary. I used 
jurabib previously, and it took me about 2-3 hours with a >1000 entries 
bib file.


2) Does it work well with hyperref (including backref support and so  
on)? 


Yes, I have no problems so far.


3) Do I really have to use the natbib options?


No, I don't use natbib at all. biblatex is absolutely independent from 
natbib, there is only a natbib-compatibility-mode in order to use 
natbib's commands (\citep, \citet etc.), not the ones biblatex provides 
(\parencite, \textcite etc.).


4) Why is it the case that the path to the bib-files has to be either  
absolute or the bib-file has to be in texmf? I really would like to  
avoid both.


I have all my bib files in my local texmf tree. But it should work if 
the bib file is in the same directory as the master tex file (though I'm 
not sure if LyX can handle this).


5) Even though I never heard any complaints about the 0.7 version of  
biblatex, it is still considered as "beta". Did you experience any  
problems while using it?


I am using it a lot, and for a long time, and I had no serious problems 
since version 0.6.


Regards,
Dominik.-

--
biblatex styles: http://biblatex.dominik-wassenhoven.de/index-en.shtml



Re: Using a network printer

2008-03-19 Thread christian . ridderstrom

On Tue, 18 Mar 2008, Andre Poenitz wrote:


On Mon, Mar 17, 2008 at 05:02:54PM +, Dave Wood wrote:

How do I set up Lyx to use a network printer? At the moment I can print by
viewing as pdf in kpdf which sees my printer. I would like to be able to
print direct from Lyx though, as I sometimes want to print old files and
not have to preview them first.


Printing from one of the viewers is pretty much the recommended method.


Should we then have a 'print' entry in the File-menu?

/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: getting page

2008-03-19 Thread G. Milde
On 19.03.08, Pol wrote:
> I would like to get straightforwardly pages where to apply corrections that
> i have made to the printed on paper version of my document. 
> Is there a way to display pagination?

No. LyX does not know about the pagination as this is done by the LaTeX
backend.

However, there is (as far as I know) the possibility to jump to a given
place in the LyX window from the xdvi or kdvi previewers (don't know about
the settings, though).

I usually use the Search feature (searching for prominent words near the
correction) or the Navigation menu (as I do have many sub- and
subsubsections, this brings me pretty close).

GM


Re: Experiences with biblatex?

2008-03-19 Thread Daniel Lohmann


On 19.03.2008, at 10:26, Dominik Waßenhoven wrote:


Daniel Lohmann schrieb am 19.03.2008:

After finding myself spending more and more time with tweaking and   
customizing bibliography handling I am considering switching to   
biblatex.



[...]



1) Do you have to change your .bib-files?


Yes, slightly. biblatex introduces some new field types (like  
maintitle, subtitle, titleaddon etc.). In order to get your  
bibliography properly formatted, some changes to the bib file will  
be necessary. I used jurabib previously, and it took me about 2-3  
hours with a >1000 entries bib file.


I see. Are these new fields "backward compatible" in the sense that  
they do not interfere with old-fashioned bibtex and both work smoothly  
on the same database?


(Our group uses a global svn-managed bibtex database which is included  
as svn:externals into every paper or thesis project. I doubt that I  
would get through with a "big bang" transition to biblatex.)



Thanks Dominik!


Daniel

  1   2   >