Re: APA 6 document class & longtable problem

2014-11-23 Thread Wolfgang Engelmann


Am 22.11.2014 um 17:30 schrieb John Kane:

@Article{gordon_bedside_2013,
   Title= {Bedside coaching to improve nurses’ 
recognition of delirium:},
   Author   = {Gordon, Susan Jean and Melillo, Karen Devereaux 
and Nannini, Angela and Lakatos, Barbara E.},
   Journal  = {Journal of Neuroscience Nursing},
   Year = {2013},

   Month= oct,
   Number   = {5},
   Pages= {288--293},
   Volume   = {45},


Volume   = {45},

John,

it works for me without the comma behind the volume

Wolfgang



Re: On screen math fonts

2014-11-23 Thread Stephan Witt
Am 24.11.2014 um 00:19 schrieb Ernesto Posse :

> Hi. I recently upgraded my LyX install to 2.1.2.1 on Mac OS X Mavericks, and 
> I noticed that the on-screen character for \otimes is now rendered 
> incorrectly as an A with umlaut, although the PDF output is correct. I 
> haven't noticed this with any other symbols so far. Is this a bug, or some 
> configuration issue?

This a bug of the build with Cocoa. It will be fixed in 2.1.3.
The 2.1.2.1 build is not better than 2.1.2 on Mavericks.
You may use the Carbon package of 2.1.2 to get the correct
on screen rendering.

Stephan



Re: Calculyx

2014-11-23 Thread Scott Kostyshak
On Sun, Nov 23, 2014 at 8:47 PM, aparsloe  wrote:
> I've written a LaTeX package called "calculyx" which numerically evaluates
> mathematical expressions in LyX "before one's eyes" using instant preview.
> It is written in the expl3 language of LaTeX3 but is used just like any
> other LaTeX package. There is a link at
> http://wiki.lyx.org/Examples/Calculyx to a zipped archive currently in a
> Dropbox folder, and a screenshot (.png format) of a one-page LaTeX document
> and the resulting pdf with a few example calculations at
> https://www.dropbox.com/s/7djkyjs44bpraol/Screenshot%202014-11-24%2013.52.07.png?dl=0.
> The LaTeX may look complicated, but using LyX, all that is as ever hidden.
> One simply enters expressions in the LyX math editor as usual.
>
> Calculyx requires the three LaTeX3 bundles l3kernel,  l3packages and
> l3experimental. Because a main routine uses a  command that was introduced
> to l3kernel on 18 July 2014, the version of l3kernel must be later than
> this. The calculational engine for calculyx is the floating point module
> l3fp in l3kernel.
>
> I have tried to ensure as much as possible that calculyx reads expressions
> as mathematicians write them. For instance it will "digest" \sin 3x - 3\sin
> x + 4\sin^{3} x (for a specified value of x, say \pi/6) without parentheses
> around the arguments and with the superscript in the "wrong" but familiar
> place. It will "digest" the common arithmetic operators, plus variants like
> \times and \div, the familiar trigonometric and hyperbolic functions and
> their inverses, the exponential and natural logarithm, fractions (\frac,
> \tfrac), square root and \surd, factorials ( using !), binomial coefficients
> (\binom, \tbinom), \gcd, sums and products (\sum, \prod) including
> "infinite" sums and products, limits (\lim), derivatives (1st and 2nd
> order), including Cartesian 2-d and 3-d Laplacians, and definite integrals
> in one variable. Results are generally presented in the form: expression =
> result. There is also a (multi-column) table creating command and another
> which will iterate a function (for the chaos theorists).
>
> The package contains a novelty that I think could be exploited more widely.
> Some calculations are computationally intensive. So as not to burden the
> compilation of the pdf with them, these calculations can be "parked" either
> in a LyX note or in an inactive branch. Instant preview works in both places
> (with a caveat for LyX notes). The result of the calculation can be saved to
> a LaTeX control sequence. Calculyx automatically saves such control
> sequences to a file. They are then available for inserting elsewhere in the
> document -- even at the start, long before the place where the calculation
> is performed. If you are prepared to set up a converter and copier, then the
> file containing the control sequences can be saved in the document directory
> -- or copied to other directories whereby the results of those "parked"
> calculations are made available to these other documents. By this means
> selected items in LyX notes or inactive branches can play a part in
> compilation to pdf.
>
> Andrew

This is a very cool idea, Andrew. Thanks for implementing that! I
don't have time right now to play with new toys but I look forward to
testing it someday.

Scott


Calculyx

2014-11-23 Thread aparsloe
I've written a LaTeX package called "calculyx" which numerically 
evaluates mathematical expressions in LyX "before one's eyes" using 
instant preview.  It is written in the expl3 language of LaTeX3 but is 
used just like any other LaTeX package. There is a link at 
http://wiki.lyx.org/Examples/Calculyx to a zipped archive currently in a 
Dropbox folder, and a screenshot (.png format) of a one-page LaTeX 
document and the resulting pdf with a few example calculations at 
https://www.dropbox.com/s/7djkyjs44bpraol/Screenshot%202014-11-24%2013.52.07.png?dl=0. 
The LaTeX may look complicated, but using LyX, all that is as ever 
hidden. One simply enters expressions in the LyX math editor as usual.


Calculyx requires the three LaTeX3 bundles l3kernel,  l3packages and 
l3experimental. Because a main routine uses a  command that was 
introduced to l3kernel on 18 July 2014, the version of l3kernel must be 
later than this. The calculational engine for calculyx is the floating 
point module l3fp in l3kernel.


I have tried to ensure as much as possible that calculyx reads 
expressions as mathematicians write them. For instance it will "digest" 
\sin 3x - 3\sin x + 4\sin^{3} x (for a specified value of x, say \pi/6) 
without parentheses around the arguments and with the superscript in the 
"wrong" but familiar place. It will "digest" the common arithmetic 
operators, plus variants like \times and \div, the familiar 
trigonometric and hyperbolic functions and their inverses, the 
exponential and natural logarithm, fractions (\frac, \tfrac), square 
root and \surd, factorials ( using !), binomial coefficients (\binom, 
\tbinom), \gcd, sums and products (\sum, \prod) including "infinite" 
sums and products, limits (\lim), derivatives (1st and 2nd order), 
including Cartesian 2-d and 3-d Laplacians, and definite integrals in 
one variable. Results are generally presented in the form: expression = 
result. There is also a (multi-column) table creating command and 
another which will iterate a function (for the chaos theorists).


The package contains a novelty that I think could be exploited more 
widely. Some calculations are computationally intensive. So as not to 
burden the compilation of the pdf with them, these calculations can be 
"parked" either in a LyX note or in an inactive branch. Instant preview 
works in both places (with a caveat for LyX notes). The result of the 
calculation can be saved to a LaTeX control sequence. Calculyx 
automatically saves such control sequences to a file. They are then 
available for inserting elsewhere in the document -- even at the start, 
long before the place where the calculation is performed. If you are 
prepared to set up a converter and copier, then the file containing the 
control sequences can be saved in the document directory -- or copied to 
other directories whereby the results of those "parked" calculations are 
made available to these other documents. By this means selected items in 
LyX notes or inactive branches can play a part in compilation to pdf.


Andrew


Re: (Math) preview does not work in Yosemite

2014-11-23 Thread Anders Host-Madsen
It seems now both my posts finally appeared on gmane. Just to
complete this thread. Upgrading to the latest version of MacTeX solved
the problem on both my computers.



Re: On screen math fonts

2014-11-23 Thread Anders Host-Madsen
I can confirm this, also in 2.1.2.2. I also have had the problem
with a one other symbol, but now I don't remember which.





On screen math fonts

2014-11-23 Thread Ernesto Posse
Hi. I recently upgraded my LyX install to 2.1.2.1 on Mac OS X Mavericks,
and I noticed that the on-screen character for \otimes is now rendered
incorrectly as an A with umlaut, although the PDF output is correct. I
haven't noticed this with any other symbols so far. Is this a bug, or some
configuration issue?

Thanks.


-- 
Ernesto Posse
Zeligsoft.com


Re: Appendix

2014-11-23 Thread Dr Eberhard Lisse
Sorry,

too quick :-)-O

