Re: Fwd: Re: Fixed?

2007-11-15 Thread Wolfgang Engelmann
Am Freitag, 16. November 2007 08:34 schrieb Wolfgang Engelmann:
> Am Donnerstag, 15. November 2007 07:45 schrieben Sie:
> > So you still cannot post??
> >
> > Máté
>
> This is another trial to post a mail to the Lyx User group.
>
> Wolfgang

This time I was able to receive my mail to the list. Thanks a lot for fixing 
it. I am relieved!

Wolfgang


Re: Fwd: Re: Fixed?

2007-11-15 Thread Wolfgang Engelmann
Am Donnerstag, 15. November 2007 07:45 schrieben Sie:
> So you still cannot post??
>
> Máté

This is another trial to post a mail to the Lyx User group.

Wolfgang


errors during the latex run

2007-11-15 Thread e-letter
Readers,

I am trying to create a custom bibtex style file, using the merlin.mbs
function. When I try to preview the lyx document in the di viewer I
get an error about the latex run, furthermore stating I should try to
fix them.

How do I find out what were the errors in the first instance?

Yours,

René.

linux mandrake 92
gnome 24
lyx 132
latex 2e (01-06-01)

chat room: [EMAIL PROTECTED]


Tibetan Unicode

2007-11-15 Thread Sam Sabra
Hello everybody,

I was wondering if anybody knows how to get Tibetan Unicode working with
LyX. I would like to be able to write documents in multiple languages
(Tibetan, Sanskrit, English) and was wondering if this is possible with LyX
1.5 given that Unicode is now supported. I've installed the Windows version
of LyX and haven't had any luck myself, though I've had some success getting
Tibetan Unicode to work with Xetex with Tibetan fonts from the windows
system fonts directory. Any help would be much appreciated.

Thank you for all your hard work and kindness,

Sam Sabra


modernCV formatting questions

2007-11-15 Thread Dave Hewitt
I have been moving my CV to LyX using the modernCV class. I have two 
specific questions, which are shown at the following web site:

http://www.vims.edu/fish/students/dhewitt/modernCV.htm

These may be more TeX questions than LyX questions, but I was hoping 
someone could help me out. Problem #1 is mostly in the Preamble.


(1) Since I do not need a photo in the upper right, can I move the text to 
the left and provide more room for the various entries? It would be nice to 
have fewer lines and start the main body of the CV a little farther up on 
the page. In my case, the web address of my home page runs off the page to 
the right. If the web address problem cannot be handled by adding more room 
for this section, then I need another way to handle that as well.


(2) The titles for the first Items in some sections are shifted down. Under 
Education, the title for Ph.D. shifts down because the entry runs over to 
two lines. Under Dissertation, the title shows on the second line for a 
reason I do not understand. Can I force the titles to be at the top of each 
Item entry?


Thanks,
Dave Hewitt



Re: syntax highlighted code

2007-11-15 Thread Robert Orr
http://www.andre-simon.de/

I use highlight.   It may work for what you are trying
to do.



--- Neal Becker <[EMAIL PROTECTED]> wrote:

> I want to put hyperlinks in my pdf output to syntax
> highlighted code
> listings.  I wonder if anyone can recommend a syntax
> highlighter that:
> 
> 1) groks c++ and python (at least)
> 2) outputs pdf
> 3) Can number lines
> 4) Can wrap long lines
> 
> I don't want to include the code listings in my main
> document (because they
> are long), I just want hyperlinks to them.
> 
> 



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


syntax highlighted code

2007-11-15 Thread Neal Becker
I want to put hyperlinks in my pdf output to syntax highlighted code
listings.  I wonder if anyone can recommend a syntax highlighter that:

1) groks c++ and python (at least)
2) outputs pdf
3) Can number lines
4) Can wrap long lines

I don't want to include the code listings in my main document (because they
are long), I just want hyperlinks to them.



Re: Starting chapters on right-hand page

2007-11-15 Thread Juergen Spitzmueller
nugae wrote:
> Document class: book (AMS)
> Class settings: Options: 11pt, reqno, openright
> 
> The "openright" setting seems to have no effect, and chapters continue to
> start on the next consecutive page rather than always starting on a
> right-hand page.

You need to check Document->Settings->Page Layout->Two-sided document
(the "openright" option is not needed, it is default).

Jürgen




Starting chapters on right-hand page

2007-11-15 Thread nugae

I'm new to LyX and I'm writing a pamphlet in which each new chapter should
start on a right-hand page. In Document Preferences, I have the following
settings:

Document class: book (AMS)
Class settings: Options: 11pt, reqno, openright

The "openright" setting seems to have no effect, and chapters continue to
start on the next consecutive page rather than always starting on a
right-hand page.

The "11pt" and "reqno" settings are behaving as they should, so this isn't a
problem with class settings in general.

I'd be grateful for advice from anyone who knows LyX or LaTeX. Am I doing
something wrong, or is this a bug? Is there something I can do to make all
chapters start on a right-hand page?
-- 
View this message in context: 
http://www.nabble.com/Starting-chapters-on-right-hand-page-tf4815882.html#a13777471
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: importing LaTeX

2007-11-15 Thread jb162
On Tue, 2007-11-13 at 09:41 -0500, Steve Litt wrote:
> Hi Jim,
> 

Hi Steve, thanks for your reply.

