How to use "abstract" package with LyX

2018-08-01 Thread list_email
Has anyone successfully used the “abstract” package with LyX?

http://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/abstract/abstract.pdf

I am trying to use it with "Article (Standard Class)” in two-column mode to get 
a single-column abstract to appear above the two-column body but am having 
trouble because the title page command “\maketitle” is called twice which is 
very bad. You can see more details of my experience here but for now I want to 
keep this message simple:

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg205850.html

Jerry



Re: How do I bring the QUANTA journal template into LyX?

2018-08-01 Thread Cris Fuhrman
On Wed, Aug 1, 2018 at 6:52 AM Daniel Kian Mc Kiernan <
daniel@oeconomist.com> wrote:

> Versions of perl have long been available for Windows.
>

There is also Linux Subsystem for Windows (LSW), which I recently tried.
One still must update the perl environment to get the tex2bib script to
run, as the latest perl under Ubuntu doesn't have Perl4::CoreLibs by
default, which is required in tex2bib.

However, before anyone tries this lengthy install process of perl under
windows, it's important to realize that tex2bib is very limited if your
\bibitem elements don't follow certain conventions (from the perl comments):

# Assumes that bibitems are formatted as follows:
> #  -- {key}author(s), (date) at the beginning
> #  -- titles of books or names of journals: {\em title}
> #  -- article titles:  after date, `` '' quotes optional
> #  -- volume, pages:  {\it vol}, nnn-nnn.
> #  -- publisher/address:address:publisher


In the case of the manuscript.tex from Quanta, because the data aren't
formatted that way, it catches only a few of the fields in the conversion.
IMO it's not a useful tool.

Cheers,

C. Fuhrman


Re: Shortcuts dedicated to math mode

2018-08-01 Thread Daniel

On 30/07/2018 00:09, Paul A. Rubin wrote:

On 07/29/2018 04:44 PM, Daniel wrote:

On 29/07/2018 10:44, Ricardo Berlasso wrote:
2018-07-27 11:21 GMT+02:00 Daniel >:


    On 26/07/2018 15:31, Jean-Marc Lasgouttes wrote:

    Le 26/07/2018 à 09:19, Jürgen Spitzmüller a écrit :

    Am Donnerstag, den 26.07.2018, 08:53 +0200 schrieb Daniel:

    Is it possible to have a keyboard shortcut dedicated to
    math mode so
    that it only works in matn mode but does something else
    (or its
    normal
    function) when not in math mode?


    You can use
    command-alternatives math-function ; text-function


    You can also use autocorrect in math mode. Example: <= gives 
\leq.



    Never heard about it? Where can I set it up?


Tools → Preferences → Editing → Input completion: check 
"autocorrection" under "In Math"


Thanks. I did but it still does not replace <= with \leq.


It's a little funky to work with. After making the change in 
preferences, go into a math inset and type anything, watching the status 
line at the bottom of the window. You will probably see the 
(short-lived) message 'Autocorrect Off ("!" to enter)'. Type a bang 
character (exclamation point), and then try typing <=.


When you turn on autocorrect with the bang character, you'll see another 
(short-lived) message saying that typing a space takes you out of 
autocorrect mode.


Thanks, that works. I wonder whether anyone is using it given how hidden 
it is.


Daniel




Re: How do I bring the QUANTA journal template into LyX?

2018-08-01 Thread Daniel Kian Mc Kiernan

On 07/30/2018 10:38 AM, Cris Fuhrman wrote:




Converting the \bibitem in the template is not 
trivial (there is tex2bib, but it's perl and needs Linux or a Mac 
probably). 



Versions of perl have long been available for Windows.

  https://learn.perl.org/installing/windows.html

There _might_ be a gotcha with difference in textfile format — 
specifically with Windows terminating lines with  “\x0D\x0A” whereas 
*nix just uses  ‘\x0A’ — but there are also utilities for converting 
from one format to the other, if you don't otherwise know how.


  http://dos2unix.sourceforge.net/