Re: Including a hyperlink removes coloring from my URLs

2017-04-06 Thread Jacob Bishop
On Thu, Mar 30, 2017 at 4:41 PM, Steve Litt 
wrote:

> On Thu, 30 Mar 2017 16:25:18 -0400
> "Paul A. Rubin"  wrote:
>
> > On 03/30/2017 03:45 PM, Steve Litt wrote:
>
> [snip Steve's symptom description]
>
> > I made a small test document (attached) using the standard book
> > class. When I added the hyperlink to the document, I got an error
> > message about an option class between two packages (that was not
> > there when the document had URLs but not hyperlinks).


Following Paul's lead, I made a small test document, but since I like to
use options that are provided through the LyX interface whenever possible,
I did everything through the "PDF Properties" dialogue under
document>settings to enable the options that Steve indicated. This way, I
wasn't putting anything into the document class options field, and the only
thing I had to put in the preamble was except \usepackage{soul}. (oh, and I
put pdfpagelabels in the "Additional Options" box under the "PDF
Properties" section of document settings).

Interestingly, I didn't get an error at all when compiling.

It had
> > something to do with one package loading with the option unicode=true
> > while some earlier package is apparently a unicode denier.
>

Looking at the CTAN page for soul (http://ctan.org/pkg/soul), I would guess
that this is the "unicode denier." The documentation points to another
package, soulutf8 (http://ctan.org/pkg/soulutf8) to use if you want unicode
support. My sample document didn't have any unicode in it so maybe that's
why the problem isn't triggered.


> > Following the suggestion in the error message, I moved the unicode
> > option and all the options for hyperref to the document class options
> > field, and that fixed things ... sort of. The URLs and the hyperlink
> > are all colored now, but the color is purple (or purplish), which
> > would not be my first (second, third, ...) choice. Presumably there's
> > a place to specify an option to some package to use red, blue, ...
>

Based on the way I set things up, in the "Additional Options" box of the
"PDF Properties" tab, putting urlcolor=red does the trick. (see
https://www.tug.org/applications/hyperref/manual.html#x1-90003.5 ).

See attached.

Jacob


url_hyperlink_colors.lyx
Description: application/lyx


Re: indented list of tables

2017-03-27 Thread Jacob Bishop
On Thu, Mar 16, 2017 at 7:37 PM, Steve Burnham  wrote:

> In my list of tables it appears to be every so slightly indented which my
> thesis editor is not happy with. In the link for a MWE you can see that the
> numbers 1.1 light up with the actual name of the chapter in the table of
> contents rather then with the number itself. I found this:
> http://lyx.475766.n2.nabble.com/No-indent-in-LOF-LOT-a
> nd-tables-td479678.html that suggests adding "listsleft" to the options.
> I have done that but with no success in un-indenting the list of tables.
> Are there any other options that I can change?
>
> -Steve
>
> https://www.dropbox.com/s/8ryk9ihpiwoudmj/list_of_tables.zip?dl=0
>

I think that "listleft" is specific to koma-script. If you don't use
tocloft, then the magic is to add

\makeatletter

\renewcommand*\l@table{\@dottedtocline{1}{0em}{2.3em}}

\renewcommand*\l@figure{\@dottedtocline{1}{0em}{2.3em}}

\makeatother

to your preamble to fix both the list of tables, and the list of figures.
That seemed to do it for me. In terms of sources, I looked at the
documentation for the tocloft package, on pages 3-4, which has the relevant
information if you can make sense of it.

Jacob


Re: Who maintains the APA6 layout?

2016-08-28 Thread Jacob Bishop
On Wed, Jul 27, 2016 at 4:28 PM, Scott Kostyshak <skost...@lyx.org> wrote:

> On Wed, Jul 27, 2016 at 02:45:57PM -0400, Sachin Garg wrote:
> > Wanted to file a bug/feature request on the layout. Any idea how to do
> it?
>
> Hi Sachin, thanks for wanting to help improve the layout.
>
> There is no standard way to do this but I suggest the following:
>
> looking in the .layout file, I see:
> # Author: Jacob Bishop <bishop.ja...@gmail.com> based on the apa
> # layout written by Randy Gobbel.
>
> seems confusing, but since there is an email for Jacob, I would use
> that. (further, looking at the git log, Jacob is indeed the author)
>
> So then go to https://www.lyx.org/trac and make a new bug report. Choose
> the component "layout". In the CC file add Jacob's email. Be sure to
> specify your version of LyX in the LyX ticket.
>
> Let me know if something above does not make sense.
>
> Thanks again for your help!
>
> Scott
>

I'm not exactly the MVP of LyX development, but I agree with Scott. File a
bug report, cc me on it, and I'll be happy to help if I can.

Jacob


LyX-related Hiccup when installing system updates

2016-06-02 Thread Jacob Bishop
I am on Linux Mint 17, using the lyx-devel/release ppa. When I tried to
install the regular system updates today using the update manager, it
failed with the message,

E:/var/cache/apt/archives/lyx_2.2.0-1~trusty~ppa3_amd64.deb: trying to
overwrite '/usr/share/icons/hicolor/scalable/apps/lyx.svg', which is also
in package lyx-common 2.1.4-1~trusty~ppa1

I'm not sure I understand what exactly the problem is or was, but I
resolved the problem by running.

sudo apt-get remove lyx
sudo apt-get upgrade
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install lyx

I hope this helps in case anyone else runs into this same issue, and I also
hope that perhaps we can understand better what went wrong to avoid it in
the future.

Jacob Bishop <jacob.bis...@usu.edu>


Re: Problem with tables.

2016-05-17 Thread Jacob Bishop
On Tue, May 17, 2016 at 11:01 AM, Pedro Ramos  wrote:

> Hello. I've been writing an article-class document using Lyx 2.1.4 and
> I've had trouble with the multiple lines in one table cell. Everytime I
> generate the .pdf it appears disorganized.
> How colud I fix it?
>


> Go to the row(s) for which it is happening (row 6 of the first table, row
6 of the second table), right click in the table cell, go to settings, and
uncheck "multirow". That fixes the problem for me.

Jacob


Re: Multicol Package: Figures Not Displayed

2016-04-28 Thread Jacob Bishop
On Wed, Apr 27, 2016 at 3:48 PM, Rich Shepard 
wrote:

> On Wed, 27 Apr 2016, Guillaume Munch wrote:
>
> This appears to be an issue on the latex side. Since you are using ERT,
>> you will have to use one of the solutions from
>> https://tex.stackexchange.com/questions/12262/multicol-and-figures by
>> hand.
>>
>
> Guillaume,
>
>   Aha! I've not had figures in previous multicolumn documents. Is there a
> non-ERT solution?
>
> Rich,

See the attached. I removed the preamble, modules, and ERT. I selected two
column format under "Text Layout" under Document Settings. It appears to
work fine, but I'm not sure what you meant by:

If I set the page layout as 2 column, the figures are included, but the
title, author, abstract, and bibliography are also in the 2-column format.

For me, the title, author, and date are set in single-column format,
whereas the abstract and bibliography are in the 2-column format. This is
expected in my opinion, but if you're looking for something else, you may
be forced to use ERT to customize further.

-Jacob


testing.lyx
Description: application/lyx


Re: Windows API error 126

2016-01-19 Thread Jacob Bishop
On Tue, Jan 19, 2016 at 10:13 AM, MANUEL ANGEL DOMINGUEZ TORIBIO <
m...@ccee.ucm.es> wrote:

>
> I have been using Lyx for two years in two desktops with windows 7
> installed. So far, documents are perfectly compatible between these two
> computers. Now I am travelling and have decided to install the program in
> an old laptop working with windowsXP. Lyx on the laptop run ok and I could
> open with the Lyx laptop any file written on the desktops with Lyx but not
> the other way around: when wrote something in the Lyx laptop, that file
> couldnt be open with the desktops.
>

I have been using LyX for several years on different computers (Windows XP,
Vista, 7, 8, 8.1, 10, Ubuntu, Kubuntu, Linux Mint, etc) without too much
trouble**. I currently use LyX with Windows 7, 10, and Linux Mint Cinnamon
17. I sync files on Dropbox and open them on any computer. The only time
I've had problems is when I don't have the same version of LyX installed on
all computers. To ensure functionality, be sure to install the same version
of LyX on all machines (within LyX, go to Help->About LyX to see the
version number).

Having a different version of LaTeX is usually not a concern. Documents
should still compile with different LaTeX systems (e.g., MikTeX, MacTeX, or
TeX Live) or versions.

Please ensure that the same version of LyX is installed on all machines,
and that LyX can successfully generate a .pdf from a simple document on
each. Then, if your compatibility problem persists, report back, including
the details of which LyX version is installed and on what machine(s).

**I have had trouble when using absolute file references instead of
relative ones, but you should check your LyX versions first, then we can
explore whether this is the problem.

I hope this helps.

Jacob


Re: gantt

2015-12-07 Thread Jacob Bishop
On Sat, Dec 5, 2015 at 12:39 PM, Patrick Dupre  wrote:

> Is there any gui using latex code (more or less like lyx)?
>
Yes, I use QTikZ,
http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/ to
create the diagrams, then paste the results into LyX (wrapped by a preview).

-Jacob


Re: Splitting long eqution

2015-12-07 Thread Jacob Bishop
On Sat, Dec 5, 2015 at 4:57 PM, Steve Burnham  wrote:

>
> In regard to the ams multiline, when I use it in the two column format my
> equations then get rather messed up. The first half of the equation is left
> justified while the second half is right justified. The whole equation
> (both parts) should be centered (exactly how it looks in LyX when in math
> mode). I have tried to set the justification to center but it appears to
> have no effect.
>

I suggest carefully reading
http://tex.stackexchange.com/questions/196/eqnarray-vs-align#197 and all
the responses/links, especially
http://www.tug.org/pracjourn/2006-4/madsen/madsen.pdf which has a detailed
breakdown and several side-by-side examples. Once you're done with that,
you should experiment to be sure you understand the differences, pros,
cons, etc. Then (being informed on the issues), you should...do whatever
you want. The LyX math manual also has a fairly accurate description of the
different environments.

My own overall opinion of all this is that the normal align environment is
easy to use, but ugly and that the AMS environments are a pain, but if
looks matter then it is worth the extra work. Good luck.

Jacob


Re: threeparttablex with longtable

2015-12-03 Thread Jacob Bishop
On Mon, Nov 30, 2015 at 6:17 PM, Tyler Grummett <
tyler.grumm...@flinders.edu.au> wrote:

> Im having a problem when using threeparttablex with longtables.
>
Does the normal threeparttable package work for you? Is it just a longtable
and threeparttablex-specific problem? If so, have you tried putting the
entire table in ERT? For this, there is a demo table in the threeparttablex
package. That's where I would start, then try to go to a lyx table with ERT
until it the source preview pane gives you about the same as it did with
pure ERT. A minimal example would also be useful as suggested by John.


Re: Splitting long eqution

2015-12-03 Thread Jacob Bishop
On Wed, Dec 2, 2015 at 12:47 AM, Anders Ekberg  wrote:

> see the extended minimal example attached.
>

This example is really good, and Anders' response was on the spot, but I
thought I'd take the opportunity to point out something that took me quite
a while to realize. When using the equation array environment (what happens
when you push ctrl+enter), the spacing around the equal sign is different
than what it is for a "display formula." This leads to a document that has
inconsistent spacing, which can be seen in this example. The spacing around
the equals sign in equation (1) is a lot less than the spacing around the
equals signs in the other equations. The solution is to use AMS
environments. Check the spacing produced in the attached document. I also
used \mathrm for multi-letter subscripts, which I would recommend. Finally,
you should check out the different reference types. I use the one with
parentheses to do equations.

I hope this helps.

Jacob


minimal_extended-AMS.lyx
Description: application/lyx


Re: thispagestyle empty not working

2015-11-11 Thread Jacob Bishop
On Wed, Nov 11, 2015 at 11:26 AM, Richard Heck <rgh...@lyx.org> wrote:

> On 11/10/2015 11:46 PM, Jacob Bishop wrote:
>
>>
>> I would love to see an additional LyX feature that adds a checkbox option
>> like "apply headings style settings globally" which could work by simply
>> disabling the \thispagestyle command.
>>
>>
> It's not clear if this would work with all document classes. I will guess
> it wouldn't.
>
> Richard
>
> You're probably right, but it does work for article, report, and book.
That alone covers a lot of use cases. At any rate, it would be great to
have a feature that would do whatever needs done to apply the specified
headings style globally. It would be more useful to me than a setting that
applies the specified headings style to only some pages, which is what we
have now. I'm not sure what such a solution would require, but it would
ideally work for all document classes. It seems to me that the idea of
setting the heading style, then disabling anything that subsequently
changes the headings style is a good place to start.

Jacob


thispagestyle empty not working

2015-11-10 Thread Jacob Bishop
I am having a problem. I put \thispagestyle{empty} into my LyX preamble,
expecting it to suppress the page number on the first page (as per the
wiki: http://wiki.lyx.org/FAQ/Numbering#noPageNumberOnFirstPage). It does
not. The page number shows up anyway. Attached is a minimal example. Does
anyone have an idea as to what is happening? I am on Linux Mint 17 64-bit
using LyX 2.1.4 (Friday, July 24, 2015).

Thanks,

Jacob


pagestyleEmptyBroken.lyx
Description: application/lyx


pagestyleEmptyBroken.pdf
Description: Adobe PDF document


Re: thispagestyle empty not working

2015-11-10 Thread Jacob Bishop
On Tue, Nov 10, 2015 at 2:20 PM, PhilipPirrip <p...@net.hr> wrote:

> On 11/10/2015 03:54 PM, Jacob Bishop wrote:
>
>> I am having a problem. I put \thispagestyle{empty} into my LyX preamble,
>> expecting it to suppress the page number on the first page (as per the
>> wiki: http://wiki.lyx.org/FAQ/Numbering#noPageNumberOnFirstPage). It
>> does not. The page number shows up anyway. Attached is a minimal
>> example. Does anyone have an idea as to what is happening? I am on Linux
>> Mint 17 64-bit using LyX 2.1.4 (Friday, July 24, 2015).
>>
>>
> The command has to go in a LaTeX code inset (so called ERT).  Ctrl+L, type
> the code, compile
> This link above has an example in lyx that works.
>
>
> Steve, thanks for the response. That works.
Philip, you are also correct. Thank you. I went over the wiki page more
carefully and noticed the link to a file this time.

I also played with LyX a bit more because I prefer to put hacks into the
preamble instead of as ERT in the document itself. Initially, my efforts
were not successful, but after some trial and error, what I have come up
with (which works surprisingly well for my needs) is to put the following
in the preamble:

\renewcommand{\thispagestyle}[1]{}


This disables the command \thispagestyle by redefining it to null, causing
all future occurrences to do nothing. Strangely, this produces the exact
behavior I want. It causes all pages in the document to follow the setting
under Document Settings>Page Layout. I had initially expected that setting
to govern the global paper behavior anyway, and when it didn't it was a bit
frustrating. I believe this works because there are manual calls to
\thispagestyle on the first page and at the beginning of chapters in some
document classes.


I would love to see an additional LyX feature that adds a checkbox option
like "apply headings style settings globally" which could work by simply
disabling the \thispagestyle command.


Jacob


Re: Longtable problem

2015-03-03 Thread Jacob Bishop
On Tue, Mar 3, 2015 at 10:55 AM, Csikos Bela bcsikos...@freemail.hu wrote:

 Hello:

 I would like to make a landscape longtable in Lyx.
 I'd like to make a formal table with header, but I want only one separator
 line between the header and the following row. I attached an example table
 (MWE) in  lyx and the pdf output.

 This table has the following problems:

 1. On some pages the bottom line of the last row isn't shown, eg. below
 rows I and P.
 2. Row A is repeated on every page.
 3. Row A has double bottom lines on pages 2 and 3. In table settings all
 rows are set the same: bottom line is on, top line is off; except for the
 very first row which has both top and bottom lines on.

 How can I fix these?

 The separators go where you tell them to...maybe it will make more sense
if I try to explain this in the context of your example, and how to fix the
problems you outlined. I will answer them out of order, though so I hope
you don't mind.

2) LyX sets the rows as headers that you tell it to. This is done by going
into a row, and right-clicking. You can see the row's settings under Row
Settings in the longtable tab. In your case, you had both the first and
second rows set as header rows. When I downloaded your example, and
deselected the header row checkbox for the second row, it only uses the
first row as a header. Problem 2 solved.

3) Once we understand the above, that should help here. The reason you have
two separator lines is because on the header row, you have the row set to
have a border below the row. So, everywhere the header row appears, it sets
a border below. That's why you see a border below for that, and also the
border for the row it was displaying anyway. So, remove the border below on
the the header row, and only use a border above on your other rows, and
that will fix things.

1) This one is the most complicated, and it has to do with something about
how the rows behave. For some reason which makes no sense to me, the page
breaking behaves such that a row may print the contents on one page, but
the border below on another (or print the border above on the previous
page, but the contents on the next). Fortunately, this (strange) behavior
can be controlled by manually telling the table where to break pages. This
is done by right-clicking in a row, and within the table settings,
selecting the checkbox by Page break on current row. That makes the
behavior predictable, which is nice. Then, you have to put two borders, one
below the current row, and one above the next (so there is a separation
between the row header and the first row that appears under that on the
page).

There are other combinations of specifying where the cell borders go to get
what you want, but once one understands how LyX and longtable treat things,
it becomes possible.


 The attached files were made by lyx 2.0.6 in linux.

 Thanks,

 bcsikos


Please see attached files for revised LyX input and .pdf output...produced
by LyX 2.0.8.1 in Linux Mint 17.1.

I hope this helps...I learned most of it by examining the longtable in
LyX's Embedded Objects manual, and experimenting with the settings.

Jacob


Longtable-example.lyx
Description: application/lyx


Longtable-example.pdf
Description: Adobe PDF document


Re: Longtable problem

2015-03-03 Thread Jacob Bishop
On Tue, Mar 3, 2015 at 10:55 AM, Csikos Bela bcsikos...@freemail.hu wrote:

 Hello:

 I would like to make a landscape longtable in Lyx.
 I'd like to make a formal table with header, but I want only one separator
 line between the header and the following row. I attached an example table
 (MWE) in  lyx and the pdf output.

 This table has the following problems:

 1. On some pages the bottom line of the last row isn't shown, eg. below
 rows I and P.
 2. Row A is repeated on every page.
 3. Row A has double bottom lines on pages 2 and 3. In table settings all
 rows are set the same: bottom line is on, top line is off; except for the
 very first row which has both top and bottom lines on.

 How can I fix these?

 The separators go where you tell them to...maybe it will make more sense
if I try to explain this in the context of your example, and how to fix the
problems you outlined. I will answer them out of order, though so I hope
you don't mind.

2) LyX sets the rows as headers that you tell it to. This is done by going
into a row, and right-clicking. You can see the row's settings under Row
Settings in the longtable tab. In your case, you had both the first and
second rows set as header rows. When I downloaded your example, and
deselected the header row checkbox for the second row, it only uses the
first row as a header. Problem 2 solved.

3) Once we understand the above, that should help here. The reason you have
two separator lines is because on the header row, you have the row set to
have a border below the row. So, everywhere the header row appears, it sets
a border below. That's why you see a border below for that, and also the
border for the row it was displaying anyway. So, remove the border below on
the the header row, and only use a border above on your other rows, and
that will fix things.

1) This one is the most complicated, and it has to do with something about
how the rows behave. For some reason which makes no sense to me, the page
breaking behaves such that a row may print the contents on one page, but
the border below on another (or print the border above on the previous
page, but the contents on the next). Fortunately, this (strange) behavior
can be controlled by manually telling the table where to break pages. This
is done by right-clicking in a row, and within the table settings,
selecting the checkbox by Page break on current row. That makes the
behavior predictable, which is nice. Then, you have to put two borders, one
below the current row, and one above the next (so there is a separation
between the row header and the first row that appears under that on the
page).

There are other combinations of specifying where the cell borders go to get
what you want, but once one understands how LyX and longtable treat things,
it becomes possible.


 The attached files were made by lyx 2.0.6 in linux.

 Thanks,

 bcsikos


Please see attached files for revised LyX input and .pdf output...produced
by LyX 2.0.8.1 in Linux Mint 17.1.

I hope this helps...I learned most of it by examining the longtable in
LyX's Embedded Objects manual, and experimenting with the settings.

Jacob


Longtable-example.lyx
Description: application/lyx


Longtable-example.pdf
Description: Adobe PDF document


Re: Longtable problem

2015-03-03 Thread Jacob Bishop
On Tue, Mar 3, 2015 at 10:55 AM, Csikos Bela  wrote:

> Hello:
>
> I would like to make a landscape longtable in Lyx.
> I'd like to make a formal table with header, but I want only one separator
> line between the header and the following row. I attached an example table
> (MWE) in  lyx and the pdf output.
>
> This table has the following problems:
>
> 1. On some pages the bottom line of the last row isn't shown, eg. below
> rows I and P.
> 2. Row A is repeated on every page.
> 3. Row A has double bottom lines on pages 2 and 3. In table settings all
> rows are set the same: bottom line is on, top line is off; except for the
> very first row which has both top and bottom lines on.
>
> How can I fix these?
>
> The separators go where you tell them to...maybe it will make more sense
if I try to explain this in the context of your example, and how to fix the
problems you outlined. I will answer them out of order, though so I hope
you don't mind.

2) LyX sets the rows as headers that you tell it to. This is done by going
into a row, and right-clicking. You can see the row's settings under "Row
Settings" in the longtable tab. In your case, you had both the first and
second rows set as header rows. When I downloaded your example, and
deselected the header row checkbox for the second row, it only uses the
first row as a header. Problem 2 solved.

