Re: Figures and tables at the end/Page of floats

2020-10-18 Thread John Kane
Ah, very nice.

On Sun, 18 Oct 2020 at 09:43, Maria Gouskova  wrote:

>
>
> On Fri, Oct 16, 2020 at 6:20 PM John Kane  wrote:
>
>> Have a look at the APA or APA ver 6 classes .
>>
>> On Fri, 16 Oct 2020 at 13:32, Maria Gouskova  wrote:
>>
>>> Hi LyX users,
>>>
>>> I am preparing a manuscript for a publisher who wants the figures and
>>> tables to be placed at the end of the document, with something like "Figure
>>> X about here" in the body of the paper itself. I thought that the "Page of
>>> Floats" setting would accomplish this, but it seems to group all figures
>>> and tables into pages scattered throughout the document. (Except for the
>>> last table, which gets placed at the very end of the document, after the
>>> bibliography, in the middle of its own page.)
>>>
>>> I guess the solution that would definitely work would be to put all the
>>> float insets at the end manually, select "here definitely" for the
>>> positioning option, and then use cross-references to define the positioning
>>> of the "Figure X about here" tags. It just seems like there should be a
>>> more elegant way to accomplish this. Can the "page of floats" option be
>>> controlled somehow?
>>>
>>> Maria
>>>
>>> --
>>> lyx-users mailing list
>>> lyx-users@lists.lyx.org
>>> http://lists.lyx.org/mailman/listinfo/lyx-users
>>>
>>
>> --
>>
> John Kane
>> Kingston ON Canada
>>
>
> That wasn't exactly what I was after, since APAv6 comes with so many of
> its own formatting quirks I would have to undo that it would take five
> times as long as doing the float placement by hand.
>
> But, I dug around some more and found an elegant solution: the endfloat
> package. It did exactly what I needed in one line!
>
> https://ctan.org/pkg/endfloat
>
> Maria
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
John Kane
Kingston ON Canada
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Figures and tables at the end/Page of floats

2020-10-16 Thread John Kane
Have a look at the APA or APA ver 6 classes .

On Fri, 16 Oct 2020 at 13:32, Maria Gouskova  wrote:

> Hi LyX users,
>
> I am preparing a manuscript for a publisher who wants the figures and
> tables to be placed at the end of the document, with something like "Figure
> X about here" in the body of the paper itself. I thought that the "Page of
> Floats" setting would accomplish this, but it seems to group all figures
> and tables into pages scattered throughout the document. (Except for the
> last table, which gets placed at the very end of the document, after the
> bibliography, in the middle of its own page.)
>
> I guess the solution that would definitely work would be to put all the
> float insets at the end manually, select "here definitely" for the
> positioning option, and then use cross-references to define the positioning
> of the "Figure X about here" tags. It just seems like there should be a
> more elegant way to accomplish this. Can the "page of floats" option be
> controlled somehow?
>
> Maria
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
John Kane
Kingston ON Canada
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: A LyX success

2020-07-24 Thread John Kane
Congradulations Les.

On Fri, 24 Jul 2020 at 12:32, Richard Kimberly Heck 
wrote:

> On 7/24/20 11:55 AM, Les wrote:
> > My memoir "Blizzards and Broken Grousers -- a Year of Antarctic
> > Glaciology" has been accepted in its final form for publication by the
> > Society of Exploration Geophysicists (SEG).
> >
> > The form in which it has been accepted is a single 348-page PDF file
> > containing all of the book except the cover and a title page, ready for
> > printing. I requested this, because I did not want to scour proofs
> > someone else had typeset, taking into consideration 110 figures, a
> > five-page glossary, and an 18-page index.
> >
> > The PDF is generated from LyX.
> >
> > I used the Memoir class, adjusting text layout to match exactly the
> > specifications SEG supplied. This required quite an extensive preamble,
> > and some TeX within the document. The most difficult parts were getting
> > the chapter pagestyle exactly as requested, and getting  the
> > bibliography format exactly as requested.
> >
> > I have a Master document and eleven Child documents. The figures
> > include scanned paper originals (PNG), photographs (JPEG), graphs
> > (Grace), and maps (PDF generated using Generic Mapping Tools).
> >
> > The editing process involved me sharing my PDF on Dropbox. The editor
> > marked corrections (using Adobe, I think) and I changed the LyX files
> > to make the corrections, and generated a new PDF. She was particularly
> > grateful that I could use the correct symbol (\textminus) for  negative
> > temperatures. Apparently most authors settle for an en-dash. The last
> > correction made was replacing a non-standard degree symbol I had
> > included in a quote copied and pasted from the Australian Antarctic
> > Division website.
> >
> > Initial approval of the book was determined last December. I
> > reformatted it to the SEG specification I sent the first reformatted
> > PDF the first week in January, and received the first corrections in
> > March (with an apology for delays due to the pandemic). I have received
> > two more sets of corrections, and sent two more revisions, before
> > receiving the publication agreement for me to sign on Monday.
> >
> > I have been using LyX for about twenty years, and am extremely grateful
> > to the volunteers who have made it what  it is today.
>
> Congratulations! I've also produced two books in roughly this way
> (though minus Dropbox) and am in the process of producing a third such.
> It certainly is nice to have such fine-grained control over the
> appearance of one's own book.
>
> What font did you use?
>
> Riki
>
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
John Kane
Kingston ON Canada
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Hebrew document template

2020-04-27 Thread John Kane
Thanks. I was looking for something like that for a colleague a couple of
days ago.

On Mon, 27 Apr 2020 at 13:38, Guy Rutenberg  wrote:

> Hi,
>
> Every once in a while someone asks around how to set up a Hebrew document
> in  LyX. To make things easier, I've created a template with some sane
> defaults.
>
> https://github.com/guyru/lyx-hebrew-templates
>
> It uses XeTeX, David CLM as the Roman font and Koma-Script Article as the
> document class.
> I hope others will find it useful.
>
> Thanks,
> Guy
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
John Kane
Kingston ON Canada
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: conversion d' une image png en eps

2020-02-24 Thread John Kane
I get the same. My errer message is, "No information for converting svgz
format files to pdf6. Define a converter in the preferences.
Error 1 says


LaTeX Warning: File
`2_usr_share_lyx_images_dialog-show-new-inset_graphics.pdf'

not found on input line 264.



! Package pdftex.def Error: File
`2_usr_share_lyx_images_dialog-show-new-inset_

graphics.pdf' not found: using draft setting.


and it seems to go on like that. The file seems to compile with some
missing images.


On Mon, 24 Feb 2020 at 06:02, Bernard Blondot 
wrote:

> Lorsque je veux consulter le tutoriel concernant les objets insérés  on
> me demande un convertisseur d' un format png à un format eps . Que faut
> il faire car je ne connais pas ce convertisseur . Je n' avais pas ce
> genre de problème avec une version antérieure de lyx , d' autre part on
> me demande de définir une langue germanique alors que dans des versions
> antérieures de lyx  je n' avais pas ce genre  ce genre de propos  . D'
> avance merci pour la réponse éventuelle .
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>


-- 
John Kane
Kingston ON Canada
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Error: ! Package babel Error: You haven't defined the language french yet.

2019-12-08 Thread John Kane
Works fine for me Ubuntu 18.04, TexLive, Lyx 2.3.3

 I noticed is that that the word "France" is in French rather than
English. Could this be giving the problem?

I live in Canada and automatically set up for English & French when
installing. Could you be on a machine that does  not have French
installed?

On Sun, 8 Dec 2019 at 12:14, Baris Erkus  wrote:
>
>
> On 08-Dec-19 8:07 PM, Patrick Dupre wrote:
> > Hello,
> >
> > The attached file gives an error.
> > Why?
> > I use lyx 2.3.3 on fedora30
> >
> > Any idea?
> >
> > Thank.
> >
> > ===
> >   Patrick DUPRÉ | | email: pdu...@gmx.com
> >   Laboratoire interdisciplinaire Carnot de Bourgogne
> >   9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> >   Tel: +33 (0)380395988
> > ===
> >
> Worked on my Win10+MikTeX+LyX2.3.3
>
> --
> ↓↓
> Please bottom-post. Start your reply here:
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users



-- 
John Kane
Kingston ON Canada
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: List transfer

2019-10-03 Thread John Kane
Thanks for the great service.

On Thu, 3 Oct 2019 at 06:22, Baris Erkus  wrote:
>
> Many Thanks and Good Luck…..
>
>
>
> Sent from Mail for Windows 10
>
>
>
> 
> From: lyx-users@lists.lyx.org  on behalf of Wierdl 
> Máté 
> Sent: Thursday, October 3, 2019 1:14:31 PM
> To: lyx-de...@lists.lyx.org ; 
> lyx-users@lists.lyx.org 
> Subject: List transfer
>
> Guys, the LyX mailing lists will be transferred to its new location at Ohio 
> State from Univ of Memphis.  Please stop sending messages to the lists since 
> they may get lost.  I'll leave the server running at Uof Memphis for four 
> more hours so that already sent messages clear out.  Then the sever will be 
> shut down, and you'll get a message when it's up at its new location---this 
> should happen today unless something goes wrong. .
>
> The list addresses won't change.
>
> It's been my pleasure to administer the LyX lists for over a decade.
>
> Best,
>
> Máté



-- 
John Kane
Kingston ON Canada


Re: https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-03-15 Thread John Kane
We may be talking at cross-purposes here as I am running Ubuntu 18.04

However, I downloaded the modified soul module, copied it into
/.lyx/layouts,  ran a reconfigure and something calling itself "Soul
text markup" has appeared in my list of available modules.

As Daniel points out my instructions do not work for Windows so I may
be using an approach that is only valid in Ubundu

On Fri, 15 Mar 2019 at 04:51, Kornel Benko  wrote:
>
> Am Donnerstag, 14. März 2019 20:16:51 CET schrieb John White 
> :
> > Thanks John, but, after reconfigure, that doesn't seem to work.
> >
> >  *  johwhi@johwhi:~/.lyx/layouts$ ls
> >
> > The modules seem to be in ~/.lyx/packages.lst or ~/.lyx/styFiles.lst and I 
> > don't know
> > how to edit those files.  At least I don't see them anywhere else.vOnly 
> > thing in ~.lyx/
> > layouts is soul.module.
> > Perhaps I will have to break down and read the instructions. I use 2.3.2 on 
> > Debian
> > stretch 64 bit.
> > John
> >
> >
>
> This is the wrong directory. The subdir 'layouts' is the correct one.
> (For you  ~/.lyx/layouts)
>
> Kornel-BEGIN PGP SIGNATURE-
> Version: GnuPG v2
>
> iQEcBAABCAAGBQJci2d6AAoJEG9QBFYDX0RbgmcIAL9CV9Ly8z3Jc5Cxvag7vUYV
> uoL7qH/n1n0zF5moudxQjitXyOe0YHOgpqyAo6U9g2yRG1pj9w0Trp6f8wbjsNPA
> gssCM4CwvQT6YBiwAHtxCmKvOHezgLXZb1gsU2X800AoM29Wnv+NL+nJRc8YtoBr
> HXaZ2pIhj8ubrvqbj8wHDo/efmPkb21NYZwNAeoc8KjvatGnX7LBTovGoKEKfAqn
> HwZ92hTsL20aWWbn4ce9+qnCc/yRl2s6pSiIdEozDZ6UOxusZvAgAHsvuLiBVz0n
> h+sOjHK0Bnk9Wer5wAR1OwpawZy5E83xo5VBMKDjhlvX+SO5SE9THiYxI9YjyGg=
> =DL4c
> -END PGP SIGNATURE-



-- 
John Kane
Kingston ON Canada


Re: Problems with bibliography generation

2019-03-14 Thread John Kane
I think the first thing you need to try is adding the Natbibapa
module. It is not there in the MWE that you sent.

Re the Biblio.bib file. I am no expert but I have never seen so many \
in a bib file.  For example at the end of an entry I see
\}\
\

where I would expect }.

Have a look at the attached bibtest.bib file vs your Biblio.bib to see
what I mean.  I got the bibtest.bib file to work with your .lyx file
after installing the Natbibapa module. See the attached
Bib.example.lyx and check settings as I may have made another change
and not documented it.

On Thu, 14 Mar 2019 at 10:29, Harold Mouras  wrote:
>
> Dear Users,
> excuse if this is a silly question. I have A LyX file and a .bib file 
> (attached). The bibliography option of the LyX document is set up on NatBib 
> and the .bib file should be correct, but I cannot generate any bibliography.
> Thank you very much for your help
> Best regards,
> Harold
>



-- 
John Kane
Kingston ON Canada


bib.example.lyx
Description: application/lyx
@book{collingham2006curry,
	title = {Curry : A tale of cooks and conquerors},
	publisher = {Oxford University Press},
	author = {Collingham, Elizabeth M. (Lizzie)},
	year = {2006},
	keywords = {Food}
}
@book{abela2007beans,
	title = {Beans},
	publisher = {Berg},
	author = {Abela, Ken},
	year = {2007}
}
@book{low2002integral,
	title = {Integral hydroponics},
	publisher = {Kitchen},
	author = {Low, Grant},
	year = {2002},
	keywords = {Farming, Gardening, hydroponics}
}


Re: https://wiki.lyx.org/uploads/Modules/soul.module messages

2019-03-14 Thread John Kane
Drop it  in the ~/.lyx/layouts folder. Then reconfigure LyX (Tools >
Reconfigure)


On Thu, 14 Mar 2019 at 11:58, John White  wrote:
>
>
>
> On Thursday, March 14, 2019 9:38:27 AM PDT Jürgen Spitzmüller wrote:
>
> > Am Do., 14. März 2019 um 09:15 Uhr schrieb Jürgen Spitzmüller 
> > > Alternatively, try to fix it (or get somebody to fix it) and upload a new
>
> > > version to the wiki.
>
> >
>
> > Try the attached version.
>
> >
>
> > Jürgen
>
> >
>
> > > Jürgen
>
>
>
> Jurgen,
>
>
>
> Not having anything like Dr. Lisse's significant skill with lyx, but wanting 
> to try your version of soul.module, can you direct me to a source of 
> information on how to load a new module? I suppose it goes in 
> file:///home/johwhi/.lyx/lyxmodules.lst?
>
>
>
> Thanks,
>
>
>
> John
>
>
>
>



-- 
John Kane
Kingston ON Canada


Re: Import LaTeX (plain) dialog

2019-02-28 Thread John Kane
I never noticed before but I am seeing the same blank vs All files display
with Lyx 2.3.2 with Ubuntu 18.04

On Thu, 28 Feb 2019 at 13:35, Paul A. Rubin  wrote:

> On 2/28/19 12:50 PM, Maria Gouskova wrote:
> > On Thu, Feb 28, 2019 at 11:00 AM Paul A. Rubin 
> wrote:
> >> On 2/28/19 10:39 AM, Maria Gouskova wrote:
> >>> On Thu, Feb 28, 2019 at 9:36 AM Paul A. Rubin 
> wrote:
> >>>
> >> Interesting. What version of Qt do you use (4.8.7 here), and what
> >> desktop environment for Sarah (MATE here)? Did you compile LyX yourself
> >> or get a binary somewhere?
> > The desktop environment is Cinnamon.  But it's not Cinnamon vs.
> > MATE--I just logged into MATE and it's got the same issue here.
> Does your file dialog look the same in MATE, or does it look like mine?
> In particular, in MATE does the file filter ("Files of type:") show the
> full details ("LaTeX (plain) (*.tex)")?
> >
> > Here is the LyX build Info, in case that helps:
> >
> > LyX 2.3.2 (2018-12-08)
> > Configuration
> > Host type: x86_64-pc-linux-gnu
> > Special build flags: build=release std-regex use-hunspell use-aspell
> use-enchant
> > Bundled libraries: (none)
> > C++ Compiler: g++ (5.4.0)
> > C++ Compiler flags: -O2 -std=c++14
> > C++ Compiler user flags:
> > Linker flags:
> > Linker user flags:
> > Qt Frontend:
> > Qt version: 4.8.7
> > Packaging: posix
> > LyX binary dir: /usr/bin
> > LyX files dir: /usr/share/lyx
> That's an exact match to what I have.
> >
> > I cannot remember how I installed LyX originally, to be honest. But I
> > have this in my var/lib/apt/lists:
> >
> > ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_InRelease
> >
> ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_binary-amd64_Packages
> >
> ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_binary-i386_Packages
> >
> ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_i18n_Translation-en
> >
> ppa.launchpad.net_lyx-devel_release_ubuntu_dists_xenial_main_source_Sources
> >
> > Which I think means that at some point I added Liviu's PPA and have
> > been just getting it with apt updates.
> I use Liviu's PPA, and I have all the same files except the last one. I
> install binaries from the PPA.
> >
> >> Your file dialog looks substantially different from mine (screen shot
> >> attached). Some of that may be MATE v. Cinnamon (or whatever you're
> >> using), but I find it interesting that your filter drop-down just says
> >> "LaTeX" whereas mine is specific as to the "flavor" of LaTeX. The window
> >> title is properly specific (and matches what I get). The reason I'm so
> >> interested in the filter button is that I'm wondering whether the filter
> >> you are getting is incorrect (for instance, fails to specify .tex as the
> >> extension it wants).
> > I am fairly sure this is a virgin install, without any configuration
> > tinkering--I don't do much personalizing because I switch between
> > machines so much.
> >
> > Maria
> >
> >
> I wonder if this could be a MIME-type issue? If you go to the relevant
> directory in your file manager (Caja in my case), right click one of the
> .tex files and click on "Properties", what type is it? On my system, the
> MIME type is "TeX document (text/x-tex)".
>
> Paul
>
>

-- 
John Kane
Kingston ON Canada


Re: Where to place a modified stdtoolbars.inc file?

