RE: Automated insertion of labeled sentences

2012-02-14 Thread Scott Kostyshak
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of sj03rd 
[sjoerd...@gmail.com]
Sent: Tuesday, February 14, 2012 5:15 PM

I can refer-and-insert table numbers/equation numbers
using labels and cross-references throughout the text.
Now, it would be extremely valuable if I could also
refer-and-insert a full sentence.

Is this possible in Lyx, and how?

Hi Stewart,

To insert Tex Code, either:
(1) go to Insert TeX Code
or
(2) type control L
This will give you a red box into which you can type latex commands directly. 
Type in something like: 
\newcommand{\mysentence}{This is a sentence that I want to use in many places.}
Note that this red box must be before you try to use this command, so put it in 
the preamble or near the top of your document.
Then, wherever you want to use that sentence, insert tex code again and put 
into the red box:
\mysentence
You should be able to do this in tables and mostly anywhere.

Is this what you were looking for?

Scott

RE: Automated insertion of labeled sentences

2012-02-16 Thread Scott Kostyshak
From: sj03rd[sjoerd...@gmail.com]
Sent: Thursday, February 16, 2012 4:29 AM

Hi Scott,

Thanks a lot for your answer, this is exactly what I was looking for. Much 
appreciated!

Best regards,
Sjoerd (in Dutch) / Stewart (in English)

Hi Sjoerd,

I'm glad that solved your problem. Next time please respond to the list (reply 
all) so that everyone knows your problem was solved, in case others are trying 
to work on a solution or are trying to come up with a different interpretation 
of what the actual problem was.

Best regards,

Scott


RE: cannot find example files for training

2012-03-01 Thread Scott Kostyshak
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of Hauke 
[hauke_st...@gmx.de]
Sent: Thursday, March 01, 2012 5:22 AM

in there, i am told to practice some excercises given for example in 
'example_raw.lyx'. I shall open these files and train stuff… But i cannot 
find the files. they seem not to be on my mac.

Hi Hauke, please always say which version of LyX you are using.
When you go to open, is there a button that is called Examples ? For me, it 
is in the upper-right corner next to a button called Documents. I can also 
activate that button by pressing alt+e. Does either the button or the 
key-combination alt+e work for you?

Scott

RE: Getting lyx to recognise biber

2012-03-20 Thread Scott Kostyshak
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of Roey Angel 
[angel.r...@gmail.com]
Sent: Tuesday, March 20, 2012 8:48 PM

I'm using lyx 2.0.0 because that's what's available through the ubuntu 
repository.
I could build it from source but only if that's what's  causing the problem.

There is an Ubuntu PPA:
https://launchpad.net/~lyx-devel/+archive/release
This allows you to easily install 2.0.3 without having to build from source.

Scott

RE: Chinese Characters in Lyx 2.02

2012-03-25 Thread Scott Kostyshak
From: Nicholas Martin [nm...@mit.edu]
Sent: Sunday, March 25, 2012 3:23 AM

OK, I've now figured out how to write Chinese in Lyx 2.02. Apologies for all 
who have no interest in this whatsoever, but since a brief perusal of the 
forum shows that many have struggled with the same problem, and that much of 
the advice given in the forum is now outdated (due to the improvements since 
Lyx 1.4, 1.5 etc.), I thought it might be helpful to share the instructions:

1. Write the following code into the Latex Preamble (Document -- Settings -- 
Latex Preamble ):