3) Once we understand the above, that should help here. The reason you have
two separator lines is because on the header row, you have the row set to
have a border below the row. So, everywhere the header row appears, it sets
a border below. That's why you see a border below for that, and also the
border for the row it was displaying anyway. So, remove the border below on
the the header row, and only use a border above on your other rows, and
that will fix things.

1) This one is the most complicated, and it has to do with something about
how the rows behave. For some reason which makes no sense to me, the page
breaking behaves such that a row may print the contents on one page, but
the border below on another (or print the border above on the previous
page, but the contents on the next). Fortunately, this (strange) behavior
can be controlled by manually telling the table where to break pages. This
is done by right-clicking in a row, and within the table settings,
selecting the checkbox by "Page break on current row." That makes the
behavior predictable, which is nice. Then, you have to put two borders, one
below the current row, and one above the next (so there is a separation
between the row header and the first row that appears under that on the
page).

There are other combinations of specifying where the cell borders go to get
what you want, but once one understands how LyX and longtable treat things,
it becomes possible.


> The attached files were made by lyx 2.0.6 in linux.
>
> Thanks,
>
> bcsikos


Please see attached files for revised LyX input and .pdf output...produced
by LyX 2.0.8.1 in Linux Mint 17.1.

I hope this helps...I learned most of it by examining the longtable in
LyX's Embedded Objects manual, and experimenting with the settings.

Jacob


Longtable-example.lyx
Description: application/lyx


Longtable-example.pdf
Description: Adobe PDF document


Re: Größere Integrale / big integral

2015-01-23 Thread Jacob Bishop
On Fri, Jan 23, 2015 at 3:16 AM, Martin Tamms martin.ta...@googlemail.com
wrote:

 Hi Jacob,

 here is a little example

 My problem is, thar the integral is smaller than the whole fraction.

Hi Martin,

Is this a problem with the output, or what you see within LyX? Using your
example, I get the correct output in the .pdf, but by default it is
displayed improperly in LyX as shown in your screenshot. What I do to fix
it is I use math preview. To enable math preview, go to ToolsPreferences,
and under Look  FeelDisplay, use the dropdown on Instant Preview, and
select On. That should fix the problem in LyX, but it will not change the
.pdf output. I hope this helps.

Jacob


 2015-01-16 16:37 GMT+01:00 Jacob Bishop bishop.ja...@gmail.com:


 On Fri, Jan 16, 2015 at 3:39 AM, Martin Tamms 
 martin.ta...@googlemail.com wrote:

 Hallo,

 gibt es eine Möglichkeit in LYX die Integrale zu vergößern, sodass sie
 den ganzen Bruch umfassen?

 Vielen Dank,

 Hello,

 is there an opportunity to write bigger intgrals in Lyx, because my
 fraction is much bigger than the integral?

 Thanks,

 Martin


 If you are doing an integral properly, the integral sign should resize
 automatically as the physical size of the integrand increases. Is this not
 happening? If you could send a minimal example showing the problem, that
 would be helpful. It may also be useful to know that math operators appear
 different when they are part of inline formulas than when they are display
 formulas, or in a math environment. Inline formulas don't resize as much so
 that they fit in better with the text around them. Display formulas don't
 have to fit in so they resize more.

 Jacob





integralDemo.lyx
Description: application/lyx


Re: Größere Integrale / big integral

2015-01-23 Thread Jacob Bishop
On Fri, Jan 23, 2015 at 3:16 AM, Martin Tamms martin.ta...@googlemail.com
wrote:

 Hi Jacob,

 here is a little example

 My problem is, thar the integral is smaller than the whole fraction.

Hi Martin,

Is this a problem with the output, or what you see within LyX? Using your
example, I get the correct output in the .pdf, but by default it is
displayed improperly in LyX as shown in your screenshot. What I do to fix
it is I use math preview. To enable math preview, go to ToolsPreferences,
and under Look  FeelDisplay, use the dropdown on Instant Preview, and
select On. That should fix the problem in LyX, but it will not change the
.pdf output. I hope this helps.

Jacob


 2015-01-16 16:37 GMT+01:00 Jacob Bishop bishop.ja...@gmail.com:


 On Fri, Jan 16, 2015 at 3:39 AM, Martin Tamms 
 martin.ta...@googlemail.com wrote:

 Hallo,

 gibt es eine Möglichkeit in LYX die Integrale zu vergößern, sodass sie
 den ganzen Bruch umfassen?

 Vielen Dank,

 Hello,

 is there an opportunity to write bigger intgrals in Lyx, because my
 fraction is much bigger than the integral?

 Thanks,

 Martin


 If you are doing an integral properly, the integral sign should resize
 automatically as the physical size of the integrand increases. Is this not
 happening? If you could send a minimal example showing the problem, that
 would be helpful. It may also be useful to know that math operators appear
 different when they are part of inline formulas than when they are display
 formulas, or in a math environment. Inline formulas don't resize as much so
 that they fit in better with the text around them. Display formulas don't
 have to fit in so they resize more.

 Jacob





integralDemo.lyx
Description: application/lyx


Re: Größere Integrale / big integral

2015-01-23 Thread Jacob Bishop
On Fri, Jan 23, 2015 at 3:16 AM, Martin Tamms <martin.ta...@googlemail.com>
wrote:

> Hi Jacob,
>
> here is a little example
>
> My problem is, thar the integral is smaller than the whole fraction.
>
Hi Martin,

Is this a problem with the output, or what you see within LyX? Using your
example, I get the correct output in the .pdf, but by default it is
displayed improperly in LyX as shown in your screenshot. What I do to fix
it is I use math preview. To enable math preview, go to Tools>Preferences,
and under Look & Feel>Display, use the dropdown on Instant Preview, and
select "On". That should fix the problem in LyX, but it will not change the
.pdf output. I hope this helps.

Jacob

>
> 2015-01-16 16:37 GMT+01:00 Jacob Bishop <bishop.ja...@gmail.com>:
>
>>
>> On Fri, Jan 16, 2015 at 3:39 AM, Martin Tamms <
>> martin.ta...@googlemail.com> wrote:
>>
>>> Hallo,
>>>
>>> gibt es eine Möglichkeit in LYX die Integrale zu vergößern, sodass sie
>>> den ganzen Bruch umfassen?
>>>
>>> Vielen Dank,
>>>
>>> Hello,
>>>
>>> is there an opportunity to write bigger intgrals in Lyx, because my
>>> fraction is much bigger than the integral?
>>>
>>> Thanks,
>>>
>>> Martin
>>>
>>>
>>> If you are doing an integral properly, the integral sign should resize
>> automatically as the physical size of the integrand increases. Is this not
>> happening? If you could send a minimal example showing the problem, that
>> would be helpful. It may also be useful to know that math operators appear
>> different when they are part of inline formulas than when they are display
>> formulas, or in a math environment. Inline formulas don't resize as much so
>> that they fit in better with the text around them. Display formulas don't
>> have to fit in so they resize more.
>>
>> Jacob
>>
>>
>


integralDemo.lyx
Description: application/lyx


Re: Greek characters in Lyx Beamer

2015-01-21 Thread Jacob Bishop
On Wed, Jan 21, 2015 at 7:54 AM, Michael Berger id...@online.de wrote:

  Hi,
 I am working on a linguistic presentation in Beamer (theme = Singapore).
 Single upright Greek characters need to be inserted here and there.
 Many hours spent on experiments and attempts to use Greek characters
 ended up in Latex errors.

 openSuse 13.2, KDE 4.14.3, Lyx 2.1.2 (everything up to date)
 I have installed:
 texlive-greek-fontenc
 texlive-greek-inputenc
 texlive-greektex
 texlive-textcase
 texlive-textgreek

 A) Inserting Greek characters somewhere in the standard text:

 - InsertSpecial CharacterSymbols - Greek/Greek Extended = failed for
 Greek while most other character types do work

 - InsertMathInline Formula = works, but characters are slanted

As a workaround, you can use \mathrm{} in math mode to make the characters
upright. This is a hack, but if I understand your plight correctly, it
should produce the desired output.


 - Using the Character Selector with copy  paste = failure for Greek while
 many other do work

 - $\alpha$ etc. in an ERT box does of course work, but produces slanted
 characters

 B) Inserting Greek characters in glosses
 Absolute failure; neither can copied Greek characters be pasted.
 Strikingly though that some other special characters can be inserted in
 glosses using the character selector!

 PS: DocumentsSettingsLanguage:
 Language: English
 Language Default
 Language package: Default

 Latex Preamble: no entries regarding or related to Greek, language
 packages or above mentioned texlive packages.

 Can somebody advise me on this issue?

 Cheers and thanks,
 Michael Berger

  --
 Michael Berger, Dipl. Ing.
 Im Borngrund 7a
 D-35606 Solms
 id...@online.de
 Tel:  06442 706509
 Fax: 004932121247536






Re: Greek characters in Lyx Beamer

2015-01-21 Thread Jacob Bishop
On Wed, Jan 21, 2015 at 7:54 AM, Michael Berger id...@online.de wrote:

  Hi,
 I am working on a linguistic presentation in Beamer (theme = Singapore).
 Single upright Greek characters need to be inserted here and there.
 Many hours spent on experiments and attempts to use Greek characters
 ended up in Latex errors.

 openSuse 13.2, KDE 4.14.3, Lyx 2.1.2 (everything up to date)
 I have installed:
 texlive-greek-fontenc
 texlive-greek-inputenc
 texlive-greektex
 texlive-textcase
 texlive-textgreek

 A) Inserting Greek characters somewhere in the standard text:

 - InsertSpecial CharacterSymbols - Greek/Greek Extended = failed for
 Greek while most other character types do work

 - InsertMathInline Formula = works, but characters are slanted

As a workaround, you can use \mathrm{} in math mode to make the characters
upright. This is a hack, but if I understand your plight correctly, it
should produce the desired output.


 - Using the Character Selector with copy  paste = failure for Greek while
 many other do work

 - $\alpha$ etc. in an ERT box does of course work, but produces slanted
 characters

 B) Inserting Greek characters in glosses
 Absolute failure; neither can copied Greek characters be pasted.
 Strikingly though that some other special characters can be inserted in
 glosses using the character selector!

 PS: DocumentsSettingsLanguage:
 Language: English
 Language Default
 Language package: Default

 Latex Preamble: no entries regarding or related to Greek, language
 packages or above mentioned texlive packages.

 Can somebody advise me on this issue?

 Cheers and thanks,
 Michael Berger

  --
 Michael Berger, Dipl. Ing.
 Im Borngrund 7a
 D-35606 Solms
 id...@online.de
 Tel:  06442 706509
 Fax: 004932121247536






Re: Greek characters in Lyx Beamer

2015-01-21 Thread Jacob Bishop
On Wed, Jan 21, 2015 at 7:54 AM, Michael Berger  wrote:

>  Hi,
> I am working on a linguistic presentation in Beamer (theme = Singapore).
> Single upright Greek characters need to be inserted here and there.
> Many hours spent on experiments and attempts to use Greek characters
> ended up in Latex errors.
>
> openSuse 13.2, KDE 4.14.3, Lyx 2.1.2 (everything up to date)
> I have installed:
> texlive-greek-fontenc
> texlive-greek-inputenc
> texlive-greektex
> texlive-textcase
> texlive-textgreek
>
> A) Inserting Greek characters somewhere in the standard text:
>
> - Insert>Special Character>Symbols - Greek/Greek Extended = failed for
> Greek while most other character types do work
>
> - Insert>Math>Inline Formula = works, but characters are slanted
>
As a workaround, you can use \mathrm{} in math mode to make the characters
upright. This is a hack, but if I understand your plight correctly, it
should produce the desired output.

>
> - Using the Character Selector with copy & paste = failure for Greek while
> many other do work
>
> - $\alpha$ etc. in an ERT box does of course work, but produces slanted
> characters
>
> B) Inserting Greek characters in glosses
> Absolute failure; neither can copied Greek characters be pasted.
> Strikingly though that some other special characters can be inserted in
> glosses using the character selector!
>
> PS: Documents>Settings>Language:
> Language: English
> Language Default
> Language package: Default
>
> Latex Preamble: no entries regarding or related to Greek, language
> packages or above mentioned texlive packages.
>
> Can somebody advise me on this issue?
>
> Cheers and thanks,
> Michael Berger
>
>  --
> Michael Berger, Dipl. Ing.
> Im Borngrund 7a
> D-35606 Solms
> id...@online.de
> Tel:  06442 706509
> Fax: 004932121247536
>
>
>
>


Re: Größere Integrale / big integral

2015-01-16 Thread Jacob Bishop
On Fri, Jan 16, 2015 at 3:39 AM, Martin Tamms martin.ta...@googlemail.com
wrote:

 Hallo,

 gibt es eine Möglichkeit in LYX die Integrale zu vergößern, sodass sie den
 ganzen Bruch umfassen?

 Vielen Dank,

 Hello,

 is there an opportunity to write bigger intgrals in Lyx, because my
 fraction is much bigger than the integral?

 Thanks,

 Martin


 If you are doing an integral properly, the integral sign should resize
automatically as the physical size of the integrand increases. Is this not
happening? If you could send a minimal example showing the problem, that
would be helpful. It may also be useful to know that math operators appear
different when they are part of inline formulas than when they are display
formulas, or in a math environment. Inline formulas don't resize as much so
that they fit in better with the text around them. Display formulas don't
have to fit in so they resize more.

Jacob


Re: Größere Integrale / big integral

2015-01-16 Thread Jacob Bishop
On Fri, Jan 16, 2015 at 3:39 AM, Martin Tamms martin.ta...@googlemail.com
wrote:

 Hallo,

 gibt es eine Möglichkeit in LYX die Integrale zu vergößern, sodass sie den
 ganzen Bruch umfassen?

 Vielen Dank,

 Hello,

 is there an opportunity to write bigger intgrals in Lyx, because my
 fraction is much bigger than the integral?

 Thanks,

 Martin


 If you are doing an integral properly, the integral sign should resize
automatically as the physical size of the integrand increases. Is this not
happening? If you could send a minimal example showing the problem, that
would be helpful. It may also be useful to know that math operators appear
different when they are part of inline formulas than when they are display
formulas, or in a math environment. Inline formulas don't resize as much so
that they fit in better with the text around them. Display formulas don't
have to fit in so they resize more.

Jacob


Re: Größere Integrale / big integral

2015-01-16 Thread Jacob Bishop
On Fri, Jan 16, 2015 at 3:39 AM, Martin Tamms 
wrote:

> Hallo,
>
> gibt es eine Möglichkeit in LYX die Integrale zu vergößern, sodass sie den
> ganzen Bruch umfassen?
>
> Vielen Dank,
>
> Hello,
>
> is there an opportunity to write bigger intgrals in Lyx, because my
> fraction is much bigger than the integral?
>
> Thanks,
>
> Martin
>
>
> If you are doing an integral properly, the integral sign should resize
automatically as the physical size of the integrand increases. Is this not
happening? If you could send a minimal example showing the problem, that
would be helpful. It may also be useful to know that math operators appear
different when they are part of inline formulas than when they are display
formulas, or in a math environment. Inline formulas don't resize as much so
that they fit in better with the text around them. Display formulas don't
have to fit in so they resize more.