2019-02-07 Thread John Kane
*The file should go into ~/.lyx/ui/, or (more generally) the ui/*

* subdirectory of whatever your LyX user directory is. *

I have not the slightest idea why but I dropped the *stdtoolbars.inc* file
back into the ~/.lyx/ui directory this morning and it worked!

Perhaps the computer  shutdown and overnight rest cured it? I have heard it
worked for Model T Fords.

Thanks for reassuring me that I was not totally clueless here and that it
was worth a second (well 15th) try.

On Wed, 6 Feb 2019 at 22:17, Richard Kimberly Heck  wrote:

> On 2/6/19 9:18 PM, John Kane wrote:
> > I have done a clean install of Ubuntu 18.04 and am restoring some
> > software customizations. I have a modified stdtoolbars.inc file for
> > LyX that I wish to use.
> >
> > Relying on the LyX wiki and a shaky memory of the last time I did this
> > I thought that I could just create  a ui sub-directory  in my
> > ~/.zotero directory and  drop the stdtoolbars.inc file into it.
> >
> > Am I wrong or am I missing out some critical step in the process?
> > Note the stdtoolbars.inc file should work as it is simply a back-up
> > copy of the one I was using before the new OS installation.
>
> The file should go into ~/.lyx/ui/, or (more generally) the ui/
> subdirectory of whatever your LyX user directory is. Yet more generally,
> any customization goes into the same subdirectory of your user directory
> that the original file is in relative to the LyX system directory. So a
> modified cua.bind would go into ~/.lyx/bind/.
>
> Riki
>
>
>

-- 
John Kane
Kingston ON Canada


Where to place a modified stdtoolbars.inc file?

2019-02-06 Thread John Kane
I have done a clean install of Ubuntu 18.04 and am restoring some software
customizations. I have a modified stdtoolbars.inc file for LyX that I wish
to use.

Relying on the LyX wiki and a shaky memory of the last time I did this I
thought that I could just create  a ui sub-directory  in my ~/.zotero
directory and  drop the stdtoolbars.inc file into it.

Am I wrong or am I missing out some critical step in the process?  Note the
stdtoolbars.inc file should work as it is simply a back-up copy of the one
I was using before the new OS installation.

Running LyX 2.3.2 under Ubuntu 18.04

Thanks.

-- 
John Kane
Kingston ON Canada


Re: jabref

2019-01-23 Thread John Kane
Those questions are far beyond my knowledge level. We need one of the gurus
to step in. Sorry.

On Wed, 23 Jan 2019 at 10:57, Wolfgang Engelmann 
wrote:

> On 22.01.19 20:37, John Kane wrote:
>
> Strange, I tossed your reference into an existing .bib file and the Umlaute
> came through just fine when I exported to text and to html.  I don't use
> jabref a lot so I may not be duplicating your actions> I simply went File >
> Export
> On Tuesday, January 22, 2019, 2:06:49 p.m. EST, Wolfgang Engelmann
>   wrote:
>
>
> Sorry, off topic,
>
> but I have two questions re Jabref
>
> 1. If I want to save or select a file, the menu opens BEHIND the Jabref.
> How can I get it in the forground?
>
> 2. I can't get Jabref (it's 4.3.1) to export Umlaute (neither in UTF8
> nor in Din1505 nor in html.
>
> Example:
> @Article{Buenning1932c,
>   author  = {Bünning, E.},
>   title   = {Über die {E}rblichkeit der {T}agesperiodizität bei den
> \emph{{P}haseolus}-{B}lättern},
>   journal = {Jb. wiss. Botanik},
>   year= {1932},
>   volume  = {77},
>   pages   = {283-320},
> }
>
> Note, that I talk just about the Jabref export itself, not via lyx.
>
> I could not find help in the net, it just says it would work. But not
> for me.
>
> Wolfgang
>
> Thanks, John. I have, by the way, tried also to use biblatex in Jabref.
> Same problem. I also tried German as the language- no cure. Could it be due
> to a general language setting on my PC? And where would I check for it? I
> am using
>
> Downloads$ cat /etc/issue Linux Mint 18.3 Sylvia \n \l and the KDE version
>
> This is the keybord input configuration:
>
> Current configuration for the input method:
>
> * Active configuration: missing (normally missing)
>
> * Normal automatic choice: none (normally ibus or fcitx or uim)
>
> * Override rule:
> zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx:ja_JP,fcitx:ko_KR,fcitx:vi_VN,fcitx
>
> * Current override choice: (de_DE)
>
> * Current automatic choice: none
>
> * Number of valid choices: 1 (normally 1)
>
> The override rule is defined in /etc/default/im-config.
>
> The configuration set by im-config is activated by re-starting X.
>
> Explicit selection is not required to enable the automatic configuration
> if the active one is default/auto/cjkv/missing.
>
> Wolfgang
>


-- 
John Kane
Kingston ON Canada


Re: jabref

2019-01-22 Thread John Kane
 Strange, I tossed your reference into an existing .bib file and the Umlaute 
came through just fine when I exported to text and to html.  I don't use jabref 
a lot so I may not be duplicating your actions> I simply went File > Export
   On Tuesday, January 22, 2019, 2:06:49 p.m. EST, Wolfgang Engelmann 
 wrote:  
 
 Sorry, off topic,

but I have two questions re Jabref

1. If I want to save or select a file, the menu opens BEHIND the Jabref. 
How can I get it in the forground?

2. I can't get Jabref (it's 4.3.1) to export Umlaute (neither in UTF8 
nor in Din1505 nor in html.

Example:
@Article{Buenning1932c,
   author  = {Bünning, E.},
   title   = {Über die {E}rblichkeit der {T}agesperiodizität bei den 
\emph{{P}haseolus}-{B}lättern},
   journal = {Jb. wiss. Botanik},
   year    = {1932},
   volume  = {77},
   pages   = {283-320},
}

Note, that I talk just about the Jabref export itself, not via lyx.

I could not find help in the net, it just says it would work. But not 
for me.

Wolfgang

  

Re: Breaking long URL

2019-01-21 Thread John Kane
Ah very nice.

On Thu, 3 Jan 2019 at 15:28, Steve Litt  wrote:

> On Wed, 2 Jan 2019 20:10:07 +0100
> Léo Rebetez  wrote:
>
> > Hi,
> >
> > I'm new on lyx, I'll use it mainly for publishing books. I'm
> > searching how to break a too long url like this one:
> >
> > http://www.guardian.co.ukuk2012jun12policestopandsearchblackpeople
>
> There are two different accommodations:
>
> 1. Breaking other lines to accommodate a well-behaved URL
> 2. Breaking the URL itself
>
> On my computer with LyX 2.3.1, a long URL walks beyond the right margin
> if I usepackage{hyperref}, which of course we all do. However, if I put
> \sloppy at the end of the paragraph with the URL, that paragraph breaks
> lines so as to put the whole URL on a line without busting the right
> margin (xetex), or breaks the whole URL itself (LuaTeX). Then you put
> \fussy and the end of the next paragraph to bring back the nice
> typesetting you expect from LyX.
>
> If the result is too ugly, you might be able to make it a little bit
> better by cutting down on the % \tolerance that \sloppy implies:
>
> \sloppy\tolerance=1000%
>
> The point is, *anything* is better than letting a URL or any other text
> walk off the right edge of the paper, and these techniques prevent that
> unless the URL is longer than the paper is wide. Getting it to actually
> be pretty is lt as an exercise to the readder , but never forget
> legible trumps pretty every time.
>
> I'm attaching a 2.8K MWE (Minimum Working Example) with the preceding
> accommodations.
>
> SteveT
>
> Steve Litt
> January 2019 featured book: Troubleshooting: Just the Facts
> http://www.troubleshooters.com/tjust
>


-- 
John Kane
Kingston ON Canada


Re: "Spell checker has no dictionaries"

2018-10-24 Thread John Kane
 I just installed 4 or 5 spellchecker dictionaries using the standard sudu 
apt-get install command in Ubuntu. 

Of course, I installed the hunspell-en-ca dictionary that spells things like 
colour correctly

On Tuesday, October 23, 2018, 2:12:49 p.m. EDT, Paul A. Rubin 
 wrote:  
 
 On 10/23/18 12:33 PM, Rich Shepard wrote:
> Fellow writers:
>
>   This is an unintended consequence of my changing the default dictionary
> engine from enchant to hunspell. I must have missed a step somewhere and
> want to learn what that was.
>
>   LyX-2.3.1 running here.
>
>   Tools -> Preferences -> Language Settings -> Spellchecker has 
> Spellchecker
> engine: Hunspell (found in /usr/bin/hunspell).
>
>   I ran reconfigure after making the change but still no joy.
>
>   A cluestick is needed.
>
> TIA,
>
> Rich
Rich,

Hunspell uses its own set of dictionaries, such as Hunspell-en-us (U.S. 
English), Hunspell-en-gb (English with unnecessary extra letters), 
Hunspell-de-med (medical terms in German) etc. Looks like you have to 
install one or more of them. Assuming your default language is U.S. 
English, you'll need Hunspell-en-us for sure. With Ubuntu and Mint, you 
can do this through Synaptic or (at least in Mint) the Software Sources 
app. I forget what distro you use, but if has a package manager I would 
start there.

Paul

  

Re: weird language management

2018-10-22 Thread John Kane
I had that problem the other day. You probably need to install the
appropriate spellcheck dictionaries.

On Sun, 21 Oct 2018 at 14:49, Paolo M 
wrote:

> I have noticed that spellchecker does not work, if an alternative language
> has been given.
> Is that a bug?
>
> paolo m.
>


-- 
John Kane
Kingston ON Canada


Re: Bibliographic Slop-Over

2018-10-06 Thread John Kane
I don't have the Springer template set up but I am not seeing the problem
with bab.bab.lyx file. the URL is breaking perfectly.

LyX 2.3.1  Ubuntu 18.04

On Sat, 6 Oct 2018 at 06:27, Daniel Kian Mc Kiernan (the best Daniel of the
bunch)  wrote:

> I've problems with bibliographical entries extending into the marginal
> area. With the default article layout, a URL is doing this.  With a
> Springer layout, a title is doing this.
>
> Attached are small working examples (albeit not literally minimal).
>
> Now, I assume that I could insert a bit of mark-up into the .bib file
> as a work-around, but it seems highly undesirable that I should have
> distinct .bib files for different layouts.
>
> Thanks for whatever help might be offered.
>


-- 
John Kane
Kingston ON Canada


Re: Option for displaying equation labels less obstrusively?

2018-10-04 Thread John Kane
Sorry  I was hopeful but I never use a  numbered equation so I was just
guessing. The module is handy in other places.

On Thu, 4 Oct 2018 at 05:39, Klaus-Dieter Bauer <
bauer.klaus.die...@gmail.com> wrote:

> Insets cannot be used inside LyX equations sadly.
>
> On Thu, Oct 4, 2018 at 2:31 AM John Kane  wrote:
>
>> Try the ShortInsetNames module. I have never used it with equations but
>> it works well with Chapter and Section names, tables and figures.
>>
>> Insert the Short label  from Custom Inserts and then insert the label.
>> Repeat procedure with Short Ref + label to have a short label in the text
>> or wherever
>>
>> Thanks Andrew.
>>
>> On Wed, 3 Oct 2018 at 17:58, Joel Kulesza  wrote:
>>
>>> On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer <
>>> bauer.klaus.die...@gmail.com> wrote:
>>>
>>>> Hello!
>>>>
>>>> As it is currently implemented, equation labels are displayed as part
>>>> of the equation number in LyX's editor. Sadly, for longer, semantically
>>>> meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws
>>>> off the formatting in the editor buffer: Instead of centering the equation,
>>>> the combination of label and equation is centered. A similar problem
>>>> occurs, when left-aligned equations with left-aligned numbering are used.
>>>>
>>>> Is there some setting in LyX, that allows getting better alignment,
>>>> without sacrifizing the ability to use long label names?
>>>>
>>>> - Klaus
>>>>
>>>
>>> I do not know of such a method, but would be thrilled if such were
>>> created (or explained).  I wonder if mouseover tooltips could be used
>>> here...
>>>
>>> - Joel
>>>
>>>
>>
>>
>> --
>> John Kane
>> Kingston ON Canada
>>
>

-- 
John Kane
Kingston ON Canada


Re: Option for displaying equation labels less obstrusively?

2018-10-03 Thread John Kane
Try the ShortInsetNames module. I have never used it with equations but it
works well with Chapter and Section names, tables and figures.

Insert the Short label  from Custom Inserts and then insert the label.
Repeat procedure with Short Ref + label to have a short label in the text
or wherever

Thanks Andrew.

On Wed, 3 Oct 2018 at 17:58, Joel Kulesza  wrote:

> On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer <
> bauer.klaus.die...@gmail.com> wrote:
>
>> Hello!
>>
>> As it is currently implemented, equation labels are displayed as part of
>> the equation number in LyX's editor. Sadly, for longer, semantically
>> meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws
>> off the formatting in the editor buffer: Instead of centering the equation,
>> the combination of label and equation is centered. A similar problem
>> occurs, when left-aligned equations with left-aligned numbering are used.
>>
>> Is there some setting in LyX, that allows getting better alignment,
>> without sacrifizing the ability to use long label names?
>>
>> - Klaus
>>
>
> I do not know of such a method, but would be thrilled if such were created
> (or explained).  I wonder if mouseover tooltips could be used here...
>
> - Joel
>
>


-- 
John Kane
Kingston ON Canada


Re: New CC Book about LyX (PDF)

2018-10-03 Thread John Kane
Lovely book. I am up to about page 53 and it has remind me of things I have
forgotten and taught me a number of new things.

I second Steve Litt's comment about the language. Very easy to read and
does not--at least so far need any English editing. It would be nice if 90%
of the native English speakers I know wrote as well.

On Wed, 3 Oct 2018 at 14:54, Steve Litt  wrote:

> On Wed, 3 Oct 2018 11:19:05 -0400
> Scott Kostyshak  wrote:
>
> > On Wed, Oct 03, 2018 at 03:59:44AM -0400, Steve Litt wrote:
> >
> > > but LyX' html and xhtml exporters
> > > export pidgeon xhtml and html that requires all sorts of human
> > > intervention and garbage removal.
> >
> > Have you reported bugs for this or are all of the bugs covered by
> > existing reports? LyX HTML export is slowly improving, especially when
> > bugs with minimal examples are reported.
>
> I reported them on this list, many, many times, and was shouted down as
> people priortized just-right rendering of Apple Retina Displays over
> any sane way of LyX authoring 21st century flowing text books (ePub,
> for instance) without repeated human intervention.
>
> I was told that the xhtml and html export mechanisms were "just fine"
> for ePub. They use different styles for the first paragraph after a
> heading, for gosh sakes. They almost completely converted styles to
> inline appearance codes so I couldn't customize my ePubs via CSS. The
> HTML they put out wasn't WYSIWYM, it was 100% pure fingerpainting. The
> files were therefore HUGE.
>
> Understanding that xhtml/html exports would never be adequate for ePub,
> I begged for the transition of LyX's language to well-formed XML to be
> completed so I could write my own LyX to ePub converter. No. Too much
> work.
>
> After years of begging and pleading, I created Stylz to author both PDF
> and ePub. I am writing two different books written in Stylz.
> It's not easy for one developer to develop an authoring tool and write
> books at the same time, but I'm doing it. Stylz already renders HTML
> beautifully, does ePub pretty darn well, but its rendering in PDF is
> defective and needs several repairs.
>
> I had given up on LyX, because it's important I be able to have one
> document render both PDF and *high quality* ePub, without human
> intervention. If lwarp can *correctly and semantically* export LyX to
> HTML5 *as XML*, I might write the HTML5 to ePub converter and return to
> the LyX fold.
>
> But if you're asking me to report the inadequacies of LyX' html and
> xhtml exports for the purpose of ePub, I've done my time. And nobody
> cared. And I've moved on.
>
> SteveT
>
> Steve Litt
> September 2018 featured book: Quit Joblessness: Start Your Own Business
> http://www.troubleshooters.com/startbiz
>


-- 
John Kane
Kingston ON Canada


Re: [ANNOUNCE] LyXWinInstaller for 2.3.0

2018-07-10 Thread John Kane
Thank you. I am a Linux user but I recommend LyX to Window users as often
as possible. We really appreciate your efforts

On 10 July 2018 at 03:05, Murat Yildizoglu  wrote:

> Thank you Uwe for all your contribution. I have not followed this debate
> because I do not use much the Windows version, but the diversity of tools
> cannot hurt in any case. So, thank you for your good work!
> Best regards,
> Murat
>
> Murat Yildizoglu
> Le 9 juil. 2018 à 23:00 +0200, Uwe Stöhr , a écrit :
>
> Dear LyX users,
>
> despite unannounced until today there is an Windows installer available
> for LyX 2.3.0 since March:
> https://sourceforge.net/projects/lyxwininstaller/files/LyXWinInstaller/
> and
> http://ftp.lyx.de/LyXWinInstaller/LyX2.3.0/
>
> Due to some disagreements with some LyX developers, this will not be the
> official LyX for Windows installer. However, it works and was already
> downloaded more than 1000 times since March.
>
> Due to the disagreement with the understanding how LyX under Windows
> should be developed, I will provide the LyXWinInstaller as my private
> project and support it of course.
>
> The LyXWinInstaller will take care of everything that provides you a
> fully functional LyX. That means LyXWinInstaller will take care of all
> third-party programs LyX is using in the background (MiKTeX, TeXLive,
> Python, ImageMagick, Inkscape etc.) and will configure and update them
> for you. The goal is, as for the last years where LyXWinInstaller was
> the official LyX for Windows installer, to provide an installer where
> 90% of the users just have to click few times OK and Nextbut to get a
> fully functional LyX but that also gives some freedom for the 10 % power
> users (to deselect third-party programs etc.).
>
> As I understood it, there will be a new installer for LyX under Windows
> from the LyX developers based on the code of LyXWinInstaller. I can and
> will not give support for this installer because I was not involved in
> this development.
>
> regards
> Uwe Stöhr
>
>
>


-- 
John Kane
Kingston ON Canada


Loss of spell-check in some languages

2018-05-28 Thread John Kane
I have run into a spell-check problem.

I have, relatively recently, done a complete reinstall of Ubuntu 16.04 and
I seem to have lost the ability to spell-check in French and Russian with
my "new" LyX 2.3.0 installation.

My normal working dictionary is "English-Canadian". I have tried using both
Enchant and Hunpell dictionaries. Both work with English and ignore entries
in French and Russian.

I seem to have working dictionaries installed as spell-check in all three

I am assuming I have missed something simple, perhaps I need to set a path,
but some googling has not helped.


-- 
John Kane
Kingston ON Canada


Re: The tortured release of 2.3.0 Windows binaries

2018-05-16 Thread John Kane
Well, for elegant, scientific writing one can not beat this OS
https://www.gouletpens.com/namiki/c/483

On 16 May 2018 at 00:42, Baris Erkus <bariser...@hotmail.com> wrote:

> On 15-May-18 10:15 PM, Jim Rockford wrote:
>
>
> People are still taunting about this like schoolyard infants?  Well,
> here's a few reasons for you that apply to my case, Johnny boy:
>
> (1)  I work in a scientific field and a specific laboratory that uses data
> analysis software for which there are only Windows versions.  I used Linux
> exclusively prior to joining this lab.  I'd rather not quit this job
> because of a Linux snobbery affliction.
> (2)  Gaming.  I have a Windows machine at home because I like to play
> modern video games.  Good luck trying to get them to run on WINE, which is
> a cheat anyway if you're a Linux purist.
> (3)  There's nothing wrong with having a dual boot Windows/Linux system
> for the sake of convenience.  I'm not going to waste time booting into
> Linux just to write scientific documents if I'm already in Windows.
>
> Jim
>
>
> On Sat, May 12, 2018 at 11:03 PM, John White <j...@whitelawchartered.com>
> wrote:
>
>> Why are people still using Windows?  My firm gets along without Gates
>> just fine.
>>
>> John White
>>
>>
>>
>>
>
> So are we now getting into a good-old "which OS is better" discussion
>



-- 
John Kane
Kingston ON Canada


Re: Copying from bulleted items -- includes the bullet?

2018-04-25 Thread John Kane
I think I am misunderstanding this and whatever tests I tried were in not
appropriate.

On 25 April 2018 at 10:42, Bernt Lie <bernt@usn.no> wrote:

> I can certainly file a bug. (Where do I go to do so?)
>
>
>
> I think I noticed that a bullet was also pasted into a footnote, and
> typeset in the pdf file with a bullet…
>
>
>
> -B
>
>
>
> *From:* lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> *On Behalf Of *Paul
> A. Rubin
> *Sent:* Wednesday, April 25, 2018 16:38
> *To:* lyx-users@lists.lyx.org
> *Subject:* Re: Copying from bulleted items -- includes the bullet?
>
>
>
> On 04/25/2018 10:04 AM, John Kane wrote:
>
> Presumably a feature. If one does a copy and paste, one usually wants the
> format to remain the same.
>
> If you want to change formats, aste and then apply the new format seems
> the way to go.
>
>
>
> On 25 April 2018 at 03:40, Bernt Lie <bernt@usn.no> wrote:
>
> I'm using the basic LaTeX article style in LyX 2.2.3 on 64 bit Win 10,
> latest update. The following must be a bug??
>
> If I copy (Ctrl+c) text from a bulleted list, and paste it (Ctrl+v) into,
> say, a data listing, footnote, etc, the bullet is inserted into the
> construct (data listing, bullet, etc.).
>
> Is this a "feature" or a "flaw"?
>
> -B
>
>
>
>
> --
>
> John Kane
> Kingston ON Canada
>
> While I agree in general that structure (in this case, bullet item) might
> be something you'd want to carry along, in this particular case I'm pretty
> sure it's a bug. As Bernt says, if you copy a bullet item and paste it into
> a listing, it shows up in the LyX GUI as a bullet item -- but if you
> preview as a PDF, it compiles without the bullet, and the LaTeX source code
> shows no indication of a bullet (or item tag). So there's a mismatch
> between what you see and what you get.
>
> In the particular case of bullet items, I'm not sure there's any virtue to
> carrying the item context with you in a copy/paste. Either you're pasting
> into an itemize environment (in which case it automatically becomes an
> item) or you're not (in which case you most likely do not want it to be an
> item).
>
> Bernt: Would you care to file a bug ticket for this?
>
> Paul
>



-- 
John Kane
Kingston ON Canada


Re: Copying from bulleted items -- includes the bullet?

2018-04-25 Thread John Kane
"The few times I use Word, I almost invariably use paste without formatting
(not that it works always, though…)".


Can go either way, but I think the big difference is Lyx always uses
environments so a fomat change is blindingly easy so why not assume that
the writer wants to keep the existing format?



I occasionally help someone convert a document from Word to Apache
OpenOffice and the amount of truly weird crap one can find when one tries
to clean up the document is mind boggling. Word users often think a Style
is a reference to a GQ or Vogue story.




On 25 April 2018 at 10:17, Bernt Lie <bernt@usn.no> wrote:

> Thanks for answer.
>
>
>
>- Presumably a feature. If one does a copy and paste, one usually
>wants the format to remain the same.
>
>
>
> To me, this does not sound like a feature, but like a bug. LaTeX
> documentation puts a lot of emphasis on the importance of content over
> looks, and to me it seems more logical – in particular in LaTeX and systems
> with a similar logic (e.g., LyX) that it is the local layout where one
> pastes in text, that actually decides on the typesetting – and **not**
> the source where one copies text from.
>
>
>
> I **could** agree on that it may make sense to preserve “font”
> formatting. But not paragraph or list formatting.
>
>
>
> The few times I use Word, I almost invariably use paste without formatting
> (not that it works always, though…).
>
>
>
> -B
>
>
>
> *From:* John Kane <jrkrid...@gmail.com>
> *Sent:* Wednesday, April 25, 2018 16:04
> *To:* Bernt Lie <bernt@usn.no>
> *Cc:* lyx-users@lists.lyx.org
> *Subject:* Re: Copying from bulleted items -- includes the bullet?
>
>
>
> Presumably a feature. If one does a copy and paste, one usually wants the
> format to remain the same.
>
> If you want to change formats, aste and then apply the new format seems
> the way to go.
>
>
>
> On 25 April 2018 at 03:40, Bernt Lie <bernt@usn.no> wrote:
>
> I'm using the basic LaTeX article style in LyX 2.2.3 on 64 bit Win 10,
> latest update. The following must be a bug??
>
> If I copy (Ctrl+c) text from a bulleted list, and paste it (Ctrl+v) into,
> say, a data listing, footnote, etc, the bullet is inserted into the
> construct (data listing, bullet, etc.).
>
> Is this a "feature" or a "flaw"?
>
> -B
>
>
>
>
> --
>
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Re: Copying from bulleted items -- includes the bullet?

2018-04-25 Thread John Kane
Presumably a feature. If one does a copy and paste, one usually wants the
format to remain the same.

If you want to change formats, aste and then apply the new format seems the
way to go.

On 25 April 2018 at 03:40, Bernt Lie <bernt@usn.no> wrote:

> I'm using the basic LaTeX article style in LyX 2.2.3 on 64 bit Win 10,
> latest update. The following must be a bug??
>
> If I copy (Ctrl+c) text from a bulleted list, and paste it (Ctrl+v) into,
> say, a data listing, footnote, etc, the bullet is inserted into the
> construct (data listing, bullet, etc.).
>
> Is this a "feature" or a "flaw"?
>
> -B
>



-- 
John Kane
Kingston ON Canada


Re: lambda

2018-04-17 Thread John Kane
Beats me. I did a copy and paste of your code and it seems fine. Rather
elegant in fact.
I did the same in a text editor and $\lambda_{max}=528nm$ seems fine.

  Ubuntu 16.04; LyX 2.3.0.

While we are not using Windows, I'd try the traditional Reboot (just
because it's MS) and see if it helps.


On 16 April 2018 at 04:06, Wolfgang Engelmann <engelm...@uni-tuebingen.de>
wrote:

> I select in lyx (2.3.0) in math
> \lambda_{max}=528nm
>
> but get in the pdf output
>
>   ̆max = 528nm
>
> why? (Debian stretch)
>
> Wolfgang
>



-- 
John Kane
Kingston ON Canada


Re: Display of supported Bibliography styles in LyX?

2018-04-15 Thread John Kane
I "think" I have seen this format in some  (sociological?)  journals but I
have no idea what LyX/LaTeX format would work.

What journal or style guide are you aiming at? That might help us narrow
things down. It is not clear to me what you mean by "reference style
(Harvard)".

You might want to have a look at the various formats that the bibliographic
management system Zotero https://www.zotero.org/ supplies
https://www.zotero.org/styles  and see if there is a reference to the LaTeX
equivalent.

Fair warning though, Zotero supports over 9,000 journal formats and a quick
wade through the sociological styles suggests my memory is the equivalent
of Swiss Cheese.



On 9 April 2018 at 12:09, Bernt Lie <bernt@usn.no> wrote:

> Hi Michael,
>
> Thanks. But observe that references are sorted alphabetically on first
> author *but listed as first name followed by family name*.
>
> Bernt
>
> Get Outlook for Android <https://aka.ms/ghei36>
>
> --
> *From:* lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> on behalf of
> Michael Berger <id...@online.de>
> *Sent:* Monday, April 9, 2018 6:06:01 PM
> *To:* lyx-users@lists.lyx.org
> *Subject:* Re: Display of supported Bibliography styles in LyX?
>
>
> Hello Bernt,
>
> my example as per attachment used style = papalike.
>
> Not quite what you are looking for but  rather close.
>
> Michael
>
> On 09.04.2018 08:48, Bernt Lie wrote:
>
> Anyone knows of a LyX reference style (Harvard) that produces a reference
> list as below? (I normally use other styles…)
>
>
>
> -B
>
>
>
>
>
>
>


-- 
John Kane
Kingston ON Canada


Re: LyX & article style?

2018-04-07 Thread John Kane
What was the error message?

The manual for sectsty seems to suggest that it may depend on what other
packages you have loaded and the sequence in which you load them.

On 6 April 2018 at 16:07, Bernt Lie <bernt@usn.no> wrote:

> Font scaling… I found a suggestion on scaling, and inserted:
>
>
>
> \usepackage{scalefnt}
>
> \scalefont{2}
>
>
>
> In the preamble. Didn’t change anything. The discussion said that this
> should only change the body font size, and not the section headings. To
> scale section headings, the suggestion was to add package sectsty, and the
> set the scaling for each section heading. I got an error message when I did
> \usepackage{sectsty}.
>
>
>
> -B
>
>
>
> *From:* lyx-users@lists.lyx.org <lyx-users@lists.lyx.org> *On Behalf Of *Paul
> A. Rubin
> *Sent:* Friday, April 6, 2018 21:43
> *To:* lyx-users@lists.lyx.org
> *Subject:* Re: LyX & article style?
>
>
>
> On 04/06/2018 01:11 PM, Bernt Lie wrote:
>
> A couple of more tweaks I need to do…
>
>
>
>1. Is there an easy way to suppress page numbering?
>2. I have changed font family to Times Roman. Is it possible to use
>odd body font sizes? The template I’m trying to emulate uses 10.5 pt font…
>☹
>3. Is it possible to specify the Times Roman font also for the
>document **title**? (The title looks as if it uses computer modern, or
>something… but I may be wrong.)
>4. Can I remove the extra space that is above the title? (There *
>*seems** to be extra space…)
>
>
>
> -B
>
>
>
>
>1. Several. Google "latex eliminate page numbers" for a selection.
>2. This is tied to the font you are using. Google "latex scale font"
>for explanations and solutions.
>3. If the rest of the document is Times Roman, I think the title will
>also be. You can always check the LaTeX source code by clicking View > Code
>Preview Pane. If you do not see some other font package being loaded, nor
>any unusual LaTeX commands surrounding the title text, it should be Times
>Roman.
>4. I don't think there is very much vertical space added above the
>title. Viewing the PDF for a test document with the first two pages side by
>side, I can barely see the difference (one to two lines of text?). That
>said, if you really want to move the title up, google "latex reduce space
>above title".
>
> Paul
>



-- 
John Kane
Kingston ON Canada


Re: LyX--Knitr warnings.

2018-03-30 Thread John Kane
Thanks Scott,
Nice to know I have the option of getting rid of it. I, probably will leave
it on once I get over the annoyance of it flashing up on every new file.

Have you ever downloaded and compiled a .lyx file
from the internet from a place you are not sure you could trust?

I suppose I have but so rarely that I cannot recall don't recall doing so
in the last three or four years, at least. Unless downloading from here
counts :)

On 30 March 2018 at 18:02, Scott Kostyshak <skost...@lyx.org> wrote:

> On Fri, Mar 30, 2018 at 09:00:34PM +0000, John Kane wrote:
> > Ah, not a bug, a feature. I guess I will learn to live with it.
> > Thanks very much. It's good to know I don't have a potentially serious
> > problem in my configuration.
>
> You do not have to live with it (instructions below), but think hard
> before you remove it. Have you ever downloaded and compiled a .lyx file
> from the internet from a place you are not sure you could trust? It
> would be extremely easy to make a .lyx file that would upload/delete all
> of your files (because in R this is easy to write). And for that to
> happen, all you would have to do is open the LyX file and compile it.
>
> That said, if clicking on "Always run for this document" is too much of
> a pain, you can go to Tools > Preferences > Converters and uncheck the
> option "Use needauth option".
>
> Scott
>



-- 
John Kane
Kingston ON Canada


Re: LyX--Knitr warnings.

2018-03-30 Thread John Kane
Ah, not a bug, a feature. I guess I will learn to live with it.
Thanks very much. It's good to know I don't have a potentially serious
problem in my configuration.

On 30 March 2018 at 16:58, Kornel Benko <kor...@lyx.org> wrote:

> Am Freitag, 30. März 2018 16:49:49 CEST schrieb John Kane
> <jrkrid...@gmail.com>:
> > I forgot to try it! Yes it is working.
> > I just wonder why the blasted warning is appearing in the first place. It
> > seems unlikely that I have a virus but possible. I did a major update on
> my
> > R packages and upgraded from knitr 1.18 to knutr 1.20 today so if it is a
> > virus it is migrating.
>
> This warning is new. It is displayed on all scripts which are processed be
> an
> external program.
>
> > Now if I can remember how to update ClamAV signatures, I'll run a scan.
> >
> > Forgot my info
> > OS Ubuntu 16.04
> > Lyx 2.3.0
> > knitr 1.20
> > R version 3.4.4 (2018-03-15)
>
> OK.
> This affects all platforms and probably also all future lyx versions.
>
>  Kornel
>
>


-- 
John Kane
Kingston ON Canada


Re: LyX--Knitr warnings.

2018-03-30 Thread John Kane
ClamAV reports the R folder is clean, for what's that's worth.

On 30 March 2018 at 16:49, John Kane <jrkrid...@gmail.com> wrote:

> I forgot to try it! Yes it is working.
> I just wonder why the blasted warning is appearing in the first place. It
> seems unlikely that I have a virus but possible. I did a major update on my
> R packages and upgraded from knitr 1.18 to knutr 1.20 today so if it is a
> virus it is migrating.
>
> Now if I can remember how to update ClamAV signatures, I'll run a scan.
>
> Forgot my info
> OS Ubuntu 16.04
> Lyx 2.3.0
> knitr 1.20
> R version 3.4.4 (2018-03-15)
>
> On 30 March 2018 at 16:41, Kornel Benko <kor...@lyx.org> wrote:
>
>> Am Freitag, 30. März 2018 16:36:23 CEST schrieb John Kane
>> <jrkrid...@gmail.com>:
>> >  I have the Rnw(knitr) module permanently loaded in my default template.
>> > Ever time I compile I get a warning message (see attached screenshot).
>> The
>> > document compiles with no problem but this is getting on my nerves. If I
>> > remove the module, the warning does not appear.
>> > This seems to have appeared after an upgrade to LyX 2.3.0 on 2018-02-24.
>> > Can anyone hazard a guess what is going on? This does not look like a
>> bug,
>> > much more likely a problem in my configuration but I don't have a clue
>> on
>> > how to diagnose the problem.
>> > MWE attached.
>> >
>> > Any suggestions gratefully received.
>>
>> Is 'Always run for this document' not working?
>> This is a warning that you _may_ have a virus in this external script.
>> If you are sure that it is OK, you can check this button.
>>
>> Kornel
>>
>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Re: LyX--Knitr warnings.

2018-03-30 Thread John Kane
I forgot to try it! Yes it is working.
I just wonder why the blasted warning is appearing in the first place. It
seems unlikely that I have a virus but possible. I did a major update on my
R packages and upgraded from knitr 1.18 to knutr 1.20 today so if it is a
virus it is migrating.

Now if I can remember how to update ClamAV signatures, I'll run a scan.

Forgot my info
OS Ubuntu 16.04
Lyx 2.3.0
knitr 1.20
R version 3.4.4 (2018-03-15)

On 30 March 2018 at 16:41, Kornel Benko <kor...@lyx.org> wrote:

> Am Freitag, 30. März 2018 16:36:23 CEST schrieb John Kane
> <jrkrid...@gmail.com>:
> >  I have the Rnw(knitr) module permanently loaded in my default template.
> > Ever time I compile I get a warning message (see attached screenshot).
> The
> > document compiles with no problem but this is getting on my nerves. If I
> > remove the module, the warning does not appear.
> > This seems to have appeared after an upgrade to LyX 2.3.0 on 2018-02-24.
> > Can anyone hazard a guess what is going on? This does not look like a
> bug,
> > much more likely a problem in my configuration but I don't have a clue on
> > how to diagnose the problem.
> > MWE attached.
> >
> > Any suggestions gratefully received.
>
> Is 'Always run for this document' not working?
> This is a warning that you _may_ have a virus in this external script.
> If you are sure that it is OK, you can check this button.
>
> Kornel
>



-- 
John Kane
Kingston ON Canada


LyX--Knitr warnings.

2018-03-30 Thread John Kane
 I have the Rnw(knitr) module permanently loaded in my default template.
Ever time I compile I get a warning message (see attached screenshot). The
document compiles with no problem but this is getting on my nerves. If I
remove the module, the warning does not appear.
This seems to have appeared after an upgrade to LyX 2.3.0 on 2018-02-24.
Can anyone hazard a guess what is going on? This does not look like a bug,
much more likely a problem in my configuration but I don't have a clue on
how to diagnose the problem.
MWE attached.

Any suggestions gratefully received.
-- 
John Kane
Kingston ON Canada


MWE1.lyx
Description: application/lyx


Re: Unable to open file on older version 2.0.8.1

2017-10-03 Thread John Kane
Just to be a pedant, I think it is Ubuntu 16.04.

On 3 October 2017 at 10:14, Tim Q <tetvn2...@gmail.com> wrote:

> Hi Scott,
> Thanks for your prompt response. 1/ I'm currently using Ubuntu version
> 16.4.
>
> 2/ I created a file using Lyx version 2.0.8.1 which is my back up file.
>
> 3/ I installed Ubuntu 16.4 and Lyx 2.2.2 from Ubuntu software application.
>
> Now I get this message trying to open my backup file.
>
> "Myreading.lyx is from an older version of LyX and the lyx2lyx script failed
> to convert it."
>
> Kind regards,
> Kim
>
>
>
>
>
>
>
> On Oct 2, 2017 10:42 PM, "Scott Kostyshak" <skost...@lyx.org> wrote:
>
> On Mon, Oct 02, 2017 at 11:29:50PM +, Tim Q wrote:
> > hi,
> >
> >
> > "" Myreading.lyx is from an older version of LyX and the lyx2lyx script
> > failed to convert it. ""
> >
> > This is the message i got when i tried to open a Lyx file from an older
> > version 2.0.8.1 that i have been using and I have Ubuntu 14.0. This file
> is
> > extremely important to me as i have been working on it for 2 years. I
> > desperately need help on opening up this file.
>
> Hi Kim,
>
> The first thing to do is to make a backup of the file. Opening and
> saving with newer versions could change something you don't want.
>
> Did you create the file using 2.0.8.1? Which version of LyX are you
> using now? How did you install that version? (e.g. from Ubuntu PPA?).
>
> There is no Ubuntu 14.0. Do you mean 16.4?
>
> Scott
>
>
>


-- 
John Kane
Kingston ON Canada


Re: Little Problem

2017-09-03 Thread John Kane
Not strictly on topic did you want "
Carlos Fernando Knauer - aluno externo do PPGFA UTFPR" formatted as Date? I
would have thought Author would be more appropriate.

On 1 September 2017 at 05:35, Dr Eberhard Lisse <nos...@lisse.na> wrote:

> Send a Minimal Working Example,
>
> in other words, remove everything which does not produce the error
> until you are left with what does.
>
> Often that will make the error obvious :-)-O
>
> el
>
> On 31/08/2017 18:23, Carlos Knauer wrote:
> > Good Afternon
> >
> > How can I erase númber 6 in front of mqtrix at page 9 ? I am sending
> > the file.
> >
> > Thanks.
> >
> > Carlos F. Knauer - Brazil
> >
>
>
>


-- 
John Kane
Kingston ON Canada


Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
Hello Murat!
Your idea seems to have worked. The *sudo update R *seems to have worked
but apparently, despite RStudio and RKwark seeming to find knitr  I did a
install.packages("knitr") at root level and R installed it.

LyX seems to be finding knitr now. I just ran a couple of simple-minded
plots with no problem.

I have never had to do anything like this before upgrading. I still think I
have a slightly wonky Ubuntu installation but I can live with it for a
little while.  I am still seriously considering reverting to 16.04 though.

Thank you very,very much.

On 23 August 2017 at 11:10, Murat Yildizoglu <myi...@gmail.com> wrote:

> Hi John,
>
> I understand, that is weird indeed. To me
>
> lib = "/usr/lib/R/site-library"' is not writable
> Would you like to use a personal library instead?  (y/n) y
>
> messages seem to indicate that you do not have the necessary
> authorizations for writing to these folders. Have you tried to launch R as
> sudo and try to install knitr and the updates? If this is only an
> authorization issue, that should work, no? Then it would be nice to become
> root and give to the normal user the full writes to these folders.
>
> My two cents.
>
> Murat
>
> 2017-08-23 16:44 GMT+02:00 John Kane <jrkrid...@gmail.com>:
>
>> Hi Murat,
>> Both RKward and RStudio indicate that they are loading knitr so I think I
>> have it installed but if I try running R from the terminal I get >
>> library(knitr)
>> *Error in library(knitr) : there is no package called ‘knitr’ *so, at
>> present, my response is "I have no idea".
>>
>> I just tried to do a new update.packages() in R and end up getting this
>> weird result
>>
>> lib = "/usr/lib/R/site-library"' is not writable
>> Would you like to use a personal library instead?  (y/n) y
>> Would you like to create a personal library
>> NA
>> to install packages into?
>>
>> I am coming to the conclusion that I don't have a LyX problem, I have an
>> Ubuntu 17.04 upgrade problem. If I can find my old Ubuntu 16.04 usb stick I
>> think I will do a complete clean install and hope for the best.
>>
>> If all goes well, I should have everything reinstalled and running in a
>> few hours. Oh what fun :(
>>
>>
>> On 23 August 2017 at 02:54, Murat Yildizoglu <myi...@gmail.com> wrote:
>>
>>> Hi John,
>>> I have not followed the whole thread so, maybe you have already
>>> indicated it : have you also installed the latex package for knitR?
>>>
>>> Prof. Murat Yildizoglu
>>>
>>> Note: Please use the following address as such
>>>
>>> UNIVERSITE DE BORDEAUX
>>> GREThA (UMR CNRS 5113)
>>> MURAT YILDIZOGLU
>>> 16 AVENUE LEON DUGUIT
>>> CS 50057
>>> 33608 PESSAC CEDEX
>>> FRANCE
>>>
>>> Bureau : E-331
>>>
>>> mail: murat.yildizoglu at <http://u-bordeaux.fr>u-bordeaux.fr
>>>
>>> web:  <http://www.yildizoglu.fr>www.yildizoglu.fr
>>>
>>> Le 22 août 2017 à 21:56 +0200, John Kane <jrkrid...@gmail.com>, a écrit
>>> :
>>>
>>> Just as a minor follow-up the knitr.module is in usr/share/lux/layouts.
>>> So I have knitr installed in R and the knitr.module in LyX.
>>>
>>> Presumably I'm missing something obvious but what?
>>>
>>> On 22 August 2017 at 11:14, John Kane <jrkrid...@gmail.com> wrote:
>>>
>>>> Yes. I really have no idea of where some of those ppa's have come from
>>>> and I may just go in and wipe out anything that's in the file and hope for
>>>> the best.  I can always replace those that I really need.(I hope.)
>>>>
>>>> Someone else may have another idea that may help also.
>>>>
>>>> I did discover that I can compile a LaTeX file with knitr---which does
>>>> not work but at least it does not bomb. However, I have no idea what that
>>>> means.
>>>>
>>>> On 22 August 2017 at 10:55, Jean-Marc Lasgouttes <lasgout...@lyx.org>
>>>> wrote:
>>>>
>>>>> Le 22/08/2017 à 16:35, John Kane a écrit :
>>>>>
>>>>>> /sudo apt update
>>>>>> /
>>>>>> Yes, ran it just before I ran the code listed above. I don't remember
>>>>>> any warnings but I had someone talking to me as I did it and so I may 
>>>>>> have
>>>>>> missed one.
>>>>>>
>>>>>> Bloody hell! I missed the equivalent of an atom bomb going off.
>>>>>> Unfortunately I am not sure how to start to approach this for a solution.
>>>>>>
>>>>>
>>>>> That looks bad indeed... I am not sure why you need all these ppas, I
>>>>> would try to remove them unless you are sure that you should use them.
>>>>>
>>>>> I cannot really advise you on how to fix this kind of mess. It is
>>>>> probably 2 or 3 commands, but which ones?
>>>>>
>>>>> JMarc
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> John Kane
>>>> Kingston ON Canada
>>>>
>>>
>>>
>>>
>>> --
>>> John Kane
>>> Kingston ON Canada
>>>
>>>
>>
>>
>> --
>> John Kane
>> Kingston ON Canada
>>
>
>
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> Bureau : E-331
>
> mail: murat.yildizoglu at u-bordeaux.fr
>
> web: http://yildizoglu.fr
>



-- 
John Kane
Kingston ON Canada


Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
Blast, forgot to include the text of /etc/apt/sources.list.d/

Contents of /etc/apt/sources.list.d/
---
aims-ubuntu-sagemath-xenial.list
aims-ubuntu-sagemath-xenial.list.distUpgrade
aims-ubuntu-sagemath-xenial.list.save
dropbox.list
dropbox.list.distUpgrade
dropbox.list.save
jasp-uva-ubuntu-jasp-xenial.list
jasp-uva-ubuntu-jasp-xenial.list.distUpgrade
jasp-uva-ubuntu-jasp-xenial.list.save
jonathonf-ubuntu-texlive-2016-zesty.list
jonathonf-ubuntu-texlive-zesty.list
jonathonf-ubuntu-texlive-zesty.list.save
lyx-devel-ubuntu-release-xenial.list
lyx-devel-ubuntu-release-xenial.list.distUpgrade
lyx-devel-ubuntu-release-xenial.list.save
lyx-devel-ubuntu-release-zesty.list
lyx-devel-ubuntu-release-zesty.list.save
marutter-ubuntu-rrutter-zesty.list
marutter-ubuntu-rrutter-zesty.list.save
rkward-devel-ubuntu-rkward-stable-cran-zesty.list
rkward-devel-ubuntu-rkward-stable-cran-zesty.list.save
webupd8team-ubuntu-sublime-text-3-xenial.list
webupd8team-ubuntu-sublime-text-3-xenial.list.distUpgrade
webupd8team-ubuntu-sublime-text-3-xenial.list.save


On 23 August 2017 at 09:01, John Kane <jrkrid...@gmail.com> wrote:

> Oh just had a look at my ppa file "/etc/apt/sources.list.d/" and the
> entries seem to have no connection with the errors reported in my last
> post.
>
> Am I missing another ppa file?
>
> On 23 August 2017 at 08:47, John Kane <jrkrid...@gmail.com> wrote:
>
>> Tried a purge (looked successful) and a reconfigure.
>>
>> Same error.
>> ##==##
>>
>> An error occurred while running:
>>
>> Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R
>>
>> "/tmp/lyx_tmpdir.SpjIUqEQ9242/lyx_tmpbuf0/""LyXnewfile1.Rnw"
>>
>> "/tmp/lyx_tmpdir.SpjIUqEQ9242/lyx_tmpbuf0/""LyXnewfile1.tex" ISO-8859-15
>>
>> "/home/jrkrideau/"
>>
>> 08:22:12.888: Error while exporting format: PDF (pdflatex)
>>
>> 08:23:02.090: (dialog-toggle progress)
>>
>> ####
>>
>>
>> I does annoy me that I cannot install Inkscape. I am pretty sure I had it
>> installed under Ubuntu 16.04 and an upgrade should not have removed it.
>>
>> Synaptic is showing a couple of unloaded Inkscape dependencies but not
>> the main Inkscape program.
>>
>> I just tried an reload of the synaptic data base and am getting some
>> nasty messages that I have no idea how to interpret. They seem to mirror
>> messages I get when doing a *sudo apt update*.
>>
>> Please see attached screenshot
>>
>>
>>
>> On 23 August 2017 at 08:15, Kornel Benko <kor...@lyx.org> wrote:
>>
>>> Am Mittwoch, 23. August 2017 um 07:38:45, schrieb John Kane <
>>> jrkrid...@gmail.com>
>>> > I tried your suggestions.
>>> > librsvg2-bin seems to have installed successfully
>>> >
>>> > Inkscape aborted.
>>> >
>>> > This is weird indeed.  I loaded the ubuntu software gui and it reports
>>> that
>>> > inkscape is, indeed, installed but I cannot launch it.
>>>
>>> I would try to purge inkscape first.
>>>
>>> > On the other hand synaptic is saying that a) it is not installed, and
>>> b) is
>>> > reporting a problem that I don't know how to resolve. Please see
>>> attached
>>> > screenshot.
>>>
>>> I see.
>>> But I think, you even don't need inkscape.
>>>
>>> > I am beginning to wonder if I have a mangeled Ubuntu 17.04
>>> installation or
>>> > a corrupt LyX installation or both
>>> > ##=##
>>> > jrkrideau@jrk-T420:~$ sudo apt-get install inkscape
>>> > Reading package lists... Done
>>> > Building dependency tree
>>> > Reading state information... Done
>>> > Package inkscape is not available, but is referred to by another
>>> package.
>>> > This may mean that the package is missing, has been obsoleted, or
>>> > is only available from another source
>>> >
>>> > E: Package 'inkscape' has no installation candidate
>>> > ##=##
>>> >
>>>
>>> Inkscape is only used by lyx, if it is found.
>>>
>>> Try to reconfigure lyx.
>>>
>>> Kornel
>>
>>
>>
>>
>> --
>> John Kane
>> Kingston ON Canada
>>
>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
Oh just had a look at my ppa file "/etc/apt/sources.list.d/" and the
entries seem to have no connection with the errors reported in my last
post.

Am I missing another ppa file?

On 23 August 2017 at 08:47, John Kane <jrkrid...@gmail.com> wrote:

> Tried a purge (looked successful) and a reconfigure.
>
> Same error.
> ##==##
>
> An error occurred while running:
>
> Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R
>
> "/tmp/lyx_tmpdir.SpjIUqEQ9242/lyx_tmpbuf0/""LyXnewfile1.Rnw"
>
> "/tmp/lyx_tmpdir.SpjIUqEQ9242/lyx_tmpbuf0/""LyXnewfile1.tex" ISO-8859-15
>
> "/home/jrkrideau/"
>
> 08:22:12.888: Error while exporting format: PDF (pdflatex)
>
> 08:23:02.090: (dialog-toggle progress)
>
> ####
>
>
> I does annoy me that I cannot install Inkscape. I am pretty sure I had it
> installed under Ubuntu 16.04 and an upgrade should not have removed it.
>
> Synaptic is showing a couple of unloaded Inkscape dependencies but not the
> main Inkscape program.
>
> I just tried an reload of the synaptic data base and am getting some nasty
> messages that I have no idea how to interpret. They seem to mirror messages
> I get when doing a *sudo apt update*.
>
> Please see attached screenshot
>
>
>
> On 23 August 2017 at 08:15, Kornel Benko <kor...@lyx.org> wrote:
>
>> Am Mittwoch, 23. August 2017 um 07:38:45, schrieb John Kane <
>> jrkrid...@gmail.com>
>> > I tried your suggestions.
>> > librsvg2-bin seems to have installed successfully
>> >
>> > Inkscape aborted.
>> >
>> > This is weird indeed.  I loaded the ubuntu software gui and it reports
>> that
>> > inkscape is, indeed, installed but I cannot launch it.
>>
>> I would try to purge inkscape first.
>>
>> > On the other hand synaptic is saying that a) it is not installed, and
>> b) is
>> > reporting a problem that I don't know how to resolve. Please see
>> attached
>> > screenshot.
>>
>> I see.
>> But I think, you even don't need inkscape.
>>
>> > I am beginning to wonder if I have a mangeled Ubuntu 17.04 installation
>> or
>> > a corrupt LyX installation or both
>> > ##=##
>> > jrkrideau@jrk-T420:~$ sudo apt-get install inkscape
>> > Reading package lists... Done
>> > Building dependency tree
>> > Reading state information... Done
>> > Package inkscape is not available, but is referred to by another
>> package.
>> > This may mean that the package is missing, has been obsoleted, or
>> > is only available from another source
>> >
>> > E: Package 'inkscape' has no installation candidate
>> > ##=##
>> >
>>
>> Inkscape is only used by lyx, if it is found.
>>
>> Try to reconfigure lyx.
>>
>> Kornel
>
>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
Tried a purge (looked successful) and a reconfigure.

Same error.
##==##

An error occurred while running:

Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R

"/tmp/lyx_tmpdir.SpjIUqEQ9242/lyx_tmpbuf0/""LyXnewfile1.Rnw"

"/tmp/lyx_tmpdir.SpjIUqEQ9242/lyx_tmpbuf0/""LyXnewfile1.tex" ISO-8859-15

"/home/jrkrideau/"

08:22:12.888: Error while exporting format: PDF (pdflatex)

08:23:02.090: (dialog-toggle progress)

####


I does annoy me that I cannot install Inkscape. I am pretty sure I had it
installed under Ubuntu 16.04 and an upgrade should not have removed it.

Synaptic is showing a couple of unloaded Inkscape dependencies but not the
main Inkscape program.

I just tried an reload of the synaptic data base and am getting some nasty
messages that I have no idea how to interpret. They seem to mirror messages
I get when doing a *sudo apt update*.

Please see attached screenshot



On 23 August 2017 at 08:15, Kornel Benko <kor...@lyx.org> wrote:

> Am Mittwoch, 23. August 2017 um 07:38:45, schrieb John Kane <
> jrkrid...@gmail.com>
> > I tried your suggestions.
> > librsvg2-bin seems to have installed successfully
> >
> > Inkscape aborted.
> >
> > This is weird indeed.  I loaded the ubuntu software gui and it reports
> that
> > inkscape is, indeed, installed but I cannot launch it.
>
> I would try to purge inkscape first.
>
> > On the other hand synaptic is saying that a) it is not installed, and b)
> is
> > reporting a problem that I don't know how to resolve. Please see attached
> > screenshot.
>
> I see.
> But I think, you even don't need inkscape.
>
> > I am beginning to wonder if I have a mangeled Ubuntu 17.04 installation
> or
> > a corrupt LyX installation or both
> > ##=##
> > jrkrideau@jrk-T420:~$ sudo apt-get install inkscape
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Package inkscape is not available, but is referred to by another package.
> > This may mean that the package is missing, has been obsoleted, or
> > is only available from another source
> >
> > E: Package 'inkscape' has no installation candidate
> > ##=##
> >
>
> Inkscape is only used by lyx, if it is found.
>
> Try to reconfigure lyx.
>
> Kornel




-- 
John Kane
Kingston ON Canada


Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
That screenshot is rather small. Perhaps this cropped one will be better

On 23 August 2017 at 07:38, John Kane <jrkrid...@gmail.com> wrote:

> I tried your suggestions.
> librsvg2-bin seems to have installed successfully
>
> Inkscape aborted.
>
> This is weird indeed.  I loaded the ubuntu software gui and it reports
> that inkscape is, indeed, installed but I cannot launch it.
>
> On the other hand synaptic is saying that a) it is not installed, and b)
> is reporting a problem that I don't know how to resolve. Please see
> attached screenshot.
>
> I am beginning to wonder if I have a mangeled Ubuntu 17.04 installation or
> a corrupt LyX installation or both
> ##=##
> jrkrideau@jrk-T420:~$ sudo apt-get install inkscape
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Package inkscape is not available, but is referred to by another package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
>
> E: Package 'inkscape' has no installation candidate
> ##=##
>
>
>
> On 23 August 2017 at 06:54, Kornel Benko <kor...@lyx.org> wrote:
>
>> Am Mittwoch, 23. August 2017 um 06:30:37, schrieb John Kane <
>> jrkrid...@gmail.com>
>> > INFO: +checking for "rsvg-convert"...  no
>> > INFO: +checking for "inkscape"...  no
>>
>> for "rsvg-convert" try
>>     # sudo apt-get install librsvg2-bin
>> and for "inkscape"
>> # sudo apt-get install inkscape
>>
>> When done, reconfigure lyx.
>>
>> Kornel
>
>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Re: Missing Rnw(knitr) module

2017-08-23 Thread John Kane
I'd be happy to do. Please see attached file.

Thanks

On 22 August 2017 at 21:32, Scott Kostyshak <skost...@lyx.org> wrote:

> On Tue, Aug 22, 2017 at 03:56:24PM -0400, John Kane wrote:
> > Just as a minor follow-up the knitr.module is in usr/share/lux/layouts.
> So
> > I have knitr installed in R and the knitr.module in LyX.
> >
> > Presumably I'm missing something obvious but what?
>
> Can you send your configure log? That's always useful for issues like
> these.
>
> Scott
>



-- 
John Kane
Kingston ON Canada
INFO: checking for a Latex2e program...
INFO: +checking for "latex"...  yes
INFO: checking for a DVI postprocessing program...
INFO: +checking for "pplatex"...  no
INFO: checking for pLaTeX, the Japanese LaTeX...
INFO: +checking for "platex"...  yes
DEBUG: Add to RC:
\converter platex   dvi   "platex"   "latex=platex"


DEBUG: Add to RC:
\converter latex  dvi"latex"	"latex"


INFO: checking for a java interpreter...
INFO: +checking for "java"...  yes
INFO: checking for a perl interpreter...
INFO: +checking for "perl"...  yes
INFO: checking for a Tgif viewer and editor...
INFO: +checking for "tgif"...  no
DEBUG: Add to RC:
\Format tgif  "obj, tgo" Tgif "" "auto"	"auto"	"vector"	"application/x-tgif"


INFO: checking for a FIG viewer and editor...
INFO: +checking for "xfig"...  no
INFO: +checking for "jfig3-itext.jar"...  no
INFO: +checking for "jfig3.jar"...  no
DEBUG: Add to RC:
\Format figfig FIG"" "auto"	"auto"	"vector"	"application/x-xfig"


INFO: checking for a Dia viewer and editor...
INFO: +checking for "dia"...  no
DEBUG: Add to RC:
\Format diadia DIA"" "auto"	"auto"	"vector,zipped=native", "application/x-dia-diagram"


INFO: checking for an OpenDocument drawing viewer and editor...
INFO: +checking for "libreoffice"...  yes
DEBUG: Add to RC:
\Format odg"odg, sxd" "OpenDocument drawing"   "" "libreoffice"	"libreoffice"	"vector,zipped=native"	"application/vnd.oasis.opendocument.graphics"


DEBUG: Add to RC:
\editor_alternatives odg "libreoffice"
\viewer_alternatives odg "libreoffice"


INFO: +checking for "lodraw"...  yes
DEBUG: Add to RC:
\editor_alternatives odg "lodraw"
\viewer_alternatives odg "lodraw"


INFO: +checking for "ooffice"...  no
INFO: +checking for "oodraw"...  no
INFO: +checking for "soffice"...  yes
DEBUG: Add to RC:
\editor_alternatives odg "soffice"
\viewer_alternatives odg "soffice"


INFO: checking for a Grace viewer and editor...
INFO: +checking for "xmgrace"...  no
DEBUG: Add to RC:
\Format agragr Grace  "" "auto"	"auto"	"vector"	""


INFO: checking for a FEN viewer and editor...
INFO: +checking for "xboard"...  no
DEBUG: Add to RC:
\Format fenfen FEN"" "auto"	"auto"	""	""


INFO: checking for a SVG viewer and editor...
INFO: +checking for "inkscape"...  no
DEBUG: Add to RC:
\Format svg"svg" SVG"" "auto" "auto"	"vector"	"image/svg+xml"
\Format svgz   "svgz" "SVG (compressed)" "" "auto" "auto"	"vector,zipped=native"	""


INFO: checking for a raster image viewer...
INFO: +checking for "xv"...  no
INFO: +checking for "kview"...  no
INFO: +checking for "gimp-remote"...  no
INFO: +checking for "gimp"...  no
INFO: checking for a raster image editor...
INFO: +checking for "gimp-remote"...  no
INFO: +checking for "gimp"...  no
DEBUG: Add to RC:
\Format bmpbmp BMP"" "auto"	"auto"	""	"image/x-bmp"
\Format gifgif GIF"" "auto"	"auto"	""	"image/gif"
\Format jpg   "jpg, jpeg" JPEG"" "auto"	"auto"	""	"image/jpeg"
\Format pbmpbm PBM"" "auto"	"auto"	""	"image/x-portable-bitmap"
\Format pgmpgm PGM"" "auto"	"auto"	""	"image/x-portable-graymap"
\Format

Re: Grammar checking

2017-08-23 Thread John Kane
Hi Steve,
I have never found a grammar checker that it useful for one's native
language, in my case English.  On the other hand, my French is rather
primitive and a good grammar makes me intelligible if not exactly eloquent.

I did try the MS one years ago and it was maddening. It seemed to want one
to write at a grade 8 level and complained incessantly when I used a
passive sentence.

On 22 August 2017 at 17:38, Steve Litt <sl...@troubleshooters.com> wrote:

> On Tue, 22 Aug 2017 15:35:38 +0200
> "Patrick Dupre" <pdu...@gmx.com> wrote:
>
> > Hello,
> >
> > lyx offers a language checker, but not a grammar checker.
> > I installed the check-Tex option, but the results are not convincing
> > (at least in English). The suggestion are really poor.
> > Is there any way to install a more efficient grammar checker?
> > To circumvent the problem, I used to generate a rtf file and then to
> > use freeoffice which let me use a grammar checker like LT.
> > However, the generation of the rtf file is really problematic for a
> > scientific document (for example, I have to remove the section,
> > subsection, etc..).
> >
> > Some suggestions?
>
> Last century I tried MSWord's grammar checker. I found it a great idea
> impossible to implement. It would often let fly sentences with a wrong
> word, and worse yet, it would flag lots of sentences that any author
> would feel good about writing.
>
> I think that, once you get past absolutely horrible grammar, grammar
> checking becomes nothing but frustration.
>
> I mentioned MSWord, which is obviously bad software, but I really think
> it's impossible to implement a useful grammar checker with the current
> state of AI. Wait another 10 years and perhaps grammar checkers will
> learn how we authors talk, and base checking on that.
>
> SteveT
>



-- 
John Kane
Kingston ON Canada


Re: Missing Rnw(knitr) module

2017-08-22 Thread John Kane
Just as a minor follow-up the knitr.module is in usr/share/lux/layouts. So
I have knitr installed in R and the knitr.module in LyX.

Presumably I'm missing something obvious but what?

On 22 August 2017 at 11:14, John Kane <jrkrid...@gmail.com> wrote:

> Yes. I really have no idea of where some of those ppa's have come from and
> I may just go in and wipe out anything that's in the file and hope for the
> best.  I can always replace those that I really need.(I hope.)
>
> Someone else may have another idea that may help also.
>
> I did discover that I can compile a LaTeX file with knitr---which does not
> work but at least it does not bomb. However, I have no idea what that
> means.
>
> On 22 August 2017 at 10:55, Jean-Marc Lasgouttes <lasgout...@lyx.org>
> wrote:
>
>> Le 22/08/2017 à 16:35, John Kane a écrit :
>>
>>> /sudo apt update
>>> /
>>> Yes, ran it just before I ran the code listed above. I don't remember
>>> any warnings but I had someone talking to me as I did it and so I may have
>>> missed one.
>>>
>>> Bloody hell! I missed the equivalent of an atom bomb going off.
>>> Unfortunately I am not sure how to start to approach this for a solution.
>>>
>>
>> That looks bad indeed... I am not sure why you need all these ppas, I
>> would try to remove them unless you are sure that you should use them.
>>
>> I cannot really advise you on how to fix this kind of mess. It is
>> probably 2 or 3 commands, but which ones?
>>
>> JMarc
>>
>>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Re: Missing Rnw(knitr) module

2017-08-22 Thread John Kane
Yes. I really have no idea of where some of those ppa's have come from and
I may just go in and wipe out anything that's in the file and hope for the
best.  I can always replace those that I really need.(I hope.)

Someone else may have another idea that may help also.

I did discover that I can compile a LaTeX file with knitr---which does not
work but at least it does not bomb. However, I have no idea what that
means.

On 22 August 2017 at 10:55, Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote:

> Le 22/08/2017 à 16:35, John Kane a écrit :
>
>> /sudo apt update
>> /
>> Yes, ran it just before I ran the code listed above. I don't remember any
>> warnings but I had someone talking to me as I did it and so I may have
>> missed one.
>>
>> Bloody hell! I missed the equivalent of an atom bomb going off.
>> Unfortunately I am not sure how to start to approach this for a solution.
>>
>
> That looks bad indeed... I am not sure why you need all these ppas, I
> would try to remove them unless you are sure that you should use them.
>
> I cannot really advise you on how to fix this kind of mess. It is probably
> 2 or 3 commands, but which ones?
>
> JMarc
>
>


-- 
John Kane
Kingston ON Canada


Re: Missing Rnw(knitr) module

2017-08-22 Thread John Kane
*sudo apt update*
Yes, ran it just before I ran the code listed above. I don't remember any
warnings but I had someone talking to me as I did it and so I may have
missed one.

Bloody hell! I missed the equivalent of an atom bomb going off.
Unfortunately I am not sure how to start to approach this for a solution.

These errors do not look good.  Am I running into coflicting ppa's

Err:12 http://ppa.launchpad.net/jonathonf/texlive-2016/ubuntu zesty Release
  404  Not Found
Err:13 https://cran.utstat.utoronto.ca//bin/linux/ubuntu zesty/ Release
  server certificate verification failed. CAfile:
/etc/ssl/certs/ca-certificates.crt
CRLfile: none
Err:14 http://ppa.launchpad.net/jonathonf/texlive/ubuntu zesty Release
  404  Not Found

Nor does this

E: The repository 'https://launchpad.net/~rkward-devel/+archive/ubuntu/
rkward-stable-cran
<https://launchpad.net/%7Erkward-devel/+archive/ubuntu/rkward-stable-cran>
zesty Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.

#---
-###
rkrideau@jrk-T420:~$ sudo apt update
[sudo] password for jrkrideau:
Get:1 http://archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2 kB]
Get:2 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2
kB]
Ign:3 http://ppa.launchpad.net/jonathonf/texlive-2016/ubuntu zesty
InRelease
Hit:4 http://archive.canonical.com/ubuntu zesty
InRelease
Ign:5 http://ppa.launchpad.net/jonathonf/texlive/ubuntu zesty
InRelease
Hit:6 http://ppa.launchpad.net/lyx-devel/release/ubuntu zesty
InRelease
Hit:7 http://archive.ubuntu.com/ubuntu zesty InRelease

Hit:8 http://ppa.launchpad.net/marutter/rrutter/ubuntu zesty InRelease
Ign:9 https://cran.utstat.utoronto.ca//bin/linux/ubuntu zesty/ InRelease
Get:10 http://archive.ubuntu.com/ubuntu zesty-backports InRelease [89.2 kB]
Hit:11 http://ppa.launchpad.net/rkward-devel/rkward-stable-cran/ubuntu
zesty InRelease
Err:12 http://ppa.launchpad.net/jonathonf/texlive-2016/ubuntu zesty Release
  404  Not Found
Err:13 https://cran.utstat.utoronto.ca//bin/linux/ubuntu zesty/ Release
  server certificate verification failed. CAfile:
/etc/ssl/certs/ca-certificates.crt
CRLfile: none
Err:14 http://ppa.launchpad.net/jonathonf/texlive/ubuntu zesty Release
  404  Not Found
Ign:15 https://launchpad.net/~rkward-devel/+archive/ubuntu/rkward-
stable-cran
<https://launchpad.net/%7Erkward-devel/+archive/ubuntu/rkward-stable-cran>
zesty InRelease
Get:16 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 DEP-11
Metadata [52.7 kB]
Get:17 http://archive.ubuntu.com/ubuntu zesty-updates/main DEP-11 64x64
Icons [26.3 kB]
Get:18 http://archive.ubuntu.com/ubuntu zesty-updates/universe amd64 DEP-11
Metadata [82.7 kB]
Get:19 http://archive.ubuntu.com/ubuntu zesty-updates/universe DEP-11 64x64
Icons [90.1 kB]
Get:20 http://archive.ubuntu.com/ubuntu zesty-updates/multiverse amd64
DEP-11 Metadata [5,840 B]
Get:21 http://security.ubuntu.com/ubuntu zesty-security/main amd64 DEP-11
Metadata [12.5 kB]
Get:22 http://security.ubuntu.com/ubuntu zesty-security/universe amd64
DEP-11 Metadata [20.7 kB]
Get:23 http://security.ubuntu.com/ubuntu zesty-security/universe DEP-11
64x64 Icons [36.5 kB]
Err:24 https://launchpad.net/~rkward-devel/+archive/ubuntu/rkward-
stable-cran
<https://launchpad.net/%7Erkward-devel/+archive/ubuntu/rkward-stable-cran>
zesty Release
  404  Not Found
Get:25 http://archive.ubuntu.com/ubuntu zesty-backports/universe amd64
DEP-11 Metadata [5,140 B]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/jonathonf/texlive-2016/ubuntu
zesty Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
E: The repository 'https://cran.utstat.utoronto.ca//bin/linux/ubuntu zesty/
Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
E: The repository 'http://ppa.launchpad.net/jonathonf/texlive/ubuntu zesty
Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
E: The repository 'https://launchpad.net/~rkward-devel/+archive/ubuntu/
rkward-stable-cran
<https://launchpad.net/%7Erkward-devel/+archive/ubuntu/rkward-stable-cran>
zesty Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
jrkrideau@jrk-T420:~$


On 22 August 2017 at 10:35, John Kane <jrkrid...@gmail.com> wrote:

&g

Re: Missing Rnw(knitr) module

2017-08-22 Thread John Kane
Thanks  Jean-Marc.

I have reconfigured two or three times.
.
I have not thought of sweave in years.  A plain file, that is no R code,
compiles with sweave loaded. A small knitr file gives an error but that is
to be expected. I'll have to cobble together a sweave example and see what
happens. It should run okay.

I stole a bit of sweave code from Friedrich Leisch's article in R News
https://cran.r-project.org/doc/Rnews/Rnews_2002-3.pdf and it compiles
although not perfectly which is not surprising. It was just a quick and
dirty test.

But, blast it, I want knitr back. I have a good number of files with knitr
code and I would hate to have to modify them.  But, at least, we now know
that LyX is talking to R which is reassuring.

Thanks again,

On 22 August 2017 at 07:51, Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote:

> Le 22/08/2017 à 13:01, John Kane a écrit :
>
>> I recently upgraded to LyX 2.2.3 as I am not doing any production work at
>> the moment and it seemed a good time to explore some of the new features.
>> I have a problem with the Rnw(knitr) module in LyX. LyX is insisting that
>> the knitr package does not exist and the compile aborts.
>> R says knitr is installed and can be loaded. A closer inspection of the
>> “Available” modules list shows that Rnw(knitr) is not listed.
>> If I remove the Rnw(knitr) module from the selected list the file
>> compiles normally.
>>
>
> Two things to try:
> - try to run Tools>Reconfigure
> - check whether Rnw(sweave) (which is bundeled with R) works better.
>
> JMarc
>



-- 
John Kane
Kingston ON Canada


Missing Rnw(knitr) module

2017-08-22 Thread John Kane
I recently upgraded to LyX 2.2.3 as I am not doing any production work at the 
moment and it seemed a good time to explore some of the new features.I have a 
problem with the Rnw(knitr) module in LyX. LyX is insisting that the knitr 
package does not exist and the compile aborts.R says knitr is installed and can 
be loaded. A closer inspection of the “Available” modules list shows that 
Rnw(knitr) is not listed. If I remove the Rnw(knitr) module from the selected 
list the file compiles normally.My default template loads the Rnw(knitr) module 
automatically and if I click on the knitr module name in the “Selected” window 
I get the standard explanation of what it is in the window below.Any 
suggestions? Thanks

Cannot compile with math expressions in a file

2017-07-13 Thread John Kane
I did quite a bit of updating a couple of weeks ago ubuntu 16.04 to 17.04, 
updated R to R version 3.4.1, and IIRC updated LyX to 2.2.2.I now cannot get 
LyX to compile if I have anything in a Math environment. I am getting an error 
saying “Error in library(knitr) : there is no package called ‘knitr’”.I also am 
very puzzled by the warning “You cannot type two spaces this way. ”I checked in 
R and yes, knitr was not there. I installed knitr. Confirmed that the knitr 
module was loaded in LyX. As an example of superstitious learning, I even 
reconfigured.Same error message. I must say I don't understand why I need knitr 
to process a simple math expression in Lyx but it seems to be there if 
needed.LyX seems to be working fine otherwise. I have run a few other LyX files 
without math and everything seems fine.I can process math expressions in plain 
LaTeX with no problem.I am not sure if I may have a LyX problem or possibly 
some glitch in my Ubuntu upgrade.I'd appreciate any advice for some 
trouble-shooting.Very basic example attached.
Thanks

06:46:18.569: Previewing ...

06:46:18.624: (buffer-view: Ctrl+R)

06:46:18.645: Rscript --verbose --no-save --no-restore 
"/usr/share/lyx/scripts/lyxknitr.R" 
"/tmp/lyx_tmpdir.sijwoDKM2277/lyx_tmpbuf1/""LyXnewfile1.Rnw" 
"/tmp/lyx_tmpdir.sijwoDKM2277/lyx_tmpbuf1/""LyXnewfile1.tex" ISO-8859-15 
"/home/jrkrideau/"

06:46:18.655: running

06:46:18.659: '/usr/lib/R/bin/R --slave --no-restore --no-save --no-restore 
--file=/usr/share/lyx/scripts/lyxknitr.R --args 
/tmp/lyx_tmpdir.sijwoDKM2277/lyx_tmpbuf1/LyXnewfile1.Rnw 
/tmp/lyx_tmpdir.sijwoDKM2277/l

06:46:18.664: yx_tmpbuf1/LyXnewfile1.tex ISO-8859-15 /home/jrkrideau/'

06:46:18.667: 

06:46:18.920: Error in library(knitr) : there is no package called ‘knitr’

06:46:18.923: Execution halted

support/Systemcall.cpp (291): Systemcall: 'Rscript --verbose --no-save 
--no-restore "/usr/share/lyx/scripts/lyxknitr.R" 
"/tmp/lyx_tmpdir.sijwoDKM2277/lyx_tmpbuf1/""LyXnewfile1.Rnw" 
"/tmp/lyx_tmpdir.sijwoDKM2277/lyx_tmpbuf1/""LyXnewfile1.tex" ISO-8859-15 
"/home/jrkrideau/"' finished with exit code 1

Error: Cannot convert file



An error occurred while running:

Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R

"/tmp/lyx_tmpdir.sijwoDKM2277/lyx_tmpbuf1/""LyXnewfile1.Rnw"

"/tmp/lyx_tmpdir.sijwoDKM2277/lyx_tmpbuf1/""LyXnewfile1.tex" ISO-8859-15

"/home/jrkrideau/"

06:46:24.994: Error while exporting format: PDF (pdflatex)

06:47:03.650: Paste

06:48:04.784: You cannot type two spaces this way. Please read the Tutorial.

06:49:26.418: Automatic save done.

06:50:11.841: Paste

06:53:51.718: Copy (copy: Ctrl+C, Ctrl+Ins)

06:54:25.962: Paste

06:54:26.469: Automatic save done.

06:54:41.015: You cannot type two spaces this way. Please read the Tutorial.

06:55:26.524: Copy

06:59:26.630: Automatic save done.

06:59:45.591: Copy


math.lyx
Description: application/lyx


Re: List of TODOs missing from LyX interface?

2017-06-08 Thread John Kane
It definitely is not showing up  in "Insert > Custom Inserts"?

On 8 June 2017 at 10:32, Klaus-Dieter Bauer <bauer.klaus.die...@gmail.com>
wrote:

> Hello!
>
> In ``todonotes.module`` I noticed the line
>
> OutlinerName todonotes "TODO"
>
>
> which I assume is meant to add the list of TODOs to the user interface in
> the manner of the table of contents and list of figures etc, i.e. having
> entries in both the "Navigate" menu and the "Outline" pane.
>
> However, I can't find any indication of such an outliner in the interface
> after adding the module and a todonnote. (I uploaded the example file to
> [1] for reference).
>
> Is there any possibility to get this working?
>
> If not, would this be considered a bug?
>
>   - Klaus
>
> ––––––
>
> [1] https://drive.google.com/drive/folders/0Bxu3imuSrPFaUVcyOWxfZ1h4bzQ
>
>


-- 
John Kane
Kingston ON Canada


Re: spell checker

2017-04-06 Thread John Kane
Just tried it and it seems that it will only correct one word in one cell.
However if one is spell checking regular text above and below the table it
will a) check the text above and below the text but only correct one word
in one cell of the table.

If this is a feature and not a bug, it seems a very unusual feature

On 6 April 2017 at 16:58, Patrick Dupre <pdu...@gmx.com> wrote:

> Hello,
>
> When I run the spell checker in a Table, As soon as there is a correction
> to do, the spell checker leaves the table. Hence, it requires multiple
> calls to the
> spell checker to have the errors fixed.
> Is it a bug?
>
> 
> ===
>  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
> ====
> ===
>



-- 
John Kane
Kingston ON Canada


Re: Drop-cap with letterine

2017-04-04 Thread John Kane
Oh, good heavens, I knew I was missing something totally obvious. I never
noticed the paragraph environment!

I had not used leterine in over a year and clearly forgot everything I had
learned.

Thanks very much.

On 4 April 2017 at 11:05, Paul A. Rubin <parubi...@gmail.com> wrote:

> On 04/04/2017 10:32 AM, John Kane wrote:
>
> Can anyone suggest why I cannot insert a drop-cap in the attached file?
>
> In the attached file, and an  old file, with \usepackage{letterine} in the
> preamble and the "initials" module loaded the Insert commands appear but
> faded out if I have the cursor in a paragraph with a drop-cap.
>
> If I start a new paragraph the insert commands disappear from the Insert
> list.
>
> However, both compile nicely.
>
> In the minimum example I simply copied a drop-cap from my old file,
> probably produced with LyX 2.2.0 or 2.2.1
>
> I am probably missing something basic but I don't have a clue where to
> look.
>
> Thanks
>
> --
> John Kane
> Kingston ON Canada
>
> I suspect the reason the insertion commands are disabled when the cursor
> is in the paragraph with the drop-cap is that the developers of the package
> didn't expect (and/or didn't want) you to try inserting a drop-cap
> mid-paragraph.
>
> As for starting a new paragraph, the new paragraph will default to the
> Standard Environment. Switch it to the Initial environment using the
> environment selection list, and the insertion commands will reappear.
>
> Paul
>
>


-- 
John Kane
Kingston ON Canada


Drop-cap with letterine

2017-04-04 Thread John Kane
Can anyone suggest why I cannot insert a drop-cap in the attached file?

In the attached file, and an  old file, with \usepackage{letterine} in the
preamble and the "initials" module loaded the Insert commands appear but
faded out if I have the cursor in a paragraph with a drop-cap.

If I start a new paragraph the insert commands disappear from the Insert
list.

However, both compile nicely.

In the minimum example I simply copied a drop-cap from my old file,
probably produced with LyX 2.2.0 or 2.2.1

I am probably missing something basic but I don't have a clue where to look.

Thanks

-- 
John Kane
Kingston ON Canada


fancy1.lyx
Description: application/lyx


Re: bilingual translation

2017-04-02 Thread John Kane
There is at least on other the "parallel" package. I see that reledpar is a
replacement for for ledpar.

On 31 March 2017 at 11:37, Alessandro Bandeira Duarte <dedekin...@nulfic.org
> wrote:

> Dear members,
>
> I translated the book Begriffsschrift into portuguese using LyX. However,
> the editor wants a bilingual edition. I've found the package reledpar. My
> question: Are there other packages that do the same work?
>
> Best regards
>
> Alessandro Duarte
>



-- 
John Kane
Kingston ON Canada


Re: Inserting a very large skip that does not apply.

2016-11-27 Thread John Kane
Brilliant! I knew it was something simple but not obvious to me.

Thanks a lot.

On 27 November 2016 at 13:11, Stephen G. Buonopane <sgbuonop...@gmail.com>
wrote:

>
>
> > On Nov 27, 2016, at 12:07 PM, John Kane <jrkrid...@gmail.com> wrote:
> >
> >
> >
> > I clearly am missing something obvious. I just want to place a line of
> text in the centre of a landscape page.
> >
> > I thought I could just insert a fairly large custom skip and that should
> do it but the skip seems be ignored.
> >
> > Any suggestions?  MWE attached
> >
>
> Put a “protected space” before the skip.
> insert -> formatting -> protected space
>
>


-- 
John Kane
Kingston ON Canada


Inserting a very large skip that does not apply.

2016-11-27 Thread John Kane
I clearly am missing something obvious. I just want to place a line of text
in the centre of a landscape page.

I thought I could just insert a fairly large custom skip and that should do
it but the skip seems be ignored.

Any suggestions?  MWE attached


-- 
John Kane
Kingston ON Canada


cat.lyx
Description: application/lyx


Re: caption for tables and figures

2016-10-31 Thread John Kane
Welcome,
Can you supply a minimal example showing the problem?
There are some suggestions on how to prepare such a example at
https://wiki.lyx.org/FAQ/MinimalExample

On 31 October 2016 at 13:22, Hirsch, Katrin <k.hir...@aston.ac.uk> wrote:

> To whom it may concern,
>
>
>
> I am using lyx for a while now to write my thesis. It’s a nice software as
> long as you know the little bits and bobs. But I sorted tables and so on.
> Now I have a problem in setting the numbering of my tables and figures (and
> equations) in a document of the class books(standard class with extra fond
> sizes). I intend to have only one level in the numbering . But the software
> seems to set the levels with respect to the chapter hierarchy.  Is there a
> way to change the settings for the numbering of Tables, figures … and
> equations as well?
>
>
>
> Kind regards
>
>
>
> Katrin Hirsch
>
> Clinical Demonstrator/PhD
>
> School of Life and Health Sciences
>
> Aston University
>
> Birmingham, B47ET
>
> Phone: 0121-204-4712
>
>
>



-- 
John Kane
Kingston ON Canada


Re: Legal document formatting [UPDATE]

2016-10-27 Thread John Kane
Replying to list.

Try
\ohead{{Page} \thepage { of} \pageref{LastPage}}

On 26 October 2016 at 11:49, Rich Shepard <rshep...@appl-ecosys.com> wrote:

> On Wed, 26 Oct 2016, Dr Eberhard Lisse wrote:
>
> Post a minimal working example.
>>
>
> el,
>
>   Attached.
>
> Rich




-- 
John Kane
Kingston ON Canada


Re: LyX doesn't find lipsum module

2016-10-12 Thread John Kane
I was wondering if it was his own module.  Does it do much more than just
using \usepackage{lipsum}?

If so, he might want to present it to the LyX developers.

On 12 October 2016 at 06:10, Riccardo <chiona...@gmail.com> wrote:

> Sorry to everyone. My mistake.
> It turns out it was an Inset defined by himself. Problem solved.
>
>
> 2016-10-12 11:58 GMT+02:00 Riccardo <chiona...@gmail.com>:
>
>> Well, it is not so stupid ;) . By checking it I noticed once thing.
>> Making a new file, and adding to the preamble *\usepackage{lipsum}* 
>> everything
>> works fine. But my problem is a little different. As I'm writing a
>> scientific paper, my advisor shared with me his LyX template, from the
>> APS (Revtex 4.1). He compiled it with some institutional data, and loaded
>> some modules via the dialog *Document**->Settings->Modules* as shown in
>> the figure.
>> [image: Immagine incorporata 2]
>> And on my laptop the module lipsum is "(not found)". Since I'd like to
>> leave everything as it is in his template, I tried to add to his preamble
>> *\usepackage*{lipsum} but it doesn't work. No lipsum text is shown. And
>> a couple of "Flex:Lipsum" insets result being "Undefined"
>>
>> [image: Immagine incorporata 3]
>> Can you explain me better the difference between Modules loaded via the
>> dialog and via \usepackage{}? In fact, I cannot choose the lipsum package
>> from the dialog. But still I can put it in the preamble via \usepackage{}.
>>
>> 2016-10-12 11:25 GMT+02:00 John Kane <jrkrid...@gmail.com>:
>>
>>> This sounds stupid but you do have \usepackage{lipsum} in your LaTeX
>>> preamble?
>>>
>>> On 12 October 2016 at 03:31, Riccardo <chiona...@gmail.com> wrote:
>>>
>>>> Hello everybody,
>>>> I'm using LyX 2.2.1 under Ubuntu 16.04. I have texlive 2016 installed
>>>> via this <http://ppa.launchpad.net/jonathonf/texlive-2016/ubuntu> PPA. I
>>>> have a problem with a module missing in LyX: lipsum.sty
>>>>
>>>>
>>>> *kpsewhich lipsum.sty* returns a path correctly
>>>>
>>>> */usr/local/share/texmf/tex/latex/lipsum/lipsum.sty*
>>>>
>>>> but still, in *Document→Settings→Modules* there is no module "Lipsum"
>>>> showing up.
>>>>
>>>>
>>>> I checked your guide at https://wiki.lyx.org/FAQ/LaTeX
>>>> Errors#missing-class.
>>>>
>>>>
>>>> *apt-file search lipsum.sty* returns the package *texlive-latex-extra*
>>>>
>>>> that I actually have in
>>>> */usr/share/texlive/texmf-dist/tex/latex/lipsum/lipsum.sty*. Moreover,
>>>> *texlive-latex-extra* is already at the newest version
>>>> (2016.20160819-1~ubuntu16.04.1york0).
>>>>
>>>>
>>>> To be sure I downloaded the lipsum module from CTAN, and followed
>>>> their instructions. I run *latex lipsum.ins* and inserted the
>>>> resulting *lipsum.sty* file into *$TEXMF/tex/latex/lipsum/* , in my
>>>> case:
>>>>
>>>>
>>>>
>>>> *kpsewhich -var-value TEXMFLOCAL/usr/local/share/texmf*
>>>>
>>>> and
>>>>
>>>>
>>>> *kpsewhich -var-value TEXMFHOME/home/chionatan/texmf*
>>>>
>>>>
>>>> I think the package is correctly installed, since any other editor
>>>> (TeXmaker for example) compile any file with *\usepackage{lipsum}* in
>>>> the preamble.
>>>>
>>>>
>>>> Am I missing something in LyX, to set *lipsum* as a module?
>>>>
>>>> I'd appreciate your help.
>>>>
>>>>
>>>> Riccardo
>>>>
>>>
>>>
>>>
>>> --
>>> John Kane
>>> Kingston ON Canada
>>>
>>
>>
>


-- 
John Kane
Kingston ON Canada


Re: LyX doesn't find lipsum module

2016-10-12 Thread John Kane
This sounds stupid but you do have \usepackage{lipsum} in your LaTeX
preamble?

On 12 October 2016 at 03:31, Riccardo <chiona...@gmail.com> wrote:

> Hello everybody,
> I'm using LyX 2.2.1 under Ubuntu 16.04. I have texlive 2016 installed via
> this <http://ppa.launchpad.net/jonathonf/texlive-2016/ubuntu> PPA. I have
> a problem with a module missing in LyX: lipsum.sty
>
>
> *kpsewhich lipsum.sty* returns a path correctly
>
> */usr/local/share/texmf/tex/latex/lipsum/lipsum.sty*
>
> but still, in *Document→Settings→Modules* there is no module "Lipsum"
> showing up.
>
>
> I checked your guide at https://wiki.lyx.org/FAQ/LaTeXErrors#missing-class
> .
>
>
> *apt-file search lipsum.sty* returns the package *texlive-latex-extra*
>
> that I actually have in
> */usr/share/texlive/texmf-dist/tex/latex/lipsum/lipsum.sty*. Moreover,
> *texlive-latex-extra* is already at the newest version
> (2016.20160819-1~ubuntu16.04.1york0).
>
>
> To be sure I downloaded the lipsum module from CTAN, and followed their
> instructions. I run *latex lipsum.ins* and inserted the resulting
> *lipsum.sty* file into *$TEXMF/tex/latex/lipsum/* , in my case:
>
>
>
> *kpsewhich -var-value TEXMFLOCAL/usr/local/share/texmf*
>
> and
>
>
> *kpsewhich -var-value TEXMFHOME/home/chionatan/texmf*
>
>
> I think the package is correctly installed, since any other editor
> (TeXmaker for example) compile any file with *\usepackage{lipsum}* in the
> preamble.
>
>
> Am I missing something in LyX, to set *lipsum* as a module?
>
> I'd appreciate your help.
>
>
> Riccardo
>



-- 
John Kane
Kingston ON Canada


Re: lost all menus, toolbars etc. in okular

2016-10-04 Thread John Kane
I love these highly technical solutions.

Reminds me of " So I rebooted just because it's Windows"



On 4 October 2016 at 04:00, Michael Berger <id...@online.de> wrote:

>
> On 10/04/2016 09:52 AM, Michael Berger wrote:
>
>> Hi,
>>
>> because of some foolish experiments I lost all menus, tool bars etc. in
>> Okular and can no longer manipulate the PDF output. What I see now is just
>> the PDF text and the only action possible is scrolling.
>>
>> Removing and re-installing Okular did not help.
>>
>> How can I make all these bars visible again?
>>
>> Thanks in advance,
>>
>> Michael
>>
>>
>>
> Hi,
> just solved the problem by clicking left somewhere in the middle of my
> empty open Okular.
> Thanks,
> Michael
>
>


-- 
John Kane
Kingston ON Canada


Re: Chicago Manual reference in footnote with bibtex?

2016-09-12 Thread John Kane
Thank you Charles.

I was afraid that I would have to use biblatex.  I never seem to get it to
work properly but I'll try again.



On 12 September 2016 at 05:02, Charles de Miramon <
charlesdemira...@gmail.com> wrote:

> John Kane wrote:
>
> > Is there any relatively simple way to implement the Chicago Manual of
> > Style's full reference in a footnote style?
>
> You should use BibLaTeX with the Chicago style
>
> https://www.ctan.org/pkg/biblatex-chicago
>
> >
> > I saw a reference to \footcite in LaTex but a) it's not clear to me how
> to
> > use it even in LaTeX and there was a note in the LyX wiki implying that
> it
> > was not implemented in LyX.
>
> \footcite is a macro that creates a footnote and insert the citation.
>
> For LyX, just manually create the footnote and then insert your citation.
>
> C.
>
>
>


-- 
John Kane
Kingston ON Canada


Chicago Manual reference in footnote with bibtex?

2016-09-11 Thread John Kane
Is there any relatively simple way to implement the Chicago Manual of
Style's full reference in a footnote style?

I saw a reference to \footcite in LaTex but a) it's not clear to me how to
use it even in LaTeX and there was a note in the LyX wiki implying that it
was not implemented in LyX.

Thanks

-- 
John Kane
Kingston ON Canada


Re: Sectioned and multiple references in the same document

2016-09-03 Thread John Kane
Ah yes,  I see your point. Trial and error to the nth degree. Still I think
those hints will help even if I am left saying "I am not going to write a
dissertation", NO, NO! Not with Miede's!

The unfortunate thing is that Miede's classicthesis is so seductive that
people writing books and monographs may get sucked in.  Come to think of
it, I already know one historian who intends to use it for his dissertation.
So we probably need any and every hint we can get.
Thanks

On 3 September 2016 at 08:01, Michael Berger <id...@online.de> wrote:

>
> On 09/03/2016 03:57 AM, John Kane wrote:
>
> And what did you do---in LyX terms.   We can probably do the stubbornness
> ourselves, well some of us anyway.
>
> On 2 September 2016 at 06:52, Michael Berger <id...@online.de> wrote:
>
>> Just managed to resolve the issue myself.
>>
>> Applied method: stubbornness mixed with trial and errors.
>>
>> cheers,
>>
>> Michael
>>
>>
>> On 09/01/2016 05:08 PM, Michael Berger wrote:
>>
>>> Hi,
>>>
>>> ...
>>>
>>
>>
> --
> John Kane
> Kingston ON Canada
>
> John, I do not feel competent to provide sort of directions what to do. I
> must have done too many
> things wrong from the beginning. So tracking back is not possible even if
> I wanted to.
> Furthermore, each case is most probably different.
> But if somebody needs help in setting up sectioned plus multiple
> bibliographies together (in a document
> based on Miede's classicthesis, using the master-child concept) I am
> prepared to share my experience.
>
> Lyx 2.1.3, classicthesis-LyX-v4.1, linguistic modules loaded
>
> Though, a couple of things make me wonder, e. g. the following:
> With me, sectioned bibliographies only work if using 'unsrt' or unsrtnat'
> which to me makes sense.
> The bibtopic documentation says that bibtopic does not work  with (or does
> not support?)  'unsrt'.
> But here it does and everything works just perfect without compromise.
> The style option in the first line of the ERT (screenshot) may be plain,
> plainnat, unsrt, unsrtnat or may
> even be removed without effecting the document or the format of any of its
> seven different bibliographies.
>
> The bibliography default style in both the master and the child is set to
> 'unsrtnat' and this one obviously
> determines the format of all the document's bibliographies.
>
> The child's preamble only has two lines:
>
> \usepackage[style=long,nolist]{glossaries}
>
> \usepackage{bibtopic}
>
> I hope my experience can be of help to other users although there may not
> be too many working on
>
> documents with similar structure and challenges.
>
> Cheers,
>
> Michael
>
>
>
>


-- 
John Kane
Kingston ON Canada


Re: Sectioned and multiple references in the same document

2016-09-02 Thread John Kane
And what did you do---in LyX terms.   We can probably do the stubbornness
ourselves, well some of us anyway.

On 2 September 2016 at 06:52, Michael Berger <id...@online.de> wrote:

> Just managed to resolve the issue myself.
>
> Applied method: stubbornness mixed with trial and errors.
>
> cheers,
>
> Michael
>
>
> On 09/01/2016 05:08 PM, Michael Berger wrote:
>
>> Hi,
>>
>> I am trying to set up multiple references in a classicthesis 4.1 document
>> (applying the master/child concept).
>>
>> The document works well with an existing sectioned bibliography. However,
>> I fail to add another small
>>
>> bibliography in a separate chapter using the bibtoc package.
>>
>> Any advice would be greatly appreciated.
>>
>> Michael Berger
>>
>> PS. I did study what I found - ideally would be somebody with empirical
>> cognition :-D
>>
>>
>>
>


-- 
John Kane
Kingston ON Canada


Re: LyX and Sierra beta

2016-08-12 Thread John Kane
And now you have ruined the suspense.
Humpfhp

On 12 August 2016 at 22:58, Christopher Menzel <chris.men...@gmail.com>
wrote:

> On Aug 12, 2016, at 7:25 PM, Scott Kostyshak <skost...@lyx.org> wrote:
>
> On Fri, Aug 12, 2016 at 05:01:02PM -0400, Christopher Menzel wrote:
>
> Hello LyX folk,
>
>
> Has anyone tried out LyX 2.2 on the public beta of OS X Sierra?
>
>
> We have not heard of anyone who has tried it. There were many problems
> in LyX when Capitan made its debut, but hopefully that is not the common
> upgrade experience.
>
> If you do bravely try it out, please let us know.
>
>
> I did so (perhaps more rashly than bravely). Upgrade was smooth. Absolutely
> no problems for me with LyX 2.2, MacTeX 2015, and Skim.
>
> -chris
>
>


-- 
John Kane
Kingston ON Canada


Re: bullets in version 2.2

2016-08-07 Thread John Kane
Hi Patrick,
I really know nothing about this but I am able to get the black bullets
with my settings with the document language set to either English-Canada or
French-Canada in a standard article class document but I am using 2.2.0
rather than 2.2.1


On 6 August 2016 at 06:42, Patrick Dupre <pdu...@gmx.com> wrote:

> Hello,
>
> I moved to version 2.2.1 (from 2.1.5).
> Now, even if I specify that I want the standard filled bullets
> I get a straight horizontal line (default?) if I set the language to french
> while in the previous version I got the real black bullet that I
> wanted.
> Is it a bug or a new way of doing ? In that latter case, how can I
> get the bullet in french language ?
> It looks like that the 2 sets are the standard behavior in English and
> French
> but cannot be forced properly.
>
> Thank for your help.
>
> 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
> ====
> ===
>



-- 
John Kane
Kingston ON Canada


Re: Title page

2016-07-19 Thread John Kane
Here are a couple suggestions that may work
http://tex.stackexchange.com/questions/148576/lyxarticle-document-image-under-title-in-front-page

On 19 July 2016 at 12:34, Usman Ashraf <uashra...@gmail.com> wrote:

> Hi
>
> I have a query in regards to the default title page in report class which
> only gives you an option to add title, author and date. However, I would
> also like to add supervisor, logo etc. How do I go about doing this?
>
> Thanks
>
> Usman




-- 
John Kane
Kingston ON Canada


Re: Math Panel?

2016-07-19 Thread John Kane
If th math panel is open click on the
α symbol in the top row and it should bring up a set of Greek symbols

On 19 July 2016 at 10:03, Daniel Roma <romadani...@gmail.com> wrote:

> hi
> i'm using LyX 2.2.0,how insert pi, phi (pi), theta, and sigma in formulas?
> thank you
>



-- 
John Kane
Kingston ON Canada


Re: 2.2 -- table problems

2016-06-06 Thread John Kane
Ah, I had my pdf viewer at too low a magnification and missed that m .
Very weird. I wonder if it has anything to do with the two cells in "base
year"?  So far my experiments have not been useful so I may well be wrong

Re the 2 vs 3 digits, I am not sure but I suspect that using 2 & 3 digits
in the same column is bad practice.  Why is 1939 considered more accuate
than the other years?



On 6 June 2016 at 09:24, F M Salter <fmsal...@blueyonder.co.uk> wrote:

>
>
> On 06/06/16 13:54, John Kane wrote:
>
> I don't think I understand the point about the "m".  It is a math symbol
> in the lyx file so one would expect it to be one in the output?
>
> Sorry, I was obviously too terse. An additional *m* appears in the 3rd
> column under the fraction
>
>
> I am not very good with LyX tables (I usually generate mine with R and
> knitr) but it looks to me that you need three numbers after the decimal in
> the last column of the table. Try sticking zeros after the values with only
> 2 numbers (characters?) and you get decimal alignment.
>
> The reason I need the decimal alignment is that I do not to suggest an
> undeserved precision to the othere numbers in the column.
>
>
> On 6 June 2016 at 06:57, F M Salter <fmsal...@blueyonder.co.uk> wrote:
>
>> Hi
>> I am attaching a small table which  produces erroneous output.
>>
>> 1.  mathematical symbol  m in headings
>> 2.  non-alignment of decimal points
>>
>> Any suggestions?
>>
>> Regards
>> Frank Salter
>>
>
>
>
> --
> John Kane
> Kingston ON Canada
>
> Thanks for your comments
> Regards   FMS
>



-- 
John Kane
Kingston ON Canada


Re: 2.2 -- table problems

2016-06-06 Thread John Kane
I don't think I understand the point about the "m".  It is a math symbol in
the lyx file so one would expect it to be one in the output?

I am not very good with LyX tables (I usually generate mine with R and
knitr) but it looks to me that you need three numbers after the decimal in
the last column of the table. Try sticking zeros after the values with only
2 numbers (characters?) and you get decimal alignment.

On 6 June 2016 at 06:57, F M Salter <fmsal...@blueyonder.co.uk> wrote:

> Hi
> I am attaching a small table which  produces erroneous output.
>
> 1.  mathematical symbol  m in headings
> 2.  non-alignment of decimal points
>
> Any suggestions?
>
> Regards
> Frank Salter
>



-- 
John Kane
Kingston ON Canada


Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread John Kane
I don't know what I had running but I did a shut-down before going shopping
and after a reboot and something is happening. Thanks

 My problem is that I removed libreOffice to install Apache OpenOffice so I
don't really under stand what the output is telling me. Why would a removal
of LyX depend on some missing LibreOfice files?




john@john-K53U:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libreoffice-common
Suggested packages:
  libreoffice-style-breeze libreoffice-style-hicontrast
  libreoffice-style-human libreoffice-style-oxygen libreoffice-style-sifr
  libreoffice-style-tango
The following NEW packages will be installed:
  libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 100 not upgraded.
8 not fully installed or removed.
Need to get 0 B/22.3 MB of archives.
After this operation, 84.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 366914 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb ...
Unpacking libreoffice-common (1:5.1.3-0ubuntu1) ...
dpkg: error processing archive
/var/cache/apt/archives/libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb
(--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package
openoffice-debian-menus 4.1.2-9782
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file
or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or
directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or
directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
john@john-K53U:~$

On 4 June 2016 at 13:57, Georg Baum <georg.b...@post.rwth-aachen.de> wrote:

> John Kane wrote:
>
> > john@john-K53U:~$  apt-get -f install
> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> > denied)
> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> > root?
> > john@john-K53U:~$  apt-get -f install lyx
> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> > denied)
> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> > root?
> > john@john-K53U:~$
>
> This happens if at the same time some other package management tool is
> running and holds a lock on the database. Assuming that you don't do that
> yourself, the most likely reason is an automatic 'apt-get update' running
> in
> the background from cron. You would see the process in the output of
>
> ps -axu | grep root
>
> and usually it would not take long to be finished, so you could try again.
>
>
> Georg
>
>
>


-- 
John Kane
Kingston ON Canada


Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread John Kane
Not root but I was running with sudo  My remove command was
sudo apt-get remove lyx
\


On 4 June 2016 at 13:00, Liviu Andronic <landronim...@gmail.com> wrote:

> On Sat, Jun 4, 2016 at 6:25 PM, John Kane <jrkrid...@gmail.com> wrote:
> > Following up on my last post
> > john@john-K53U:~$  sudo apt-get check
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > You might want to run 'apt-get -f install' to correct these.
> > The following packages have unmet dependencies:
> >  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> > installed
> >  libreoffice-java-common : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1)
> > but it is not installed
> >  libreoffice-style-elementary : Depends: libreoffice-common (=
> > 1:5.1.2-0ubuntu1) but it is not installed
> >  libreoffice-style-galaxy : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1)
> > but it is not installed
> > E: Unmet dependencies. Try using -f.
> > john@john-K53U:~$
> >
> >
>
>
> > john@john-K53U:~$  apt-get -f install
> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> > denied)
> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> > root?
> > john@john-K53U:~$  apt-get -f install lyx
> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> > denied)
> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> > root?
> > john@john-K53U:~$
> >
> > At the moment I cannot even remove Ly and the message (essentially the
> same
> > as above) seems totally nonsensical.
> >
> Are you root? These should be run under root or with sudo.
>
> Liviu
>
>
>
> > n@john-K53U:~$ sudo apt-get remove lyx
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > You might want to run 'apt-get -f install' to correct these:
> > The following packages have unmet dependencies:
> >  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> > going to be installed
> >  libreoffice-java-common : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1)
> > but it is not going to be installed
> >  libreoffice-style-elementary : Depends: libreoffice-common (=
> > 1:5.1.2-0ubuntu1) but it is not going to be installed
> >  libreoffice-style-galaxy : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1)
> > but it is not going to be installed
> > E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify
> > a solution).
> > john@john-K53U:~$
> >
> > Any suggestions would gratefully received.
> >
> >
> >
> >
> > On 2 June 2016 at 14:34, John Kane <jrkrid...@gmail.com> wrote:
> >>
> >> "Never seen such a case."
> >> Reminds me of the time the doctor checking the internet when I was
> seeing
> >> him :)
> >>
> >> john@john-K53U:~$ sudo apt-get check
> >> [sudo] password for john:
> >> Reading package lists... Done
> >> Building dependency tree
> >> Reading state information... Done
> >>
> >>
> >> Somehow I was expecting something a bit more dramatic.
> >>
> >> Synaptic is reporting 0 broken packages.
> >>
> >> What would you think of burning a new CD of Ubuntu 16.04 and doing a new
> >> clean install?
> >>
> >> On 2 June 2016 at 13:27, Kornel Benko <kor...@lyx.org> wrote:
> >>>
> >>> Am Donnerstag, 2. Juni 2016 um 12:59:39, schrieb John Kane
> >>> <jrkrid...@gmail.com>
> >>> > I was beginning to suspect that. Any suggestions?
> >>>
> >>> No. Never seen such a case. I for one get
> >>> # dpkg -p libqtcore4:amd64
> >>> Package: libqtcore4
> >>> Priority: optional
> >>> Section: libs
> >>> Installed-Size: 5053
> >>> Maintainer: Kubuntu Developers <kubuntu-de...@lists.ubuntu.com>
> >>> Architecture: amd64
> >>> Multi-Arch: same
> >>> Source: qt4-x11
> >>> Version: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
> >>> Depends: qtcore4-l10n, libc6 (>= 2.15), libgcc1 (>= 1:4.1.1),
> >>> libglib2.0-0 (>= 2.22.0), libstdc++6 (>= 4.6), zlib1g (>= 1:1.1.4)
> >>> Pre-Depends: multiarch-support
> >>> Suggests: libicu48, libthai0
> >>> Size: 1554504
> >>> Description

Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread John Kane
Following up on my last post
john@john-K53U:~$  sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
installed
 libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
but it is not installed
 libreoffice-style-elementary : Depends: libreoffice-common (=
1:5.1.2-0ubuntu1) but it is not installed
 libreoffice-style-galaxy : Depends: libreoffice-common (=
1:5.1.2-0ubuntu1) but it is not installed
E: Unmet dependencies. Try using -f.
john@john-K53U:~$


john@john-K53U:~$  apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?
john@john-K53U:~$  apt-get -f install lyx
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?
john@john-K53U:~$

At the moment I cannot even remove Ly and the message (essentially the same
as above) seems totally nonsensical.

n@john-K53U:~$ sudo apt-get remove lyx
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
going to be installed
 libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
but it is not going to be installed
 libreoffice-style-elementary : Depends: libreoffice-common (=
1:5.1.2-0ubuntu1) but it is not going to be installed
 libreoffice-style-galaxy : Depends: libreoffice-common (=
1:5.1.2-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
john@john-K53U:~$

Any suggestions would gratefully received.




On 2 June 2016 at 14:34, John Kane <jrkrid...@gmail.com> wrote:

> "Never seen such a case."
> Reminds me of the time the doctor checking the internet when I was seeing
> him :)
>
> john@john-K53U:~$ sudo apt-get check
> [sudo] password for john:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
>
>
> Somehow I was expecting something a bit more dramatic.
>
> Synaptic is reporting 0 broken packages.
>
> What would you think of burning a new CD of Ubuntu 16.04 and doing a new
> clean install?
>
> On 2 June 2016 at 13:27, Kornel Benko <kor...@lyx.org> wrote:
>
>> Am Donnerstag, 2. Juni 2016 um 12:59:39, schrieb John Kane <
>> jrkrid...@gmail.com>
>> > I was beginning to suspect that. Any suggestions?
>>
>> No. Never seen such a case. I for one get
>> # dpkg -p libqtcore4:amd64
>> Package: libqtcore4
>> Priority: optional
>> Section: libs
>> Installed-Size: 5053
>> Maintainer: Kubuntu Developers <kubuntu-de...@lists.ubuntu.com>
>> Architecture: amd64
>> Multi-Arch: same
>> Source: qt4-x11
>> Version: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
>> Depends: qtcore4-l10n, libc6 (>= 2.15), libgcc1 (>= 1:4.1.1),
>> libglib2.0-0 (>= 2.22.0), libstdc++6 (>= 4.6), zlib1g (>= 1:1.1.4)
>> Pre-Depends: multiarch-support
>> Suggests: libicu48, libthai0
>> Size: 1554504
>> Description: Qt 4 core module
>>  Qt is a cross-platform C++ application framework. Qt's primary feature
>>  is its rich set of widgets that provide standard GUI functionality.
>>  .
>>  The QtCore module contains core non-GUI functionality.
>> Homepage: http://qt-project.org/
>> Original-Maintainer: Debian Qt/KDE Maintainers <
>> debian-qt-...@lists.debian.org>
>> ...
>>
>> Try to check your packages
>> # sudo apt-get check
>> or
>> # sudo synaptic
>> and try to identify broken packages.
>>
>> Kornel
>
>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Re: Missing icons after upgrading to LyX 2.2.0

2016-06-02 Thread John Kane
"Never seen such a case."
Reminds me of the time the doctor checking the internet when I was seeing
him :)

john@john-K53U:~$ sudo apt-get check
[sudo] password for john:
Reading package lists... Done
Building dependency tree
Reading state information... Done


Somehow I was expecting something a bit more dramatic.

Synaptic is reporting 0 broken packages.

What would you think of burning a new CD of Ubuntu 16.04 and doing a new
clean install?

On 2 June 2016 at 13:27, Kornel Benko <kor...@lyx.org> wrote:

> Am Donnerstag, 2. Juni 2016 um 12:59:39, schrieb John Kane <
> jrkrid...@gmail.com>
> > I was beginning to suspect that. Any suggestions?
>
> No. Never seen such a case. I for one get
> # dpkg -p libqtcore4:amd64
> Package: libqtcore4
> Priority: optional
> Section: libs
> Installed-Size: 5053
> Maintainer: Kubuntu Developers <kubuntu-de...@lists.ubuntu.com>
> Architecture: amd64
> Multi-Arch: same
> Source: qt4-x11
> Version: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
> Depends: qtcore4-l10n, libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libglib2.0-0
> (>= 2.22.0), libstdc++6 (>= 4.6), zlib1g (>= 1:1.1.4)
> Pre-Depends: multiarch-support
> Suggests: libicu48, libthai0
> Size: 1554504
> Description: Qt 4 core module
>  Qt is a cross-platform C++ application framework. Qt's primary feature
>  is its rich set of widgets that provide standard GUI functionality.
>  .
>  The QtCore module contains core non-GUI functionality.
> Homepage: http://qt-project.org/
> Original-Maintainer: Debian Qt/KDE Maintainers <
> debian-qt-...@lists.debian.org>
> ...
>
> Try to check your packages
> # sudo apt-get check
> or
> # sudo synaptic
> and try to identify broken packages.
>
> Kornel




-- 
John Kane
Kingston ON Canada


Re: Missing icons after upgrading to LyX 2.2.0

2016-06-02 Thread John Kane
john@john-K53U:~$ dpkg -p libqtcore4:amd64
dpkg-query: package 'libqtcore4' is not available

Interesting :(

On 2 June 2016 at 12:08, Kornel Benko <kor...@lyx.org> wrote:

> Am Donnerstag, 2. Juni 2016 um 11:55:12, schrieb John Kane <
> jrkrid...@gmail.com>
> > john@john-K53U:~$  dpkg -S /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> > libqtgui4:amd64: /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> >
> > john@john-K53U:~$ dpkg -S /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> > libqtcore4:amd64: /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> >
> > Again not a clue about what this should mean.
>
> It means, you are using QT4, 64bit version.
> # dpkg -p libqtcore4:amd64
>
> > On 2 June 2016 at 11:48, Kornel Benko <kor...@lyx.org> wrote:
> >
> > > Am Donnerstag, 2. Juni 2016 um 11:31:39, schrieb John Kane <
> > > jrkrid...@gmail.com>
> > > > Well this is what I get.  It is unclear what it means.
> > > >
> > > > Thanks.
> > > >
> > > > john@john-K53U:~$ ldd  /usr/bin/lyx| egrep -i qt
> > > > libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> > > > (0x7ff6c770c000)
> > > > libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> > > > (0x7ff6c7218000)
> > > >
> > >
> > > It means, you can now check to which package the libs belongs
> > > # dpkg -S /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> > > # dpkg -S /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> > >
>
> Kornel
>



-- 
John Kane
Kingston ON Canada


Re: Missing icons after upgrading to LyX 2.2.0

2016-06-02 Thread John Kane
john@john-K53U:~$  dpkg -S /usr/lib/x86_64-linux-gnu/libQtGui.so.4
libqtgui4:amd64: /usr/lib/x86_64-linux-gnu/libQtGui.so.4

john@john-K53U:~$ dpkg -S /usr/lib/x86_64-linux-gnu/libQtCore.so.4
libqtcore4:amd64: /usr/lib/x86_64-linux-gnu/libQtCore.so.4

Again not a clue about what this should mean.

On 2 June 2016 at 11:48, Kornel Benko <kor...@lyx.org> wrote:

> Am Donnerstag, 2. Juni 2016 um 11:31:39, schrieb John Kane <
> jrkrid...@gmail.com>
> > Well this is what I get.  It is unclear what it means.
> >
> > Thanks.
> >
> > john@john-K53U:~$ ldd  /usr/bin/lyx| egrep -i qt
> > libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> > (0x7ff6c770c000)
> > libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> > (0x7ff6c7218000)
> >
>
> It means, you can now check to which package the libs belongs
> # dpkg -S /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> # dpkg -S /usr/lib/x86_64-linux-gnu/libQtCore.so.4
>
> Kornel
>



-- 
John Kane
Kingston ON Canada


Re: Missing icons after upgrading to LyX 2.2.0

2016-06-02 Thread John Kane
Well this is what I get.  It is unclear what it means.

Thanks.

john@john-K53U:~$ ldd  /usr/bin/lyx| egrep -i qt
libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4
(0x7ff6c770c000)
libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4
(0x7ff6c7218000)


On 2 June 2016 at 10:36, Kornel Benko <kor...@lyx.org> wrote:

> Am Donnerstag, 2. Juni 2016 um 10:29:48, schrieb John Kane <
> jrkrid...@gmail.com>
> > I was tired and hungary when I did it, and while I remember using a
> > terminal command, I have not the slightest memeory of how I did it.
> >
> > Exactly how would I check?
> >
> > So far this morning I have tried something like
> > apt-cache showpkg qt4  (& qt4.5, 4.6 and so on ) and get nothing
> >
> >
> >  apt-cache showpkg qt5.6 gets a hit even though I thought I'd removed it.
> >
> > I read the Release Notes and originally thought that installing qt5.6
> would
> > be a good idea and then read what seemed to be some caveats  that seemed
> to
> > suggest that installing qt5.6 after installing LyX2.2.0 might cause
> > problems. So I thought I'd better get rid of it.
> >
> > A quick look at /usr/share/  shows I have both qt4 and qt5 (apparently
> > qt5.6 since that is the folder label and the name I used in the apt-get
> > install command
> >
> > I am not exacty Linux fluent. (I possibly speak pidgin Linux?) Can
> someone
> > provide detailed instructions or a pointer to a decent cheatsheet that
> > would show me how to figure out what version of qt LyX is using please?
>
> Try this:
> # ldd   | egrep -i qt
>
>
> Kornel




-- 
John Kane
Kingston ON Canada


Re: Missing icons after upgrading to LyX 2.2.0

2016-06-02 Thread John Kane
I was tired and hungary when I did it, and while I remember using a
terminal command, I have not the slightest memeory of how I did it.

Exactly how would I check?

So far this morning I have tried something like
apt-cache showpkg qt4  (& qt4.5, 4.6 and so on ) and get nothing


 apt-cache showpkg qt5.6 gets a hit even though I thought I'd removed it.

I read the Release Notes and originally thought that installing qt5.6 would
be a good idea and then read what seemed to be some caveats  that seemed to
suggest that installing qt5.6 after installing LyX2.2.0 might cause
problems. So I thought I'd better get rid of it.

A quick look at /usr/share/  shows I have both qt4 and qt5 (apparently
qt5.6 since that is the folder label and the name I used in the apt-get
install command

I am not exacty Linux fluent. (I possibly speak pidgin Linux?) Can someone
provide detailed instructions or a pointer to a decent cheatsheet that
would show me how to figure out what version of qt LyX is using please?

Thanks for all the help and support.



On 1 June 2016 at 17:58, Scott Kostyshak <skost...@lyx.org> wrote:

> On Wed, Jun 01, 2016 at 10:51:22PM +0200, Georg Baum wrote:
> > John Kane wrote:
> >
> > > I installedl from what I believe is a prepackaged binary from Liviu
> > > Andronic's  stable PPA
> > > <https://launchpad.net/%7Elyx-devel/+archive/release> which I have
> used
> > > before.
> >
> > Good.
> >
> > > My installed version of qt is qt4.5 which if I am reading the release
> > > notes correctly should be okay.
> >
> > 4.5 is really old, and although LyX should work with it in principle it
> is
> > not well tested. Somehow I cannot believe that the ppa contains packages
> for
> > such an old version, but Liviu will know more.
>
> John, you are on Ubuntu 16.04 and you have Qt 4.5? How did you do that?
> Why do you think your Qt version is 4.5? Does LyX tell you that or
> apt-cache policy?
>
> I hope we can figure this out for you,
>
> Scott
>



-- 
John Kane
Kingston ON Canada


Re: Missing icons after upgrading to LyX 2.2.0

2016-06-01 Thread John Kane
I installedl from what I believe is a prepackaged binary from Liviu
Andronic's  stable PPA <https://launchpad.net/%7Elyx-devel/+archive/release>
which I have used before.

My installed version of qt is qt4.5 which if I am reading the release notes
correctly should be okay.

Thanks

On 1 June 2016 at 14:40, Georg Baum <georg.b...@post.rwth-aachen.de> wrote:

> John Kane wrote:
>
> >  I just did an upgrade to LyX 2.2.0 successfully for the most part but my
> > menu toolbar has turned to text—there are no icons! See attached
> > screenshot. Note that the menu toolbar and the math toolbar are both in
> > text. The splash screen icon is there.
> > A quick look at usr/share/lyx/ui shows four files, default.ui,
> > stdcontex.inc, stdmenus.inc, & stdtoolbars.inc, all of which look okay.
> > Unfortunately I have no idea were to look for the actual icons (.svg
> > files?).
> > Any suggestions would be appreciated
> > LyX 2.2.0 Ubuntu 16.04
>
> LyX 2.2.0 requires a qt with SVG support compiled in (as mentioned in
> RELEASE_NOTES). This looks like your qt does not have proper SVG support.
> Which qt version are you using? Did you compile from source or install some
> prepackaged binary?
>
>
> Georg
>
>


-- 
John Kane
Kingston ON Canada


Re: where are my multiple index lists ?

2016-04-08 Thread John Kane
I believe you need to use the
*splitidx* package.

Have a look at the User Manual 6.6.7

On 28 March 2016 at 12:42, Michael Berger <id...@online.de> wrote:

> Hi all,
> I already created various single index lists with no problem but when
> trying to create multiple indexes as instructed in
> wiki.lyx.org/Lyx/NewInLyx20#indices
> and also tried other proposals I found on the subject but I don't see any
> index list(s).
> What am I doing wrong?
>
> Using Lyx 2.1.3 in Mageia5 with KDE with 'splitindex' installed.
> Please see mini-example file attached.
>
> Thanks and best regards,
> Michael Berger
>



-- 
John Kane
Kingston ON Canada


Re: This NFSS system isn't set up properly.

2016-03-20 Thread John Kane
I don't know why but you need to use non-LaTeX fonts
Document > Settings > Fonts.

I exported the file to LaTeX and there is a command
\usepackage[garamondx]{newtxmath}


This gives the same errror as in LyX but if I remove the [garamondx] option
it compiles. Selecting the non-LaTex fonts will give you the Garamond font.




On 19 March 2016 at 11:27, emil sjoerup <emilsjoe...@live.dk> wrote:

> Hello LyX users.
> I have a problem which I cannot seem to solve, even trying to use the good
> ol’ google theorem.
>
> Attached is a document with only the text “Title” which gives me the error
> shown in the attached picture.
>
> I have changed some settings in my configuration of LyX. I have added
> hotkeys for \partial, \cdot and \frac plus I have changed the font
> settings. I do not know if this info is relevant or sufficient.
>
> Have a great easter.
> Emil
>



-- 
John Kane
Kingston ON Canada


Re: Hyperlinks work in one PDF viewer and not another

2016-02-17 Thread John Kane
To follow up on my last note., the problem was just that I had stupidly
forgotten to shift out of text selection mode and Okular seems to have
maintained my settings when I did the re-install.  That booming sound is me
pounding my head on the desk,
Thanks Gordon & Scot

On 17 February 2016 at 07:29, John Kane <jrkrid...@gmail.com> wrote:

> Thanks Scott,
> It looks like I'm running into a serious problem with Okular. I originally
> thought that it was just a LyX-Okular problem but Okular seems to have
> decided it will not open any web link that Evince (thanks, I could not
> remember that name) and Adobe Reader  will.
>
> First re-installation has failed, so I guess I get to spend some quality
> time trying to figure out what's wrong.
>
> On 17 February 2016 at 00:19, Scott Kostyshak <skost...@lyx.org> wrote:
>
>> On Tue, Feb 16, 2016 at 09:20:06AM -0500, John Kane wrote:
>> > It's a minor point as I am just experimenting as I've never needed links
>> > but I seem to be able to create a file which generates a PDF with a
>> > web-link that works with Document Viewer or Adobe Reader.
>> >
>> >
>> >
>> > It may just be a problem with my Okular installation but would someone
>> be
>> > kind enough to see how it works on their machines?
>>
>> For me it opens in Evince (Document Viewer) and Okular. I'm on Ubuntu
>> 15.04.
>>
>> Scott
>>
>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Re: Hyperlinks work in one PDF viewer and not another

2016-02-17 Thread John Kane
Thanks Scott,
It looks like I'm running into a serious problem with Okular. I originally
thought that it was just a LyX-Okular problem but Okular seems to have
decided it will not open any web link that Evince (thanks, I could not
remember that name) and Adobe Reader  will.

First re-installation has failed, so I guess I get to spend some quality
time trying to figure out what's wrong.

On 17 February 2016 at 00:19, Scott Kostyshak <skost...@lyx.org> wrote:

> On Tue, Feb 16, 2016 at 09:20:06AM -0500, John Kane wrote:
> > It's a minor point as I am just experimenting as I've never needed links
> > but I seem to be able to create a file which generates a PDF with a
> > web-link that works with Document Viewer or Adobe Reader.
> >
> >
> >
> > It may just be a problem with my Okular installation but would someone be
> > kind enough to see how it works on their machines?
>
> For me it opens in Evince (Document Viewer) and Okular. I'm on Ubuntu
> 15.04.
>
> Scott
>



-- 
John Kane
Kingston ON Canada


Hyperlinks work in one PDF viewer and not another

2016-02-16 Thread John Kane
It's a minor point as I am just experimenting as I've never needed links
but I seem to be able to create a file which generates a PDF with a
web-link that works with Document Viewer or Adobe Reader.



It may just be a problem with my Okular installation but would someone be
kind enough to see how it works on their machines?

Thanks.

-- 
John Kane
Kingston ON Canada


linky2.pdf
Description: Adobe PDF document


linky2.lyx
Description: application/lyx


Re: compilation runs endlosly

2016-02-14 Thread John Kane
Yes does the one sub-file do the same thing if you compile it alone in the
template ?

On 14 February 2016 at 12:13, <t...@wescottdesign.com> wrote:

> On 2016-02-14 08:59, Michael Berger wrote:
>
>> Hi all, can somebody help, please!
>>
>> I am working on a thesis (linguistic) based on Miede's classicthesis.v4.1.
>> The Example per screenhot causes the compilation to PDF to run endlessly.
>> I cannot interrupt the process and am forced to cut the power off.
>> That makes it even worse - in most cases I am left with a spoiled file
>> (0 bites).
>> However, sometimes the file (a child document) remains intact and if I
>> then remove the example the export to PDF succeeds as normal.
>> All characters had been typed in using the keyboard.
>> I want to add that none of those characters used in the Example poses
>> a problem when typed in normal text or in a gloss as a single
>> character.
>>
>
> I can't tell you what's going on (aside from the fact that you've probably
> found a way to make TeX recurse or loop), but I'll bet that whoever _can_
> tell you what's going on will want to see the Lyx file that causes the
> problem.  Attach it, maybe?
>
> If the thing is huge or proprietary, try trimming your document down to
> the one offending equation.  That'll either provide a nice, compact Lyx
> file to distribute, or it won't cause the problem in the first place which
> will be usefully educational.
>
>


-- 
John Kane
Kingston ON Canada


Re: threeparttablex with longtable

2015-12-07 Thread John Kane
Couldn't you have stuck to a nice simple table? :)

Personally I'd go with what you have. The best is the enemy of the good.

If someone gets picky and wants a table heading or "continued on next page"
crap just stick it in a custom header or footer.

The only other thing I can think of, and remember I know nothing about the
subject area---not even what it is---would be to radically revamp the table
layout to present the data in a completely different way.

What way I don't know  but it seems like it might be possible just because
you seem to have too many footnotes.  For example is there any way to break
the table down into sub-tables with all elements with a footnote 1 in a
table and so on?  Remember, I'm just rambling as I have not idea of the
subject matter and have not spent any real time analyzing the layout of the
data

Otherwise, I'd say any extra work on what you already have done is going to
be  superfluous.

On 6 December 2015 at 19:33, Tyler Grummett <tyler.grumm...@flinders.edu.au>
wrote:

> Dear John and lyx community,
>
>
> Ive attached an actual table that I will be using, so apologies for the
> size. As you did in your example, the line \insertTableNotes needs to be
> inserted before \end{longtable} so I think you are all correct in stating
> that I need to do the whole thing in ERT. However due to how much I need to
> put into each cell, I need to be able to view the table in the document.
>
>
> Ive compromised by putting some text in the last row of the table and that
> should be good enough. If theres no other solution, I think I will just
> stick with that. I spoke to the creator of threeparttablex and he said that
> its only possible by writing the whole thing in LaTeX, so I guess thats
> that.
>
>
> Cheers everyone, feel free to reply if there is an alternative solution.
>
>
> Otherwise, thank you all for your help.
>
>
> Tyler
>
>
> *
>
> *Tyler Grummett ( BBSc, BSc(Hons I))*
> *PhD Candidate*
> *Brain Signals Laboratory*
> *Flinders University*
> *Rm 5A301*
> *Ext 66125*
>
>
> --
> *From:* John Kane <jrkrid...@gmail.com>
> *Sent:* Saturday, 5 December 2015 10:37 PM
> *To:* Tyler Grummett
> *Cc:* bishop.ja...@gmail.com; lyx-users@lists.lyx.org
> *Subject:* Re: threeparttablex with longtable
>
> Hi Tyler
> As Jacob also mentioned we really need to see an actual example of what
> you are trying to do.  Here is a discussion on how to approach the task :
> http://wiki.lyx.org/FAQ/MinimalExample
> <http://wiki.lyx.org/FAQ/MinimalExample>
> LyX wiki | FAQ / MinimalExample
> In a nutshell. A minimal example is a .lyx file that is as small as
> possible while still showing the behavior that you are asking about. It
> should include as few ...
> Read more... <http://wiki.lyx.org/FAQ/MinimalExample>
>
>
>
> On the other hand, given all the coding you already have done, I'd suggest
> doing the whole thing in LaTeX, that is, just stay in the ERT environment.
>
> I have never found LyX tables that easy to fill in---nice to work with
> otherwise but in terms of data entry, meh, not a lot easier than raw LaTeX.
>
> See a example I stole from somewhere on the web and slightly adapted a
> while ago.  It is attached below.
>
> On 4 December 2015 at 14:23, Tyler Grummett <
> tyler.grumm...@flinders.edu.au> wrote:
>
>> Hello John,
>>
>>
>> Yes the normal threeparttable package works for me with normal tables in
>> a table float, however I need table notes in a long table.
>>
>>
>> I have the following in ERT before the table (which is manually inserted
>> using the lyx GUI)
>>
>>
>> \begin{ThreePartTable}
>> \begin{TableNotes}
>> \item[a] A note
>> \item[b] Another note
>> \end{TableNotes}
>>
>> I then make the table. However the threeparttablex package asks for you
>> to put in a line of ERT code that says \insertTableNotes, however as the
>> code includes \end{longtable} when you make a table, you cant put it in
>> anywhere.
>>
>>
>> I have compromised (if there is no solution) by inserting some ERT code
>> in the bottom row of the table:
>>
>>
>> \footnotesize
>> 1 = blah
>> 2 = blah blah
>> 3 = blah blah blah
>>
>> which makes most of the code written before the table vestigial, Ill
>> remove it if there isnt a solution haha.
>>
>> Cheers for the prompt reply,
>>
>> Tyler
>>
>>
>> *
>>
>> *Tyler Grummett ( BBSc, BSc(Hons I))*
>> *PhD Candidate*
>> *Brain Signals Laboratory*
>> *Flinders University*
>> *Rm 

Re: gantt

2015-12-05 Thread John Kane
HI Patrick,
I don't understand the question. Are you trying to import a gantt chart
produced by project management software or create a gantt chart within LyX
or LaTeX?

2015-12-04 11:29 GMT-05:00 Patrick Dupre <pdu...@gmx.com>:

> Hello,
>
> Is there a tool to make gantt diagram compatible with lyx?
>
> Thank
>
> ===
>  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
> ===
>



-- 
John Kane
Kingston ON Canada


Re: threeparttablex with longtable

2015-12-05 Thread John Kane
Hi Tyler
As Jacob also mentioned we really need to see an actual example of what you
are trying to do.  Here is a discussion on how to approach the task :
http://wiki.lyx.org/FAQ/MinimalExample

On the other hand, given all the coding you already have done, I'd suggest
doing the whole thing in LaTeX, that is, just stay in the ERT environment.

I have never found LyX tables that easy to fill in---nice to work with
otherwise but in terms of data entry, meh, not a lot easier than raw LaTeX.

See a example I stole from somewhere on the web and slightly adapted a
while ago.  It is attached below.

On 4 December 2015 at 14:23, Tyler Grummett <tyler.grumm...@flinders.edu.au>
wrote:

> Hello John,
>
>
> Yes the normal threeparttable package works for me with normal tables in a
> table float, however I need table notes in a long table.
>
>
> I have the following in ERT before the table (which is manually inserted
> using the lyx GUI)
>
>
> \begin{ThreePartTable}
> \begin{TableNotes}
> \item[a] A note
> \item[b] Another note
> \end{TableNotes}
>
> I then make the table. However the threeparttablex package asks for you to
> put in a line of ERT code that says \insertTableNotes, however as the code
> includes \end{longtable} when you make a table, you cant put it in anywhere.
>
>
> I have compromised (if there is no solution) by inserting some ERT code in
> the bottom row of the table:
>
>
> \footnotesize
> 1 = blah
> 2 = blah blah
> 3 = blah blah blah
>
> which makes most of the code written before the table vestigial, Ill
> remove it if there isnt a solution haha.
>
> Cheers for the prompt reply,
>
> Tyler
>
>
> *
>
> *Tyler Grummett ( BBSc, BSc(Hons I))*
> *PhD Candidate*
> *Brain Signals Laboratory*
> *Flinders University*
> *Rm 5A301*
> *Ext 66125*
>
>
> --
> *From:* John Kane <jrkrid...@gmail.com>
> *Sent:* Thursday, 3 December 2015 11:20 PM
> *To:* Tyler Grummett
> *Cc:* lyx-users@lists.lyx.org
> *Subject:* Re: threeparttablex with longtable
>
> Hi Tyler;
> Could you upload a minimal example of the table. It is not clear to me
> exactly how you are using the ERT.
>
> Is the entire table in the ERT or are you using a LyX-type table with the
> Insert commands in an ERT?
>
> On 30 November 2015 at 20:17, Tyler Grummett <
> tyler.grumm...@flinders.edu.au> wrote:
>
>> Hello Lyx,
>>
>>
>> Im having a problem when using threeparttablex with longtables. In order
>> to see the table I am working with, I have chosen to use ERT code to
>> \begin{ThreePartTable} and then \begin{TableNotes}  \end{TableNotes}
>> etc then ive inserted a table and made it a long table.
>>
>>
>> Everything works if you just put in the ERT code \end{ThreePartTable},
>> but then there are no actual table notes. I cant work out where to put the
>> ERT code \insertTableNotes. According to the documentation, it needs to be
>> inside the longtable, but I cant work out how to do it without getting an
>> error \misaligned etc.
>>
>>
>> Please help.
>>
>>
>> Tyler
>>
>>
>> *
>>
>> *Tyler Grummett ( BBSc, BSc(Hons I))*
>> *PhD Candidate*
>> *Brain Signals Laboratory*
>> *Flinders University*
>> *Rm 5A301*
>> *Ext 66125*
>>
>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


threepart.lyx
Description: application/lyx


Re: How to highlight a specific line inside a Program Listings?

2015-12-04 Thread John Kane
Sure, note that all I did was muck about with the example provided; the
instructions seemed a bit muddled but dedicated plagar^H^H copying worked.

On 4 December 2015 at 10:03, Paul Smith <phh...@gmail.com> wrote:

> Thanks, John. Could you please post here your example?
>
> Paul
>
>
> On Fri, Dec 4, 2015 at 2:22 PM, John Kane <jrkrid...@gmail.com> wrote:
> >
> http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
> > seems to work.  Or, at least, I got it to work with about 15 minutes
> > fiddling.
> >
> > On 4 December 2015 at 08:00, Paul Smith <phh...@gmail.com> wrote:
> >>
> >> Dear All,
> >>
> >> Is there some way fo accomplish this in LyX?
> >>
> >> Thanks in advance,
> >>
> >> Paul
> >
> >
> >
> >
> > --
> > John Kane
> > Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Hightlight line of code i listing.lyx~
Description: application/trash


Re: How to highlight a specific line inside a Program Listings?

2015-12-04 Thread John Kane
http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
seems to work.  Or, at least, I got it to work with about 15 minutes
fiddling.

On 4 December 2015 at 08:00, Paul Smith <phh...@gmail.com> wrote:

> Dear All,
>
> Is there some way fo accomplish this in LyX?
>
> Thanks in advance,
>
> Paul
>



-- 
John Kane
Kingston ON Canada


Re: threeparttablex with longtable

2015-12-03 Thread John Kane
Hi Tyler;
Could you upload a minimal example of the table. It is not clear to me
exactly how you are using the ERT.

Is the entire table in the ERT or are you using a LyX-type table with the
Insert commands in an ERT?

On 30 November 2015 at 20:17, Tyler Grummett <tyler.grumm...@flinders.edu.au
> wrote:

> Hello Lyx,
>
>
> Im having a problem when using threeparttablex with longtables. In order
> to see the table I am working with, I have chosen to use ERT code to
> \begin{ThreePartTable} and then \begin{TableNotes}  \end{TableNotes}
> etc then ive inserted a table and made it a long table.
>
>
> Everything works if you just put in the ERT code \end{ThreePartTable}, but
> then there are no actual table notes. I cant work out where to put the ERT
> code \insertTableNotes. According to the documentation, it needs to be
> inside the longtable, but I cant work out how to do it without getting an
> error \misaligned etc.
>
>
> Please help.
>
>
> Tyler
>
>
> *
>
> *Tyler Grummett ( BBSc, BSc(Hons I))*
> *PhD Candidate*
> *Brain Signals Laboratory*
> *Flinders University*
> *Rm 5A301*
> *Ext 66125*
>



-- 
John Kane
Kingston ON Canada


Re: LyX with NewTXMath unable to load metric data

2015-11-04 Thread John Kane
I would second Guillaume Munch's suggestion.  Lyz is a bit fussy but once
working preforms well.

On 4 November 2015 at 18:15, Guillaume Munch <g...@lyx.org> wrote:

> Le 04/11/2015 22:46, Robert Susmilch a écrit :
>
>> Dear List,
>>
>> I have been doing quite a few papers in LyX, and tried switching to
>> LibreOffice for Zotero integration, however the math and figure placement
>> drove me up the wall so badly, I came back to LyX/LaTeX, cheated, and
>> entered
>> my citations and references manually via cut and paste.
>>
>> I have looked at several fonts, and like Libertine, however I cannot get
>> Libertine to work for the math font.
>>
>> At first libertine would not show up as installed in LyX, but a reboot may
>> have fixed that. It now shows up under math font. However, even a basic
>> document gives me an error while trying LuaTex:
>>
>> ! Font \=zxxrl7z at 10pt not loadable: metric data not found or bad.
>> 
>> relax
>> l.11 This is a fancy equation $\sum
>>   _{i=1}^{\infty}b^{i}$.
>> I wasn't able to read the size data for this font,
>> so I will ignore the font specification.
>> [Wizards can fix TFM files using TFtoPL/PLtoTF.]
>> You might try inserting a different font spec;
>> e.g., type `I\font='.
>>
>>
>> This happens with Times New Roman and Garamond for the NewTX math font.
>> Euler
>> and Kurier both work (but are ugly IMHO.)
>>
>> PDFLatex gives a similar error, but complains that there is no font of
>> size
>> 8.8 pt loadable.
>>
>> XeXtex coplains about missing temp pdf.
>>
>> I have tried some suggestions of reinstalling texlive-collection-
>> fontsrecommended. I have wiped my preamble out and removed all loaded
>> modules
>> in document settings.
>>
>> This is all on a Fedora 22 system, using LyX  2.1.4.
>>
>> What am I missing?
>>
>>
> You are trying to use NewTXMath with the libertine option if I understand
> correctly. I don't know what goes wrong. But, have you tried the stix fonts
> with pdflatex (\usepackage{stix} in the preamble) ? Stix is self-contained,
> so you have to remove other font packages first, including math symbols, to
> try. I know a couple other fonts for text and math that give good results.
>
> For Zotero have you tried LyZ ? https://github.com/willsALMANJ/lyz
>
>
>


-- 
John Kane
Kingston ON Canada


Re: Forced line-break does not work in tables

2015-11-02 Thread John Kane
See Section 2.8.1 of the EmbeddedObjects help document.

I find the instructions a bit vague but if you place the cursor in the cell
where you want the text wrap (or select all the cells you want this for)
right-click, select More > Settings and set the column width ( top part of
the new window) you should get what you want.

On 2 November 2015 at 05:28, jezZiFeR <jezzi...@gmail.com> wrote:

> Hello,
>
> I use LyX 2.1.4 on OS X. When I try to insert a forced linebreak
> (strg+return) nothing happens, I get the line, that the command is
> disabled. How else could I insert line breaks in tables:
>
> Thanks
> Jess




-- 
John Kane
Kingston ON Canada


Re: Have trouble running Lyx 2.1.4 in Win10

2015-10-28 Thread John Kane
I believe that " MiKTeX you got" should read " MiKTeX you will get".

Michael is suggesting installing the complete MiKTeX.  It takes up a lot of
space but can be awfully useful when you need some obscure package to tweak
that last formatting problem. Otherwise you waste a lot of time loading
individual packages on an ad hoc basis.

On 28 October 2015 at 12:54, PhilipPirrip <p...@fizika.org> wrote:

> On 10/28/2015 05:33 AM, Michael Berger wrote:
>
>> You got errors in the first place because some packages were still
>> missing. By installing the complete content of MiKTeX you got every
>> single packag needed or not.
>> Michael
>>
>
> No, I never installed the complete content of MikTeX, I only had it
> downloaded before I started the installation (as I said).
>
>
>


-- 
John Kane
Kingston ON Canada


Re: Setting double-spaced output also causes double-spaced on-screen LyX display

2015-10-27 Thread John Kane
 I don't know if you have missed anything or not but one way to do this
seems to be to use the setspace package and a bit of ERT. A quick test
seems to indicate that \usepackage{setspace} in the preamble and a
|\begin{doublespacing} and \ end{doublespacing} before and after any text
in the article turns out a doublespaced PDF.

See
http://tex.stackexchange.com/questions/122487/linespacing-latex-for-just-a-few-lines


On 27 October 2015 at 01:58, Jerry <lancebo...@qwest.net> wrote:

> The journal to which I plan to submit a manuscript requires double
> spacing. So I went to Document -> Settings... -> Text Layout -> Line
> Spacing and selected Double. (I'm using Article (Standard Class).)
>
> This made the rendered PDF double spaced but much to my surprise, the LyX
> display also became double spaced! This is BAD. This is a lot WYSIWYG, not
> WYSISYM. Now I can see only half as much stuff in LyX and I have to scroll
> a lot etc.
>
> How can I make the LyX display maintain a nice compact appearance while
> still having a PDF that is double-spaced?
>
> More to the point of LyX design: Things under Document -> Settings seem to
> relate to how the _document_ looks, and things under LyX -> Preferences ->
> Look and Feel (on OS X) affect how LyX looks. So there should be a setting
> in Look and Feel for on-screen line spacing, separate from how the rendered
> output will look.
>
> Please tell me that I've missed something.
>
> I'm using a 2.2 beta.
>
> Jerry




-- 
John Kane
Kingston ON Canada


Re: Where is float figure* in tufte-book?

2015-10-26 Thread John Kane
How long is the caption? I have tried a figure with an 84 word caption and
it looks okay to me.  See attached pdf.

It may be that very long captions such as one sees in some medical (and
biology?) journals are just too long for a Tufte approach?

On 24 October 2015 at 20:37, Nikos Alexandris <n...@nikosalexandris.net>
wrote:

> Nikos Alexandris:
>
> > > Dear Tufte-LaTeX users,
>
> > > the example file "tufte-book.lyx" contains an example of the "float:
> > > Figure*", a full-width figure box.  I can't trace this anywhere in the
> > > (Insert) menus.
>
> > > Using LyX Version 2.1.4.  Any help highly appreciated.
>
> John Kane:
>
> > By my reading of the example it is just
> > Insert > Float > Figure, the only difference being where the caption is
> > placed.
>
> Exactly. A long caption will not (at least, it does not do for me) fit
> nicely.
>
> Nikos
>



-- 
John Kane
Kingston ON Canada


tufte.longcap.pdf
Description: Adobe PDF document


Re: Where is float figure* in tufte-book?

2015-10-24 Thread John Kane
By my reading of the example it is just
Insert > Float > Figure, the only difference being where the caption is
placed.

On 24 October 2015 at 17:41, Nikos Alexandris <n...@nikosalexandris.net>
wrote:

> Dear Tufte-LaTeX users,
>
> the example file "tufte-book.lyx" contains an example of the "float:
> Figure*", a full-width figure box.  I can't trace this anywhere in the
> (Insert) menus.
>
> Using LyX Version 2.1.4.  Any help highly appreciated.
>
> Nikos
>



-- 
John Kane
Kingston ON Canada


  1   2   3   4   5   6   7   8   9   10   >