However, that's a LaTeX issue and googling

latex separate "list of figures" from appendix

is of help

el

On 2014-11-23 19:21 , Dr Eberhard Lisse wrote:
> Try asking in English, perhaps?
> 
> el
> 
> On 2014-11-20 14:02 , Hanna Hennig wrote:
>> Hallo,
>>
>> ich schreibe mit Lyx meine Masterarbeit und möchte gerne für
>> die Abbildungen bzw.  Tabellen, die im Anhang vorkommen je ein
>> neues Verzeichnis machen.
>> Hat jemand eine Idee und kann mir weiter helfen?
>>
>> Danke
>>
>> I would like to have a separate Table of Figures and Tables for
>> the appendix.
>> Any thoughts or tips?
>>
>> Thanks
>>
>>
> 
> 



Re: Appendix

2014-11-23 Thread Dr Eberhard Lisse
Try asking in English, perhaps?

el

On 2014-11-20 14:02 , Hanna Hennig wrote:
> Hallo,
> 
> ich schreibe mit Lyx meine Masterarbeit und möchte gerne für die
> Abbildungen bzw. Tabellen, die im Anhang vorkommen je ein neues
> Verzeichnis machen.
> Hat jemand eine Idee und kann mir weiter helfen?
> 
> Danke
> 
> I would like to have a separate Table of Figures and Tables for the
> appendix.
> Any thoughts or tips?
> 
> Thanks
> 
> 