Jacob


Re: Bibliography: APA-style in german language

2014-11-04 Thread Jacob Bishop
On Sat, Nov 1, 2014 at 3:11 PM, Andreas Hegenbart 
innenarch.hegenb...@t-online.de wrote:

 Hi lyx-users,

 How can I realise a bibliography, conforming to the regulars of American
 Psychology Association (APA) in german language/version?

Bibliography-Export from Citavi (4.4.0.28)

 Current settings in lyx : citation-style: Natbib, author-year,
 bibliography style: plainnat or  apager, processor: bibtex8


Using natbib sets the citation style to apacite (see
http://mirrors.rit.edu/CTAN/macros/latex/contrib/apa6/apa6.pdf ), which is
probably what you want, anyway. I have not dealt much with language issues,
but I think the best place to start is to take a look at the documentation
for the apacite package: http://ctan.org/pkg/apacite There is a section in
the documentation about language-specific issues, where it suggests that
you study the .apc file. I would guess that the established method of using
babel and .apc files should work.


 The result is not o.k.:  ‘editor’ instead of ‘Herausgeber’; ‘page’ instead
 of ‘Seite’ and some else

 Alternatively I’d like to do the correction manually; how can I do this?


If you want to brute-force it, then you could edit the apacite.bst file,
but I think that loading the correct .apc should work. If not, perhaps some
minor edits to your .apc file will solve the problem. My brief look at
german.apc makes me believe that it should be correct already (maybe the
problem is that it's not getting loaded?), but I am not so good at German.

I hope that helps.

Jacob Bishop


Re: Bibliography: APA-style in german language

2014-11-04 Thread Jacob Bishop
On Sat, Nov 1, 2014 at 3:11 PM, Andreas Hegenbart 
innenarch.hegenb...@t-online.de wrote:

 Hi lyx-users,

 How can I realise a bibliography, conforming to the regulars of American
 Psychology Association (APA) in german language/version?

Bibliography-Export from Citavi (4.4.0.28)

 Current settings in lyx : citation-style: Natbib, author-year,
 bibliography style: plainnat or  apager, processor: bibtex8


Using natbib sets the citation style to apacite (see
http://mirrors.rit.edu/CTAN/macros/latex/contrib/apa6/apa6.pdf ), which is
probably what you want, anyway. I have not dealt much with language issues,
but I think the best place to start is to take a look at the documentation
for the apacite package: http://ctan.org/pkg/apacite There is a section in
the documentation about language-specific issues, where it suggests that
you study the .apc file. I would guess that the established method of using
babel and .apc files should work.


 The result is not o.k.:  ‘editor’ instead of ‘Herausgeber’; ‘page’ instead
 of ‘Seite’ and some else

 Alternatively I’d like to do the correction manually; how can I do this?


If you want to brute-force it, then you could edit the apacite.bst file,
but I think that loading the correct .apc should work. If not, perhaps some
minor edits to your .apc file will solve the problem. My brief look at
german.apc makes me believe that it should be correct already (maybe the
problem is that it's not getting loaded?), but I am not so good at German.

I hope that helps.

Jacob Bishop


Re: Bibliography: APA-style in german language

2014-11-04 Thread Jacob Bishop
On Sat, Nov 1, 2014 at 3:11 PM, Andreas Hegenbart <
innenarch.hegenb...@t-online.de> wrote:

> Hi lyx-users,
>
> How can I realise a bibliography, conforming to the regulars of American
> Psychology Association (APA) in german language/version?
>
Bibliography-Export from Citavi (4.4.0.28)
>
> Current settings in lyx : citation-style: Natbib, author-year,
> bibliography style: plainnat or  apager, processor: bibtex8
>

Using natbib sets the citation style to apacite (see
http://mirrors.rit.edu/CTAN/macros/latex/contrib/apa6/apa6.pdf ), which is
probably what you want, anyway. I have not dealt much with language issues,
but I think the best place to start is to take a look at the documentation
for the apacite package: http://ctan.org/pkg/apacite There is a section in
the documentation about language-specific issues, where it suggests that
you study the .apc file. I would guess that the established method of using
babel and .apc files should work.


> The result is not o.k.:  ‘editor’ instead of ‘Herausgeber’; ‘page’ instead
> of ‘Seite’ and some else
>
> Alternatively I’d like to do the correction manually; how can I do this?
>

If you want to brute-force it, then you could edit the apacite.bst file,
but I think that loading the correct .apc should work. If not, perhaps some
minor edits to your .apc file will solve the problem. My brief look at
german.apc makes me believe that it should be correct already (maybe the
problem is that it's not getting loaded?), but I am not so good at German.

I hope that helps.

Jacob Bishop


Re: Customization manual, 5.1 Installing new LaTeX files, Kubuntu 12.04

2014-10-27 Thread Jacob Bishop
On Sun, Oct 26, 2014 at 12:42 AM, Patrick Gagnon pagag...@gmail.com wrote:

 Updates:

 Looked first in Kubuntu repositories, and installed 3 packages containing
 parts of the APA style:

- texlive-publishers
- texlive-publishers-doc (required dependency)
- texlive-bibtex-extra

 Reconfigured and restart LyX, and APA document class become available.
 Thank you very much for explaining the relation LaTex-LyX, which allowed me
 to find these 3 packages in the Kubuntu 12.04 repositories.

 But all these packages don't cover APA6 too, and repositories have
 nothing on APA6.


Strange, because that's not what it looks like on my machine. That is, I
think texlive-publishers installs apa6. You can see what I mean by running
an apt-file search for apa6.cls:

$sudo apt-get install apt-file
$sudo apt-file update
$apt-file search wrapfig.sty

That gives me
texlive-publishers: /usr/share/texlive/texmf-dist/tex/latex/apa6/apa6.cls

I'm running a pretty stock setup of Linux Mint 17, with TeX Live
2013/Debian.

Jacob


Re: Customization manual, 5.1 Installing new LaTeX files, Kubuntu 12.04

2014-10-27 Thread Jacob Bishop
On Mon, Oct 27, 2014 at 8:57 AM, Jacob Bishop bishop.ja...@gmail.com
wrote:


 On Sun, Oct 26, 2014 at 12:42 AM, Patrick Gagnon pagag...@gmail.com
 wrote:

 Updates:

 Looked first in Kubuntu repositories, and installed 3 packages
 containing parts of the APA style:

- texlive-publishers
- texlive-publishers-doc (required dependency)
- texlive-bibtex-extra

 Reconfigured and restart LyX, and APA document class become available.
 Thank you very much for explaining the relation LaTex-LyX, which allowed me
 to find these 3 packages in the Kubuntu 12.04 repositories.

 But all these packages don't cover APA6 too, and repositories have
 nothing on APA6.


 Strange, because that's not what it looks like on my machine. That is, I
 think texlive-publishers installs apa6. You can see what I mean by running
 an apt-file search for apa6.cls:

 $sudo apt-get install apt-file
 $sudo apt-file update
 $apt-file search wrapfig.sty


Sorry, that last line should have been
 $apt-file search apa6.cls


 That gives me
 texlive-publishers: /usr/share/texlive/texmf-dist/tex/latex/apa6/apa6.cls

 I'm running a pretty stock setup of Linux Mint 17, with TeX Live
 2013/Debian.

 Jacob



Re: Customization manual, 5.1 Installing new LaTeX files, Kubuntu 12.04

2014-10-27 Thread Jacob Bishop
On Sun, Oct 26, 2014 at 12:42 AM, Patrick Gagnon pagag...@gmail.com wrote:

 Updates:

 Looked first in Kubuntu repositories, and installed 3 packages containing
 parts of the APA style:

- texlive-publishers
- texlive-publishers-doc (required dependency)
- texlive-bibtex-extra

 Reconfigured and restart LyX, and APA document class become available.
 Thank you very much for explaining the relation LaTex-LyX, which allowed me
 to find these 3 packages in the Kubuntu 12.04 repositories.

 But all these packages don't cover APA6 too, and repositories have
 nothing on APA6.


Strange, because that's not what it looks like on my machine. That is, I
think texlive-publishers installs apa6. You can see what I mean by running
an apt-file search for apa6.cls:

$sudo apt-get install apt-file
$sudo apt-file update
$apt-file search wrapfig.sty

That gives me
texlive-publishers: /usr/share/texlive/texmf-dist/tex/latex/apa6/apa6.cls

I'm running a pretty stock setup of Linux Mint 17, with TeX Live
2013/Debian.

Jacob


Re: Customization manual, 5.1 Installing new LaTeX files, Kubuntu 12.04

2014-10-27 Thread Jacob Bishop
On Mon, Oct 27, 2014 at 8:57 AM, Jacob Bishop bishop.ja...@gmail.com
wrote:


 On Sun, Oct 26, 2014 at 12:42 AM, Patrick Gagnon pagag...@gmail.com
 wrote:

 Updates:

 Looked first in Kubuntu repositories, and installed 3 packages
 containing parts of the APA style:

- texlive-publishers
- texlive-publishers-doc (required dependency)
- texlive-bibtex-extra

 Reconfigured and restart LyX, and APA document class become available.
 Thank you very much for explaining the relation LaTex-LyX, which allowed me
 to find these 3 packages in the Kubuntu 12.04 repositories.

 But all these packages don't cover APA6 too, and repositories have
 nothing on APA6.


 Strange, because that's not what it looks like on my machine. That is, I
 think texlive-publishers installs apa6. You can see what I mean by running
 an apt-file search for apa6.cls:

 $sudo apt-get install apt-file
 $sudo apt-file update
 $apt-file search wrapfig.sty


Sorry, that last line should have been
 $apt-file search apa6.cls


 That gives me
 texlive-publishers: /usr/share/texlive/texmf-dist/tex/latex/apa6/apa6.cls

 I'm running a pretty stock setup of Linux Mint 17, with TeX Live
 2013/Debian.

 Jacob



Re: Customization manual, 5.1 Installing new LaTeX files, Kubuntu 12.04

2014-10-27 Thread Jacob Bishop
On Sun, Oct 26, 2014 at 12:42 AM, Patrick Gagnon  wrote:

> Updates:
>>
>> Looked first in Kubuntu repositories, and installed 3 packages containing
>> parts of the APA style:
>>
>>- texlive-publishers
>>- texlive-publishers-doc (required dependency)
>>- texlive-bibtex-extra
>>
>> Reconfigured and restart LyX, and APA document class become available.
>> Thank you very much for explaining the relation LaTex-LyX, which allowed me
>> to find these 3 packages in the Kubuntu 12.04 repositories.
>>
>> But all these packages don't cover APA6 too, and repositories have
>> nothing on APA6.
>>
>
Strange, because that's not what it looks like on my machine. That is, I
think texlive-publishers installs apa6. You can see what I mean by running
an apt-file search for apa6.cls:

$sudo apt-get install apt-file
$sudo apt-file update
$apt-file search wrapfig.sty

That gives me
texlive-publishers: /usr/share/texlive/texmf-dist/tex/latex/apa6/apa6.cls

I'm running a pretty stock setup of Linux Mint 17, with TeX Live
2013/Debian.

Jacob


Re: Customization manual, 5.1 Installing new LaTeX files, Kubuntu 12.04

2014-10-27 Thread Jacob Bishop
On Mon, Oct 27, 2014 at 8:57 AM, Jacob Bishop <bishop.ja...@gmail.com>
wrote:

>
> On Sun, Oct 26, 2014 at 12:42 AM, Patrick Gagnon <pagag...@gmail.com>
> wrote:
>
>> Updates:
>>>
>>> Looked first in Kubuntu repositories, and installed 3 packages
>>> containing parts of the APA style:
>>>
>>>- texlive-publishers
>>>- texlive-publishers-doc (required dependency)
>>>- texlive-bibtex-extra
>>>
>>> Reconfigured and restart LyX, and APA document class become available.
>>> Thank you very much for explaining the relation LaTex-LyX, which allowed me
>>> to find these 3 packages in the Kubuntu 12.04 repositories.
>>>
>>> But all these packages don't cover APA6 too, and repositories have
>>> nothing on APA6.
>>>
>>
> Strange, because that's not what it looks like on my machine. That is, I
> think texlive-publishers installs apa6. You can see what I mean by running
> an apt-file search for apa6.cls:
>
> $sudo apt-get install apt-file
> $sudo apt-file update
> $apt-file search wrapfig.sty
>

Sorry, that last line should have been
 $apt-file search apa6.cls

>
> That gives me
> texlive-publishers: /usr/share/texlive/texmf-dist/tex/latex/apa6/apa6.cls
>
> I'm running a pretty stock setup of Linux Mint 17, with TeX Live
> 2013/Debian.
>
> Jacob
>


Re: 答复: Reconfiguration Problem in Windows 8.1 [was: lyx problem in win8.1]

2014-10-15 Thread Jacob Bishop
On Tue, Oct 14, 2014 at 8:44 PM, LIANG Keyao 
2197...@student.anucollege.edu.au wrote:

  Appreciate that you would like to help me!

I'm happy to try.

  I've tried what you said,but it still does not work. I ckeck the tex
 information and it seems that lyx can scan the latex classes.

That's good...

  But in  Latexconfig, there are all no behind the Found.

That's bad...

Again, I'm puzzled by the fact that it won't reconfigure. I'm no expert,
but I suppose there are two options. You could try to get to the bottom of
the problem and fix it, or you could try to do a complete re-install. The
one thing that looks a little funny is that your working directory is on
the C:\ drive, and your install directory is on the G:\ drive. I suspect
there may be somewhere that is trying to use C:\ where it should use G:\,
or vice-versa, but I'm not sure. At this point, you may try a complete
uninstall, cleanup, and re-install. When you do that, I would recommend
doing it systematically. What I mean is that after un-installing and
cleaning up files from all LyX installs and TeX distributions, I would
start by downloading MiKTeX. Then, I would test that install by compiling a
simple raw .tex file. If that works, then I would proceed to install LyX
(not the bundle). After installing, I would try to compile a LyX document,
and troubleshoot from there.

As a side-note, I have several students installing this on their Windows 8
laptops, and aside from my university blocking their ftp downloads of lyx
site from on campus (which I hope we now have resolved), they haven't
reported any problems quite like this. Don't give up! I think you'll get
it. I hope this helps.

Jacob


Re: 答复: Reconfiguration Problem in Windows 8.1 [was: lyx problem in win8.1]

2014-10-15 Thread Jacob Bishop
On Tue, Oct 14, 2014 at 8:44 PM, LIANG Keyao 
2197...@student.anucollege.edu.au wrote:

  Appreciate that you would like to help me!

I'm happy to try.

  I've tried what you said,but it still does not work. I ckeck the tex
 information and it seems that lyx can scan the latex classes.

That's good...

  But in  Latexconfig, there are all no behind the Found.

That's bad...

Again, I'm puzzled by the fact that it won't reconfigure. I'm no expert,
but I suppose there are two options. You could try to get to the bottom of
the problem and fix it, or you could try to do a complete re-install. The
one thing that looks a little funny is that your working directory is on
the C:\ drive, and your install directory is on the G:\ drive. I suspect
there may be somewhere that is trying to use C:\ where it should use G:\,
or vice-versa, but I'm not sure. At this point, you may try a complete
uninstall, cleanup, and re-install. When you do that, I would recommend
doing it systematically. What I mean is that after un-installing and
cleaning up files from all LyX installs and TeX distributions, I would
start by downloading MiKTeX. Then, I would test that install by compiling a
simple raw .tex file. If that works, then I would proceed to install LyX
(not the bundle). After installing, I would try to compile a LyX document,
and troubleshoot from there.

As a side-note, I have several students installing this on their Windows 8
laptops, and aside from my university blocking their ftp downloads of lyx
site from on campus (which I hope we now have resolved), they haven't
reported any problems quite like this. Don't give up! I think you'll get
it. I hope this helps.

Jacob


Re: 答复: Reconfiguration Problem in Windows 8.1 [was: lyx problem in win8.1]

2014-10-15 Thread Jacob Bishop
On Tue, Oct 14, 2014 at 8:44 PM, LIANG Keyao <
2197...@student.anucollege.edu.au> wrote:

>  Appreciate that you would like to help me!
>
I'm happy to try.

>  I've tried what you said,but it still does not work. I ckeck the tex
> information and it seems that lyx can scan the latex classes.
>
That's good...

>  But in  Latexconfig, there are all no behind the Found.
>
That's bad...

Again, I'm puzzled by the fact that it won't reconfigure. I'm no expert,
but I suppose there are two options. You could try to get to the bottom of
the problem and fix it, or you could try to do a complete re-install. The
one thing that looks a little funny is that your working directory is on
the C:\ drive, and your install directory is on the G:\ drive. I suspect
there may be somewhere that is trying to use C:\ where it should use G:\,
or vice-versa, but I'm not sure. At this point, you may try a complete
uninstall, cleanup, and re-install. When you do that, I would recommend
doing it systematically. What I mean is that after un-installing and
cleaning up files from all LyX installs and TeX distributions, I would
start by downloading MiKTeX. Then, I would test that install by compiling a
simple raw .tex file. If that works, then I would proceed to install LyX
(not the bundle). After installing, I would try to compile a LyX document,
and troubleshoot from there.

As a side-note, I have several students installing this on their Windows 8
laptops, and aside from my university blocking their ftp downloads of lyx
site from on campus (which I hope we now have resolved), they haven't
reported any problems quite like this. Don't give up! I think you'll get
it. I hope this helps.

Jacob


Re: Reconfiguration Problem in Windows 8.1 [was: lyx problem in win8.1]

2014-10-14 Thread Jacob Bishop
On Tue, Oct 14, 2014 at 7:49 AM, Richard Heck rgh...@lyx.org wrote:

  On 10/14/2014 08:06 AM, LIANG Keyao wrote:

 lyx always warns me about cannot find the basic module and no textclass,
 but all the layouts and modules are just in the resources folderI do
 not know why it cannot recognize these files. And I cannot output tex file.
 It should have some opinions in  document-setting-output-default output
 format like xetex something. But here is only a default opinion now. It
 works well in win7. I have installed MikTex, ctex, even texlive. This have
 puzzled me nearly a weekI have tried most solutions I could find
 online. none of them are work.


 LyX is finding the layouts and modules, etc, just fine. What it's failing
 to find are the LaTeX classes, etc, and that is because system
 reconfiguration has failed. This is probably due to some problem with your
 python installation. But I do not know anything about Windows, so can't say
 more.


I don't know for sure what the problem is, but I have a laptop with Windows
8.1 and LyX and it works fine. I am using LyX 2.1.0 and MiKTeX 2.9. You
might try to go to Tools-TeX Information and see what's there. It should
give you the path to the LaTeX class files. Also, Help-LaTeX configuration
should generate a document that tells what classes, fonts, etc. your LyX is
aware of. If Richard is right (highly likely) and LyX is having trouble
finding the LaTeX classes, then this should become evident when checking
the configuration as suggested, and needs fixed. I would try to go to
Help-About LyX and make sure you have MiKTeX (and Python, ghostscript,
etc) in the path prefix. If this doesn't help you get there, maybe you can
post yours. Mine says,
$LyXDir\bin;$LyXDir\Python;$LyXDir\Python\Lib;$LyXDir\Perl\bin;$LyXDir\imagemagick;C:\Program
Files\MiKTeX 2.9\miktex\bin\x64;;C:\Program Files
(x86)\Vim\vim74;C:\Program Files (x86)\LyX 2.1\ghostscript\bin;C:\Program
Files\Inkscape-0.48

Jacob


Re: Reconfiguration Problem in Windows 8.1 [was: lyx problem in win8.1]

2014-10-14 Thread Jacob Bishop
On Tue, Oct 14, 2014 at 7:49 AM, Richard Heck rgh...@lyx.org wrote:

  On 10/14/2014 08:06 AM, LIANG Keyao wrote:

 lyx always warns me about cannot find the basic module and no textclass,
 but all the layouts and modules are just in the resources folderI do
 not know why it cannot recognize these files. And I cannot output tex file.
 It should have some opinions in  document-setting-output-default output
 format like xetex something. But here is only a default opinion now. It
 works well in win7. I have installed MikTex, ctex, even texlive. This have
 puzzled me nearly a weekI have tried most solutions I could find
 online. none of them are work.


 LyX is finding the layouts and modules, etc, just fine. What it's failing
 to find are the LaTeX classes, etc, and that is because system
 reconfiguration has failed. This is probably due to some problem with your
 python installation. But I do not know anything about Windows, so can't say
 more.


I don't know for sure what the problem is, but I have a laptop with Windows
8.1 and LyX and it works fine. I am using LyX 2.1.0 and MiKTeX 2.9. You
might try to go to Tools-TeX Information and see what's there. It should
give you the path to the LaTeX class files. Also, Help-LaTeX configuration
should generate a document that tells what classes, fonts, etc. your LyX is
aware of. If Richard is right (highly likely) and LyX is having trouble
finding the LaTeX classes, then this should become evident when checking
the configuration as suggested, and needs fixed. I would try to go to
Help-About LyX and make sure you have MiKTeX (and Python, ghostscript,
etc) in the path prefix. If this doesn't help you get there, maybe you can
post yours. Mine says,
$LyXDir\bin;$LyXDir\Python;$LyXDir\Python\Lib;$LyXDir\Perl\bin;$LyXDir\imagemagick;C:\Program
Files\MiKTeX 2.9\miktex\bin\x64;;C:\Program Files
(x86)\Vim\vim74;C:\Program Files (x86)\LyX 2.1\ghostscript\bin;C:\Program
Files\Inkscape-0.48

Jacob


Re: Reconfiguration Problem in Windows 8.1 [was: lyx problem in win8.1]

2014-10-14 Thread Jacob Bishop
On Tue, Oct 14, 2014 at 7:49 AM, Richard Heck  wrote:

>  On 10/14/2014 08:06 AM, LIANG Keyao wrote:
>
> lyx always warns me about cannot find the basic module and no textclass,
> but all the layouts and modules are just in the resources folderI do
> not know why it cannot recognize these files. And I cannot output tex file.
> It should have some opinions in " document-setting-output-default output
> format" like xetex something. But here is only a default opinion now. It
> works well in win7. I have installed MikTex, ctex, even texlive. This have
> puzzled me nearly a weekI have tried most solutions I could find
> online. none of them are work.
>
>
> LyX is finding the layouts and modules, etc, just fine. What it's failing
> to find are the LaTeX classes, etc, and that is because "system
> reconfiguration has failed". This is probably due to some problem with your
> python installation. But I do not know anything about Windows, so can't say
> more.
>

I don't know for sure what the problem is, but I have a laptop with Windows
8.1 and LyX and it works fine. I am using LyX 2.1.0 and MiKTeX 2.9. You
might try to go to Tools->TeX Information and see what's there. It should
give you the path to the LaTeX class files. Also, Help->LaTeX configuration
should generate a document that tells what classes, fonts, etc. your LyX is
aware of. If Richard is right (highly likely) and LyX is having trouble
finding the LaTeX classes, then this should become evident when checking
the configuration as suggested, and needs fixed. I would try to go to
Help->About LyX and make sure you have MiKTeX (and Python, ghostscript,
etc) in the path prefix. If this doesn't help you get there, maybe you can
post yours. Mine says,
$LyXDir\bin;$LyXDir\Python;$LyXDir\Python\Lib;$LyXDir\Perl\bin;$LyXDir\imagemagick;C:\Program
Files\MiKTeX 2.9\miktex\bin\x64;;C:\Program Files
(x86)\Vim\vim74;C:\Program Files (x86)\LyX 2.1\ghostscript\bin;C:\Program
Files\Inkscape-0.48

Jacob


Re: gantt

2014-10-07 Thread Jacob Bishop
On Tue, Oct 7, 2014 at 7:08 AM, stefano franchi stefano.fran...@gmail.com
wrote:



  In practical terms, I actually worked on the chart itself separately from
 LyX using a Latex editor (Kile). Once I debugged it to my satisfaction, I
 simply cut and paste  the latex code into an ERT box in LyX


For what it's worth, I have also used tikz to create charts and graphs for
use in LyX (although never a gantt chart). I have had good luck with the
editor qtikz, which is nice because it gives the code on one side, and a
real-time preview of the output on the other. Also, if you use the preview
capability of LyX, you can make your ERT (when not selected) convert to a
nice preview of the output on-screen within LyX.

Jacob


Re: gantt

2014-10-07 Thread Jacob Bishop
On Tue, Oct 7, 2014 at 7:08 AM, stefano franchi stefano.fran...@gmail.com
wrote:



  In practical terms, I actually worked on the chart itself separately from
 LyX using a Latex editor (Kile). Once I debugged it to my satisfaction, I
 simply cut and paste  the latex code into an ERT box in LyX


For what it's worth, I have also used tikz to create charts and graphs for
use in LyX (although never a gantt chart). I have had good luck with the
editor qtikz, which is nice because it gives the code on one side, and a
real-time preview of the output on the other. Also, if you use the preview
capability of LyX, you can make your ERT (when not selected) convert to a
nice preview of the output on-screen within LyX.

Jacob


Re: gantt

2014-10-07 Thread Jacob Bishop
On Tue, Oct 7, 2014 at 7:08 AM, stefano franchi 
wrote:

>
>
>  In practical terms, I actually worked on the chart itself separately from
> LyX using a Latex editor (Kile). Once I debugged it to my satisfaction, I
> simply cut and paste  the latex code into an ERT box in LyX
>

For what it's worth, I have also used tikz to create charts and graphs for
use in LyX (although never a gantt chart). I have had good luck with the
editor qtikz, which is nice because it gives the code on one side, and a
real-time preview of the output on the other. Also, if you use the preview
capability of LyX, you can make your ERT (when not selected) convert to a
nice preview of the output on-screen within LyX.

Jacob


Re: LyX on PC-BSD?

2014-09-24 Thread Jacob Bishop
On Tue, Sep 23, 2014 at 12:46 PM, Will Parsons varro@nodomain.invalid
wrote:

 Steve Litt wrote:
  Hi all,
 
  I installed LyX on PC-BSD and it errors out that I don't have
  article.cls. I have a feeling that PC-BSD has much fewer depends than
  most Linuxes. Is anyone running LyX on PC-BSD, and if so, what tips can
  you give me?

 I'm running LyX on standard FreeBSD, so I don't what difference that
 may make, but I seem to recall seeing that, and I think what fixed it
 was to (re)install print/textlive-full.

 --
 Will

 For what it's worth, I recently installed LyX on my desktop with Linux
Mint and I think I had the same problem. Once I installed more of the
texlive-* packages (based on what I wanted/needed), it went away. I think
this is fine though since LaTeX isn't really needed to have LyX. So I think
it's not really a problem. I think it should be fine for them to be
installed separately, especially on an OS that has a decent package
management system with both in the standard repositories, and it's not
always clear what latex distribution the person wants to use anyway (so
they should decide independently rather than being forced into it by the
dependencies).

All this got me a little curious, so I used apt-rdepends to ask what the
dependencies for lyx actually were. Here is some of the output from that
(the parts I thought were relevant):
 lyx
  Depends: libboost-regex1.54.0
  Depends: libboost-signals1.54.0
  Depends: libc6 (= 2.15)
  Depends: libenchant1c2a (= 1.6.0)
  Depends: libgcc1 (= 1:4.1.1)
  Depends: libmythes-1.2-0
  Depends: libqtcore4 (= 4:4.7.0~beta1)
  Depends: libqtgui4 (= 4:4.8.0)
  Depends: libstdc++6 (= 4.6)
  Depends: lyx-common (= 2.0.6-1build1)
  Depends: xdg-utils
  Depends: zlib1g (= 1:1.1.4)
lyx-common
  Depends: dpkg (= 1.14.18)
  Depends: python:any (= 2.7.1-0ubuntu2)
  Depends: tex-common (= 3)

-Jacob


Re: LyX on PC-BSD?

2014-09-24 Thread Jacob Bishop
On Tue, Sep 23, 2014 at 12:46 PM, Will Parsons varro@nodomain.invalid
wrote:

 Steve Litt wrote:
  Hi all,
 
  I installed LyX on PC-BSD and it errors out that I don't have
  article.cls. I have a feeling that PC-BSD has much fewer depends than
  most Linuxes. Is anyone running LyX on PC-BSD, and if so, what tips can
  you give me?

 I'm running LyX on standard FreeBSD, so I don't what difference that
 may make, but I seem to recall seeing that, and I think what fixed it
 was to (re)install print/textlive-full.

 --
 Will

 For what it's worth, I recently installed LyX on my desktop with Linux
Mint and I think I had the same problem. Once I installed more of the
texlive-* packages (based on what I wanted/needed), it went away. I think
this is fine though since LaTeX isn't really needed to have LyX. So I think
it's not really a problem. I think it should be fine for them to be
installed separately, especially on an OS that has a decent package
management system with both in the standard repositories, and it's not
always clear what latex distribution the person wants to use anyway (so
they should decide independently rather than being forced into it by the
dependencies).

All this got me a little curious, so I used apt-rdepends to ask what the
dependencies for lyx actually were. Here is some of the output from that
(the parts I thought were relevant):
 lyx
  Depends: libboost-regex1.54.0
  Depends: libboost-signals1.54.0
  Depends: libc6 (= 2.15)
  Depends: libenchant1c2a (= 1.6.0)
  Depends: libgcc1 (= 1:4.1.1)
  Depends: libmythes-1.2-0
  Depends: libqtcore4 (= 4:4.7.0~beta1)
  Depends: libqtgui4 (= 4:4.8.0)
  Depends: libstdc++6 (= 4.6)
  Depends: lyx-common (= 2.0.6-1build1)
  Depends: xdg-utils
  Depends: zlib1g (= 1:1.1.4)
lyx-common
  Depends: dpkg (= 1.14.18)
  Depends: python:any (= 2.7.1-0ubuntu2)
  Depends: tex-common (= 3)

-Jacob


Re: LyX on PC-BSD?

2014-09-24 Thread Jacob Bishop
On Tue, Sep 23, 2014 at 12:46 PM, Will Parsons 
wrote:

> Steve Litt wrote:
> > Hi all,
> >
> > I installed LyX on PC-BSD and it errors out that I don't have
> > article.cls. I have a feeling that PC-BSD has much fewer depends than
> > most Linuxes. Is anyone running LyX on PC-BSD, and if so, what tips can
> > you give me?
>
> I'm running LyX on standard FreeBSD, so I don't what difference that
> may make, but I seem to recall seeing that, and I think what fixed it
> was to (re)install print/textlive-full.
>
> --
> Will
>
> For what it's worth, I recently installed LyX on my desktop with Linux
Mint and I think I had the same "problem". Once I installed more of the
texlive-* packages (based on what I wanted/needed), it went away. I think
this is fine though since LaTeX isn't really needed to have LyX. So I think
it's not really a problem. I think it should be fine for them to be
installed separately, especially on an OS that has a decent package
management system with both in the standard repositories, and it's not
always clear what latex distribution the person wants to use anyway (so
they should decide independently rather than being forced into it by the
dependencies).

All this got me a little curious, so I used apt-rdepends to ask what the
dependencies for lyx actually were. Here is some of the output from that
(the parts I thought were relevant):
 lyx
  Depends: libboost-regex1.54.0
  Depends: libboost-signals1.54.0
  Depends: libc6 (>= 2.15)
  Depends: libenchant1c2a (>= 1.6.0)
  Depends: libgcc1 (>= 1:4.1.1)
  Depends: libmythes-1.2-0
  Depends: libqtcore4 (>= 4:4.7.0~beta1)
  Depends: libqtgui4 (>= 4:4.8.0)
  Depends: libstdc++6 (>= 4.6)
  Depends: lyx-common (= 2.0.6-1build1)
  Depends: xdg-utils
  Depends: zlib1g (>= 1:1.1.4)
lyx-common
  Depends: dpkg (>= 1.14.18)
  Depends: python:any (>= 2.7.1-0ubuntu2)
  Depends: tex-common (>= 3)

-Jacob


Re: RV: Lyx Windows

2014-07-27 Thread Jacob Bishop
2014-07-22 11:06 GMT-06:00 Matias Valladares matias.vallada...@gmail.com:

 Estimados,

 Ola, espero que se encuentren bien.
 Recientemente compre un notebook con Windows 8, hace muchísimo tiempo que
 no
 poseo Windows en el ordenador principal, y por tema de trabajo tengo que
 tener trabajar con él. Por lo mismo me entra la duda si Lyx funciona de
 buena manera en este ambiente, puesto que según la página solo funciona en
 Windows XP/vista/7

 Saludos
 Matias Valladare


Matias,

This is an English user's list, so I'll use l English to respond, but I
believe there was also a Spanish list for LyX set up relatively recently. I
prefer to use Linux (and usually do) but I also have a laptop with Windows
8.1. LyX works just fine for me on my Windows 8.1 laptop.

Jacob


Re: RV: Lyx Windows

2014-07-27 Thread Jacob Bishop
2014-07-22 11:06 GMT-06:00 Matias Valladares matias.vallada...@gmail.com:

 Estimados,

 Ola, espero que se encuentren bien.
 Recientemente compre un notebook con Windows 8, hace muchísimo tiempo que
 no
 poseo Windows en el ordenador principal, y por tema de trabajo tengo que
 tener trabajar con él. Por lo mismo me entra la duda si Lyx funciona de
 buena manera en este ambiente, puesto que según la página solo funciona en
 Windows XP/vista/7

 Saludos
 Matias Valladare


Matias,

This is an English user's list, so I'll use l English to respond, but I
believe there was also a Spanish list for LyX set up relatively recently. I
prefer to use Linux (and usually do) but I also have a laptop with Windows
8.1. LyX works just fine for me on my Windows 8.1 laptop.

Jacob


Re: RV: Lyx Windows

2014-07-27 Thread Jacob Bishop
2014-07-22 11:06 GMT-06:00 Matias Valladares :

> Estimados,
>
> Ola, espero que se encuentren bien.
> Recientemente compre un notebook con Windows 8, hace muchísimo tiempo que
> no
> poseo Windows en el ordenador principal, y por tema de trabajo tengo que
> tener trabajar con él. Por lo mismo me entra la duda si Lyx funciona de
> buena manera en este ambiente, puesto que según la página solo funciona en
> Windows XP/vista/7
>
> Saludos
> Matias Valladare


Matias,

This is an English user's list, so I'll use l English to respond, but I
believe there was also a Spanish list for LyX set up relatively recently. I
prefer to use Linux (and usually do) but I also have a laptop with Windows
8.1. LyX works just fine for me on my Windows 8.1 laptop.

Jacob


Re: Unsupported math environments

2014-06-30 Thread Jacob Bishop
On Sun, Jun 29, 2014 at 1:52 AM, Georg Baum georg.b...@post.rwth-aachen.de
wrote:


 Unfortunately it is not possible to use unsupported math environments in
 LyX
 without putting the whole formula in ERT or do some advanced macro tricks.
 The reason for this is that the native LyX format for math formulas is
 LaTeX. This is implemented in such a way that _everything_ is parsed, so it
 is not possible to have a true ERT in mathed. The parser supports unknown
 commands somewhat (so they appear in red), but not environments.

 This is of course a problem and needs to be fixed, but up to now nobody
 worked on it. If it does not exist already please file a bug report at
 http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown
 environments
 in math.


 Georg

 I fully agree with Georg that it is not currently possible to use
unsupported math
environments in LyX without using ERT or macro tricks. I also agree that
this is a
problem that should be fixed (although I can't immediately think of an easy
way to
fix it)...I was simply trying to help Rudi find a workaround that would
make life a bit
more pleasant given the limitations in LyX as it exists today (which is
much better
than using plain LaTeX, in my opinion).

Jacob


Re: Unsupported math environments

2014-06-30 Thread Jacob Bishop
On Sun, Jun 29, 2014 at 1:52 AM, Georg Baum georg.b...@post.rwth-aachen.de
wrote:


 Unfortunately it is not possible to use unsupported math environments in
 LyX
 without putting the whole formula in ERT or do some advanced macro tricks.
 The reason for this is that the native LyX format for math formulas is
 LaTeX. This is implemented in such a way that _everything_ is parsed, so it
 is not possible to have a true ERT in mathed. The parser supports unknown
 commands somewhat (so they appear in red), but not environments.

 This is of course a problem and needs to be fixed, but up to now nobody
 worked on it. If it does not exist already please file a bug report at
 http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown
 environments
 in math.


 Georg

 I fully agree with Georg that it is not currently possible to use
unsupported math
environments in LyX without using ERT or macro tricks. I also agree that
this is a
problem that should be fixed (although I can't immediately think of an easy
way to
fix it)...I was simply trying to help Rudi find a workaround that would
make life a bit
more pleasant given the limitations in LyX as it exists today (which is
much better
than using plain LaTeX, in my opinion).

Jacob


Re: Unsupported math environments

2014-06-30 Thread Jacob Bishop
On Sun, Jun 29, 2014 at 1:52 AM, Georg Baum 
wrote:

>
> Unfortunately it is not possible to use unsupported math environments in
> LyX
> without putting the whole formula in ERT or do some advanced macro tricks.
> The reason for this is that the native LyX format for math formulas is
> LaTeX. This is implemented in such a way that _everything_ is parsed, so it
> is not possible to have a true ERT in mathed. The parser supports unknown
> commands somewhat (so they appear in red), but not environments.
>
> This is of course a problem and needs to be fixed, but up to now nobody
> worked on it. If it does not exist already please file a bug report at
> http://www.lyx.org/trac/wiki/BugTrackerHome to support unknown
> environments
> in math.
>
>
> Georg
>
> I fully agree with Georg that it is not currently possible to use
unsupported math
environments in LyX without using ERT or macro tricks. I also agree that
this is a
problem that should be fixed (although I can't immediately think of an easy
way to
fix it)...I was simply trying to help Rudi find a workaround that would
make life a bit
more pleasant given the limitations in LyX as it exists today (which is
much better
than using plain LaTeX, in my opinion).

Jacob


Fwd: Unsupported math environments

2014-06-28 Thread Jacob Bishop
Forgot to reply to lyx-users...sorry. Now including reply to list.

On Fri, Jun 27, 2014 at 11:41 AM, Rudi Gaelzer rudi.gael...@ufrgs.br
wrote:

 Dear Jacob.


 What I want and need is a means to implement the math ENVIRONMENTS defined
 by the mathtools package and that are not explicitly supported by LyX.
 Specifically for multiline equations.  LyX supports the standard AMS inner
 and outer environments, such as align (outer) and aligned (inner).
  However, multline is only an outer env in the standard AMSmath.  The
 mathtools pack defines the corresponding inner multlined environment, and
 it seems that there is no way to use it other than ERTing the math input
 (see attached file).


Hi Rudi,

It looks like I did indeed misunderstand your question initially. As you
demonstrated in your example file, it is indeed possible to use ERT to
accomplish what you wanted. The main thing (if I understand correctly now)
is that you would like to avoid the need to ERT math, which basically
defeats the purpose of LyX's math editing tools (and preview). I was able
accomplish what *I believe* you were looking for using the environ package.
Basically, you can re-define an environment. In the attached example, I
re-defined the multline* environment to use the multlined environment
instead. You could easily include a box if desired. See the attached
example. The magic is in the preamble:

\usepackage{environ}


\RenewEnviron{multline*}{%

   \begin{displaymath}

 \begin{multlined}

   \BODY

 \end{multlined}

   \end{displaymath}

}

I hope this helps,

Jacob


mathtoolsEnvironDemo.lyx
Description: application/lyx


Fwd: Unsupported math environments

2014-06-28 Thread Jacob Bishop
Forgot to reply to lyx-users...sorry. Now including reply to list.

On Fri, Jun 27, 2014 at 11:41 AM, Rudi Gaelzer rudi.gael...@ufrgs.br
wrote:

 Dear Jacob.


 What I want and need is a means to implement the math ENVIRONMENTS defined
 by the mathtools package and that are not explicitly supported by LyX.
 Specifically for multiline equations.  LyX supports the standard AMS inner
 and outer environments, such as align (outer) and aligned (inner).
  However, multline is only an outer env in the standard AMSmath.  The
 mathtools pack defines the corresponding inner multlined environment, and
 it seems that there is no way to use it other than ERTing the math input
 (see attached file).


Hi Rudi,

It looks like I did indeed misunderstand your question initially. As you
demonstrated in your example file, it is indeed possible to use ERT to
accomplish what you wanted. The main thing (if I understand correctly now)
is that you would like to avoid the need to ERT math, which basically
defeats the purpose of LyX's math editing tools (and preview). I was able
accomplish what *I believe* you were looking for using the environ package.
Basically, you can re-define an environment. In the attached example, I
re-defined the multline* environment to use the multlined environment
instead. You could easily include a box if desired. See the attached
example. The magic is in the preamble:

\usepackage{environ}


\RenewEnviron{multline*}{%

   \begin{displaymath}

 \begin{multlined}

   \BODY

 \end{multlined}

   \end{displaymath}

}

I hope this helps,

Jacob


mathtoolsEnvironDemo.lyx
Description: application/lyx


Fwd: Unsupported math environments

2014-06-28 Thread Jacob Bishop
Forgot to reply to lyx-users...sorry. Now including reply to list.

On Fri, Jun 27, 2014 at 11:41 AM, Rudi Gaelzer 
wrote:

> Dear Jacob.
>
>
> What I want and need is a means to implement the math ENVIRONMENTS defined
> by the mathtools package and that are not explicitly supported by LyX.
> Specifically for multiline equations.  LyX supports the standard AMS inner
> and outer environments, such as align (outer) and aligned (inner).
>  However, multline is only an outer env in the standard AMSmath.  The
> mathtools pack defines the corresponding inner multlined environment, and
> it seems that there is no way to use it other than ERTing the math input
> (see attached file).
>

Hi Rudi,

It looks like I did indeed misunderstand your question initially. As you
demonstrated in your example file, it is indeed possible to use ERT to
accomplish what you wanted. The main thing (if I understand correctly now)
is that you would like to avoid the need to ERT math, which basically
defeats the purpose of LyX's math editing tools (and preview). I was able
accomplish what *I believe* you were looking for using the environ package.
Basically, you can re-define an environment. In the attached example, I
re-defined the multline* environment to use the multlined environment
instead. You could easily include a box if desired. See the attached
example. The magic is in the preamble:

\usepackage{environ}


\RenewEnviron{multline*}{%

   \begin{displaymath}

 \begin{multlined}

   \BODY

 \end{multlined}

   \end{displaymath}

}

I hope this helps,

Jacob


mathtoolsEnvironDemo.lyx
Description: application/lyx


Re: APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-24 Thread Jacob Bishop
Hi John,

A couple of things. First, you have included the knitr and
short-inset-names modules in the document, which as far as I can tell are
not used for this minimal example. I removed them since I'm not yet set up
to work with those. This shouldn't cause any problems, but I thought I'd
mention it in case.

As a disclaimer, I am not exactly sure what I'm doing, but when I opened up
the apa.cls file and searched for paragraph and subparagraph, I found:
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries\itshape\addperi}}

\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-\z@\relax}%

{\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}

The thing is, with the document you sent, the paragraph part is working,
but the subparagraph part is not. So, if we use a little trial-and-error to
put them together, I end up with the following, which seems to work if you
paste it into your preamble (under Document-Settings-LaTeX Preamble).


\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%

{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%

{-1em}%

{\normalfont\normalsize\itshape\addperi}}


As a disclaimer, I'm not actually sure what I've done there, and it could
break something else, but it seems to work for me...maybe somebody who
understands things better can provide more insight. I hope this helps.

Jacob


Re: APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-24 Thread Jacob Bishop
Hi John,

A couple of things. First, you have included the knitr and
short-inset-names modules in the document, which as far as I can tell are
not used for this minimal example. I removed them since I'm not yet set up
to work with those. This shouldn't cause any problems, but I thought I'd
mention it in case.

As a disclaimer, I am not exactly sure what I'm doing, but when I opened up
the apa.cls file and searched for paragraph and subparagraph, I found:
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries\itshape\addperi}}

\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-\z@\relax}%