\usepackage{CJKutf8}
\usepackage[overlap, CJK]{ruby}
\newenvironment{SChinese}{%
\CJKfamily{gbsn}%
\CJKtilde
\CJKnospace}{}
\newcommand{\cntxt}[1]{\begin{CJK}{UTF8}{}\begin{SChinese}#1\end{SChinese}\end{CJK}}


2. Then, when you want to write Chinese in the text, do the following:

Open a Tex Box (in menu, 6th button from right). Into the Tex box then write 
the following command [replacing the characters below with whatever Chinese 
you want to write].

\begin{CJK}{UTF8}{}\begin{SChinese}整治\end{SChinese}\end{CJK}

Great, thank you for posting the solution Nicholas!
If you have some time could you update the wiki page?
http://wiki.lyx.org/LyX/Chinese
It was last updated more than a year ago.
You don't need to sign up for a user name or anything.

Best,

Scott


RE: Writing Arabic Documents in Lyx

2012-04-03 Thread Scott Kostyshak
From: Eisa Alanazi [eisalen...@yahoo.com]
Sent: Tuesday, April 03, 2012 3:01 PM
To: lyx-users@lists.lyx.org
Subject: Writing Arabic Documents in Lyx

I have LyX 2 on Mac OS X 10.7 and want to write some arabic texts into the lyx 
documents (or for Tex at least).
doing some googling I've found some packages but not knowing how to configure 
them properly.
is there any simple guide to write Arabic in Lyx?

Hi Elsa,

See the link here:
http://wiki.lyx.org/Windows/Arabic

Even though the url says Windows there is also information for Linux. Does 
that help you with your Mac? Please feel free to update the information there 
or add Mac specific solutions as you find them. Just go to Edit.

Thanks,

Scott

RE: Is it possible to track changes without seeing the tracked changes?

2012-04-11 Thread Scott Kostyshak
From: Bert Lloyd [bert.lloyd...@gmail.com]
Sent: Tuesday, April 10, 2012 11:13 PM

Is it possible to track changes but not actually have the tracking be
apparent in the document while I am working?

You can edit without track changes enabled and then use tools  compare (with 
the enable change tracking features in the output checkbox checked).

Scott

RE: Monitor BibTeX files?

2012-04-26 Thread Scott Kostyshak
From: Chris Hennick [christophe...@trentu.ca]
Sent: Thursday, April 26, 2012 6:40 PM

2.0.2. Is there any way to get updates automatically?

If you are using Ubuntu, you can use this PPA:
https://launchpad.net/~lyx-devel/+archive/release

That should give you (stable) updates automatically.

If you are using Mac or Windows, I think the answer is no.

Scott


RE: Monitor BibTeX files?

2012-04-27 Thread Scott Kostyshak
From: Chris Hennick [christophe...@trentu.ca]
Sent: Friday, April 27, 2012 1:36 AM

On a related note, is there any way to set a target file path for PDF 
rendering, so that I don't have to click Save As in Adobe Reader? Then, I'd 
be able to update my prof's snapshot with just one manual step.

There are a few approaches you could take here I think. One might be a copier. 
See section 3.2 in help  customization

Here is another way. You can run the command below. First test it out by 
running View  Toolbars  Command buffer (or Alt-x usually) and enter the 
following command there and press return. Don't forget to modify the folder you 
want and the pdf name that you want.

buffer-export-custom pdflatex pdflatex 
-output-directory=/dir/you/want/to/save/to -jobname=forProf $$FName

If that works, set a shortcut by going to tools  preferences  editing.

Scott


RE: direct inkscape layer support in lyx

2012-04-29 Thread Scott Kostyshak
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of Qiqi Yan 
[yanq...@gmail.com]
Sent: Sunday, April 29, 2012 6:19 PM

Let's say I have an inkscape drawing with multiple layers.

When I import the svg into lyx, can I specify the layers that get shown?

With inkscape you can export specific objects. Would this accomplish what you 
want?
   -i ID, --export-id=ID
   For PNG, PS, EPS, and PDF export, the id attribute value of the
   object that you want to export from the document; all other
   objects are not exported.  By default the exported area is the
   bounding box of the object; you can override this using
   --export-area (PNG only) or --export-area-page.

If that would work for you, then look in the help  customization manual to see 
how to have this automated by LyX. You can go to preferences  file handling  
converters  SVG - PDF, for example, to see the command that is run.

Scott


RE: Getting lyx 2.0.3 for Ubuntu

2012-04-30 Thread Scott Kostyshak
From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of kaplae01 
[ehud.kap...@gmail.com]

Could someone please reminds me where to get the latest Lyx (2.0.3) for ubuntu?
Their repositories are shamefully out of date (they offer 2.0.2).  I know it 
exists somewhere,
but cannot find it.  I tried to get it from getdeb but failed.

Liviu maintains a stable PPA here:
https://launchpad.net/~lyx-devel/+archive/release

Scott


RE: Coloring

2012-05-07 Thread Scott Kostyshak
Allen Barker [allen.l.bar...@gmail.com]
Sent: Tuesday, May 08, 2012 12:30 AM

 On Mon 07 May 2012 01:40:09 PM EEST, Merhebi, Bob wrote:
 Hello,

 I was wondering whether I could use coloring in equations? For example,
 when using Mathematica or python (in IDE), brackets  the like get
 colored; I've seen a pdf document recently which involved such coloring;
 is that possible in LyX?

You can select any text in a math inset and change the color
via the Text Style dialog (the ab button).  I don't
know of any way highlight formulas automatically.

For highlighting program listings the listings insets do a
nice job, and can use colors.

You can create colored boxes and put equations in those, as explained in help  
Math  Section 9.3 Colored Boxes

Scott

RE: Embedding arrows stuff

2012-05-09 Thread Scott Kostyshak
From: Paul A. Rubin [ru...@msu.edu]
Sent: Wednesday, May 09, 2012 8:10 PM

This is a major PITA.  Horizontal scrollbars have been suggested, and I suspect
there's a (long) open ticket for it.

Yes, here: http://www.lyx.org/trac/ticket/1083

My preferred workaround used to be to select the entire equation and use ctrl-M
to convert it back to plain text, dink around with that, then ctrl-M again to
make it a formula once more.  That no longer works (I'm not sure which version
did away with it).

I didn't know that this is how it used to work. I wonder why it was changed. 
For something similar, see workaround 1 below.

Here are 3 workarounds to long inline math equations that you might find useful.

workaround 1:
Convert the math to LaTeX, edit the LaTeX, then convert back to math.

Two ways to do this:
(a) You could bind the following command-sequence to a shortcut. Then put your 
cursor in front of your long equation and run the shortcut.
command-sequence char-forward; line-end-select ; cut; char-backward; paste; 
char-delete-forward

(b) Or if you want to do it manually, go just inside the equation and do 
ctrl+shift+right arrow or ctrl+end. Both of those work for me. And then go 
outside of math and paste. It should now show up as LaTeX.

To convert from LaTeX back to math, highlight the LaTeX code and do ctrl+m.

workaround 2:
Bind the following command to a shortcut. This will split an inline math 
inset into two separate inline math insets.
command-sequence line-end-select; cut; char-forward; math-mode; paste; 
char-forward; word-backward

You might need to do that more than once (at different positions, of course) 
depending on how long your equation is.
To then paste them back together into one math inset highlight them all and 
press ctrl+m. 

workaround 3:
zoom out (ctrl + scroll wheel).

I wonder if we should create a wiki page for workarounds to this issue as it 
seems to come up often and a fix seems to be too difficult. If anyone is up to 
it, please go ahead, and then link to it from here http://wiki.lyx.org/FAQ/Math

Scott

RE: OT? upgrading Texlive to work with LyX 2.0.2. Paths problem

2012-05-15 Thread Scott Kostyshak
From: John Kane [jrkrid...@yahoo.ca]
Sent: Tuesday, May 15, 2012 12:28 PM

Glad you got things working.

I then put
export
PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH
in my .profile and
restarted the terminal

For the future and in case you are curious: .profile is executed when you log 
in, not on each opening of a terminal. .bashrc is run on each new terminal 
instance. This is why a reboot fixed it for you.

Scott

RE: Change math Language - critical

2012-05-18 Thread Scott Kostyshak
From: Kenedy Torcatt [yde...@gmail.com]
Sent: Friday, May 18, 2012 3:30 AM

Hey guys... I'm working with lyx in spanish, The mathematical operator
like sin are showing in english sin. I need this math operators in
spanish, I mean sen.
How can I do this with lyx? I'm using latest version 2.0.3.

Put this in your preamble:

\DeclareMathOperator*{\espsin}{sen}

(also make sure that you are using the amsmath package)
Then when you want to input sen in your math inset just put \espsin. Note 
that you can choose the name espsin.

Scott

RE: System dialog boxes appearance

2012-05-18 Thread Scott Kostyshak
Daniel CLEMENT [dcleme...@sfr.fr]
Sent: Friday, May 18, 2012 5:15 AM

I have just migrated to Linux Mint Debian (XFCE) from Ubuntu (Gnome 2).
I have noticed that the File-Open dialog boxes no longer integrated
nicely with the system settings (as they used to do). The folder and
file icons in both panes don't match the system-wide setting (theme) any
more.

I was wondering if perhaps a tricky LyX setting could help, or adding
some judicious package?

It's being worked on:
http://www.lyx.org/trac/ticket/8149

Scott

RE: LyX cannot handle '$' sign in Sweave code chunk

2012-05-30 Thread Scott Kostyshak
From: Lam Phung Khanh [la...@oucru.org]
Sent: Wednesday, May 30, 2012 10:54 PM

Note that I used knitr to test this, not Sweave. knitr is newer, has more 
features, and can do everything that Sweave can and a lot more. To use it, add 
the module Rnw (knitr) instead of Sweave. Is there a reason you want to use 
Sweave?

I got error: LyX: cannot convert file when compiled it. My suspect is LyX 
cannot handle the '$' sign in Sweave code chunk. When I used another way to 
write the last code line, it worked fine:

I don't think this is a LyX or a knitr error but a problem with your R code. R 
gives me the following error:

a - c(1:10)
b - c(11:20)
d - cbind(a, b)
d$a
Error in d$a : $ operator is invalid for atomic vectors

The following runs fine for me in R and in LyX + knitr

a - c(1:10)
b - c(11:20)
d - data.frame(a, b)
d$a

Please forgive me if this email disturbs you.
Of course not! Feel free to ask any question about LyX + knitr.

Scott

RE: LyX cannot handle '$' sign in Sweave code chunk

2012-05-31 Thread Scott Kostyshak
From: Lam Phung Khanh [la...@oucru.org]
Sent: Thursday, May 31, 2012 2:37 AM

Thank you very much for your response. Sorry because I did not check
carefully my R code.

An easy way to check your R code is to export it from LyX by file  export  
R/S code

I've heard about knitr several weeks ago but haven't tried it yet
because Sweave is somehow more familiar to me; however, I intend to try
it in near future.

Your Sweave code should work unchanged with knitr. The transition is very easy, 
but I understand your hesitation.

Scott

knitr problem with packageVersion R function

2012-06-02 Thread Scott Kostyshak
LyX gives me an error when I have the R command `packageVersion` in a knitr 
chunk. Attached is a mwe .lyx that gives an error for me. I get this error on 
current trunk and on 2.0.3 when exporting or viewing as pdf (pdflatex). 
Exporting to latex (pdflatex) and then running pdflatex manually produces the 
pdf as expected but exits with error code 1 (even though no indication of a 
problem is given in the terminal which I find to be strange).

I'm pasted the relevant part of the error from the log below and attached are 
the .lyx file, the .tex file that is produced when exported to latex (pdflatex) 
and the .log file.

LaTeX Font Info:Font shape `T1/cmtt/bx/n' in size 10 not available
(Font)  Font shape `T1/cmtt/m/n' tried instead on input line 400.
! Undefined control sequence.
argument ^^M## [1] '
  0.5'^^M
l.405 \end{verbatim}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
argument ^^M## [1] '0.5'
  ^^M
l.405 \end{verbatim}

Any ideas?

Thanks,

Scott


gives_error.lyx
Description: gives_error.lyx
\batchmode
\makeatletter
\def\input@path{{\string/home/scott/Desktop/lyx bug/\string/}}
\makeatother
\documentclass[english]{article}
\usepackage{graphicx, color}
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\definecolor{fgcolor}{rgb}{0.267, 0.267, 0.267}
\newcommand{\hlnumber}[1]{\textcolor[rgb]{0,0,0}{#1}}%
\newcommand{\hlfunctioncall}[1]{\textcolor[rgb]{0.501960784313725,0,0.329411764705882}{\textbf{#1}}}%
\newcommand{\hlstring}[1]{\textcolor[rgb]{0.6,0.6,1}{#1}}%
\newcommand{\hlkeyword}[1]{\textcolor[rgb]{0,0,0}{\textbf{#1}}}%
\newcommand{\hlargument}[1]{\textcolor[rgb]{0.690196078431373,0.250980392156863,0.0196078431372549}{#1}}%
\newcommand{\hlcomment}[1]{\textcolor[rgb]{0.180392156862745,0.6,0.341176470588235}{#1}}%
\newcommand{\hlroxygencomment}[1]{\textcolor[rgb]{0.43921568627451,0.47843137254902,0.701960784313725}{#1}}%
\newcommand{\hlformalargs}[1]{\textcolor[rgb]{0.690196078431373,0.250980392156863,0.0196078431372549}{#1}}%
\newcommand{\hleqformalargs}[1]{\textcolor[rgb]{0.690196078431373,0.250980392156863,0.0196078431372549}{#1}}%
\newcommand{\hlassignement}[1]{\textcolor[rgb]{0,0,0}{\textbf{#1}}}%
\newcommand{\hlpackage}[1]{\textcolor[rgb]{0.588235294117647,0.709803921568627,0.145098039215686}{#1}}%
\newcommand{\hlslot}[1]{\textit{#1}}%
\newcommand{\hlsymbol}[1]{\textcolor[rgb]{0,0,0}{#1}}%
\newcommand{\hlprompt}[1]{\textcolor[rgb]{0.267,0.267,0.267}{#1}}%

\usepackage{color}%
 
\newsavebox{\hlnormalsizeboxclosebrace}%
\newsavebox{\hlnormalsizeboxopenbrace}%
\newsavebox{\hlnormalsizeboxbackslash}%
\newsavebox{\hlnormalsizeboxlessthan}%
\newsavebox{\hlnormalsizeboxgreaterthan}%
\newsavebox{\hlnormalsizeboxdollar}%
\newsavebox{\hlnormalsizeboxunderscore}%
\newsavebox{\hlnormalsizeboxand}%
\newsavebox{\hlnormalsizeboxhash}%
\newsavebox{\hlnormalsizeboxat}%
\newsavebox{\hlnormalsizeboxpercent}% 
\newsavebox{\hlnormalsizeboxhat}%
\newsavebox{\hlnormalsizeboxsinglequote}%
\newsavebox{\hlnormalsizeboxbacktick}%

\setbox\hlnormalsizeboxopenbrace=\hbox{\begin{normalsize}\verb.{.\end{normalsize}}%
\setbox\hlnormalsizeboxclosebrace=\hbox{\begin{normalsize}\verb.}.\end{normalsize}}%
\setbox\hlnormalsizeboxlessthan=\hbox{\begin{normalsize}\verb..\end{normalsize}}%
\setbox\hlnormalsizeboxdollar=\hbox{\begin{normalsize}\verb.$.\end{normalsize}}%
\setbox\hlnormalsizeboxunderscore=\hbox{\begin{normalsize}\verb._.\end{normalsize}}%
\setbox\hlnormalsizeboxand=\hbox{\begin{normalsize}\verb..\end{normalsize}}%
\setbox\hlnormalsizeboxhash=\hbox{\begin{normalsize}\verb.#.\end{normalsize}}%
\setbox\hlnormalsizeboxat=\hbox{\begin{normalsize}\verb.@.\end{normalsize}}%
\setbox\hlnormalsizeboxbackslash=\hbox{\begin{normalsize}\verb.\.\end{normalsize}}%
\setbox\hlnormalsizeboxgreaterthan=\hbox{\begin{normalsize}\verb..\end{normalsize}}%
\setbox\hlnormalsizeboxpercent=\hbox{\begin{normalsize}\verb.%.\end{normalsize}}%
\setbox\hlnormalsizeboxhat=\hbox{\begin{normalsize}\verb.^.\end{normalsize}}%
\setbox\hlnormalsizeboxsinglequote=\hbox{\begin{normalsize}\verb.'.\end{normalsize}}%
\setbox\hlnormalsizeboxbacktick=\hbox{\begin{normalsize}\verb.`.\end{normalsize}}%
\setbox\hlnormalsizeboxhat=\hbox{\begin{normalsize}\verb.^.\end{normalsize}}%



\newsavebox{\hltinyboxclosebrace}%
\newsavebox{\hltinyboxopenbrace}%
\newsavebox{\hltinyboxbackslash}%
\newsavebox{\hltinyboxlessthan}%
\newsavebox{\hltinyboxgreaterthan}%
\newsavebox{\hltinyboxdollar}%
\newsavebox{\hltinyboxunderscore}%
\newsavebox{\hltinyboxand}%
\newsavebox{\hltinyboxhash}%
\newsavebox{\hltinyboxat}%
\newsavebox{\hltinyboxpercent}% 
\newsavebox{\hltinyboxhat}%
\newsavebox{\hltinyboxsinglequote}%
\newsavebox{\hltinyboxbacktick}%


RE: knitr problem with packageVersion R function

2012-06-02 Thread Scott Kostyshak
From: Yihui Xie [xieyi...@gmail.com]
Sent: Saturday, June 02, 2012 8:04 PM

I cannot reproduce the problem. It compiles successfully with TeXLive
2011 under Ubuntu. Can anyone else reproduce it?

I am using Ubuntu (64-bit) 12.04 with TeXLive 2011 and pdflatex version:
scott@wws-1j1dnk1:~$ pdflatex --version
pdfTeX 3.1415926-2.3-1.40.12 (TeX Live 2011)
kpathsea version 6.0.1

Does this happen to packageVersion() only?

Also with packageDescription(). But I've compiled many knitr documents that 
have used many packages and functions and this is the first time that I have 
this problem. If I wrap packageVersion as follows then it works fine:
as.character(packageVersion('knitr'))

Can you send me the .tex file that is produced when you export the .lyx file I 
sent to latex (pdflatex)? If they are the same and it works for you then the 
problem must be my pdflatex. If they are different then the problem is 
something else.

Thanks,

Scott

RE: knitr problem with packageVersion R function

2012-06-02 Thread Scott Kostyshak
From: Yihui Xie [xieyi...@gmail.com]
Sent: Saturday, June 02, 2012 8:39 PM

I believe this is because R uses sQuote() to print package versions
which introduces curly quotes (non-ASCII characters).

Unfortunately sQuote() was hard-coded in the printing function, so
there is no direct way to get rid of the two curly quotes, and you
have to use as.character(), or packageDescription('knitr',
fields='Version')

Ah, that makes sense. Well thanks for investigating this for me. I feel more 
comfortable at least knowing what's going on.

Scott

RE: Drag and drop image files to LyX

2012-06-08 Thread Scott Kostyshak
From: Richard Heck [rgh...@comcast.net]
Sent: Friday, June 08, 2012 2:16 PM

Not at the moment, I don't think, though feel free to file an
enhancement request. It probably wouldn't be all that hard to make this
work.

There is an enhancement request already filed that has a patch:
http://www.lyx.org/trac/ticket/4017

I haven't tested it and it looks to be forgotten, but I'm guessing there's a 
chance of seeing this feature in 2.1.

Scott

Ubuntu users -- can you replicate this?

2012-06-10 Thread Scott Kostyshak
I'm trying to fix a couple of bugs that others haven't been able to replicate. 
Could you please let me know if you observe the same behavior as I do?

(1)
in the edit menu when you see Find and Replace (quick) ... is the F 
underlined? Or does the underscore appear before the F ?

(2)
This is only for users who have Okular set as their pdf viewer. Often when I 
view a pdf, Okular doesn't start. I see the following in the terminal output:

Running: okular newfile1.pdf

Successful preview of format: PDF (pdflatex)
If I view as pdf again, Okular works as expected. Then when I exit LyX, Okular 
tries to open newfile1.pdf but it cannot because the temporary directory has 
been deleted.

Thanks,

Scott


RE: Re: Ubuntu users -- can you replicate this?

2012-06-11 Thread Scott Kostyshak
From: Kornel Benko [kornel.be...@berlin.de]
Sent: Monday, June 11, 2012 6:19 AM

Confirmed for lyx 2.0.4svn, but not for lyx 2.1.0svn.


Does this mean that in 2.1.0svn the F is correctly underlined for you or that 
you are just not confirming for 2.1.0svn?


Thanks,


Scott


RE: Re: Ubuntu users -- can you replicate this?

2012-06-11 Thread Scott Kostyshak
From: Liviu Andronic [landronim...@gmail.com]
Sent: Monday, June 11, 2012 6:31 AM

On Mon, Jun 11, 2012 at 12:19 PM, Kornel Benko kornel.be...@berlin.de wrote:
  before F if I set the User interface lanuage to English.
 Nope - can't confirm this for English - LyX 2.0.3 from ppa, Ubuntu
 Precise
 Confirmed for lyx 2.0.4svn, but not for lyx 2.1.0svn.

I have fairly old branch and trunk snapshots, but I cannot confirm
this here. Perhaps this is related to the current locale? This is what
I have:
liv@liv-laptop:~$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

I have the same locale output as you. If interested, here was the discussion on 
the lyx-dev list regarding a possible fix to this behavior:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg174086.html
Don't pay attention to my patch; JMarc's idea is clearly better, if indeed this 
is a problem to be fixed.

Scott

RE: RE: Re: Ubuntu users -- can you replicate this?

2012-06-11 Thread Scott Kostyshak
From: Kornel Benko [kornel.be...@berlin.de]
Sent: Monday, June 11, 2012 7:44 AM

The crazy thing now is: Without recompiling, now also in 2.1.0svn 'F' is 
underlined.

This is indeed weird. It's not completely crazy because the menu item in this 
case is controlled by a text file, stdmenus.inc. If you modify that file then 
the changes will show up instantly (this is also an easy way to customize the 
menu to way you like it). What is strange is that you didn't modify that file.


 I cannot see the bad behaviour anymore. What I have done in the meantime? I 
 played with configure of the unity-desktop (with my login) to be able to 
 configure it correct later for my wife.

Strange. I don't know why this would have an effect. If you're able to 
reproduce the solution, please post back.

I still don't know if this is an Ubuntu issue, a Qt issue, or what.

Thanks for your help,

Scott


RE: Inserting Citations

2012-06-11 Thread Scott Kostyshak
From: William Hanson [whan...@umn.edu]
Sent: Monday, June 11, 2012 4:14 PM

I'm having trouble getting LyX to allow me to insert citations into documents 
created on a new Dell (running Windows 7).  (My old HP, which runs Windows 
XP, has no trouble doing this). On the Dell LyX works just fine until I click 
the Insert Citation tab.  It brings up the usual LyX: Citation window, but the 
Available Citation field is empty.  My BibTeX folder contains four non-empty 
BibTeX Database (.bib) files (the same ones I used earlier on the HP, and 
which I transferred to the Dell via Mendeley), but LyX is apparently unaware 
of them.  What should I do?

Do you have a bibliography inserted? If it is not, you need to insert one via 
insert  list / TOC  BibTeX bibliography. If you do have one inserted, click 
on it and see if your databases are listed. If they are not listed, you need to 
make sure LyX can find your .bib files. Make sure your BibTeX folder is in the 
path. (if you moved the folder, click on rescan). Then go to Add and find 
your .bib files.

Scott


RE: Inserting Citations

2012-06-11 Thread Scott Kostyshak
From: William Hanson [whan...@umn.edu]
Sent: Tuesday, June 12, 2012 12:08 AM

Bill,

Please respond to the list so that others can see your message. This is good so 
that
(1) if we get a solution it will be searchable by others that have this problem 
in the future
(2) if we find a solution others will not be working to try to solve your 
problem when it is already solved, and
(3) most people on this list know a lot more than I do so you're much more 
likely to get a solution.

Thanks.  My BibTeX bibliography is empty, so that's the problem.  But I can't 
seem to get my .bib files into it.  I don't know what you mean when you say I 
should make sure my BibTeX folder is in the path.  What path?

I don't know how to deal with this issue for Windows. You could search (using 
windows search) for files in your tex distribution (for example, search for 
.bib files) and put your BibTeX files there and hopefully that would be in the 
path. Or see below.

When I click rescan nothing happens.  Clicking browse takes me to what 
looks like Windows Explorer, but it won't let me do anything with my BibTeX 
folder.  So I'm still stuck.

This should work. What do you mean that it won't let you do anything with your 
BibTeX folder? You need to add the individual .bib files. Also, they must have 
the .bib extension otherwise they will not be found in that window. If they do 
not have the extension, you can just rename the files to add the extension to 
them.

Does that work?

Also, what version of LyX are you using?

Scott


RE: Graphics Tools

2012-07-17 Thread Scott Kostyshak
From: Steve Litt [sl...@troubleshooters.com]
Sent: Tuesday, July 17, 2012 1:23 PM

I'd **LOVE** for LyX to use SVG images as vector graphics. SVG images
are standard, and very small byteswize, and they're the native format
of Inkscape. If anyone knows a way to get LyX to use SVG images as
vector graphics, please let me know.

Doesn't LyX already do this? If you go to Preferences  File Formats, you will 
see your converters. I have SVG - EPS, SVG - PDF, and SVG - PNG. EPS and PDF 
are both vector formats. Perhaps if you don't have inkscape installed (which is 
what is doing the conversions for me and which is searched for by LyX's 
configure), then your convertor can only convert to a raster format.

Scott

RE: math macros via LaTex preamble

2012-07-22 Thread Scott Kostyshak
From: Richard Heck [rgh...@lyx.org]
Sent: Sunday, July 22, 2012 10:20 AM

So the attached shows a way around this problem. The difference between \test 
and \lest
doesn't show up inside LyX, but it does in the output.

Is there any way to put these inside a preview inset?

Scott

RE: writing a vita with Modern

2012-07-28 Thread Scott Kostyshak
Hi Josh,

Please always send the operating system and LyX version that you are using 
whenever your report a problem (even if you think it has nothing to do with the 
problem).

etoolbox.sty is missing. That means you might need to install it (the 
alternative is that it is installed but it is not being found). The package is 
located here:
http://www.ctan.org/tex-archive/macros/latex/contrib/etoolbox/

I don't know how you install packages in MiKTeX but it might be easier for you 
to install it from MiKTeX instead of doing it manually.

Also, modernCV.lyx has been changed recently. Maybe those changes will fix your 
problem.

Here is the most recent version of modernCV.lyx
http://www.lyx.org/trac/browser/lyxgit/lib/examples/modernCV.lyx

You can see the changes here:
http://www.lyx.org/trac/log/lyxgit/lib/examples/modernCV.lyx

Scott


From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of Josh Britt 
[joshbrit...@gmail.com]
Sent: Saturday, July 28, 2012 9:19 PM
To: lyx-users@lists.lyx.org
Subject: writing a vita with Modern

Hi,

I am getting an error when I try to view as pdf. I am using the document class 
curriculum vita (modern).

Below is the error message.

Please Help!


This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded 
format=pdflatex 2012.7.20)  28 JUL 2012 20:11
entering extended mode
**newfile1.tex
(C:\Users\Joshua\AppData\Local\Temp\lyx_tmpdir.Hp3948\lyx_tmpbuf2\newfile1.tex
LaTeX2e 2011/06/27
Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\moderncv\moderncv.cls
Document Class: moderncv 2012/03/26 v1.0 modern curriculum vitae and letter doc
ument class
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size11.clo
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)

! LaTeX Error: File `etoolbox.sty' not found.

Type X to quit or RETURN to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
read *

l.78

*** (cannot \read from terminal in nonstop modes)

Here is how much of TeX's memory you used:
59 strings out of 494045
1026 string characters out of 3145966
48890 words of memory out of 300
3439 multiletter control sequences out of 15000+20
3940 words of font info for 15 fonts, out of 300 for 9000
715 hyphenation exceptions out of 8191
21i,0n,20p,209b,36s stack positions out of 5000i,500n,1p,20b,5s
!  == Fatal error occurred, no output PDF file produced!


RE: writing a vita with Modern

2012-07-28 Thread Scott Kostyshak
Josh,

Thank you for the info. Note that 2.0.4 is different from 2.0. Also, it's 
better if we respond to the list. That way others can view the discussion and 
can offer advice.

Did you install the etoolbox package?

Don't forget to do toolreconfigure after you install so that LyX learns about 
the new package.

Scott


From: Josh Britt [joshbrit...@gmail.com]
Sent: Saturday, July 28, 2012 10:02 PM
To: Scott Kostyshak
Subject: RE: writing a vita with Modern

Scott,

I have installed Lyx 2.0
Operating system is: Windows 7 home premium

I downloaded the version from. http://www.lyx.org/Download

The Windows installer can be downloaded here: 
LyX-2.0.4-1-Installer.exeftp://ftp.lyx.org/pub/lyx/bin/2.0.4/LyX-2.0.4-1-Installer.exe.

Josh




From: Scott Kostyshak [mailto:skost...@princeton.edu]
Sent: Saturday, July 28, 2012 8:42 PM
To: Josh Britt; lyx-users@lists.lyx.org
Subject: RE: writing a vita with Modern

Hi Josh,

Please always send the operating system and LyX version that you are using 
whenever your report a problem (even if you think it has nothing to do with the 
problem).

etoolbox.sty is missing. That means you might need to install it (the 
alternative is that it is installed but it is not being found). The package is 
located here:
http://www.ctan.org/tex-archive/macros/latex/contrib/etoolbox/

I don't know how you install packages in MiKTeX but it might be easier for you 
to install it from MiKTeX instead of doing it manually.

Also, modernCV.lyx has been changed recently. Maybe those changes will fix your 
problem.

Here is the most recent version of modernCV.lyx
http://www.lyx.org/trac/browser/lyxgit/lib/examples/modernCV.lyx

You can see the changes here:
http://www.lyx.org/trac/log/lyxgit/lib/examples/modernCV.lyx

Scott

From: lyx-users@lists.lyx.orgmailto:lyx-users@lists.lyx.org 
[lyx-users@lists.lyx.org] on behalf of Josh Britt [joshbrit...@gmail.com]
Sent: Saturday, July 28, 2012 9:19 PM
To: lyx-users@lists.lyx.orgmailto:lyx-users@lists.lyx.org
Subject: writing a vita with Modern
Hi,

I am getting an error when I try to view as pdf. I am using the document class 
curriculum vita (modern).

Below is the error message.

Please Help!


This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded 
format=pdflatex 2012.7.20)  28 JUL 2012 20:11
entering extended mode
**newfile1.tex
(C:\Users\Joshua\AppData\Local\Temp\lyx_tmpdir.Hp3948\lyx_tmpbuf2\newfile1.tex
LaTeX2e 2011/06/27
Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\moderncv\moderncv.cls
Document Class: moderncv 2012/03/26 v1.0 modern curriculum vitae and letter doc
ument class
(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size11.clo
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)

! LaTeX Error: File `etoolbox.sty' not found.

Type X to quit or RETURN to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
read *

l.78

*** (cannot \read from terminal in nonstop modes)

Here is how much of TeX's memory you used:
59 strings out of 494045
1026 string characters out of 3145966
48890 words of memory out of 300
3439 multiletter control sequences out of 15000+20
3940 words of font info for 15 fonts, out of 300 for 9000
715 hyphenation exceptions out of 8191
21i,0n,20p,209b,36s stack positions out of 5000i,500n,1p,20b,5s
!  == Fatal error occurred, no output PDF file produced!


RE: writing a vita with Modern

2012-07-28 Thread Scott Kostyshak
It's good to be persistent!

To install packages with MiKTeK, try looking here:
http://docs.miktex.org/faq/packages.html

As I said, I have no experience with MiKTeK.

Scott

From: Josh Britt [joshbrit...@gmail.com]
Sent: Saturday, July 28, 2012 10:42 PM
To: Scott Kostyshak
Cc: 'lyx-users@lists.lyx.org.'@ppa03.Princeton.EDU
Subject: RE: writing a vita with Modern

I did install 2.0.4

I’m still looking but no luck Yet! I’m going to be persistent!

From: Scott Kostyshak [mailto:skost...@princeton.edu]
Sent: Saturday, July 28, 2012 9:20 PM
To: Josh Britt
Subject: RE: writing a vita with Modern

No worries Josh. To respond to the list, send an email to You can either Cc 
that address or send it directly. You actually don't have to send the email to 
me because I will see it on the list.

I don't know anything about LaTeX in Windows. I would suggest searching for 
MiKTeK how to install latex packages in google.

Scott

From: Josh Britt [joshbrit...@gmail.com]
Sent: Saturday, July 28, 2012 10:18 PM
To: Scott Kostyshak
Subject: RE: writing a vita with Modern
Scott,

I do not know how to respond to the list, but would liketo. I have downloaded 
the file but do not know how to get it into the proper place.

Josh

From: Scott Kostyshak 
[mailto:skost...@princeton.edu]mailto:[mailto:skost...@princeton.edu]
Sent: Saturday, July 28, 2012 9:05 PM
To: Josh Britt
Cc: lyx-users@lists.lyx.orgmailto:lyx-users@lists.lyx.org
Subject: RE: writing a vita with Modern

Josh,

Thank you for the info. Note that 2.0.4 is different from 2.0. Also, it's 
better if we respond to the list. That way others can view the discussion and 
can offer advice.

Did you install the etoolbox package?

Don't forget to do toolreconfigure after you install so that LyX learns about 
the new package.

Scott

From: Josh Britt [joshbrit...@gmail.com]
Sent: Saturday, July 28, 2012 10:02 PM
To: Scott Kostyshak
Subject: RE: writing a vita with Modern
Scott,

I have installed Lyx 2.0
Operating system is: Windows 7 home premium

I downloaded the version from. http://www.lyx.org/Download

The Windows installer can be downloaded here: 
LyX-2.0.4-1-Installer.exeftp://ftp.lyx.org/pub/lyx/bin/2.0.4/LyX-2.0.4-1-Installer.exe.

Josh




From: Scott Kostyshak 
[mailto:skost...@princeton.edu]mailto:[mailto:skost...@princeton.edu]
Sent: Saturday, July 28, 2012 8:42 PM
To: Josh Britt; lyx-users@lists.lyx.orgmailto:lyx-users@lists.lyx.org
Subject: RE: writing a vita with Modern

Hi Josh,

Please always send the operating system and LyX version that you are using 
whenever your report a problem (even if you think it has nothing to do with the 
problem).

etoolbox.sty is missing. That means you might need to install it (the 
alternative is that it is installed but it is not being found). The package is 
located here:
http://www.ctan.org/tex-archive/macros/latex/contrib/etoolbox/

I don't know how you install packages in MiKTeX but it might be easier for you 
to install it from MiKTeX instead of doing it manually.

Also, modernCV.lyx has been changed recently. Maybe those changes will fix your 
problem.

Here is the most recent version of modernCV.lyx
http://www.lyx.org/trac/browser/lyxgit/lib/examples/modernCV.lyx

You can see the changes here:
http://www.lyx.org/trac/log/lyxgit/lib/examples/modernCV.lyx

Scott

From: lyx-users@lists.lyx.orgmailto:lyx-users@lists.lyx.org 
[lyx-users@lists.lyx.org] on behalf of Josh Britt [joshbrit...@gmail.com]
Sent: Saturday, July 28, 2012 9:19 PM
To: lyx-users@lists.lyx.orgmailto:lyx-users@lists.lyx.org
Subject: writing a vita with Modern
Hi,

I am getting an error when I try to view as pdf. I am using the document class 
curriculum vita (modern).

Below is the error message.

Please Help!


This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded 
format=pdflatex 2012.7.20)  28 JUL 2012 20:11
entering extended mode
**newfile1.tex
(C:\Users\Joshua\AppData\Local\Temp\lyx_tmpdir.Hp3948\lyx_tmpbuf2\newfile1.tex
LaTeX2e 2011/06/27
Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

(C:\Program Files (x86)\MiKTeX 2.9\tex\latex\moderncv\moderncv.cls
Document Class: moderncv 2012/03/26 v1.0 modern curriculum vitae and letter

RE: 403 forbidden access to lyx.org

2012-07-31 Thread Scott Kostyshak
I'm still having problems. It times out for me.

Scott

From: lyx-users@lists.lyx.org [lyx-users@lists.lyx.org] on behalf of Richard 
Heck [rgh...@lyx.org]
Sent: Tuesday, July 31, 2012 10:26 AM
To: Graham Smith
Cc: LyX Users' List
Subject: Re: 403 forbidden access to lyx.org

On 07/31/2012 06:32 AM, Graham Smith wrote:
Hello all,

Anyone any suggestions what this problem might be.

Trying to access lyx.orghttp://lyx.org I get this message

Forbidden

You don't have permission to access / on this server.


Apache/2.2.15 (CentOS) Server at www.lyx.orghttp://www.lyx.org Port 80


Is this a temporary problem,. There doesn't seem to be any mention of it on the 
forums.

I seem to have fixed it.

Richard



RE: 403 forbidden access to lyx.org

2012-07-31 Thread Scott Kostyshak
For me it was back up for a bit and now I'm back to getting a timeout.

Scott


RE: 'Show changes in output' doesn't work

2012-08-11 Thread Scott Kostyshak
From: Zohar [zoha...@yahoo.com]
Sent: Saturday, August 11, 2012 1:58 PM

I turned on the track changes, and I can see the changes tracking in the 
editor,
and when I click 'Show changes in output' the changes are still shown. I would
like lyx to track my changes without showing them to me (and clatter the 
editor).

What am I missing?

Show changes in output refers to, for example, the pdf output.

There is already a feature request for what you want, but I don't think it will 
be implemented in the near future (the ticket is 5 years old):
http://www.lyx.org/trac/ticket/4140

Scott

RE: MiKTeX won't download with LyX

2012-08-18 Thread Scott Kostyshak
From: Amir [am_to...@yahoo.com]
Sent: Saturday, August 18, 2012 7:06 AM

Excellent l000x at yahoo.co.uk writes:


 To get around this problem, you need to install MiKTeX first. Then you
install
 the standard installer ftp://ftp.lyx.org/pub/lyx/bin/2.0.3/LyX-2.0.3-2-
 Installer.exe and when it asks you what Latex system to use you select the
 directory you installed MiKTeX to.


There is not any option to choose as directory installed MiKTeX!!
Then the problem exists and I can not run LYX perfectly

Did you try with the newest installer? 2.0.4-3 is the newest and I remember 
that there were changes regarding the install directory. You can download it 
here:
http://sourceforge.net/projects/lyxwininstaller/
Please post back your success/failure.

Scott

RE: Trouble after upgrading to TexLive 2012

2012-08-18 Thread Scott Kostyshak
From: Christian Obst [christian_o...@gmx.de]
Sent: Saturday, August 18, 2012 3:48 PM
To: lyx-users@lists.lyx.org
Subject: Trouble after upgrading to TexLive 2012

Hi,

I think when my distro (Sabayon, Gentoo-based) upgraded to TL 2012,
some things broke.

Did you run Tools  Reconfigure after the upgrade?

Scott

RE: Trouble after upgrading to TexLive 2012

2012-08-18 Thread Scott Kostyshak
Glad you got it figured out.

Scott

From: Christian Obst [christian_o...@gmx.de]
Sent: Saturday, August 18, 2012 4:01 PM
To: Scott Kostyshak
Subject: Re: Trouble after upgrading to TexLive 2012

Am Sat, 18 Aug 2012 19:52:59 +
schrieb Scott Kostyshak skost...@princeton.edu:

 From: Christian Obst [christian_o...@gmx.de]
 Sent: Saturday, August 18, 2012 3:48 PM
 To: lyx-users@lists.lyx.org
 Subject: Trouble after upgrading to TexLive 2012

 Hi,

 I think when my distro (Sabayon, Gentoo-based) upgraded to TL 2012,
 some things broke.

 Did you run Tools  Reconfigure after the upgrade?

Yes, but I also just solved the problem. What I had to do however could
be important: somewhere in the log is says:

Package biblatex Warning: No backend specified, using Biber backend.
(biblatex)To use BibTeX, load biblatex with
(biblatex)the backend=bibtex option.

I set that option, and it works again no! However, I also noticed that
in the LyX Settings, bibtex is already set as the processor for
bibliographies. I don't know if these two things are related, but if
so, this setting doesn't seem to have the desired effect anymore.

Anyway, I didn't have to explicitly set bibtex as backend before, now I
do. I don't know that is a problem in LyX or in Latex.

Sorry for posting so hastily, I hope I at least discovered something
with bibtex being set as processor, and biblatex not using it anyway.

Best regards,
Christian


RE: MiKTeX won't download with LyX

2012-08-18 Thread Scott Kostyshak
Amir,

I'm glad that worked for you. I don't have much experience with LyX on Windows 
so I don't know if I can help you (that's why it's good to respond to the 
mailing list so others can jump in and help). See below for some thoughts:

From: Amir M. Toosi [am_to...@yahoo.com]
Sent: Saturday, August 18, 2012 11:44 PM

Dearb Scott

Thank you very much for your help. It works but there is some problem:

1. It needs to download extra files whenever I want to use templates or help

The extra files that need to be downloaded and installed are packages. Many of 
the templates and help files require these packages to be installed. This is 
not so much a LyX issue as it is a MiKTeK issue I believe. MiKTeX is what 
handles your packages, not LyX. After installing a new package, don't forget to 
do Tools  Reconfigure so that LyX is aware of the changes. If there is a 
problem here, please explain it in detail.

2. I can not sent any file from Jabref to Lyx, because there is not any lyxpipe

You need to have your lyxpipe path the same in Jabref as in LyX. If you have 
further problems, please be more specific. Which version of Jabref are you 
using? What path did you enter into Jabref? What path did you enter into LyX? 
Include any other additional information that you think is relevant.

Scott


RE: View PDF in Mac 2.0.4 (LuaLaTeX)

2012-08-19 Thread Scott Kostyshak
From: Dr Eberhard Lisse [nos...@lisse.na]
Sent: Sunday, August 19, 2012 4:42 AM

I have configured configured Command-T to run PDF5 (lualatex)
but when I click the icon (2 eyes - View) it runs PDF2.

I can't figure out how and where to change this.

In Document  Settings  Output, change the Default Output Format.

Scott

RE: problem with continuous spellchecking

2012-08-28 Thread Scott Kostyshak
From: gregor.hochsch...@gmx.de [gregor.hochsch...@gmx.de]
Sent: Tuesday, August 28, 2012 11:07 PM

I am having some problems with continuous spellchecking. Hunspell is set up as 
the spellchecker engine and 
continuous spellchecking is enabled. It works when I go through 'Tools - 
Spellchecker' and also when I right-click a 
word for suggestions. Misspelled words, however, are not underlined. Any 
suggestions?

Hi Gregor,

Could you try changing the zoom (e.g. to 150 or maybe larger) under Tools  
Preferences  Screen fonts.
This worked for someone with your same problem here:
http://www.lyx.org/trac/ticket/8284

If that does work for you, could you please report what your zoom was at 
previously?

Scott

RE: problem with continuous spellchecking

2012-08-28 Thread Scott Kostyshak
From: gregor.hochsch...@gmx.de [gregor.hochsch...@gmx.de]
Sent: Tuesday, August 28, 2012 11:53 PM


Thanks, that worked. The zoom was 140% and it's working now with 150%.

Great! Thanks for the info.

ps: I hope this gets posted now in the right thread.

Yes, you responded correctly. I now referenced this email as another case of 
the problem and the confirmed workaround here:
http://www.lyx.org/trac/ticket/8284

Scott

On Aug 28, 2012, at 11:48 PM, Scott Kostyshak skost...@princeton.edu wrote:

From: gregor.hochsch...@gmx.de [gregor.hochsch...@gmx.de]
Sent: Tuesday, August 28, 2012 11:07 PM

I am having some problems with continuous spellchecking. Hunspell is set up as 
the spellchecker engine and
continuous spellchecking is enabled. It works when I go through 'Tools - 
Spellchecker' and also when I right-click a
word for suggestions. Misspelled words, however, are not underlined. Any 
suggestions?

Hi Gregor,

Could you try changing the zoom (e.g. to 150 or maybe larger) under Tools  
Preferences  Screen fonts.
This worked for someone with your same problem here:
http://www.lyx.org/trac/ticket/8284

If that does work for you, could you please report what your zoom was at 
previously?

Scott


RE: LyX 2.0.4 problems on Mac OSX 10.6.8

2012-08-28 Thread Scott Kostyshak
From: Fiona Feinman [feinman...@yahoo.com]
Sent: Tuesday, August 28, 2012 11:59 PM

Hi. I had not updated my Lyx installation in a while.
I downloaded lyx 2.0.4 and installed it on my
Macbook pro running Mac OS X 10.6.8.
All the template and example folders were empty.
I re-installed MacTex, removed Lyx, and reinstalled
Lyx and the problem persists.
I reconfigured Lyx and restarted Lyx but that
did not solve the problem.
Any tips to fix this problem will be greatly appreciated.
Thanks!

Hi Fiona,

Unfortunately this is a known bug on Macs and I think
it's been around for a while. See the following for
confirmation and some workarounds:
http://www.lyx.org/trac/ticket/4214 (this one is just to
show that this is an old problem)
http://www.lyx.org/trac/ticket/7896
http://comments.gmane.org/gmane.editors.lyx.general/74525

Scott

RE: One issue, one bug: version 2.0.4 on Slackware

2012-08-29 Thread Scott Kostyshak
From: Rich Shepard [rshep...@appl-ecosys.com]
Sent: Wednesday, August 29, 2012 5:51 PM

   The issue is a minor one, but has not appeared (literally) before now. I
 find no space between a table caption and the table beneath it. This lack of
 space is seen both in the LyX window and the pdflatex-compiled document. My
 remedy is to add \vspace{10pt} on a line between the caption and the table
 body. This works for me.

What version did you not see this in before? I don't know if this is a bug or 
not.
When you look at the LaTeX code is there something that is obviously wrong?

   The bug shows up when I check spelling and causes the application to
 segfault and crash. If someone provides me with a pointer how to save the
 source of the problem I'll be happy to pass it on to the developers. I don't
 suppose it can be seen in the .emergency file that I reload when this
 occurs.

If you would like to compile by source, then you could send a backtrace. The 
first
step, actually, would be to see if the problem was already fixed by compiling 
the
development version(s) and seeing if you can reproduce the bug. Or, you can send
a minimal .lyx file with exact instructions on how to reproduce the crash.

Scott

RE: One issue, one bug: version 2.0.4 on Slackware

2012-08-29 Thread Scott Kostyshak
From: Rich Shepard [rshep...@appl-ecosys.com]
Sent: Wednesday, August 29, 2012 9:17 PM

 On Thu, 30 Aug 2012, Scott Kostyshak wrote:

 What version did you not see this in before? I don't know if this is a bug
 or not. When you look at the LaTeX code is there something that is
 obviously wrong?

   All prior versions. I've not looked at the .tex file.

OK. Well one way to nail the source of the problem down is to do a
git bisect. This would lead to the exact commit that changed this behavior.
The problems might already be fixed in the development versions so it 
would be good to check those first.

   Difficult to send a minimal file with exact instructions when the problem
 occurs only when I'm checking spelling. Not all the time, either, but that's
 the only time LyX crashes.

Ah, I thought there would be some formula like 1. open this .lyx file.
2. check spelling. 3. accept the first 5 suggestions and then LyX will crash.
I guess not.

Scott

Re: Newbie stuff... (UNCLASSIFIED)

2012-08-31 Thread Scott Kostyshak
On Fri, Aug 31, 2012 at 10:37 AM, Ginsberg, Mark D ERDC-CERL-IL
mark.d.ginsb...@usace.army.mil wrote:

 I am using WinXP SP3.  I install MikTeX followed by LyX and many (not all) of 
 the documents listed under Help simply do not export nor can they be 
 reduced to any pdf form.  I keep getting Undefined control sequence.

You are probably missing packages. Read the notes (the text with a
yellow background) at the beginning of the help files to see what
packages are recommended for installing. If you still have trouble,
please send the error log.

You can download the pdfs here:
http://wiki.lyx.org/LyX/DocumentationDevelopment

Scott


Re: Newbie stuff... (UNCLASSIFIED)

2012-08-31 Thread Scott Kostyshak
On Fri, Aug 31, 2012 at 11:36 AM, Ginsberg, Mark D ERDC-CERL-IL
mark.d.ginsb...@usace.army.mil wrote:

 Scott,
 Thanks.  Please let me know how to send the error log.
 Mark

Mark,

Please respond to the lyx-users@lists.lyx.org email address (or
respond all). When you get an error you should see a window pop up. Do
you? What are the errors in that window? In addition to that summary
of errors, you can click on View Complete Log and then Copy to
Clipboard to get the full LaTeX log.

Scott


Re: Find and Replace window bug

2012-09-03 Thread Scott Kostyshak
On Mon, Sep 3, 2012 at 10:36 AM, Anders Høg mail.ande...@gmail.com wrote:

 In mac osx, the Find and Replace (Advanced) window's upper part gets stuck
 under the menubar when opened. It's extremely annoying as the only way I
 seem to be able to close it, is by changing resolution. Is this is a known
 bug?

I think that this is the bug you are referring to.
http://www.lyx.org/trac/ticket/6796

Also note that similar problems have been reported for the Outline window:
http://www.lyx.org/trac/ticket/8275

Scott


Re: Find and Replace window bug

2012-09-03 Thread Scott Kostyshak
On Mon, Sep 3, 2012 at 12:34 PM, Anders Høg mail.ande...@gmail.com wrote:
 That seems to be it. Well, good to see it has been reported. And thanks!

Thank you for reporting/confirming the bug. If you notice anything
else related to those issues, feel free to post it on those bug
reports (it's very easy to register).

Scott


Re: Track changes but don't show them in LyX?

2012-09-13 Thread Scott Kostyshak
On Thu, Sep 13, 2012 at 6:55 AM, Rainer M Krug r.m.k...@gmail.com wrote:

 as far as I can see, there is no way of silently tracking changes, i.e. 
 whenever track changes
 are enabled, they are shown in LyX - is this correct?

 If yes, should I file a enhancement, i.e. would others be interested in this?

Is this what you have in mind?
http://www.lyx.org/trac/ticket/4140

Scott


Re: Size limit for the list archives?

2012-09-17 Thread Scott Kostyshak
On Mon, Sep 17, 2012 at 5:50 PM, Andrew Parsloe apars...@clear.net.nz wrote:
 The problem for me all year has been that when I click on Upload (top right
 of the wiki screen) all I get is a blank page. Reading
 http://wiki.lyx.org/Site/AboutUploading#toc2, Trouble with the file manager?
 it mentions problems from not having JavaScript and cookies enabled. I'm
 using Firefox; both are enabled. I know there is a password required to use
 the Upload repository, but I'm unable to even get to the log-in screen.

 Andrew

Hi Andrew,

I don't think this has anything to do with things on your side. No one
has been able to upload. Here are some related threads:
(you are in the first one)
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173626.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg174155.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173802.html

It would be nice to get this fixed but I think the only person who
knows how to fix this is MIA.

Scott


Re: installation of a .def file for use in exporting polytonic greek text

2012-09-19 Thread Scott Kostyshak
On Wed, Sep 19, 2012 at 6:58 PM, John Bova sunyataivaru...@gmail.com wrote:
 Can anyone tell me how to find (I think I may have) and install (no idea!)
 this file (or whether this is a symptom of a deeper problem)?

 Thanks!

 John

Hi John, what OS are you using?
On Ubuntu I would do
sudo apt-get install texlive-lang-greek
Then in LyX, Tools  Reconfigure

Scott


Re: wiki upload issues

2012-09-24 Thread Scott Kostyshak
Hi Liviu,

From what I understand, this problem is known but there is no one to fix it:

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173626.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg174155.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173802.html

Scott

On Mon, Sep 24, 2012 at 1:03 AM, Liviu Andronic landronim...@gmail.com wrote:
 Hello
 Currently it is impossible to upload files to the wiki because when
 hitting Upload the browser tries to open
 http://wiki.lyx.org/ipfm/index.php?dir=/

 and it fails. (Previously it was opening a page asking for a
 password.) Is the wiki maintainer aware of this?

 Regards
 Liviu


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


Re: lyx osx findreplace window cannot be closed

2012-09-25 Thread Scott Kostyshak
2012/9/25 Georg Baum georg.b...@post.rwth-aachen.de:
 Am Thursday, 20. September 2012 schrieb axys:

 english:
 LyX 2.0.4 running on Mac OS X
 Find  Replace window cannot be closed because its place on the screen is
 too high up. so it slips behind the OS X menu bar whereby the red close-
 window-button cannot be reached (it is hidden behind the menu bar)

 thank you for doing all this great work!
 greetings from vienna,
 konrad.


 Hi,

 can somebody help this guy please? I have no idea why that happens.


 Georg

I think this is the same problem as in this bug:
http://www.lyx.org/trac/ticket/8275

I wonder if that bug should be marked as Mac only. I've seen a few of
these bug reports and I think all have been Mac-specific.

Scott


Re: Knitr (Rnw) Rscript error log

2012-09-26 Thread Scott Kostyshak
On Wed, Sep 26, 2012 at 5:54 AM, Michael Bach pha...@gmail.com wrote:
 Dear LyX Developers and Users,

 I am using LyX 2.0.4 on Windows 7 with the knitr (Rnw) module. I successfully
 compiled the knitr-minimal.lyx example file and moved on to the
 knitr-manual.lyx. I then get an error message that Rscript failed.

 Can someone give me a hint on how to get a debug log of a failed Rscript call 
 to
 investigate? I am pretty sure my R environment is not set up correctly...

Look in the terminal output. It might give you the error.

You could alternatively do File  Export  R/S code and then run/debug
the resulting file in R.

Also note that since version 0.7 :

  - when `opts_knit$get('verbose')` is TRUE, logs (messages, warnings and
  errors) along with the corresponding R code will be printed after `knit()`
  is done; this might help users figure out possible problems in R code
  quickly (#276)

Scott


Re: Knitr (Rnw) Rscript error log

2012-09-26 Thread Scott Kostyshak
On Wed, Sep 26, 2012 at 12:25 PM, Yihui Xie x...@yihui.name wrote:
 The first place to look at is View--View Messages, as described in
 the troubleshooting section in Sweave manual (which applies to knitr
 as well): https://github.com/downloads/yihui/lyx/sweave.pdf

Michael,

You might also be interested in setting an error hook (a command that
is run when an error occurs). Otherwise if your document exports fine
you might not realize that there could be an error (knitr will print
the error message to your latex document but it will appear to compile
just fine). For example,

knit_hooks$set(error = function(x, options) stop(x))

Scott


Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Scott Kostyshak
Does the knitr example file work? I forget how to get to example files on MacOS.

Mabye Yihui will have an idea of what's going on, but in the meantime
if you want to try something, you can try with the newest version of
LyX's knitr module that Yihui sent in a couple of days ago. To do
this, you can either

(1) apply the attached diff. It should succeed on 2.0.4 with a hunk offset.

or

(2) copy the other two files attached, to the correct places.

Don't forget to back up the original files.

Scott

On Sat, Sep 29, 2012 at 11:52 AM, Michael Bach pha...@gmail.com wrote:
 Just a quick follow-up.

 I gather from the log that R reads the file as UTF-8. I checked my System

 $ locale

 and the R

 Sys.getlocale()

 Both are correctly set up as en_US.UTF-8. Just to rule that one out(?)...

diff --git a/lib/examples/knitr.lyx b/lib/examples/knitr.lyx
index ddbfe01..feab161 100644
--- a/lib/examples/knitr.lyx
+++ b/lib/examples/knitr.lyx
@@ -182,7 +182,7 @@ status collapsed
 
 \begin_layout Plain Layout
 
-http://yihui.github.com/knitr
+http://yihui.name/knitr
 \end_layout
 
 \end_inset
diff --git a/lib/layouts/knitr.module b/lib/layouts/knitr.module
index 694ae77..fe64359 100644
--- a/lib/layouts/knitr.module
+++ b/lib/layouts/knitr.module
@@ -1,7 +1,7 @@
 #\DeclareLyXModule[knitr-latex]{Rnw (knitr)}
 #DescriptionBegin
 #Uses the knitr package in R for dynamic report generation. This R package has 
to be installed for this module to work: install.packages('knitr'). Note it 
depends on R = 2.14.1.
-#For more info see http://yihui.github.com/knitr
+#For more info see http://yihui.name/knitr
 #DescriptionEnd
 #Category: literate
 #Excludes: lilypond | sweave
diff --git a/lib/scripts/lyxknitr.R b/lib/scripts/lyxknitr.R
index 03150f2..7c029ea 100644
--- a/lib/scripts/lyxknitr.R
+++ b/lib/scripts/lyxknitr.R
@@ -11,7 +11,7 @@
 ## author Yihui Xie
 
 ## knitr is an alternative package to Sweave, and has more features
-## and flexibility; see https://yihui.github.com/knitr
+## and flexibility; see https://yihui.name/knitr
 
 ## Rscript $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r
 ## $$p the path of the output (temp dir)
@@ -31,18 +31,7 @@ options(encoding = .cmdargs[3])
 ## can put your data files there and functions like read.table() can
 ## work correctly without specifying the full path
 setwd(.cmdargs[4])
+opts_knit$set(root.dir = getwd())
 
-## copy the Rnw file to the current working directory if it does not exist
-.tmp.file = tempfile(); .rnw.file = basename(.cmdargs[1])
-.rnw.exists = file.exists(.rnw.file)
-if (.rnw.exists) file.rename(.rnw.file, .tmp.file)
-file.copy(.cmdargs[1], '.')
 ## run knit() to get .tex or .R
-knit(.rnw.file, tangle = 'tangle' %in% .cmdargs)
-
-setwd(.cmdargs[4])
-## remove the copied .Rnw if it did not exist, otherwise move the original one 
back
-if (.rnw.exists) file.rename(.tmp.file, .rnw.file) else unlink(.rnw.file)
-file.rename(basename(.cmdargs[2]), .cmdargs[2])  # move .tex to the temp dir
-rm(.tmp.file, .rnw.file, .rnw.exists)  # clean up these variables
-
+knit(.cmdargs[1], output = .cmdargs[2], tangle = 'tangle' %in% .cmdargs)


knitr.module
Description: Binary data


lyxknitr.R
Description: Binary data


Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Scott Kostyshak
On Sat, Sep 29, 2012 at 5:34 PM, Yihui Xie x...@yihui.name wrote:
 I think this indicated the problem in your log:

 12:13:14.670: Warning in readLines(input, warn = FALSE) :
 12:13:14.673:   invalid input found on input connection 'skryptum.Rnw'

 But without a reproducible example, I'm afraid I cannot do anything,
 especially I do not have Mac OS to test with.

I misunderstood. In his original email he stated that he is using Windows 7.
Sorry for the confusion.

Scott


Re: Knitr (Rnw) Rscript error log

2012-09-29 Thread Scott Kostyshak
On Sat, Sep 29, 2012 at 5:43 PM, Yihui Xie x...@yihui.name wrote:
 He sent me the message log without cc'ing the list, and I saw

 12:13:14.353: Rscript --verbose --no-save --no-restore
 /Applications/LyX.app/Contents/Resources/scripts/lyxknitr.R
 /var/folders/yx/tvnzczfx7c31c68jrddvlqgrgn/T/lyx_tmpdir.xJL523/lyx_tmpbuf3/skryptum.Rnw
 /var/folders/yx/tvnzczfx7c31c68jrddvlqgrgn/T/lyx_tmpdir.xJL523/lyx_tmpbuf3/tex
 UTF-8 /Users/XYZ/Documents/...

 I think that is Mac OS, although in the first email it was Windows 7.

Ah, yes I think I thought the same thing when I saw that. Glad I'm not
the only one that was confused.

Scott


Re: SageTeX and LyX

2012-10-03 Thread Scott Kostyshak
On Tue, Oct 2, 2012 at 7:15 PM, Rob Oakes lyx-de...@oak-tree.us wrote:
 Dear LyX Users,

 I've just started playing around with SAGE (www.sagemath.org) and was
 very happy to see that there is a module which can be used with LyX.

 However, in trying to get the module to work, I've run into a snag. I
 have it installed, and I can even successfully compile the example
 document from the Wiki. However, when I try and create my own documents,
 it appears as though I'm not getting any output back from SAGE.

 Other than adding the module to a new LyX document, is there some
 configuration step that I am missing? Also, any explanation as to why
 the example would appear to compile, but new documents might not?

Hi Rob,

I've been meaning to checkout SAGE + LyX so if no one comes along to
help you I might take a look. How did you install SAGE? In the past
I've compiled from source which was very smooth but took a while.
There is also a PPA: https://launchpad.net/~aims/+archive/sagemath

Which version do you have installed?

Does the terminal output or View Messages toolbar give any useful
output that you could share?

Do you have a minimum working example that you could send or link to?

Best,

Scott

 I'm using LyX 2.1 (SVN) on Ubuntu 12.04, with a custom TeX Live 2011
 install.

 Cheers,

 Rob



Re: SageTeX and LyX

2012-10-03 Thread Scott Kostyshak
Hi Rob,

I'm CC'ing Thomas Coffee and Murat Yildizoglu, who as the wiki says
did a lot of work on the SAGE module. They might be interested in your
experience.

On Wed, Oct 3, 2012 at 12:11 PM, Rob Oakes lyx-de...@oak-tree.us wrote:
 Hi Scott,

 On Wed, 2012-10-03 at 06:16 -0400, Scott Kostyshak wrote:

 I've been meaning to checkout SAGE + LyX so if no one comes along to
 help you I might take a look.

 I appreciate the offer. After some quality time looking into how the
 module works and how SageTeX processes documents, I was able to get it
 up and running. I found this page to be extremely helpful:
 http://www.sagemath.org/doc/tutorial/sagetex.html

Great! Good job figuring it out.

 Of course, like all things, I was hoping to get a quick response via the
 list. I decided last year that I wanted to go back to school to improve
 my mechanical engineering skills and was hoping to get Sage working for
 a lab report.

 (Why I decided more education would be desirable is completely beyond
 me. I've forgotten how thoroughly miserable it is to be a student. While
 I frequently have to work late, it's been years since I've had to pull
 an all-night session to finish homework. It's every bit as bad as I
 remember. It might even be worse, if you factor in age.)

I bet that it's really difficult to do what you're doing. Hopefully
there are some fun things about being a student again that will
surprise you. How about coming home after turning your homework in and
crashing on your bed -- that must have felt nice at least :). Best of
luck with your challenge!

 How did you install SAGE? In the past
 I've compiled from source which was very smooth but took a while.
 There is also a PPA: https://launchpad.net/~aims/+archive/sagemath

 To get Sage installed, I used the PPA. I thought about compiling from
 source so that I could integrate it with the system Python, and then
 thought better of it. The installation from the PPA was quick and I
 haven't had any issues, so far.

Glad to hear.

 To install the SageTeX module (which has to be done separately from
 installing Sage), I copied the sagetex folder into my LaTeX path and ran
 texhash.

Thanks, this is useful for me. I didn't know they were separate.

 Which version do you have installed?

 I'm running version 5.1.

 Does the terminal output or View Messages toolbar give any useful
 output that you could share?

 The output was helpful, but didn't make much sense until I read more
 about how SageTeX works.

 Sage processes files in two steps. You write your document, then you run
 LaTeX (pdflatex, xelatex, lualatex, or regular latex) on it. This
 creates a second file, with the Sage processing instructions in it. This
 has a *.sagetex.sage file extension.

 At this point, you have to run Sage on this secondary file, which
 generates your equations, plots and other elements so that they can be
 incorporated into your original LaTeX file. At that point, you run LaTeX
 on the original file a second time to produce the typeset document.

 The problem I was having is that I was only running LaTeX on my new
 documents. The converters I set up didn't follow the appropriate pathway
 of LaTeX - Sage - LaTeX. Once I added in the Sage processing step,
 everything started to work.

Thanks for the explanation. It would be nice if the module took care
of all of this.

 Do you have a minimum working example that you could send or link to?

 Absolutely, attached is a simple example that I'm working up into a
 template.

 I'm just getting started with Sage, but now that it's working, I'm quite
 impressed with what I've seen. For the past 10 years or so, I've been
 using aging copies of Maple for symbolic computation, and this looks
 like it will allow me to modernize. (I don't actually have to do much
 symbolic math, so it hasn't been that big of a deal.)

 Being able to work from within LyX, in a manner very similar to the way
 I work with R code via Knitr/Sweave, is going to be very nice. Knowing
 that it's all open is even better.

I'm also a big fan of R + Knitr (+ LyX) and I agree with you. I think
having things integrated is closer to how our minds work and allows
for a more natural workflow.

 PS, when I get time, I'm going to try and update the instructions on the
 Wiki to make a couple of things clearer. I'll also probably write a blog
 post about it, just so I've got a record of how I got things working. If
 you'd like, I'll send you a link when it's finished.

Yes, I'm definitely interested. This would be great.

Thanks a lot Rob!

Scott


Re: List of paragraph style shortcuts?

2012-10-09 Thread Scott Kostyshak
On Tue, Oct 9, 2012 at 12:12 PM, stefano franchi
stefano.fran...@gmail.com wrote:
 On Tue, Oct 9, 2012 at 9:04 AM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi

 I am using ALT-p shortcut to set the paragraph style quite a lot, but I am 
 wondering if there is a
 list of stypes which are applied by the shortcuts? I have figured out a few, 
 but a list would be
 very nice. At the moment I am using mainly ALT-p - space.

 Any suggestions where I can find these shortcuts?

 Rainer,

 I don't know if such a list in the docs, but you can find out the most
 common shortcut easily (that's what I did) by looking at the options
 that lyx shows in the minibuffer after you hit Alt-p. You'll see
 something like:

 Options:   0 1 2 3 4 5 6 * [etc.]

 That gives you a hint:
 hitting Alt-P n formats the paragraph to level n (part, chapter, section, etc)

 hitting Alt-P * n formats the paragraph to the starred level n

 hitting Alt-P T gives title, Alt-P A abstract and Alt-P shift-A the
 author, E is enumerate and I is itemize, and so forth. A little trial
 and error goes a long way.
 This is the top-down approach

 Alternatively, you can work bottom-up:
 Every time you select a layout, the minibuffer will show the
 corresponding short cut (if one exists).

 Hope it helps,

 Stefano


 Thanks,

 Rainer

 - --
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
 UCT), Dipl. Phys.
 (Germany)

 Centre of Excellence for Invasion Biology
 Stellenbosch University
 South Africa

 Tel :   +33 - (0)9 53 10 27 44
 Cell:   +33 - (0)6 85 62 59 98
 Fax :   +33 - (0)9 58 10 27 44

 Fax (D):+49 - (0)3 21 21 25 22 44

 email:  rai...@krugs.de

 Skype:  RMkrug
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

 iEYEARECAAYFAlB0LtoACgkQoYgNqgF2ego8BwCZAcAXyZlsAAvp8hINF5Y0sa0x
 eHQAnReT/twQUNRRhkneHESjYveqzaIW
 =/xZ1
 -END PGP SIGNATURE-



 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org

You can go to Tools  Preferences  Editing  Shortcuts.
In the Show key-bindings containing: text field, put alt+p for example.

I wonder if a checkbox only show functions with shortcuts would be
useful for the case that you don't have anything in mind but you just
want to see what shortcuts exist. That might make it easier to learn
the shortcuts from this dialog without having to look at the bind
file.

Scott


Re: How to specify the style of the next environment in this environment? PARTIALLY SOLVED

2012-10-14 Thread Scott Kostyshak
On Thu, Oct 11, 2012 at 8:21 PM, Steve Litt sl...@troubleshooters.com wrote:
 On Thu, 11 Oct 2012 15:32:37 -0400, Richard Heck said:

  Steve Litt*  http://www.troubleshooters.com/
  Troubleshooting Training  *  Human Performance
  Putting LatexType Environment in the LyX definition causes the
  next paragraph to be of the same environment as the current one.
  This doesn't give me the feature of the next paragraph after a
  DiaryHeader being a DiaryParagraph, but at least consecutive
  DiaryParagraphs are automatically the same style.
 
 I don't think we have a NextStyle tag, but it would be useful. File
 an enhancement request if you wish.

 rh

 Thanks Richard,

 I'll do that. Where and how do I file an enhancement request?

www.lyx.org/trac

 Thanks

 SteveT

 Steve Litt*  http://www.troubleshooters.com/
   *  http://twitter.com/stevelitt
 Troubleshooting Training  *  Human Performance



Re: A bug ?

2012-10-14 Thread Scott Kostyshak
On Tue, Oct 2, 2012 at 11:02 AM, Alberto Lucchesi
alb.lucch...@gmail.com wrote:
 Livorno 2.10.2012

 I installed the program as Administrator on drive C and when I open it as
 a user, if the files are stored on a disk partition D, or out of the
 folder that contains the program Lyx on drive C, the file is not compiled
 and appears this error message:
 Lyx: error on the file name
 The folder location of the file can not contain spaces. 

What version of LyX are you using? Your report looks similar to
http://www.lyx.org/trac/ticket/7982
which was fixed for 2.0.4:

commit 3a3f6c838c2ea88dbe38294f19e35ef9f39d4d2f
Author: Enrico Forestieri for...@lyx.org
Date:   Mon May 14 13:08:30 2012 +0200

Backport fix for bug #7982: LyX does not work if working directory a
hard disk drive like D:\.

In this case, the working dir has already a slash at the end.
Appending another one would result in a path ending with a double slash,
which has a special meaning when used in TEXINPUTS (all subdirs would
be recursively scanned). So, avoid doing that.

(cherry picked from commit 93ebb7a863377f6dbcaf724972b747b5c3f20c24)

Scott


Re: How to starting an Enumerate list at 5 instead of 1?

2012-10-14 Thread Scott Kostyshak
On Sun, Oct 14, 2012 at 11:44 PM, Steve Litt sl...@troubleshooters.com wrote:
 Hi all,

 In LyX, how do I start an Enumerate list at 5 instead of 1? I know I
 could use a LaTeX tag to make the numbers right on the generated PDF,
 but I'd like the LyX environment to show the proper numbers too.

See User Guide 3.3.7.2 Resumed Enumeration

I don't think you can get the numbers right in LyX.

Scott


Re: How to starting an Enumerate list at 5 instead of 1?

2012-10-15 Thread Scott Kostyshak
On Mon, Oct 15, 2012 at 1:09 AM, Steve Litt sl...@troubleshooters.com wrote:
 On Sun, 14 Oct 2012 23:54:21 -0400, Scott Kostyshak said:
 On Sun, Oct 14, 2012 at 11:44 PM, Steve Litt
 sl...@troubleshooters.com wrote:
  Hi all,
 
  In LyX, how do I start an Enumerate list at 5 instead of 1? I know I
  could use a LaTeX tag to make the numbers right on the generated
  PDF, but I'd like the LyX environment to show the proper numbers
  too.

 See User Guide 3.3.7.2 Resumed Enumeration

 I don't think you can get the numbers right in LyX.

 Scott


 Hi Scott,

 Thanks.

 3.3.7.2 of my LyX user guide involved usage of the Address environment.
 My 3.3.6.3 describes the Enumerate environment, but nothing in the
 document says anything about Resumed Enumeration. Could you please
 tell me what your copy says about Resumed Enumeration?

Sure, just download the manual here:
http://wiki.lyx.org/uploads/LyX/LyXDevelDocumentation/2.0/UserGuide.pdf
What version of LyX are you using? If you remember, try to put it in
your emails.

Best,

Scott


 Thanks

 SteveT

 Steve Litt*  http://www.troubleshooters.com/
   *  http://twitter.com/stevelitt
 Troubleshooting Training  *  Human Performance



Re: Please help!

2012-10-18 Thread Scott Kostyshak
Hi jezzifer,

A couple of ideas:

1. did you subscribe with another email address that is being
forwarded to your gmail address?

2. gmail allows you to receive email from jez.z.if...@gmail.com . Did
you enter your address in a different way like this when you
subscribed?

To find out, search your inbox for the welcome message, which says
Acknowledgment: I have added the address

youraddress

and

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.

Scott

On Thu, Oct 18, 2012 at 4:30 AM, jezZiFeR iMap jezzi...@gmail.com wrote:
 Thank you, Les,

 yes, I have tried this. After doing so I get the message, that my
 e-mail-address is not an the list, it starts like thies:

 Hi! This is the ezmlm program. I'm managing the
 lyx-users@lists.lyx.org mailing list.

 I'm working for my owner, who can be reached
 at lyx-users-ow...@lists.lyx.org.

 I'm sorry, I've been unable to carry out your request,
 since the address

 jezzi...@gmail.com

 was not on the lyx-users mailing list when I received
 your request and is not a subscriber of this list.


 etc.

 Don’t know what else to do…













 Am 17.10.2012 um 18:28 schrieb Les Denham:

 On Wed, 17 Oct 2012 17:11:17 +0200
 jezZiFeR iMap jezzi...@gmail.com wrote:

 »lyx-users-unsubscr...@lists.lyx.org« to unsubscribe

 did not work.


 I think even there it is not easy enough to find that information.

 But well, I understood, that in every header there is an

 e-mail-adress to unsubscribe.


 The instructions say to send an empty email to
 lyx-users-unsubscr...@lists.lyx.org

 Is this exactly what you did? The email you send should have your
 address in the From field, lyx-users-unsubscr...@lists.lyx.org in the
 To field and nothing in the Subject line, and nothing in the body
 of the message. I haven't tried it myself (don't want to get of the
 list) but it should work.

 Les




Re: Can Export Defaults Be Set?

2012-10-31 Thread Scott Kostyshak
On Wed, Oct 31, 2012 at 4:11 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
   I'm using version 2.0.4 on Slackware and always compile documents with
 pdflatex. Each time I select this flavor from the File - Export menu a
 dialog box pops up and asks what to do with the existing version of the
 file. I always want to overwrite the previous version. Is there a place to
 set this as the default so the button box does not display?

Does the setting here:

Tools  Preferences  Output  Overwrite on export

do what you want?

Scott


Re: Can Export Defaults Be Set?

2012-10-31 Thread Scott Kostyshak
On Wed, Oct 31, 2012 at 4:45 PM, Rich Shepard rshep...@appl-ecosys.com wrote:
 On Wed, 31 Oct 2012, Scott Kostyshak wrote:

 Does the setting here:
 Tools  Preferences  Output  Overwrite on export
 do what you want?


 Scott,

   Yep. Sad to write, but I did not see the 'Output' menu when I looked at
 Preferences. Sigh.

Understandable. There are an enormous amount of preferences to look
through when you are looking for something specific. I sometimes get
lost. I view this as a good thing though :)

Scott


Re: lyx: error while loading shared libraries: libhunspell-1.2.so.0

2012-11-08 Thread Scott Kostyshak
On Thu, Nov 8, 2012 at 1:06 AM, Gustavo Goretkin
gustavo.goret...@gmail.com wrote:
 I think this error started occurring after I upgraded to Ubuntu 12.04. When
 I run LyX from the command line I see the following:

 lyx: error while loading shared libraries: libhunspell-1.2.so.0: cannot open
 shared object file: No such file or directory

 When I try to install this package:

 $ sudo apt-get install libhunspell-1.2-0
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Package libhunspell-1.2-0 is not available, but is referred to by another
 package.
 This may mean that the package is missing, has been obsoleted, or
 is only available from another source

 E: Package 'libhunspell-1.2-0' has no installation candidate

 What's the solution in Ubuntu 12.04?

You might want to install the latest Ubuntu version through the PPA.
That should take care of all of the dependencies automatically. Liviu
and Rob have a PPA set up with the latest stable and unstable builds:
https://launchpad.net/~lyx-devel/+archive/daily
Ask if you need more instructions.

Scott


 Thanks,
 Gustavo





Re: lyx: error while loading shared libraries: libhunspell-1.2.so.0

2012-11-09 Thread Scott Kostyshak
Hi Gustavo,

Please respond to the list (it is much more knowledgeable than I). See
my response below.

On Sat, Nov 10, 2012 at 2:26 AM, Gustavo Goretkin
gustavo.goret...@gmail.com wrote:
 On Fri, Nov 9, 2012 at 2:25 AM, Scott Kostyshak skost...@lyx.org wrote:

 You might want to install the latest Ubuntu version through the PPA.
 That should take care of all of the dependencies automatically. Liviu
 and Rob have a PPA set up with the latest stable and unstable builds:
 https://launchpad.net/~lyx-devel/+archive/daily
 Ask if you need more instructions.

 As far as I can tell, I've added the PPA by doing:
 $ sudo add-apt-repository ppa:lyx-devel/daily
 $ sudo apt-get update

 but then

 $ sudo apt-get install lyx

This should be
sudo apt-get install lyx2.0
(the PPA does not want to overwrite your current LyX version. If you
don't want the other lyx package, then just remove it)
The lyx2.0 package will become 2.0.5 shortly.
If you want more cutting edge (but perhaps more bugs), you can do
sudo apt-get install lyx2.1

Scott


 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 lyx is already the newest version.


 I also tried running dist-upgrade without success.


 Scott




Re: lyx: error while loading shared libraries: libhunspell-1.2.so.0

2012-11-10 Thread Scott Kostyshak
On Sat, Nov 10, 2012 at 3:09 AM, Gustavo Goretkin
gustavo.goret...@gmail.com wrote:
 On Sat, Nov 10, 2012 at 2:41 AM, Scott Kostyshak skost...@lyx.org wrote:

 Hi Gustavo,

 Please respond to the list (it is much more knowledgeable than I). See
 my response below.


 The personal reply was a mistake. Sorry and thanks for including the list
 again!

No problem. I often do the same thing accidentally.




 On Sat, Nov 10, 2012 at 2:26 AM, Gustavo Goretkin
 gustavo.goret...@gmail.com wrote:
  On Fri, Nov 9, 2012 at 2:25 AM, Scott Kostyshak skost...@lyx.org
  wrote:
 
  You might want to install the latest Ubuntu version through the PPA.
  That should take care of all of the dependencies automatically. Liviu
  and Rob have a PPA set up with the latest stable and unstable builds:
  https://launchpad.net/~lyx-devel/+archive/daily
  Ask if you need more instructions.
 
  As far as I can tell, I've added the PPA by doing:
  $ sudo add-apt-repository ppa:lyx-devel/daily
  $ sudo apt-get update
 
  but then
 
  $ sudo apt-get install lyx

 This should be
 sudo apt-get install lyx2.0
 (the PPA does not want to overwrite your current LyX version. If you
 don't want the other lyx package, then just remove it)
 The lyx2.0 package will become 2.0.5 shortly.
 If you want more cutting edge (but perhaps more bugs), you can do
 sudo apt-get install lyx2.1


 Thank you for the help. I would like to use my previous preferences and
 configuration. Can I just alias ~/lyx2.0 to ~/lyx ?

Good question. You mean ~/.lyx2.0 to ~/.lyx right?
I think that should work because across minor versions I don't think
LyX makes format changes.
However, if you install lyx2.1 and then link ~.lyx2.1 to ~/.lyx you
will undoubtedly run into trouble if you try to run lyx after running
lyx2.1. Another source of trouble is if you run lyx and lyx2.0 at the
same time.
The above discussion only applies if you plan on running the previous
LyX version again. For example, if you only want to run lyx2.0 and no
longer want to run lyx, linking should work fine, but in that case you
could also just remove .lyx2.0 and rename .lyx to .lyx2.0.

As always, back up everything before trying anything.

Just to confirm, installing lyx2.0 from the PPA did indeed solve the
previous error?

Scott



 Scott

 
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  lyx is already the newest version.
 
 
  I also tried running dist-upgrade without success.
 
 
  Scott
 
 




Re: lyx: error while loading shared libraries: libhunspell-1.2.so.0

2012-11-10 Thread Scott Kostyshak
On Sat, Nov 10, 2012 at 4:17 AM, Gustavo Goretkin
gustavo.goret...@gmail.com wrote:
 On Sat, Nov 10, 2012 at 3:48 AM, Scott Kostyshak skost...@lyx.org wrote:

 Just to confirm, installing lyx2.0 from the PPA did indeed solve the
 previous error?


 So I can run lyx2.0 without a problem, but I still can't run lyx (same error
 message libhunspell-1.2.so.0)

OK. Then I guess just stick with the PPA version (you can remove the
PPA if you want so that it doesn't keep updating) and set whatever
links and aliases you want.

Scott



 Scott

 
 
  Scott
 
  
 




Re: LyX 2.0.5 View Source

2012-11-11 Thread Scott Kostyshak
On Sun, Nov 11, 2012 at 3:22 AM, Dr Eberhard Lisse nos...@lisse.na wrote:
 Is it out?

 Can't find it (neither for Windows, for for the Mac, which is what I use)

2.0.5 should be out in the next couple of days.
Uwe uploaded his Windows installer here:
http://sourceforge.net/projects/lyxwininstaller/

Scott


 el

 On 2012-11-10 00:17 , Andrew Parsloe wrote:
 I've just installed LyX 2.0.5 (Windows Vista).




Re: Having a problem including an AT, '@', in my output (Document module = Sweave)

2012-11-12 Thread Scott Kostyshak
On Mon, Nov 12, 2012 at 10:16 PM, Yihui Xie x...@yihui.name wrote:

 In case you are not aware of it, knitr is an alternative to Sweave (and
 I'm shamelessly advertising here).

As you should be! +1 for knitr over Sweave. knitr can do everything
plus more and it's author/maintainer is extremely responsive.

Scott


Re: Import Latex vs AMS Layout

2012-11-15 Thread Scott Kostyshak
On Thu, Nov 15, 2012 at 4:06 AM,  r.priha...@utwente.nl wrote:
 Dear Richard,

 Attached please find the files: the original lyx file (sample1.lyx), the 
 exported latex file (sampletex.tex), and the imported back lyx file 
 (sampletex.lyx). The Theorem module is not compiled and appear as \begin{lem}.

From what I understand, this depends on
http://www.lyx.org/trac/ticket/5702 . This bug is fixed in trunk, so
you will have to wait until 2.1 or possibly 2.0.6. If you happen to be
using Ubuntu, it's very easy to install the PPA and get the
development version. Otherwise, you would need to compile LyX.

Scott


Re: Imagemagick shipped with Lyx 2.0.5

2012-11-22 Thread Scott Kostyshak
On Thu, Nov 22, 2012 at 9:31 AM, Matthias matthias.wi...@gmx.net wrote:
 Hello,

 I'm having issues with the Imagemagick (IM) that is shipped with Lyx2.0.5
 running it on a Windows box. When trying to import eps files into my document
 I'm getting the famous error converting file to loadable format ...

 Digging into it I found that using the convert from Imagemagick that was 
 shipped
 with Lyx2.0.5 throughs following error converting from eps to png:

 Unknown device: pamcmyk32
 START 0 1512560 217111 1300864 15836 true 648 4 1
 END PROCS 0 1532656 231413 1300864 17220 true 646 4 1
 gs_std_e.ps 0 1532656 234148 1300864 18604 true 646 4 1
 gs_il1_e.ps 0 1532656 236315 1300864 18604 true 646 4 1
 END FONTDIR/ENCS 16 1532656 236441 1300864 18604 true 646 4 1

 I had always a version from IM 6.3 on my box which works fine. So as a quick 
 fix
 I changed to convert command within Lyx to point to the convert from my IM6.3
 version which helped.

 Probably there are good reasons to ship a imagemagick version with Lyx but 
 that
 should work. Otherwise it's hard to discover the problem.

 Does anyone know what the problem is with IM? Is this a general Windows 
 problem?

I think that this is related:
http://www.lyx.org/trac/ticket/8418#comment:4
If so, put any additional information there.

Thanks,

Scott


 I'm thinking to open a bug report if this is a more general problem.

 Thx.



Re: Input an Sweave/knitr chunk via command sequence

2012-11-27 Thread Scott Kostyshak
On Tue, Nov 27, 2012 at 12:44 PM, Yihui Xie x...@yihui.name wrote:
 This is a solution instead of a question. Over a long I have been
 wondering how to input an Sweave chunk template in LyX, i.e. = and
 @. I just figured it out thanks to the hint from Liviu. We can add a
 shortcut (Preferences=Editing=Shortcuts) with this command sequence
 (be sure _not_ to include the possible line breaks introduced by
 Gmail):

 command-sequence ert-insert; unicode-insert 0x3C;  unicode-insert
 0x3C; unicode-insert 0x3E; unicode-insert 0x3E; unicode-insert 0x3D;
 break-paragraph; break-paragraph; unicode-insert 0x40; up;

Thanks, Liviu and Yihui. This is indeed handy. Note that in master (to
become 2.1), break-paragraph is renamed to paragraph-break.

In master branch, the following works:

command-sequence ert-insert; unicode-insert 0x3C;  unicode-insert
0x3C; unicode-insert 0x3E; unicode-insert 0x3E; unicode-insert 0x3D;
paragraph-break; paragraph-break; unicode-insert 0x40; up;

The former LFUN was discordant with the LFUN naming rules, in
particular 1) Use the object.event order. That is, use
`word-forward' instead of `forward-word'

Scott


Re: Sorting tables in LyX

2012-11-27 Thread Scott Kostyshak
On Tue, Sep 18, 2012 at 7:01 PM, Andrew Parsloe apars...@clear.net.nz wrote:
 I've attached a python script, tablesort.py, a module tablesort.module
 containing a custom inset (suggested by Liviu Andronic), and an explanatory
 document, SortingTablesInLyX.lyx detailing what goes where and how to use
 it. In this third incarnation of the script, by using the custom inset,
 adding three buttons to the table toolbar, and changing the Overwrite on
 export setting, it is possible to sort the rows of tables in LyX in a manner
 that avoids all nag/query/prompt messages and feels built-in. Sorts may be
 alphabetical or numerical, ascending or descending. The default horizontal 
 vertical rules delineating table cells are not disturbed by the sort. ERT in
 table cells has no effect. Yellow (or other) notes by default also do not
 affect the sort, but this can be changed with the -y option when invoking
 the script, allowing fine-tuning of sort order. Finally, multiple tables in
 the same document can be sorted at one go.

 Andrew


Thank you for this, Andrew. This work is very creative. I'm especially
impressed by your excellent documentation. Is this on the wiki
somewhere?

Scott


Re: Trouble with track changes appearing in pdflatex views

2012-11-29 Thread Scott Kostyshak
On Thu, Nov 29, 2012 at 7:50 AM, Allen Wilkinson a...@chaff.biz wrote:
 Richard,

 where would I file bug report? web page?

http://www.lyx.org/trac

Thanks,

Scott



 Allen
 
 Address:

 Allen Wilkinson   (cell)  (216) 548-2349
 1286 Yellowstone Road
 Cleveland Heights, OH 44121  USA  (INTERNET) aw(at)chaff(dot)biz
 +++

 On Thu, 29 Nov 2012, Richard Heck wrote:

 On 11/28/2012 04:12 PM, Allen Wilkinson wrote:

 Richard,

 That helped, thanks.

 I went back and tested my troubled file. I commented out the nagauth
 \runningheads line (as a tracked change) and all changes were displayed in
 the PDF.

 Must be \runningheads definition tramples on something that track changes
 needs.

 The change tracking stuff loads soul and xcolor, I think, and there could
 be some kind of incompatibility there. Hard to know.

 If you care to debug this for proper nagauth styles, I'll send you the
 nagauth.cls file. I'm not sure I know latex well enough to do it myself.

 If you could file a bug report and attach the problematic file and either
 attach or link to ngauth.cls, that'd be great.

 rh





Re: Missing class and layout files

2012-11-29 Thread Scott Kostyshak
On Thu, Nov 29, 2012 at 7:02 PM, Janmaat, John john.janm...@ubc.ca wrote:
 Hello,

 I just installed lyx on an openSUSE 12.1 linux system, from the
 distribution.  It reports


   Due to some error in it, the layout file:
   DocBook chapter (SGML)
   could not be loaded. A default textclass with default
   layouts will be used. LyX will not be able to produce
   correct output


 on launch.  For any template I try to open, it reports that the layout file
 is missing and the class file is missing.
 When I try to reconfigure it, the message I get is


   The system reconfiguration has failed.
   Default textclass is used but LyX may not be able to work properly.
   Please reconfigure again if needed.

What is the terminal output? That should tell us the specific step at
which reconfigure failed. Something is going wrong with LyX finding
your LaTeX installation. Are you using TexLive? Which version? If not,
I think you should install that first.

Scott



 Help!


 
 Johannus (John) Janmaat
 Associate Professor of Economics
 Barber School of Arts and Sciences
 University of British Columbia - Okanagan
 john.janm...@ubc.ca



Re: No references in pdf output after change to texlive2012

2012-11-30 Thread Scott Kostyshak
On Fri, Nov 30, 2012 at 11:14 AM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:
 Hello,

 I changed from  texlive2011 to  texlive2012

Did you run Tools  reconfigure ?

Scott


Re: APA6 class with LyX?

2012-12-08 Thread Scott Kostyshak
On Sat, Dec 8, 2012 at 10:30 AM, John Kane jrkrid...@inbox.com wrote:

Hi John,

 Would anyone know of any work being done on this?

No work is currently being done. See the last comment here for the reason why:
http://www.lyx.org/trac/ticket/8187

And see this ticket for the main request:
http://www.lyx.org/trac/ticket/8391

Best,

Scott


Re: APA6 class with LyX?

2012-12-10 Thread Scott Kostyshak
On Mon, Dec 10, 2012 at 11:42 AM,  obregonma...@gmail.com wrote:
 I think people are missing the point here ... Lyx is *great* for writing and 
 getting references and labels right! This goes for APA journals as much as 
 for math/engineering journals.

 I have co-authored several articles for APA journals and the pay-off of 
 writing them in Lyx and then getting them into LaTeX or PDF has been 
 wonderful, especially as I have *not* had to make final typo 
 changes/corrections to the submitted/reviewed article before printing.

 So, *please* keep the APA6 layout and corresponding bibtex referencing 
 up-to-date!

Hi Mateo, John, Ray, Jacob (and everyone else),

It seems APA6 is useful to a lot of people and in particular to you
guys. How about we make a layout for it together then?

I know absolutely nothing about APA6 (or psychology for that matter),
little about layouts, and very little about document classes. But I am
confident that we can do it. Look in your library directory (go to
Help  About if you don't know where it is) and then go to
layouts/apa.layout.
Open it up. It shouldn't look too scary to you. It looks more like
English to me than programming (thank you to the LyX developers who
have made it look so nice and flexible). So this is an opportunity
where even if you don't know/like programming, you can help out.

But wait, that's not all. If we learn the LyX layout format, in
addition to us making an apa6 layout (and thus helping ourselves and
potentially a lot of others), we'll learn how to customize LyX layouts
to our liking. This can be very useful and can make using LyX a lot
more fun and personalized.

The developers around here are extremely nice and generous and would
help us out when we get stuck. But they are involved in a million
things and it's not clear at all to me that they should stop doing
those things in order to make this layout, especially when I'm sure
we're capable of doing it.

Who's in?

Scott


Re: class not found

2012-12-20 Thread Scott Kostyshak
On Thu, Dec 20, 2012 at 3:44 AM, e-letter inp...@gmail.com wrote:
 On 20/12/2012, e-letter inp...@gmail.com wrote:
 Readers,

 Lyx reports that the class 'report' is not found but it is in the
 standard directory:

 # find /usr/share/texmf -name 'report.cls'

 /usr/share/texmf/tex/latex/base/report.cls

 # texhash
 texhash: Updating /etc/texmf/ls-R...
 texhash: Updating /var/lib/texmf/main/ls-R...
 texhash: Updating /usr/local/share/texmf/ls-R...
 texhash: Updating /usr/share/texmf/../../../var/lib/texmf/dist/ls-R...
 texhash: Updating /var/cache/texmf/fonts/ls-R...
 texhash: Updating /var/lib/texmf/ls-R...
 texhash: Done.

 After repeating the texhash command and re-starting lyx, document
 classes continue to be not found.

Have you tried Tools  Reconfigure ?


Re: class not found

2012-12-21 Thread Scott Kostyshak
On Thu, Dec 20, 2012 at 3:49 AM, e-letter inp...@gmail.com wrote:
 On 20/12/2012, Scott Kostyshak skost...@lyx.org wrote:
 On Thu, Dec 20, 2012 at 3:44 AM, e-letter inp...@gmail.com wrote:
 On 20/12/2012, e-letter inp...@gmail.com wrote:
 Readers,

 Lyx reports that the class 'report' is not found but it is in the
 standard directory:

 # find /usr/share/texmf -name 'report.cls'

 /usr/share/texmf/tex/latex/base/report.cls

 # texhash
 texhash: Updating /etc/texmf/ls-R...
 texhash: Updating /var/lib/texmf/main/ls-R...
 texhash: Updating /usr/local/share/texmf/ls-R...
 texhash: Updating /usr/share/texmf/../../../var/lib/texmf/dist/ls-R...
 texhash: Updating /var/cache/texmf/fonts/ls-R...
 texhash: Updating /var/lib/texmf/ls-R...
 texhash: Done.

 After repeating the texhash command and re-starting lyx, document
 classes continue to be not found.

 Have you tried Tools  Reconfigure ?


 yes, failure continues.

Here is a post of someone having a similar problem:
http://latex-community.org/forum/viewtopic.php?f=19t=20521p=72632#p72632
(see the second-to-last post for the user's solution)

Scott


Re: Inserting a Graphic using Lyxclient

2012-12-25 Thread Scott Kostyshak
On Tue, Dec 25, 2012 at 4:20 PM, Ubuntu User useingubu...@gmail.com wrote:
 Hi All,

 I was wondering if there's a way to insert a graphic at the current
 cursor position using lyxclient. I can't seem to find the correct
 function in the wiki function list. Does it exist? I'm using Lyx
 2.0.4.
 Matthew

How about:
inset-insert graphics filename ~/Desktop/your_image.png

Scott


Re: Conversion of --- to Em Dash: can I turn this off?

2012-12-26 Thread Scott Kostyshak
On Wed, Dec 26, 2012 at 5:11 AM, Robert Matthews
l...@ramatthews.free-online.co.uk wrote:
 I've fixed this for 2.0.6. You can patch it yourself if you wish by
 applying 80adc824 to the 2.0.5 sources.

 Richard

 Thank you for your response.

 What you mean by applying 80adc824 to the 2.0.5 sources is not clear to me.
 So I suspect the best thing for me is to wait for the release of
 version 2.0.6. Do you know when that might be?


You can use the daily Ubuntu PPA. See here for instructions:
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3
Those instructions were just added so if you have any suggestions for
making things more clear, please edit directly or post back here. The
process is very straightforward.

Scott


Re: Inserting a Graphic using Lyxclient

2012-12-26 Thread Scott Kostyshak
On Wed, Dec 26, 2012 at 2:14 PM, Ubuntu User useingubu...@gmail.com wrote:
 Also, is there anyway to discover the arguments that a given lfun
 takes? I poked around in the source code a bit, but couldn't find were
 this was specified. Even LFUNs.lyx only tells you a small subset of
 the options.

Run with -dbg action or go to the message pane (view  message pain 
settings) and turn on user commands.

Scott

 Matthew


 On Tue, Dec 25, 2012 at 8:26 PM, Matthew Voss useingubu...@gmail.com wrote:
 Thanks!

 Matthew

 
 On Dec 25, 2012 4:39 PM, Scott Kostyshak skost...@lyx.org wrote:

 On Tue, Dec 25, 2012 at 4:20 PM, Ubuntu User useingubu...@gmail.com wrote:
 Hi All,

 I was wondering if there's a way to insert a graphic at the current
 cursor position using lyxclient. I can't seem to find the correct
 function in the wiki function list. Does it exist? I'm using Lyx
 2.0.4.
 Matthew

 How about:
 inset-insert graphics filename ~/Desktop/your_image.png

 Scott


Re: customizing bullets in lists: I got Simpsons now, you could too

2012-12-27 Thread Scott Kostyshak
On Fri, Dec 14, 2012 at 5:14 PM, Paul Johnson pauljoh...@gmail.com wrote:
 Without further adieu!  Working example output:

 http://pj.freefaculty.org/scraps/simpsons/simpsons-2.pdf

 Lyx file:

 http://pj.freefaculty.org/scraps/simpsons/simpsons-2.lyx


 If anybody has ideas about these things, let me know. I may post that
 example into the LyX Wiki, if I can reach the conclusion about whether
 1 and 2 can be solved and if 3 is a problem unique to this document
 (probably because I've damaged some default setting somewhere).

This would make a good wiki page in my opinion, even if you're unable
to resolve the issues.

Scott


Re: how to stop advanced find and replace

2013-01-09 Thread Scott Kostyshak
On Wed, Jan 9, 2013 at 1:32 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:
 Hi,

 advanced find and replace can take a lot of time. How can I stop the
 searching and exit?

Escape now does it on the development version. It has not been
backported for 2.0.6. If you are using Ubuntu, you can easily get the
development version by using lyx2.1 from the daily PPA:
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3


 I searched for
 Ca^{2+} in (mathit)
 which I wanted to convert into
 Ca^{2+} in (mathrm)

 however, it was not found, although there are Ca^{2+} in (mathit)


 Furthermore I got this

 No information for converting fig format files to asciixfig.
 Define a converter in the preferences.

I also get something like this when searching the Embedded Objects manual.

Scott


Re: install hunspell in LyX

2013-01-09 Thread Scott Kostyshak
On Sun, Jan 6, 2013 at 9:04 PM, Eugenio Raliuga eufe...@gmail.com wrote:
 Dear  people in lists.Lyx

 I can't install hunspell in Lyx because the option for the path of the
 hunspell directory in the Lyx preferences menu is disabled.

 I didn't find a solution in the available documentation.

 Could you instruct me?


Hi Eugenio,

Did you get a solution for this? I think no one responded because you
did not give the following information (which is always good to
include, for the future):
1. LyX version number.
2. How you installed LyX.
3. What OS and what version of the OS you are using.

Best,

Scott


Re: svjour3 algorithm float broken in 2.0.3

2013-01-10 Thread Scott Kostyshak
On Tue, Sep 4, 2012 at 8:23 AM, Ivo Couckuyt ivo.couck...@ugent.be wrote:
 Hi,

 I found the problem in the layout files:
 The actual problem lies in numreport.inc which adds a chapter counter to the
 algorithm float.

 numreport.inc is included in svcommon.inc (after all std*.inc includes) which
 in its turn is included by svglobal.layout/svglobal3.layout etc.

 Of course chapter counters in papers dont make much sense, a quick workaround
 is to redefine algorithm by putting the following in the local layout:
 
 Format 35
 Float
  Type  algorithm
  GuiName   Algorithm
  Placement tbp
  Extension loa
  NumberWithin  none
  Style ruled
  ListName  List of Algorithms
  IsPredefined  false
  UsesFloatPkg  true
  RefPrefix alg
 End
 

 Which is copy-pasted from stdfloats.inc, here NumberWithin is defined as none
 instead of chapter which I hope is the standard behaviour. At least I can
 generate pdf's with algorithm floats again.

 best regards,
 Ivo

Was this regression fixed?

Scott

 Hi,

 I'm experiencing exactly the same problem (see mail below) since I upgraded
 from lyx 2.0.1 to lyx 2.0.4. You can easily reproduce:
 - File-new from template
 - choose springer/svjour3.lyx
 - remove the figure floats (the pictures were not found in my installation,
 opensuse)
 - add one algorithm float (it's the float that generates the error, not the
 algorithm itself).
 - generate pdf

 I obviously could downgrade again, but I have read somewhere that lyx 2.0.4
 includes better sprinter (svjour3/svglobal) layouts. Any idea on how I can fix
 this quickly ?

 If there is no simple fix, I'll just downgrade for the moment as I really need
 it.

 best regards,
 Ivo

 John Perry
 Thu, 29 Mar 2012 19:36:41 -0700

 Hello

 The svjour3 class used to work fine in Lyx 2.0, even with the algorithm float.
 I just upgraded to Lyx 2.0.3 on two different computers, and I get the error,


 ! LaTeX Error: No counter 'chapter' defined.
 See the LaTeX manual or LaTeX Companion for explanation.
 Type H return for immediate help.
 ...
 l.22 \newfloat{algorithm}{tbp}{loa}[chapter]


 Any advice on getting around this? I checked the layouts, and they're not
 introducing this.

 regards
 john perry



Re: search text without note-content

2013-01-11 Thread Scott Kostyshak
On Fri, Jan 11, 2013 at 3:59 AM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:
 Hi,

 is there a way to avoid that notes are searched? I have a lot of notes
 which I don't like to delete. Searching would be much faster, if I could
 skip them.

Hi Wolfgang,

Look in the Customization manual. Search for spellcheck:
Spellcheck [0, 1] Allow spell-checking paragraphs of this style.
Default is true.

 Alternatively, can I delete all the notes at once thus creating another
 lyx file without notes in which I could search?

Yes. Look in the LFUN manual. See inset-forall. This might work:
inset-forall Note delete-char-forward

Scott


Re: search text without note-content

2013-01-11 Thread Scott Kostyshak
On Fri, Jan 11, 2013 at 4:22 AM, Jürgen Spitzmüller sp...@lyx.org wrote:
 Scott Kostyshak wrote:
 Look in the Customization manual. Search for spellcheck:
 Spellcheck [0, 1] Allow spell-checking paragraphs of this style.
 Default is true.

 For spellchecking, there is even a preference entry Exlude Notes and
 comments. However, this has no impact on searching.

Good to know -- I hadn't seen the bug that you linked to.

  Alternatively, can I delete all the notes at once thus creating another
  lyx file without notes in which I could search?

 Yes. Look in the LFUN manual. See inset-forall. This might work:
 inset-forall Note delete-char-forward

 Ah, yes. Forgot about this. The correct syntax, though, is
 inset-forall Note char-delete-forward

Thanks for the correction.

Scott


Re: Math font problem under Mac OS X Lion

2013-01-11 Thread Scott Kostyshak
On Wed, Nov 21, 2012 at 8:09 AM, Luca Brandolini
luca.brandol...@unibg.it wrote:
 Stefan Bauer bauer at math.uni-bielefeld.de writes:



 I have the same setup. In the math edit mode the \Omega is invisible as
 long as you are working on the formula.

 S Bauer



 If I type \Omega in the math editor I get a bold w.
 It is probably a font misconfiguration but I cannot figure out what to do.



Which LyX versions are you using? If the problem is still there can
you file a bug report please on www.lyx.org/trac?

Thanks,

Scott


Re: search text without note-content

2013-01-11 Thread Scott Kostyshak
On Fri, Jan 11, 2013 at 5:43 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 **

 Am Freitag, 11. Januar 2013, 10:22:44 schrieb Jürgen Spitzmüller:

  Scott Kostyshak wrote:

   Look in the Customization manual. Search for spellcheck:

   Spellcheck [0, 1] Allow spell-checking paragraphs of this style.

   Default is true.

 

  For spellchecking, there is even a preference entry Exlude Notes and

  comments. However, this has no impact on searching.

 

Alternatively, can I delete all the notes at once thus creating

another lyx file without notes in which I could search?

  

   Yes. Look in the LFUN manual. See inset-forall. This might work:

   inset-forall Note delete-char-forward

 

  Ah, yes. Forgot about this. The correct syntax, though, is

  inset-forall Note char-delete-forward

 

  Jürgen

 Thanks, but can't find inset-forall in

 http://wiki.lyx.org/LyX/LyxFunctions

 only:

   index-print



 inset-apply



 inset-dissolve



 inset-insert



 inset-settings



 keymap-off

 Turn off keymap

 were do I have to look for?


Help  LyX Functions

Scott


Re: Lyx on MacBook Pro retina

2013-01-11 Thread Scott Kostyshak
On Fri, Jan 11, 2013 at 1:27 PM, Julian Kolm julian.k...@gmail.com wrote:
 Hi, I think it is a real pity that this issue is dormant at the moment. It
 really makes lyx almost impossible to use for writing long text and that is
 the major use case after all. Since the number of people who will be
 affected by this is bound to rise a fix would really be appreciated.

Good point. But unfortunately there are only one or two Mac developers
around here, and I'm not even sure they have the hardware to test the
retina display.

This asymmetry between many users and only a couple of developers
makes me wonder if this situation is good for a sponsorship. If
everyone donated a little, maybe it would make it more worthwhile to
the developer (or at least show the developer that some people care
and are happy to help contribute). I have no idea how much work would
be required for this or if any developer would want to spend their
free time working on it. See http://www.lyx.org/Donate for past
sponsors.

Best,

Scott


Re: How to find a package: was Vancouver style

2013-01-13 Thread Scott Kostyshak
On Sun, Jan 13, 2013 at 3:31 PM, Steve Litt sl...@troubleshooters.com wrote:

 A lot of you are able to instantly find LaTeX packages to solve random
 problems. I can't do that and want to learn how. I know of the
 existence of ctan.org just like everyone else, but there's something in
 my mental makeup that's different from yours, and I want to adopt your
 beliefs and your mindset in order to produce your results.

 I know to most of you this sounds trivial and self-explanatory, but to
 me it's anything but, so please tell me your beliefs, mindset and
 techniques as you search for a package to solve a specific problem.

 Thanks so much,

 SteveT

Hi Steve,

I don't think most people think that it's trivial or self-explanatory.
You might think this because sometimes someone asks a question how do
I... ? and the answer looks to be a simple use package ... but
behind that simple answer the person might have spent a lot of time
searching and experimenting. All this to say that I think it's a great
question.

It would be great if you started a wiki page on wiki.lyx.org and
summarized everyone's answers. This way everyone can build on it in
the future.

Thanks,

Scott


  1   2   3   4   5   6   7   8   9   10   >