Re: Open File problem

2014-11-23 Thread Stephan Witt
Am 23.11.2014 um 16:43 schrieb Julio Rojas :

> Dear LyXers,
> 
> My wife has LyX 2.1.1 under OS X 10.9.5 (Mavericks). When she tries to open a 
> file, LyX pops a new LyX document up, which is immediately closed. No Open 
> File dialog is shown. The same happens with New From Template. Is there a way 
> to diagnose (and fix) this problem? Is it related to the Yosemite problems 
> arising left and right? I wouldn't like to upgrade to Yosemite and thus to 
> 2.1.1.2, unless it would be totally unavoidably, as remote user support is 
> not my strong feature, and she would be left in dire straits.

I'd propose to make a copy of the 2.1.1 and try if it is better with 2.1.2 or 
2.1.2.2.
The fixes for Yosemite doesn't harm on Mavericks. The open file problem is not 
related
to the Yosemite problems. I cannot remember what the reason was and how it was 
fixed.

Stephan

Re: Open File problem

2014-11-23 Thread Anders Ekberg

> On 23 Nov 2014, at 16:43, Julio Rojas  wrote:
> 
> Dear LyXers,
> 
> My wife has LyX 2.1.1 under OS X 10.9.5 (Mavericks). When she tries to open a 
> file, LyX pops a new LyX document up, which is immediately closed. No Open 
> File dialog is shown. The same happens with New From Template. Is there a way 
> to diagnose (and fix) this problem? Is it related to the Yosemite problems 
> arising left and right? I wouldn't like to upgrade to Yosemite and thus to 
> 2.1.1.2, unless it would be totally unavoidably, as remote user support is 
> not my strong feature, and she would be left in dire straits.
> 
> Thanks in advance. Regards,
> -
> Julio Rojas

Try to open up Console, note the error messages and see if you can deduce the 
error from there.
(b.t.w. the newest version is 2.1.2.2)

/Anders



Open File problem

2014-11-23 Thread Julio Rojas
Dear LyXers,

My wife has LyX 2.1.1 under OS X 10.9.5 (Mavericks). When she tries to open
a file, LyX pops a new LyX document up, which is immediately closed. No
Open File dialog is shown. The same happens with New From Template. Is
there a way to diagnose (and fix) this problem? Is it related to the
Yosemite problems arising left and right? I wouldn't like to upgrade to
Yosemite and thus to 2.1.1.2, unless it would be totally unavoidably, as
remote user support is not my strong feature, and she would be left in dire
straits.

Thanks in advance. Regards,
-
Julio Rojas
jcredbe...@gmail.com