{\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}

The thing is, with the document you sent, the paragraph part is working,
but the subparagraph part is not. So, if we use a little trial-and-error to
put them together, I end up with the following, which seems to work if you
paste it into your preamble (under Document-Settings-LaTeX Preamble).


\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%

{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%

{-1em}%

{\normalfont\normalsize\itshape\addperi}}


As a disclaimer, I'm not actually sure what I've done there, and it could
break something else, but it seems to work for me...maybe somebody who
understands things better can provide more insight. I hope this helps.

Jacob


Re: APA with a Table of Contents: Losing the subparagaph in the ToC

2014-06-24 Thread Jacob Bishop
Hi John,

A couple of things. First, you have included the knitr and
short-inset-names modules in the document, which as far as I can tell are
not used for this minimal example. I removed them since I'm not yet set up
to work with those. This shouldn't cause any problems, but I thought I'd
mention it in case.

As a disclaimer, I am not exactly sure what I'm doing, but when I opened up
the apa.cls file and searched for paragraph and subparagraph, I found:
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\parindent}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-1em}%
{\normalfont\normalsize\bfseries\itshape\addperi}}

\renewcommand{\subparagraph}[1]{\@startsection{subparagraph}{5}{1em}%
{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%
{-\z@\relax}%

{\normalfont\normalsize\itshape\hspace{\parindent}{#1}\textit{.}}{\relax}}

The thing is, with the document you sent, the paragraph part is working,
but the subparagraph part is not. So, if we use a little trial-and-error to
put them together, I end up with the following, which seems to work if you
paste it into your preamble (under Document->Settings->LaTeX Preamble).


\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%

{0\baselineskip \@plus 0.2ex \@minus 0.2ex}%

{-1em}%

{\normalfont\normalsize\itshape\addperi}}


As a disclaimer, I'm not actually sure what I've done there, and it could
break something else, but it seems to work for me...maybe somebody who
understands things better can provide more insight. I hope this helps.

Jacob


Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
On Mon, Jun 9, 2014 at 1:46 PM, umair durrani umairdurr...@outlook.com
wrote:

 I have asked this question on tex.stackexchange but got no answer so far. I
 am new to LaTeX and LyX. For writing my thesis I got 2 files from
 university: uw_masters_thesis.sty and sample_thesis.tex. The sample file
 contains \usepackage{uw_masters_thesis} in preamble. If I use LaTex I
 simply put both files in same directory and include child documents by
 using \include or \input in the sample_thesis.tex document.
 The embedded objects manual in LyX suggests to specify the Document Class of
 master document in child document. But in my case the document class is Report
 (Standard Class). In my understanding, what uses the style file is the
 \usepackage{uw_masters_thesis} in preamble.
 I am creating thesis chapters (child documents) in lyx without specifying
 any thing in Document Stettings. I want them to use the style provided by
 .sty file and finally include all of them in master document. How can I
 achieve this in Lyx. Please suggest a step by step solution.


It's a little bit tough to provide a step-by-step solution because I'm not
sure you've described your problem completely enough. Nonetheless, I will
make some assumptions and do my best. From the title of your message, you
appear to be asking about how to include child documents in LyX. I will
answer that first, but I don't think that is actually the main problem you
are having. I think the main problem you are having has to do with creating
a layout file for your thesis template.

*How to include child documents in LyX:*
This is described in Section 7.2 of the Embedded Objects manual.
1. Go to insert-File-Child Documents. If you select include, then this
will do the same as the LaTeX \include, and if you choose \input, it will
do the same as the LaTeX \input which you mentioned above.
2. Select the same document class for child documents as the master
document. To do this, go to Document-Settings-Document Class, and select
the appropriate document class.

Please do NOT use your university template when attempting this for the
first time. Use one of the built-in classes, like the default article
class. If you've got that working fine, then the problem does not lie in
the inclusion of child documents, but in the use of your custom class file.
I sense that's your real problem.

*How to get your custom university thesis template to work:*
This has been asked here before, and I will answer specific questions once
you read the previous posts and wiki on how to do that. The wiki page on
this can be found at:
http://wiki.lyx.org/Examples/Thesis
One recent post from the mailing list is:
http://thread.gmane.org/gmane.editors.lyx.general/82099

Good luck, and please check back after trying the above.

-Jacob


Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
*How to get your custom university thesis template to work:*


 This has been asked here before, and I will answer specific questions once
 you read the previous posts and wiki on how to do that. The wiki page on
 this can be found at:
 http://wiki.lyx.org/Examples/Thesis
 One recent post from the mailing list is:
 http://thread.gmane.org/gmane.editors.lyx.general/82099

 Good luck, and please check back after trying the above.


I have one additional reference, and a correction to what I wrote
previously. The above link to the wiki is a list of example thesis
templates, not how to create one. The link for how to create a custom
layout from an existing style file is:
http://wiki.lyx.org/Layouts/CreatingLayouts

-Jacob


Re: pick out all graphics from a lyx file?

2014-06-10 Thread Jacob Bishop
On Tue, Jun 10, 2014 at 11:35 AM, Neal Becker ndbeck...@gmail.com wrote:

 Helpful, but does not pick out a page from a multi-page pdf


If you want to export a single page from a multi-page pdf then one
possibility is to use a .pdf split/merge program such as pdfsam (
http://www.pdfsam.org/ ) or pdftk (
http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ ). I have nothing to do
with either them, I just use those programs sometimes to get just what I
need from a multipage pdf, and it's convenient for me since both are in the
package repositories for my OS. pdfsam has a graphical interface, whereas
pdftk is commandline only as far as I know. This isn't a very elegant or
completely automated solution based on the LyX file which sounds like what
you are really looking for, but it's the best way I am aware of.

I hope this helps.

Jacob


Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
On Mon, Jun 9, 2014 at 1:46 PM, umair durrani umairdurr...@outlook.com
wrote:

 I have asked this question on tex.stackexchange but got no answer so far. I
 am new to LaTeX and LyX. For writing my thesis I got 2 files from
 university: uw_masters_thesis.sty and sample_thesis.tex. The sample file
 contains \usepackage{uw_masters_thesis} in preamble. If I use LaTex I
 simply put both files in same directory and include child documents by
 using \include or \input in the sample_thesis.tex document.
 The embedded objects manual in LyX suggests to specify the Document Class of
 master document in child document. But in my case the document class is Report
 (Standard Class). In my understanding, what uses the style file is the
 \usepackage{uw_masters_thesis} in preamble.
 I am creating thesis chapters (child documents) in lyx without specifying
 any thing in Document Stettings. I want them to use the style provided by
 .sty file and finally include all of them in master document. How can I
 achieve this in Lyx. Please suggest a step by step solution.


It's a little bit tough to provide a step-by-step solution because I'm not
sure you've described your problem completely enough. Nonetheless, I will
make some assumptions and do my best. From the title of your message, you
appear to be asking about how to include child documents in LyX. I will
answer that first, but I don't think that is actually the main problem you
are having. I think the main problem you are having has to do with creating
a layout file for your thesis template.

*How to include child documents in LyX:*
This is described in Section 7.2 of the Embedded Objects manual.
1. Go to insert-File-Child Documents. If you select include, then this
will do the same as the LaTeX \include, and if you choose \input, it will
do the same as the LaTeX \input which you mentioned above.
2. Select the same document class for child documents as the master
document. To do this, go to Document-Settings-Document Class, and select
the appropriate document class.

Please do NOT use your university template when attempting this for the
first time. Use one of the built-in classes, like the default article
class. If you've got that working fine, then the problem does not lie in
the inclusion of child documents, but in the use of your custom class file.
I sense that's your real problem.

*How to get your custom university thesis template to work:*
This has been asked here before, and I will answer specific questions once
you read the previous posts and wiki on how to do that. The wiki page on
this can be found at:
http://wiki.lyx.org/Examples/Thesis
One recent post from the mailing list is:
http://thread.gmane.org/gmane.editors.lyx.general/82099

Good luck, and please check back after trying the above.

-Jacob


Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
*How to get your custom university thesis template to work:*


 This has been asked here before, and I will answer specific questions once
 you read the previous posts and wiki on how to do that. The wiki page on
 this can be found at:
 http://wiki.lyx.org/Examples/Thesis
 One recent post from the mailing list is:
 http://thread.gmane.org/gmane.editors.lyx.general/82099

 Good luck, and please check back after trying the above.


I have one additional reference, and a correction to what I wrote
previously. The above link to the wiki is a list of example thesis
templates, not how to create one. The link for how to create a custom
layout from an existing style file is:
http://wiki.lyx.org/Layouts/CreatingLayouts

-Jacob


Re: pick out all graphics from a lyx file?

2014-06-10 Thread Jacob Bishop
On Tue, Jun 10, 2014 at 11:35 AM, Neal Becker ndbeck...@gmail.com wrote:

 Helpful, but does not pick out a page from a multi-page pdf


If you want to export a single page from a multi-page pdf then one
possibility is to use a .pdf split/merge program such as pdfsam (
http://www.pdfsam.org/ ) or pdftk (
http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ ). I have nothing to do
with either them, I just use those programs sometimes to get just what I
need from a multipage pdf, and it's convenient for me since both are in the
package repositories for my OS. pdfsam has a graphical interface, whereas
pdftk is commandline only as far as I know. This isn't a very elegant or
completely automated solution based on the LyX file which sounds like what
you are really looking for, but it's the best way I am aware of.

I hope this helps.

Jacob


Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
On Mon, Jun 9, 2014 at 1:46 PM, umair durrani 
wrote:

> I have asked this question on tex.stackexchange but got no answer so far. I
> am new to LaTeX and LyX. For writing my thesis I got 2 files from
> university: uw_masters_thesis.sty and sample_thesis.tex. The sample file
> contains \usepackage{uw_masters_thesis} in preamble. If I use LaTex I
> simply put both files in same directory and include child documents by
> using \include or \input in the sample_thesis.tex document.
> The embedded objects manual in LyX suggests to specify the Document Class of
> master document in child document. But in my case the document class is Report
> (Standard Class). In my understanding, what uses the style file is the
> \usepackage{uw_masters_thesis} in preamble.
> I am creating thesis chapters (child documents) in lyx without specifying
> any thing in Document Stettings. I want them to use the style provided by
> .sty file and finally include all of them in master document. How can I
> achieve this in Lyx. Please suggest a step by step solution.
>

It's a little bit tough to provide a step-by-step solution because I'm not
sure you've described your problem completely enough. Nonetheless, I will
make some assumptions and do my best. From the title of your message, you
appear to be asking about how to include child documents in LyX. I will
answer that first, but I don't think that is actually the main problem you
are having. I think the main problem you are having has to do with creating
a layout file for your thesis template.

*How to include child documents in LyX:*
This is described in Section 7.2 of the Embedded Objects manual.
1. Go to insert->File->Child Documents. If you select "include", then this
will do the same as the LaTeX \include, and if you choose \input, it will
do the same as the LaTeX \input which you mentioned above.
2. Select the same document class for child documents as the master
document. To do this, go to Document->Settings->Document Class, and select
the appropriate document class.

Please do NOT use your university template when attempting this for the
first time. Use one of the built-in classes, like the default article
class. If you've got that working fine, then the problem does not lie in
the inclusion of child documents, but in the use of your custom class file.
I sense that's your real problem.

*How to get your custom university thesis template to work:*
This has been asked here before, and I will answer specific questions once
you read the previous posts and wiki on how to do that. The wiki page on
this can be found at:
http://wiki.lyx.org/Examples/Thesis
One recent post from the mailing list is:
http://thread.gmane.org/gmane.editors.lyx.general/82099

Good luck, and please check back after trying the above.

-Jacob


Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
*How to get your custom university thesis template to work:*

>
> This has been asked here before, and I will answer specific questions once
> you read the previous posts and wiki on how to do that. The wiki page on
> this can be found at:
> http://wiki.lyx.org/Examples/Thesis
> One recent post from the mailing list is:
> http://thread.gmane.org/gmane.editors.lyx.general/82099
>
> Good luck, and please check back after trying the above.
>

I have one additional reference, and a correction to what I wrote
previously. The above link to the wiki is a list of example thesis
templates, not how to create one. The link for how to create a custom
layout from an existing style file is:
http://wiki.lyx.org/Layouts/CreatingLayouts

-Jacob


Re: pick out all graphics from a lyx file?

2014-06-10 Thread Jacob Bishop
On Tue, Jun 10, 2014 at 11:35 AM, Neal Becker  wrote:

> Helpful, but does not pick out a page from a multi-page pdf
>

If you want to export a single page from a multi-page pdf then one
possibility is to use a .pdf split/merge program such as pdfsam (
http://www.pdfsam.org/ ) or pdftk (
http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ ). I have nothing to do
with either them, I just use those programs sometimes to get just what I
need from a multipage pdf, and it's convenient for me since both are in the
package repositories for my OS. pdfsam has a graphical interface, whereas
pdftk is commandline only as far as I know. This isn't a very elegant or
completely automated solution based on the LyX file which sounds like what
you are really looking for, but it's the best way I am aware of.

I hope this helps.

Jacob


Re: Removing a period from BibTeX generated references

2014-06-05 Thread Jacob Bishop
On Thu, Jun 5, 2014 at 12:51 PM, Steve Burnham dan...@gmail.com wrote:

 I have a BibTeX generated list of references that is doing one entry
 incorrectly.  As sen in the attached picture there is a period being placed
 after the question mark.  I need to remove this period


I realize this does not directly solve what you want to do, but I believe
it is relevant. Are you *sure* that you need to remove the period? I
believe it's worth asking. I have on occasion worked hard attempting to do
something (sometimes succeeding, sometimes not) with a package that I
actually did not need to do. As an example, I was very frustrated recently
because I *needed* to place the full author list in the text for an article
which had seven authors. I wrestled around with it for a while before
finally checking the APA manual. It turns out, you're actually not supposed
to list all seven authors in the text, but instead use et al., even for the
first instance they are cited. This was a bit weird to me, but it turned
out that what I *needed* to do did not actually *need* to be done. I know
that APA says you put a period after the title of the article. This rule
technically holds, even if there is a question mark in the title, and even
if it looks weird. I don't know about vancover, but I think it's worth
checking. Do you really *need* to remove that period?

Jacob


Re: Removing a period from BibTeX generated references

2014-06-05 Thread Jacob Bishop
On Thu, Jun 5, 2014 at 12:51 PM, Steve Burnham dan...@gmail.com wrote:

 I have a BibTeX generated list of references that is doing one entry
 incorrectly.  As sen in the attached picture there is a period being placed
 after the question mark.  I need to remove this period


I realize this does not directly solve what you want to do, but I believe
it is relevant. Are you *sure* that you need to remove the period? I
believe it's worth asking. I have on occasion worked hard attempting to do
something (sometimes succeeding, sometimes not) with a package that I
actually did not need to do. As an example, I was very frustrated recently
because I *needed* to place the full author list in the text for an article
which had seven authors. I wrestled around with it for a while before
finally checking the APA manual. It turns out, you're actually not supposed
to list all seven authors in the text, but instead use et al., even for the
first instance they are cited. This was a bit weird to me, but it turned
out that what I *needed* to do did not actually *need* to be done. I know
that APA says you put a period after the title of the article. This rule
technically holds, even if there is a question mark in the title, and even
if it looks weird. I don't know about vancover, but I think it's worth
checking. Do you really *need* to remove that period?

Jacob


Re: Removing a period from BibTeX generated references

2014-06-05 Thread Jacob Bishop
On Thu, Jun 5, 2014 at 12:51 PM, Steve Burnham  wrote:

> I have a BibTeX generated list of references that is doing one entry
> incorrectly.  As sen in the attached picture there is a period being placed
> after the question mark.  I need to remove this period
>

I realize this does not directly solve what you want to do, but I believe
it is relevant. Are you *sure* that you need to remove the period? I
believe it's worth asking. I have on occasion worked hard attempting to do
something (sometimes succeeding, sometimes not) with a package that I
actually did not need to do. As an example, I was very frustrated recently
because I *needed* to place the full author list in the text for an article
which had seven authors. I wrestled around with it for a while before
finally checking the APA manual. It turns out, you're actually not supposed
to list all seven authors in the text, but instead use et al., even for the
first instance they are cited. This was a bit weird to me, but it turned
out that what I *needed* to do did not actually *need* to be done. I know
that APA says you put a period after the title of the article. This rule
technically holds, even if there is a question mark in the title, and even
if it looks weird. I don't know about vancover, but I think it's worth
checking. Do you really *need* to remove that period?

Jacob


Re: Importing tables to Lyx?

2014-05-14 Thread Jacob Bishop
On Tue, May 13, 2014 at 4:45 AM, Frederick FN Noronha फ्रेड्रिक नोरोन्या
*فريدريك نورونيا fredericknoro...@gmail.com wrote:

 Is there any tool which allows imports of boxes/tables (from say doc/odt
 files) to Lyx? The filters for Abiword often don't work. FN


I don't know if this is exactly what you're looking for, but when I need to
import a table from an office document, I usually create a new table the
same size in LyX, then copy-paste the data. This works as long as you use
paste special (or ctrl+shift v). I am not personally aware of a tool that
does more than this, but they may exist.

I hope this helps.


Re: Importing tables to Lyx?

2014-05-14 Thread Jacob Bishop
On Tue, May 13, 2014 at 4:45 AM, Frederick FN Noronha फ्रेड्रिक नोरोन्या
*فريدريك نورونيا fredericknoro...@gmail.com wrote:

 Is there any tool which allows imports of boxes/tables (from say doc/odt
 files) to Lyx? The filters for Abiword often don't work. FN


I don't know if this is exactly what you're looking for, but when I need to
import a table from an office document, I usually create a new table the
same size in LyX, then copy-paste the data. This works as long as you use
paste special (or ctrl+shift v). I am not personally aware of a tool that
does more than this, but they may exist.

I hope this helps.


Re: Importing tables to Lyx?

2014-05-14 Thread Jacob Bishop
On Tue, May 13, 2014 at 4:45 AM, Frederick FN Noronha फ्रेड्रिक नोरोन्या
*فريدريك نورونيا  wrote:

> Is there any tool which allows imports of boxes/tables (from say doc/odt
> files) to Lyx? The filters for Abiword often don't work. FN
>

I don't know if this is exactly what you're looking for, but when I need to
import a table from an office document, I usually create a new table the
same size in LyX, then copy-paste the data. This works as long as you use
paste special (or ctrl+shift v). I am not personally aware of a tool that
does more than this, but they may exist.

I hope this helps.


Re: PDF preview under Widows 8

2014-05-05 Thread Jacob Bishop
On Sat, May 3, 2014 at 6:14 PM, UD-Kap ehud.kap...@gmail.com wrote:

 I am using Windows 8.1 (NOT my fault!), and pdf previewing does not work--
 I have tried Adobe reader, Sumatra and Foxit as pdfLatex readers.   Can
 someone help?


I have LyX on a Windows 8.1 laptop and pdf previewing does work, using
Adobe reader. Perhaps you could provide more information so we can help
better. What version of LyX? Which version of Adobe? Which installer did
you use for LyX? What TeX are you using (MikTeX? version?) Thanks.

-Jacob


Re: PDF preview under Widows 8

2014-05-05 Thread Jacob Bishop
On Sat, May 3, 2014 at 6:14 PM, UD-Kap ehud.kap...@gmail.com wrote:

 I am using Windows 8.1 (NOT my fault!), and pdf previewing does not work--
 I have tried Adobe reader, Sumatra and Foxit as pdfLatex readers.   Can
 someone help?


I have LyX on a Windows 8.1 laptop and pdf previewing does work, using
Adobe reader. Perhaps you could provide more information so we can help
better. What version of LyX? Which version of Adobe? Which installer did
you use for LyX? What TeX are you using (MikTeX? version?) Thanks.

-Jacob


Re: PDF preview under Widows 8

2014-05-05 Thread Jacob Bishop
On Sat, May 3, 2014 at 6:14 PM, UD-Kap  wrote:

> I am using Windows 8.1 (NOT my fault!), and pdf previewing does not work--
> I have tried Adobe reader, Sumatra and Foxit as pdfLatex readers.   Can
> someone help?


I have LyX on a Windows 8.1 laptop and pdf previewing does work, using
Adobe reader. Perhaps you could provide more information so we can help
better. What version of LyX? Which version of Adobe? Which installer did
you use for LyX? What TeX are you using (MikTeX? version?) Thanks.

-Jacob


Re: resize equation output

2014-04-29 Thread Jacob Bishop
On Tue, Apr 22, 2014 at 1:39 PM, Neal Becker ndbeck...@gmail.com wrote:

 Neal Becker wrote:

  I have the misfortune to be commanded to produce ppt.  So I took one of
 my
  equations, in lyx.  I chose beamer so I get something that'll look good
 on a
  slide.  I put
  \beamertemplatenavigationsymbolsempty
 
  so crop will work.
 
  When exported export/pdf(crop), it looks OK, but it's too small.  I
 import to
  M$ PPT by opening in acroread and copy file to clipboard.
 
  So I need something that'll resize the pdf (or convince lyx/beamer to
 output
  something bigger in the first place).


Not so much a real solution as another hack, but one thing I sometimes
have to do which I see as similar is to import tables and figures produced
in LyX into MS Word or the like. What I do is split the .pdf into separate
pages using pdftk (i.e., $pdftk figures.pdf burst ). Then, I convert the
resulting pages into high res images with convert. I use a command such as:
$convert -colorspace RGB -interlace none -density 800 -quality 100
pg_0003.pdf figure01.jpg

Then, I crop the images as needed. That way, I have the separate images
saved, and they are in a format that plays well with MS.

-Jacob


Re: knitr package not available or converter not installed

2014-04-29 Thread Jacob Bishop
On Sat, Apr 26, 2014 at 11:57 AM, James Saracco jsara...@birdpop.orgwrote:


 Dear group,
 I'm a new Lyx user. I'm trying to add the Rnw(knitr) module in the
 document - settings, but get the following message:
 The module knitr requires a packages that is not available in your LaTex
 installation, or a converter that you may not have installed. LaTex output
 may not be possible. Missing prerequisites: knitr-latex
 I'm then referred to section 3.1.2.3 of the User's manual, which wasn't
 too helpful. From Stackoverflow forum, I found reference to this problem in
 Stackoverflow forum, which suggested a PATH problem. So I added the path to
 my R installation to the list of PATH prefixes under the preferences tab
 and reconfigured. But that didn't seem to do anything.


What about adding it to the Windows path? That's what I would try. I have
written detailed instructions to this list before on how to add something
to the path. Basically, you have to go to the control panel, and edit the
environment variables. Choose the PATH variable, and add it there,
prepended with a semicolon. Then try the reconfigure. One way to test
whether the add to path process worked is to open a terminal and type the
name of the program from there. If you can't open R (or whatever is needed
to do the conversion) from a normal terminal, that could be the issue. I
had this very problem at one point with Dia.

I installed Lyx using the LyX-2.0.7-Bundle-4.exe windows installer. I've
 installed on both Windows 7 (desktop) and Windows 8 (notebook) machines
 using all of the default installer options. Any thoughts on this would be
 appreciated. Thanks!


I hope this helps. If you are still stuck let me know and I may try to test
it myself on my Windows machine.

Jacob


Re: Thesis template and layout files

2014-04-29 Thread Jacob Bishop
On Tue, Apr 15, 2014 at 3:34 PM, Steve Burnham dan...@gmail.com wrote:

 OK, so overall success.  I was able to modify the files myself and get
 them to compile in LaTeX.  I found the whole parent/child document thing a
 little confusing at first.  Not the concept so much but just syntax and how
 they are structured.  Should anybody else be looking for help in the future
 I found the following video where you can actually see somebody create a
 parent/child document and it cleared it up for me (
 https://www.sharelatex.com/blog/latex-guides/beginners-tutorial/longer-documents-in-latex.html#.U02Qt-ZdVIY).
  So now when I open up LyX I can go FileImportLaTeX(plain) and import
 MyThesis.tex and it opens and compiles just fine in LyX.  I think now my
 questions are:

 1.  What is the difference between MyThesis.lyx and MyThesisR3.lyx.  From
 what I can tell R3 has the ERT cleaned up in the preamble as well as notes
 signifying the different heading levels


There should be no difference in the .tex or .pdf produced by either. The
only difference is the cleanup of the ERT in the main text. For example, I
typeset the table using LyX, rather than putting it in ERT.


 2.  From what I can gather it is the .layout file that will get rid of the
 ERT in the LyX file.  I tried to follow an example thesis .layout file from
 the LyX site (see here: http://wiki.lyx.org/Layouts/UCThesis) but when I
 modify the file I can no longer get anything to compile.  (See attached
 .layout file to see what I did.)


Using the .layout file I sent (which was basically what you provided
originally), it should compile fine. If you wanted to get rid of more ERT,
we could change it more, but this is not strictly necessary. Much of it
actually ends up being a little complicated. For the most part, you should
be able to get rid of the \usepackage commands in your preamble. This is
because if you have used functionality that's provided by a certain
package, LyX usually includes it for you. That should be the case for the
\usepackage{lscape}, for example. As for the \usepackage{amsmath}
directive, this generally works fine left alone; but if you want, the
correct way to force the use of the amsmath package is to select it in the
math options under the lyx document settings. Some of the others, such as
\usepackage{flafter} should probably remain in the preamble, unless they
are so critical to the style they could be moved to the thesis template
itself. The part we would really like to take out of the preamble would be
the title, author, thesis type, degree, departmentchair, etc. Those would
be defined to use (modified versions) of LyX's frontmatter styles in the
.layout file.

3.  I also cannot figure out where both LyX and LaTeX are getting the front
 matter pages like the title page, copyright page, and abstract.  All I can
 find is in the preamble are entries like \titlepage, \copyrightpage


Yeah, that's kind of confusing. The thesis class file provided by the U
assumes that the abstract will be provided in a file named abstract.tex
that is stored in the same folder. It assumes the same for the
acknowledgements. I think it's bad style, but either way, it's how the
template was written. You can either live with it or modify the thesis
template. That part is controlled by the preface command, which is part of
the ERT at the beginning of the document.


 -Steve


-Jacob


Re: resize equation output

2014-04-29 Thread Jacob Bishop
On Tue, Apr 22, 2014 at 1:39 PM, Neal Becker ndbeck...@gmail.com wrote:

 Neal Becker wrote:

  I have the misfortune to be commanded to produce ppt.  So I took one of
 my
  equations, in lyx.  I chose beamer so I get something that'll look good
 on a
  slide.  I put
  \beamertemplatenavigationsymbolsempty
 
  so crop will work.
 
  When exported export/pdf(crop), it looks OK, but it's too small.  I
 import to
  M$ PPT by opening in acroread and copy file to clipboard.
 
  So I need something that'll resize the pdf (or convince lyx/beamer to
 output
  something bigger in the first place).


Not so much a real solution as another hack, but one thing I sometimes
have to do which I see as similar is to import tables and figures produced
in LyX into MS Word or the like. What I do is split the .pdf into separate
pages using pdftk (i.e., $pdftk figures.pdf burst ). Then, I convert the
resulting pages into high res images with convert. I use a command such as:
$convert -colorspace RGB -interlace none -density 800 -quality 100
pg_0003.pdf figure01.jpg

Then, I crop the images as needed. That way, I have the separate images
saved, and they are in a format that plays well with MS.

-Jacob


Re: knitr package not available or converter not installed

2014-04-29 Thread Jacob Bishop
On Sat, Apr 26, 2014 at 11:57 AM, James Saracco jsara...@birdpop.orgwrote:


 Dear group,
 I'm a new Lyx user. I'm trying to add the Rnw(knitr) module in the
 document - settings, but get the following message:
 The module knitr requires a packages that is not available in your LaTex
 installation, or a converter that you may not have installed. LaTex output
 may not be possible. Missing prerequisites: knitr-latex
 I'm then referred to section 3.1.2.3 of the User's manual, which wasn't
 too helpful. From Stackoverflow forum, I found reference to this problem in
 Stackoverflow forum, which suggested a PATH problem. So I added the path to
 my R installation to the list of PATH prefixes under the preferences tab
 and reconfigured. But that didn't seem to do anything.


What about adding it to the Windows path? That's what I would try. I have
written detailed instructions to this list before on how to add something
to the path. Basically, you have to go to the control panel, and edit the
environment variables. Choose the PATH variable, and add it there,
prepended with a semicolon. Then try the reconfigure. One way to test
whether the add to path process worked is to open a terminal and type the
name of the program from there. If you can't open R (or whatever is needed
to do the conversion) from a normal terminal, that could be the issue. I
had this very problem at one point with Dia.

I installed Lyx using the LyX-2.0.7-Bundle-4.exe windows installer. I've
 installed on both Windows 7 (desktop) and Windows 8 (notebook) machines
 using all of the default installer options. Any thoughts on this would be
 appreciated. Thanks!


I hope this helps. If you are still stuck let me know and I may try to test
it myself on my Windows machine.

Jacob


Re: Thesis template and layout files

2014-04-29 Thread Jacob Bishop
On Tue, Apr 15, 2014 at 3:34 PM, Steve Burnham dan...@gmail.com wrote:

 OK, so overall success.  I was able to modify the files myself and get
 them to compile in LaTeX.  I found the whole parent/child document thing a
 little confusing at first.  Not the concept so much but just syntax and how
 they are structured.  Should anybody else be looking for help in the future
 I found the following video where you can actually see somebody create a
 parent/child document and it cleared it up for me (
 https://www.sharelatex.com/blog/latex-guides/beginners-tutorial/longer-documents-in-latex.html#.U02Qt-ZdVIY).
  So now when I open up LyX I can go FileImportLaTeX(plain) and import
 MyThesis.tex and it opens and compiles just fine in LyX.  I think now my
 questions are:

 1.  What is the difference between MyThesis.lyx and MyThesisR3.lyx.  From
 what I can tell R3 has the ERT cleaned up in the preamble as well as notes
 signifying the different heading levels


There should be no difference in the .tex or .pdf produced by either. The
only difference is the cleanup of the ERT in the main text. For example, I
typeset the table using LyX, rather than putting it in ERT.


 2.  From what I can gather it is the .layout file that will get rid of the
 ERT in the LyX file.  I tried to follow an example thesis .layout file from
 the LyX site (see here: http://wiki.lyx.org/Layouts/UCThesis) but when I
 modify the file I can no longer get anything to compile.  (See attached
 .layout file to see what I did.)


Using the .layout file I sent (which was basically what you provided
originally), it should compile fine. If you wanted to get rid of more ERT,
we could change it more, but this is not strictly necessary. Much of it
actually ends up being a little complicated. For the most part, you should
be able to get rid of the \usepackage commands in your preamble. This is
because if you have used functionality that's provided by a certain
package, LyX usually includes it for you. That should be the case for the
\usepackage{lscape}, for example. As for the \usepackage{amsmath}
directive, this generally works fine left alone; but if you want, the
correct way to force the use of the amsmath package is to select it in the
math options under the lyx document settings. Some of the others, such as
\usepackage{flafter} should probably remain in the preamble, unless they
are so critical to the style they could be moved to the thesis template
itself. The part we would really like to take out of the preamble would be
the title, author, thesis type, degree, departmentchair, etc. Those would
be defined to use (modified versions) of LyX's frontmatter styles in the
.layout file.

3.  I also cannot figure out where both LyX and LaTeX are getting the front
 matter pages like the title page, copyright page, and abstract.  All I can
 find is in the preamble are entries like \titlepage, \copyrightpage


Yeah, that's kind of confusing. The thesis class file provided by the U
assumes that the abstract will be provided in a file named abstract.tex
that is stored in the same folder. It assumes the same for the
acknowledgements. I think it's bad style, but either way, it's how the
template was written. You can either live with it or modify the thesis
template. That part is controlled by the preface command, which is part of
the ERT at the beginning of the document.


 -Steve


-Jacob


Re: resize equation output

2014-04-29 Thread Jacob Bishop
On Tue, Apr 22, 2014 at 1:39 PM, Neal Becker  wrote:

> Neal Becker wrote:
>
> > I have the misfortune to be commanded to produce ppt.  So I took one of
> my
> > equations, in lyx.  I chose beamer so I get something that'll look good
> on a
> > slide.  I put
> > \beamertemplatenavigationsymbolsempty
> >
> > so crop will work.
> >
> > When exported export/pdf(crop), it looks OK, but it's too small.  I
> import to
> > M$ PPT by opening in acroread and copy file to clipboard.
> >
> > So I need something that'll resize the pdf (or convince lyx/beamer to
> output
> > something bigger in the first place).
>

Not so much a "real" solution as another hack, but one thing I sometimes
have to do which I see as similar is to import tables and figures produced
in LyX into MS Word or the like. What I do is split the .pdf into separate
pages using pdftk (i.e., $pdftk figures.pdf burst ). Then, I convert the
resulting pages into high res images with convert. I use a command such as:
$convert -colorspace RGB -interlace none -density 800 -quality 100
pg_0003.pdf figure01.jpg

Then, I crop the images as needed. That way, I have the separate images
saved, and they are in a format that plays well with MS.

-Jacob


Re: knitr package not available or converter not installed

2014-04-29 Thread Jacob Bishop
On Sat, Apr 26, 2014 at 11:57 AM, James Saracco wrote:

>
> Dear group,
> I'm a new Lyx user. I'm trying to add the Rnw(knitr) module in the
> document -> settings, but get the following message:
> "The module knitr requires a packages that is not available in your LaTex
> installation, or a converter that you may not have installed. LaTex output
> may not be possible. Missing prerequisites: knitr->latex"
> I'm then referred to section 3.1.2.3 of the User's manual, which wasn't
> too helpful. From Stackoverflow forum, I found reference to this problem in
> Stackoverflow forum, which suggested a PATH problem. So I added the path to
> my R installation to the list of PATH prefixes under the preferences tab
> and reconfigured. But that didn't seem to do anything.
>

What about adding it to the Windows path? That's what I would try. I have
written detailed instructions to this list before on how to add something
to the path. Basically, you have to go to the control panel, and edit the
environment variables. Choose the PATH variable, and add it there,
prepended with a semicolon. Then try the reconfigure. One way to test
whether the add to path process worked is to open a terminal and type the
name of the program from there. If you can't open R (or whatever is needed
to do the conversion) from a normal terminal, that could be the issue. I
had this very problem at one point with Dia.

I installed Lyx using the LyX-2.0.7-Bundle-4.exe windows installer. I've
> installed on both Windows 7 (desktop) and Windows 8 (notebook) machines
> using all of the default installer options. Any thoughts on this would be
> appreciated. Thanks!
>

I hope this helps. If you are still stuck let me know and I may try to test
it myself on my Windows machine.

Jacob


Re: Thesis template and layout files

2014-04-29 Thread Jacob Bishop
On Tue, Apr 15, 2014 at 3:34 PM, Steve Burnham  wrote:

> OK, so overall success.  I was able to modify the files myself and get
> them to compile in LaTeX.  I found the whole parent/child document thing a
> little confusing at first.  Not the concept so much but just syntax and how
> they are structured.  Should anybody else be looking for help in the future
> I found the following video where you can actually see somebody create a
> parent/child document and it cleared it up for me (
> https://www.sharelatex.com/blog/latex-guides/beginners-tutorial/longer-documents-in-latex.html#.U02Qt-ZdVIY).
>  So now when I open up LyX I can go File>Import>LaTeX(plain) and import
> MyThesis.tex and it opens and compiles just fine in LyX.  I think now my
> questions are:
>
> 1.  What is the difference between MyThesis.lyx and MyThesisR3.lyx.  From
> what I can tell R3 has the ERT cleaned up in the preamble as well as notes
> signifying the different heading levels
>

There should be no difference in the .tex or .pdf produced by either. The
only difference is the cleanup of the ERT in the main text. For example, I
typeset the table using LyX, rather than putting it in ERT.

>
> 2.  From what I can gather it is the .layout file that will get rid of the
> ERT in the LyX file.  I tried to follow an example thesis .layout file from
> the LyX site (see here: http://wiki.lyx.org/Layouts/UCThesis) but when I
> modify the file I can no longer get anything to compile.  (See attached
> .layout file to see what I did.)
>

Using the .layout file I sent (which was basically what you provided
originally), it should compile fine. If you wanted to get rid of more ERT,
we could change it more, but this is not strictly necessary. Much of it
actually ends up being a little complicated. For the most part, you should
be able to get rid of the \usepackage commands in your preamble. This is
because if you have used functionality that's provided by a certain
package, LyX usually includes it for you. That should be the case for the
\usepackage{lscape}, for example. As for the \usepackage{amsmath}
directive, this generally works fine left alone; but if you want, the
correct way to force the use of the amsmath package is to select it in the
math options under the lyx document settings. Some of the others, such as
\usepackage{flafter} should probably remain in the preamble, unless they
are so critical to the style they could be moved to the thesis template
itself. The part we would really like to take out of the preamble would be
the title, author, thesis type, degree, departmentchair, etc. Those would
be defined to use (modified versions) of LyX's frontmatter styles in the
.layout file.

3.  I also cannot figure out where both LyX and LaTeX are getting the front
> matter pages like the title page, copyright page, and abstract.  All I can
> find is in the preamble are entries like \titlepage, \copyrightpage
>

Yeah, that's kind of confusing. The thesis class file provided by the U
assumes that the abstract will be provided in a file named "abstract.tex"
that is stored in the same folder. It assumes the same for the
acknowledgements. I think it's bad style, but either way, it's how the
template was written. You can either live with it or modify the thesis
template. That part is controlled by the preface command, which is part of
the ERT at the beginning of the document.


> -Steve
>

-Jacob


Re: Thesis template and layout files

2014-04-10 Thread Jacob Bishop
On Thu, Apr 10, 2014 at 5:14 PM, Steve Burnham dan...@gmail.com wrote:

 I am trying to write my thesis using LyX but I am experiencing some
 confusion/problems with importing my universities thesis class and create
 the LyX template.


Hi Steve, I used LyX for my thesis, and had to customize things to work for
my university template. Perhaps you have already figured some of this out,
but I would like to provide a few suggestions for how to proceed:

1) Download the template (including both the necessary .cls/sty files and a
minimal example). Your university should provide a working example. If they
don't then find a classmate or friend that has one.
2) Get the minimal example to compile and produce acceptable output using
regular old LaTeX.
3) Write a minimal layout file for LyX so the class shows up.
4) Put in everything you need from the example document, at this stage you
will typically use ERT liberally, and have a load of stuff in the preamble.
5) Debug until the document compiles in LyX just as it did in regular LaTeX.
6+) [optional] Gradually improve the LyX interface by modifying the .layout
file to support more of the thesis template's features, which will allow
you to remove ERT.