[...]
> Anyway, back to your question. I think the general answer is that the 
> environments this code declares with the \newenvironment{} command can be 
> used in LyX by writing a LyX environment wrapper. This technique is well 
> known -- you can readabout it in these three places, as well as many others:
> 
> http://www.troubleshooters.cxm/linux/lyx/self_publish_lyx.htm#for_real_tut
> http://www.troubleshooters.cxm/lpm/200210/200210.htm#_MakingYourOwnLayout
> http://www.troubleshooters.cxm/linux/lyx/lyx_latex_tex.htm#_LyX
> 
> More troublesome are the commands defined with \newcommand or \renewcommand. 
> These can be used in two places:
> 
> 1) In the layout file (to define environments and other entities)
> 2) In the LyX document, but only as ERT
> 
> Obviously my answer has just scratched the surface, but perhaps it's a start.
> 
OK, I read your howto about layouts and I am guessing that I need to
create a new layout (see below) for literate haskell stuff. So I made a
layout that includes wrappers for all of the environments in the tex.
They're all the same at the moment but they put all the hscode stuff on
new lines. Trouble is it's still full of ERT -- can I get round that and
show the symbols, as if I'd entered it from the Maths panel?

I copied all the \newcommand and \renewcommand statements into the
layout. I wasn't sure why I'd need to do that, because if I look at the
preamble in LyX, it's already there. But before I copied them in,
viewing the document brought up many errors about missing commands.

Trying to view the document now gives lots of errors. The first one is
"argument of \texttt has an extra }
 ... below are imported from the \text\texttt
  {TypeLevelSets}
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away." 

Then there are lots of errors about Undefined Control Sequences, such as
SaveRestoreHook - I pasted the 'def' statements etc. into the layout -
do they need to be setup somewhere else?

As you can tell, I am new to all this -- any more useful reading tips?

Thanks!

MY LAYOUT
-
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[article]{article (Literate Haskell)}
# Article textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# Transposed by Pascal André <[EMAIL PROTECTED]>
# Heavily modifed and enhanced by serveral developers.

# Input general definitions
Input stdclass.inc

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

MaxCounter  Counter_Section
SecNumDepth 3
TocDepth3

Preamble

[EMAIL PROTECTED]
  [EMAIL PROTECTED]
   \newcommand\SkipToFmtEnd{}%
   \newcommand\EndFmtInput{}%
   \long\def\SkipToFmtEnd#1\EndFmtInput{}%
  }\SkipToFmtEnd

\newcommand
[EMAIL PROTECTED]@namedef{#1}{}}\SkipToFmtEnd}
\usepackage{amstext}
\usepackage{amssymb}
\usepackage{stmaryrd}
\DeclareFontFamily{OT1}{cmtex}{}
\DeclareFontShape{OT1}{cmtex}{m}{n}
  {<5><6><7><8>cmtex8
   <9>cmtex9
   <10><10.95><12><14.4><17.28><20.74><24.88>cmtex10}{}
\DeclareFontShape{OT1}{cmtex}{m}{it}
  {<-> ssub * cmtt/m/it}{}
\newcommand{\texfamily}{\fontfamily{cmtex}\selectfont}
\DeclareFontShape{OT1}{cmtt}{bx}{n}
  {<5><6><7><8>cmtt8
   <9>cmbtt9
   <10><10.95><12><14.4><17.28><20.74><24.88>cmbtt10}{}
\DeclareFontShape{OT1}{cmtex}{bx}{n}
  {<-> ssub * cmtt/bx/n}{}
\newcommand{\tex}[1]{\text{\texfamily#1}}   % NEU

\newcommand{\Sp}{\hskip.4em\relax}


\newcommand{\Conid}[1]{\mathit{#1}}
\newcommand{\Varid}[1]{\mathit{#1}}
\newcommand{\anonymous}{\kern0.06em [EMAIL PROTECTED]
\newcommand{\plus}{\mathbin{+\!\!\!+}}
\newcommand{\bind}{\mathbin{>\!\!\!>\mkern-6.7mu=}}
\newcommand{\sequ}{\mathbin{>\!\!\!>}}
\renewcommand{\leq}{\leqslant}
\renewcommand{\geq}{\geqslant}
\usepackage{polytable}

%mathindent has to be defined
[EMAIL PROTECTED]
  {\newdimen\mathindent\mathindent\leftmargini}%
  {}%

\def\resethooks{%
  \global\let\SaveRestoreHook\empty
  \global\let\ColumnHook\empty}
\newcommand*{\savecolumns}[1][default]%
  [EMAIL PROTECTED]@macro\SaveRestoreHook{\savecolumns[#1]}}
\newcommand*{\restorecolumns}[1][default]%
  [EMAIL PROTECTED]@macro\SaveRestoreHook{\restorecolumns[#1]}}
\newcommand*{\aligncolumn}[2]%
  [EMAIL PROTECTED]@macro\ColumnHook{\column{#1}{#2}}}

\resethooks

\newcommand{\onelinecommentchars}{\quad-{}- }
\newcommand{\commentbeginchars}{\enskip\{-}
\newcommand{\commentendchars}{-\}\enskip}

\newcommand{\visiblecomments}{%
  \let\onelinecomment=\onelinecommentchars
  \let\commentbegin=\commentbeginchars
  \let\comme