It appears to me that you tried to start somewhere in the middle of this
process, which I wouldn't generally recommend.

It looks like you tried to modify the book layout file to use with your
document class. Now, I could have missed something, but it looks like your
university's document class is not based on book. So, that won't work.

To explain a bit more in case you are lost with what I mean, a LaTeX
document typically relies on a document class. That class can either be an
original document class, or a derived one. By original, I mean a
document class that was written from scratch. There are several document
classes that come standard with LaTeX. These include book, article, report,
etc. Now, when a person writes a new document class (to use for a
university thesis, for instance) they usually create a derived class. By
that, I mean that they import the base class, inheriting all of the
goodness from it. The book class is usually a good base class for a thesis
template, but article is also sometimes used. Just as in LaTeX, .cls or
.sty files, LyX .layout files can be created by modifying an existing one.
The guiding principle in doing that is to create a new .layout file by
modifying the same .layout file your class was based on (again, for theses,
this is  usually the book class).

In any case, it looks to me like the person(s) who wrote the thesis
template you sent started from scratch. That means modifying the layout for
the book class won't work as well as one might hope. It might end up
requiring a bit more work, so my recommendation is to start at step 1
above, then ask again once you get past step 2 (and include the minimal
example in your response, it will make it easier to help).

Jacob

p.s. I did my MS at BYU and PhD at USU (both theses were written in LyX).
If it had been one of those, I would have a drop-in solution for you.


Re: Thesis template and layout files

2014-04-10 Thread Jacob Bishop
On Thu, Apr 10, 2014 at 5:14 PM, Steve Burnham dan...@gmail.com wrote:

 I am trying to write my thesis using LyX but I am experiencing some
 confusion/problems with importing my universities thesis class and create
 the LyX template.


Hi Steve, I used LyX for my thesis, and had to customize things to work for
my university template. Perhaps you have already figured some of this out,
but I would like to provide a few suggestions for how to proceed:

1) Download the template (including both the necessary .cls/sty files and a
minimal example). Your university should provide a working example. If they
don't then find a classmate or friend that has one.
2) Get the minimal example to compile and produce acceptable output using
regular old LaTeX.
3) Write a minimal layout file for LyX so the class shows up.
4) Put in everything you need from the example document, at this stage you
will typically use ERT liberally, and have a load of stuff in the preamble.
5) Debug until the document compiles in LyX just as it did in regular LaTeX.
6+) [optional] Gradually improve the LyX interface by modifying the .layout
file to support more of the thesis template's features, which will allow
you to remove ERT.

It appears to me that you tried to start somewhere in the middle of this
process, which I wouldn't generally recommend.

It looks like you tried to modify the book layout file to use with your
document class. Now, I could have missed something, but it looks like your
university's document class is not based on book. So, that won't work.

To explain a bit more in case you are lost with what I mean, a LaTeX
document typically relies on a document class. That class can either be an
original document class, or a derived one. By original, I mean a
document class that was written from scratch. There are several document
classes that come standard with LaTeX. These include book, article, report,
etc. Now, when a person writes a new document class (to use for a
university thesis, for instance) they usually create a derived class. By
that, I mean that they import the base class, inheriting all of the
goodness from it. The book class is usually a good base class for a thesis
template, but article is also sometimes used. Just as in LaTeX, .cls or
.sty files, LyX .layout files can be created by modifying an existing one.
The guiding principle in doing that is to create a new .layout file by
modifying the same .layout file your class was based on (again, for theses,
this is  usually the book class).

In any case, it looks to me like the person(s) who wrote the thesis
template you sent started from scratch. That means modifying the layout for
the book class won't work as well as one might hope. It might end up
requiring a bit more work, so my recommendation is to start at step 1
above, then ask again once you get past step 2 (and include the minimal
example in your response, it will make it easier to help).

Jacob

p.s. I did my MS at BYU and PhD at USU (both theses were written in LyX).
If it had been one of those, I would have a drop-in solution for you.


Re: Thesis template and layout files

2014-04-10 Thread Jacob Bishop
On Thu, Apr 10, 2014 at 5:14 PM, Steve Burnham  wrote:

> I am trying to write my thesis using LyX but I am experiencing some
> confusion/problems with importing my universities thesis class and create
> the LyX template.
>

Hi Steve, I used LyX for my thesis, and had to customize things to work for
my university template. Perhaps you have already figured some of this out,
but I would like to provide a few suggestions for how to proceed:

1) Download the template (including both the necessary .cls/sty files and a
minimal example). Your university should provide a working example. If they
don't then find a classmate or friend that has one.
2) Get the minimal example to compile and produce acceptable output using
regular old LaTeX.
3) Write a minimal layout file for LyX so the class shows up.
4) Put in everything you need from the example document, at this stage you
will typically use ERT liberally, and have a load of stuff in the preamble.
5) Debug until the document compiles in LyX just as it did in regular LaTeX.
6+) [optional] Gradually improve the LyX interface by modifying the .layout
file to support more of the thesis template's features, which will allow
you to remove ERT.

It appears to me that you tried to start somewhere in the middle of this
process, which I wouldn't generally recommend.

It looks like you tried to modify the book layout file to use with your
document class. Now, I could have missed something, but it looks like your
university's document class is not based on book. So, that won't work.

To explain a bit more in case you are lost with what I mean, a LaTeX
document typically relies on a document class. That class can either be an
"original" document class, or a derived one. By "original," I mean a
document class that was written from scratch. There are several document
classes that come standard with LaTeX. These include book, article, report,
etc. Now, when a person writes a new document class (to use for a
university thesis, for instance) they usually create a derived class. By
that, I mean that they import the base class, inheriting all of the
goodness from it. The book class is usually a good base class for a thesis
template, but article is also sometimes used. Just as in LaTeX, .cls or
.sty files, LyX .layout files can be created by modifying an existing one.
The guiding principle in doing that is to create a new .layout file by
modifying the same .layout file your class was based on (again, for theses,
this is  usually the book class).

In any case, it looks to me like the person(s) who wrote the thesis
template you sent started from scratch. That means modifying the layout for
the book class won't work as well as one might hope. It might end up
requiring a bit more work, so my recommendation is to start at step 1
above, then ask again once you get past step 2 (and include the minimal
example in your response, it will make it easier to help).

Jacob

p.s. I did my MS at BYU and PhD at USU (both theses were written in LyX).
If it had been one of those, I would have a drop-in solution for you.


Re: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Wed, Mar 26, 2014 at 4:00 PM, James A.R. Koehler jim.koeh...@usask.cawrote:

 I have installed Lyx (several times!) on two Mint16 machines; one a 32-bit
 version and the other 64-bit.  Mint is based on Ubuntu 13. In both cases,
 when installing either from a download from the Lyx site or via the .deb
 repository, it installs without any classes or layouts; i.e., it is not
 very useful.  If I try to read the User Manual, it comes up with an error
 saying it cannot find the appropriate class to display the data.  Catch 22.

 In previous installations on earlier distributions of Linux in other
 years, the installation was seamless and problem free.  Help!

 Jim


Hi Jim,

I don't think I've been able to follow this discussion perfectly, but I may
still be able to help. My main machine (on which I am typing right now) is
running 64-bit Linux Mint Cinnamon 16 (Petra). I am not using any ppa's, so
I believe my version of LyX is from the regular repo's. It's version 2.0.6.
I have no trouble viewing and compiling the user's manual. Unless space is
particularly tight on your machine (or you have slow network access), I
would follow Liviu's suggestion of installing a full version of texlive. I
just checked, by running  $dpkg --list | grep texlive to see what
packages I have installed, and I can say that my installation certainly
isn't minimal (see the attached text file for the output from my machine
using that command), but it works great. After installing any new packages,
you should open LyX, and run Tools-Reconfigure as Pavel suggested. Then,
close LyX, re-open it, and see what you get.

How does that work for you?

Jacob
dpkg --list | grep texlive

ii  texlive-base2013.20130722-1 
all  TeX Live: Essential programs and files
ii  texlive-bibtex-extra2013.20130722-1 
all  TeX Live: BibTeX additional styles
ii  texlive-binaries2013.20130529.30792-1ubuntu1
amd64Binaries for TeX Live
ii  texlive-extra-utils 2013.20130722-1 
all  TeX Live: TeX auxiliary programs
ii  texlive-font-utils  2013.20130722-1 
all  TeX Live: Graphics and font utilities
ii  texlive-fonts-recommended   2013.20130722-1 
all  TeX Live: Recommended fonts
ii  texlive-fonts-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-fonts-recommended
ii  texlive-generic-extra   2013.20130722-1 
all  TeX Live: Generic additional packages
ii  texlive-generic-recommended 2013.20130722-1 
all  TeX Live: Generic recommended packages
ii  texlive-latex-base  2013.20130722-1 
all  TeX Live: LaTeX fundamental packages
ii  texlive-latex-base-doc  2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-base
ii  texlive-latex-extra 2013.20130722-1 
all  TeX Live: LaTeX additional packages
ii  texlive-latex-extra-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-extra
ii  texlive-latex-recommended   2013.20130722-1 
all  TeX Live: LaTeX recommended packages
ii  texlive-latex-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-recommended
ii  texlive-luatex  2013.20130722-1 
all  TeX Live: LuaTeX packages
ii  texlive-pictures2013.20130722-1 
all  TeX Live: Graphics, pictures, diagrams
ii  texlive-pictures-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pictures
ii  texlive-pstricks2013.20130722-1 
all  TeX Live: PSTricks
ii  texlive-pstricks-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pstricks
ii  texlive-publishers  2013.20130722-1 
all  TeX Live: Publisher styles, theses, etc.
ii  texlive-science 2013.20130722-1 
all  TeX Live: Natural and computer sciences
ii  texlive-science-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-science


Re: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler jim.koeh...@usask.cawrote:

  Thanks Jacob,


You're welcome. I'm glad to help.



 I am also using Mint 16 Petra but with MATE.  On my main machine,
 which is the 64-bit version of Mint16, I installed all the texlive packages
 (I have a fairly high-speed link and lots of HD space), I opened Lyx, ran
 Tools  Reconfigure, closed Lyx and reopened it.  I then opened a fairly
 large document I'd created a few years ago using the then current version
 of Lyx and it seemed to open in the editor nicely.  When I tried to view
 the document in dvi, I got an error message saying Latex error: File
 'wrapfig.sty not found.


From time to time, I discover that there's a LaTeX package out there I'd
like to use. Sometimes, I discover it from a suggestion or through a
search, but then I have the problem that I don't know how best to install
it. I could manually download the files from CTAN and put them in the right
place, but that gets cumbersome, and there's usually an easier way. In
fact, there's usually some texlive .deb package already in the repositories
waiting for me to install it. The problem is I don't know which package to
install in order to get the LaTeX packages I want. Fortunately, there's a
debian utility called apt-file. It can be installed the typical way (e.g.,
$sudo apt-get install apt-file). Once installed (after running $sudo
apt-file update), you can run a command like $apt-file search wrapfig.sty

I did just that, and it returned the following:

texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty

which tells me that if I want to use wrapfig.sty, I need to have the
package texlive-latex-extra installed. So, what I would suggest is that you
install that package, reconfigure LyX, restart LyX, and then try to compile
your document. I do hope this helps.


 I notice that all the sub-directories under the .lyx directory my home
 directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm wrong,
but I believe that directory is only for local customizations to your LyX
install, and it's perfectly fine for it to be empty. Can you now open and
compile the help manuals? Please report back.

Jacob


Re: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Wed, Mar 26, 2014 at 4:00 PM, James A.R. Koehler jim.koeh...@usask.cawrote:

 I have installed Lyx (several times!) on two Mint16 machines; one a 32-bit
 version and the other 64-bit.  Mint is based on Ubuntu 13. In both cases,
 when installing either from a download from the Lyx site or via the .deb
 repository, it installs without any classes or layouts; i.e., it is not
 very useful.  If I try to read the User Manual, it comes up with an error
 saying it cannot find the appropriate class to display the data.  Catch 22.

 In previous installations on earlier distributions of Linux in other
 years, the installation was seamless and problem free.  Help!

 Jim


Hi Jim,

I don't think I've been able to follow this discussion perfectly, but I may
still be able to help. My main machine (on which I am typing right now) is
running 64-bit Linux Mint Cinnamon 16 (Petra). I am not using any ppa's, so
I believe my version of LyX is from the regular repo's. It's version 2.0.6.
I have no trouble viewing and compiling the user's manual. Unless space is
particularly tight on your machine (or you have slow network access), I
would follow Liviu's suggestion of installing a full version of texlive. I
just checked, by running  $dpkg --list | grep texlive to see what
packages I have installed, and I can say that my installation certainly
isn't minimal (see the attached text file for the output from my machine
using that command), but it works great. After installing any new packages,
you should open LyX, and run Tools-Reconfigure as Pavel suggested. Then,
close LyX, re-open it, and see what you get.

How does that work for you?

Jacob
dpkg --list | grep texlive

ii  texlive-base2013.20130722-1 
all  TeX Live: Essential programs and files
ii  texlive-bibtex-extra2013.20130722-1 
all  TeX Live: BibTeX additional styles
ii  texlive-binaries2013.20130529.30792-1ubuntu1
amd64Binaries for TeX Live
ii  texlive-extra-utils 2013.20130722-1 
all  TeX Live: TeX auxiliary programs
ii  texlive-font-utils  2013.20130722-1 
all  TeX Live: Graphics and font utilities
ii  texlive-fonts-recommended   2013.20130722-1 
all  TeX Live: Recommended fonts
ii  texlive-fonts-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-fonts-recommended
ii  texlive-generic-extra   2013.20130722-1 
all  TeX Live: Generic additional packages
ii  texlive-generic-recommended 2013.20130722-1 
all  TeX Live: Generic recommended packages
ii  texlive-latex-base  2013.20130722-1 
all  TeX Live: LaTeX fundamental packages
ii  texlive-latex-base-doc  2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-base
ii  texlive-latex-extra 2013.20130722-1 
all  TeX Live: LaTeX additional packages
ii  texlive-latex-extra-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-extra
ii  texlive-latex-recommended   2013.20130722-1 
all  TeX Live: LaTeX recommended packages
ii  texlive-latex-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-recommended
ii  texlive-luatex  2013.20130722-1 
all  TeX Live: LuaTeX packages
ii  texlive-pictures2013.20130722-1 
all  TeX Live: Graphics, pictures, diagrams
ii  texlive-pictures-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pictures
ii  texlive-pstricks2013.20130722-1 
all  TeX Live: PSTricks
ii  texlive-pstricks-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pstricks
ii  texlive-publishers  2013.20130722-1 
all  TeX Live: Publisher styles, theses, etc.
ii  texlive-science 2013.20130722-1 
all  TeX Live: Natural and computer sciences
ii  texlive-science-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-science


Re: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler jim.koeh...@usask.cawrote:

  Thanks Jacob,


You're welcome. I'm glad to help.



 I am also using Mint 16 Petra but with MATE.  On my main machine,
 which is the 64-bit version of Mint16, I installed all the texlive packages
 (I have a fairly high-speed link and lots of HD space), I opened Lyx, ran
 Tools  Reconfigure, closed Lyx and reopened it.  I then opened a fairly
 large document I'd created a few years ago using the then current version
 of Lyx and it seemed to open in the editor nicely.  When I tried to view
 the document in dvi, I got an error message saying Latex error: File
 'wrapfig.sty not found.


From time to time, I discover that there's a LaTeX package out there I'd
like to use. Sometimes, I discover it from a suggestion or through a
search, but then I have the problem that I don't know how best to install
it. I could manually download the files from CTAN and put them in the right
place, but that gets cumbersome, and there's usually an easier way. In
fact, there's usually some texlive .deb package already in the repositories
waiting for me to install it. The problem is I don't know which package to
install in order to get the LaTeX packages I want. Fortunately, there's a
debian utility called apt-file. It can be installed the typical way (e.g.,
$sudo apt-get install apt-file). Once installed (after running $sudo
apt-file update), you can run a command like $apt-file search wrapfig.sty

I did just that, and it returned the following:

texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty

which tells me that if I want to use wrapfig.sty, I need to have the
package texlive-latex-extra installed. So, what I would suggest is that you
install that package, reconfigure LyX, restart LyX, and then try to compile
your document. I do hope this helps.


 I notice that all the sub-directories under the .lyx directory my home
 directory are still all empty.  Surely this is not normal?


I don't really think that's a problem. Someone may correct me if I'm wrong,
but I believe that directory is only for local customizations to your LyX
install, and it's perfectly fine for it to be empty. Can you now open and
compile the help manuals? Please report back.

Jacob


Re: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Wed, Mar 26, 2014 at 4:00 PM, James A.R. Koehler wrote:

> I have installed Lyx (several times!) on two Mint16 machines; one a 32-bit
> version and the other 64-bit.  Mint is based on Ubuntu 13. In both cases,
> when installing either from a download from the Lyx site or via the .deb
> repository, it installs without any classes or layouts; i.e., it is not
> very useful.  If I try to read the User Manual, it comes up with an error
> saying it cannot find the appropriate class to display the data.  Catch 22.
>
> In previous installations on earlier distributions of Linux in other
> years, the installation was seamless and problem free.  Help!
>
> Jim


Hi Jim,

I don't think I've been able to follow this discussion perfectly, but I may
still be able to help. My main machine (on which I am typing right now) is
running 64-bit Linux Mint Cinnamon 16 (Petra). I am not using any ppa's, so
I believe my version of LyX is from the regular repo's. It's version 2.0.6.
I have no trouble viewing and compiling the user's manual. Unless space is
particularly tight on your machine (or you have slow network access), I
would follow Liviu's suggestion of installing a full version of texlive. I
just checked, by running  $dpkg --list | grep "texlive" to see what
packages I have installed, and I can say that my installation certainly
isn't minimal (see the attached text file for the output from my machine
using that command), but it works great. After installing any new packages,
you should open LyX, and run Tools->Reconfigure as Pavel suggested. Then,
close LyX, re-open it, and see what you get.

How does that work for you?

Jacob
dpkg --list | grep "texlive"

ii  texlive-base2013.20130722-1 
all  TeX Live: Essential programs and files
ii  texlive-bibtex-extra2013.20130722-1 
all  TeX Live: BibTeX additional styles
ii  texlive-binaries2013.20130529.30792-1ubuntu1
amd64Binaries for TeX Live
ii  texlive-extra-utils 2013.20130722-1 
all  TeX Live: TeX auxiliary programs
ii  texlive-font-utils  2013.20130722-1 
all  TeX Live: Graphics and font utilities
ii  texlive-fonts-recommended   2013.20130722-1 
all  TeX Live: Recommended fonts
ii  texlive-fonts-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-fonts-recommended
ii  texlive-generic-extra   2013.20130722-1 
all  TeX Live: Generic additional packages
ii  texlive-generic-recommended 2013.20130722-1 
all  TeX Live: Generic recommended packages
ii  texlive-latex-base  2013.20130722-1 
all  TeX Live: LaTeX fundamental packages
ii  texlive-latex-base-doc  2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-base
ii  texlive-latex-extra 2013.20130722-1 
all  TeX Live: LaTeX additional packages
ii  texlive-latex-extra-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-extra
ii  texlive-latex-recommended   2013.20130722-1 
all  TeX Live: LaTeX recommended packages
ii  texlive-latex-recommended-doc   2013.20130722-1 
all  TeX Live: Documentation files for texlive-latex-recommended
ii  texlive-luatex  2013.20130722-1 
all  TeX Live: LuaTeX packages
ii  texlive-pictures2013.20130722-1 
all  TeX Live: Graphics, pictures, diagrams
ii  texlive-pictures-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pictures
ii  texlive-pstricks2013.20130722-1 
all  TeX Live: PSTricks
ii  texlive-pstricks-doc2013.20130722-1 
all  TeX Live: Documentation files for texlive-pstricks
ii  texlive-publishers  2013.20130722-1 
all  TeX Live: Publisher styles, theses, etc.
ii  texlive-science 2013.20130722-1 
all  TeX Live: Natural and computer sciences
ii  texlive-science-doc 2013.20130722-1 
all  TeX Live: Documentation files for texlive-science


Re: Lyx installation in Mint16

2014-04-01 Thread Jacob Bishop
On Tue, Apr 1, 2014 at 12:56 PM, James A.R. Koehler wrote:

>  Thanks Jacob,
>

You're welcome. I'm glad to help.


>
> I am also using Mint 16 Petra but with MATE.  On my main machine,
> which is the 64-bit version of Mint16, I installed all the texlive packages
> (I have a fairly high-speed link and lots of HD space), I opened Lyx, ran
> Tools > Reconfigure, closed Lyx and reopened it.  I then opened a fairly
> large document I'd created a few years ago using the then current version
> of Lyx and it seemed to open in the editor nicely.  When I tried to view
> the document in dvi, I got an error message saying "Latex error: File
> 'wrapfig.sty not found".
>

>From time to time, I discover that there's a LaTeX package out there I'd
like to use. Sometimes, I discover it from a suggestion or through a
search, but then I have the problem that I don't know how best to install
it. I could manually download the files from CTAN and put them in the right
place, but that gets cumbersome, and there's usually an easier way. In
fact, there's usually some texlive .deb package already in the repositories
waiting for me to install it. The problem is I don't know which package to
install in order to get the LaTeX packages I want. Fortunately, there's a
debian utility called apt-file. It can be installed the typical way (e.g.,
$sudo apt-get install apt-file). Once installed (after running $sudo
apt-file update), you can run a command like $apt-file search wrapfig.sty

I did just that, and it returned the following:

texlive-latex-extra: /usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty

which tells me that if I want to use wrapfig.sty, I need to have the
package texlive-latex-extra installed. So, what I would suggest is that you
install that package, reconfigure LyX, restart LyX, and then try to compile
your document. I do hope this helps.


> I notice that all the sub-directories under the .lyx directory my home
> directory are still all empty.  Surely this is not normal?
>

I don't really think that's a problem. Someone may correct me if I'm wrong,
but I believe that directory is only for local customizations to your LyX
install, and it's perfectly fine for it to be empty. Can you now open and
compile the help manuals? Please report back.

Jacob


Re: APACITE

2014-01-03 Thread Jacob Bishop
If you want to use APA style, I would suggest using the template. There are
several things that have to be set which the template does for you. If you
want something different than what the template provides, it might be
easiest to use that as a starting point rather than a vanilla article class.

I hope this helps.

Jacob


On Tue, Dec 31, 2013 at 4:04 PM, EhrenFordyce spekt...@gmail.com wrote:

 Struggling to get APA style to work in LyX.
  In the most recent iteration, I have a) opened a
 new file; b) set the document class to article;
 c) set citation style to Natbib and processor to Bibtex
 under Bibliography in Document Settings;
 d) added \usepackage{apacite} in the Preamble;
 e) inserted a BibTeX generated bibliography.
 If I then view this as a PDF, the bibliography appears in
 good APA form. If I then save the file and then
 hit view once again, the bibliographic entries have now
 disappeared under References.
 What's going on? Am on a Max OS X 10.5.8.




Re: APACITE

2014-01-03 Thread Jacob Bishop
If you want to use APA style, I would suggest using the template. There are
several things that have to be set which the template does for you. If you
want something different than what the template provides, it might be
easiest to use that as a starting point rather than a vanilla article class.

I hope this helps.

Jacob


On Tue, Dec 31, 2013 at 4:04 PM, EhrenFordyce spekt...@gmail.com wrote:

 Struggling to get APA style to work in LyX.
  In the most recent iteration, I have a) opened a
 new file; b) set the document class to article;
 c) set citation style to Natbib and processor to Bibtex
 under Bibliography in Document Settings;
 d) added \usepackage{apacite} in the Preamble;
 e) inserted a BibTeX generated bibliography.
 If I then view this as a PDF, the bibliography appears in
 good APA form. If I then save the file and then
 hit view once again, the bibliographic entries have now
 disappeared under References.
 What's going on? Am on a Max OS X 10.5.8.




Re: APACITE

2014-01-03 Thread Jacob Bishop
If you want to use APA style, I would suggest using the template. There are
several things that have to be set which the template does for you. If you
want something different than what the template provides, it might be
easiest to use that as a starting point rather than a vanilla article class.

I hope this helps.

Jacob


On Tue, Dec 31, 2013 at 4:04 PM, EhrenFordyce  wrote:

> Struggling to get APA style to work in LyX.
>  In the most recent iteration, I have a) opened a
> new file; b) set the document class to article;
> c) set citation style to Natbib and processor to Bibtex
> under Bibliography in Document Settings;
> d) added "\usepackage{apacite}" in the Preamble;
> e) inserted a BibTeX generated bibliography.
> If I then view this as a PDF, the bibliography appears in
> good APA form. If I then save the file and then
> hit view once again, the bibliographic entries have now
> disappeared under References.
> What's going on? Am on a Max OS X 10.5.8.
>
>


Re: Forward/reverse search and LuaTeX

2013-09-21 Thread Jacob Bishop
On Fri, Sep 20, 2013 at 1:16 PM, John Kane jrkrid...@yahoo.ca wrote:

 I seem to have forward search (LyX - Ocular) working with Default Output
 Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1
 but nothing at all seems to happen when I try reverse search (Ocular -
 LyX).


Strange. No matter what I do, (Lyx-Okular) doesn't seem to work. It always
seems to drop me on the first page.


 What activation method works with reverse search? I've been using
 cntl-left click (along with a few other random keystroke combinations) with
 no results at all.


When I am in Okular, and have the browse tool active (hand-shaped tool),
then shift-click, it jumps to the correct location in the LyX file.

Jacob


Re: Two reference list

2013-09-21 Thread Jacob Bishop
On Fri, Sep 20, 2013 at 7:00 AM, Patrick Dupre pdu...@gmx.com wrote:

 Hello,

 I would like to generate 2 reference lists. Let say one take the citations
 upto the list. Then I have an appendix where I would like to start new
 citations to generate a new list at the very end of the Appendix.


I think Sectioned Bibliography is the keyword you are interested in.
There is documentation for this in the
Additional Features manual (help-additional features), and also on the
wiki, see:
http://wiki.lyx.org/BibTeX/Tips#secbib
In addition, you can also check the list archives. I used a sectioned
bibliography for a paper I recently submitted,
so if you run into trouble with this, feel free to ask questions.

Jacob


 Thank.

 Regards.

 ===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire de Physico-Chimie de l'Atmosphère | |
  Université du Littoral-Côte d'Opale   | |
  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
 ===



  1   2   3   >