Re: Creating a statement of account

2017-12-24 Thread Grahame Blackwood
Hi Rich

When I started using Scrivener, I didn't know about gnumeric or
spreadtab, but I've had Scrivener to hand (for about 30 years) and I
used it to do spreadsheety arithmetic in plain text files and in the
last 10 years in .tex files. This made it possible for me to have
typeset documents containing the results of calculations that
Scrivener had worked in the .tex files.  I suppose you use that which
you are most used to get the job done in the easiest way.

Cheers & Merry Christmas

Grahame



On 24 December 2017 at 17:10, Rich Shepard  wrote:
> On Sun, 24 Dec 2017, Grahame Blackwood wrote:
>
>> I don't use Lyx for invoices or any documents with calculations in them.
>> Instead I use Latex usually (depending on what I am doing) with the letter
>> class adapted for window envelopes and my header. Latex takes care of the
>> typesetting and a program called Scrivener looks after the arithmetic.
>
>
> Grahame,
>
>   Business A/P checks are processed and printed from GnuCash; personal
> checks are hand-written. All business invoices are LyX letters for
> professional services. When a project is on a retainer basis I invoice the
> initial retainer amount and provide a montly statement of the account, now
> using the KOMA-Script article class with spreadtab and longtable. When the
> retainer needs replenishing I send another letter invoice along with the
> statement. Other than A/P vendor payments which are physical checks sent via
> snail-mail, all other documents are transmitted as PDF attachements to
> e-mail messages. (I even recycle the bits!)
>
>   I recently learned that I could use gnumeric to track retainer payments
> and draws and have the results automatically reflected in the LyX article's
> table, but that involves another application. The spreadtab package will do
> the calculations directly.
>
> Happy holidays,
>
> Rich
>
>
>


Re: Creating a statement of account

2017-12-24 Thread Grahame Blackwood
Hi Rich

I don't use Lyx for invoices or any documents with calculations in them.

Instead I use Latex usually (depending on what I am doing) with the
letter class adapted for window envelopes and my header. Latex takes
care of the typesetting and a program called Scrivener looks after the
arithmetic. Scrivener is quite an old program, originally written for
CPM (it was on the Amstrad Joyce computer if you remember that) and
rewritten for MSDOS but it works well for me on Linux using dosemu. It
helps me to produce typeset documents such as payslips, remittance
advices and lots more - even annual financial statements.

Merry Christmas

Grahame

On 20 December 2017 at 22:32, Rich Shepard  wrote:
>   I'm trying to create an account statement for clients whom I invoice by
> time and expense and I'm missing something in my efforts. The statement is a
> running explanation of payments received and charges against those payments.
> I'm trying to use the invoice2 package, so far unsuccessfully.
>
>   The document class is KOMA article. At the top of the first page is my
> company letterhead (a .pdf file) in a titlehead environment, followed by a
> title (the name of the project or case).
>
>   The preamble contains:
>
> \date{}
> \usepackage{scrpage2}
> \usepackage{invoice2}
> \usepackage{longtable}
> \pagestyle{scrheadings}
>
>   Following the address (address environment) is a paragraph then the table
> which I understand should use the capabilities of the invoice2 package. I've
> not figured out how to make the table compatible with that package and would
> appreciate a clue stick. I can make the calculations outside the statement
> and enter results manually but would like to have the invoice2 package do
> this for me.
>
> Regards,
>
> Rich


Re: Using LyX for writing Internet RFCs

2012-05-07 Thread Grahame Blackwood
On Mon, May 07, 2012 at 04:54 PM, Nico Williams  wrote:

> from: Nico Williams 
> date: Mon, May 07 10:54 AM -05:00 2012
> to: lyx-users@lists.lyx.org
> subject: Using LyX for writing Internet RFCs
> 
> I love LyX.  I want two things it doesn't have/do today:
> 
>  - a vi editing mode (I looked at the list archives, I know this has
> come up before)
> 
> As for a vi editing mode, I'm guessing the only way it'd be added to
> LyX is if someone who wants it goes and does the dev work.  Sadly I
> don't have time to do that.  Someday, when I go write a book, I may do
> it, but not anytime soon :(
> 
> Nico
> --

me too!

G



Re: Float figures and wrapping text

2010-09-16 Thread Grahame Blackwood

On 15/09/10 20:20, Grahame Blackwood wrote:

Hi LyXers

I'm producing a document that needs some graphics to enliven the text. I
would also like the text to wrap round the graphics. However, as it
isn't an
academic document, the usual references, Figure 1, Figure 2 etc aren't
needed in the finished pdf.

Does anyone know if there is any way to prevent the references Figure 1,
2 etc appearing in the pdf?

Cheers

G


Hi LyXers

Thank you to Rob, Paul and Guenter for your solutions. They are just 
what I wanted to make my document less formal looking.


Cheers

G








Float figures and wrapping text

2010-09-15 Thread Grahame Blackwood

Hi LyXers

I'm producing a document that needs some graphics to enliven the text. I
would also like the text to wrap round the graphics. However, as it isn't an
academic document, the usual references, Figure 1, Figure 2 etc aren't
needed in the finished pdf.

Does anyone know if there is any way to prevent the references Figure 1,
2 etc appearing in the pdf?

Cheers

G



Re: Coloured section headings [solved]

2010-09-11 Thread Grahame Blackwood

On 11/09/10 10:03, Grahame Blackwood wrote:

Hi LyXers

I would like to have coloured section and subsection headings for a
document I am producing. I've tried the following document settings code
from Uwe Stohr's reply (11March10) to a similar request and it works
fine for numbered sections/subsections.

My question is, how do I adapt it for the starred version, ie no
section/subsection numbering? The colours are, at the moment, arbitrary.

\...@ifundefined{textcolor}
{\usepackage{color}}{}
% color the text of subsections green
\let\mySection\section
\renewcommand{\section}[1]{%
\mySection{\textcolor{green}{#1}}
}

% color the text of subsections blue
\let\mySubsection\subsection
\renewcommand{\subsection}[1]{%
\mySubsection{\textcolor{blue}{#1}}
}

Cheers

G



Hi All

Solved it.

I left the section headings unstarred in the text of the document and
then in Document settings, Numbering and TOC menu, turned off the
numbering using the slider bar.

Thanks for the code Uwe.

Cheers

G



Coloured section headings

2010-09-11 Thread Grahame Blackwood

Hi LyXers

I would like to have coloured section and subsection headings for a
document I am producing. I've tried the following document settings code
from Uwe Stohr's reply (11March10) to a similar request and it works
fine for numbered sections/subsections.

My question is, how do I adapt it for the starred version, ie no
section/subsection numbering? The colours are, at the moment, arbitrary.

\...@ifundefined{textcolor}
 {\usepackage{color}}{}
% color the text of subsections green
\let\mySection\section
\renewcommand{\section}[1]{%
 \mySection{\textcolor{green}{#1}}
}

% color the text of subsections blue
\let\mySubsection\subsection
\renewcommand{\subsection}[1]{%
 \mySubsection{\textcolor{blue}{#1}}
}

Cheers

G



Re: adding ConvTex to the LyX converters?

2010-02-03 Thread Grahame Blackwood
On Wednesday 03 February 2010 13:00:35 Liviu Andronic wrote:
> Does anyone have experience with it?

Hi Liviu

I use it about once per month to convert a report created in Lyx to OpenOffice 
but I find it chokes on some of Lyx's formatting and I have to run a vim script 
to remove or alter the offending code. 

The list of changes needed increases occasionally as new tables appear in the 
report.

The vim script I use is currently:


:%s/\\LARGE//eg 
:%s/\\Large//eg
:%s/\\large//eg
:%s/>{\\raggedright}p{2.3in}/l/eg
:%s/>{\\raggedright}p{2.6in}/l/eg
:%s/\\textrm//eg
:%s/\\textendash/ --- /eg
:%s/\\textquoteright/'/eg
:%s/\\textquotedoubleright/''/eg
:%s/\\newpage//eg

I run this script on the .tex produced by exporting the lyx file to latex. Then 
run ConvTex on the altered .tex file to produce a .sxw file that can then be 
read by OO.
 
A bit clumsy but it gets me the result I need.

Cheers

G






Re: Booklet headings

2008-04-02 Thread Grahame Blackwood
On Tuesday 01 April 2008 07:33:21 G. Milde wrote:
> You could try the scaling factor box for the individual fonts (instead of
> the global document fontsize), however this will give wrong proportions as
> it will not increase the spacing accordingly.

Hi Gunter

Thanks for the tip. When I looked, the scale factor box was greyed out. The 
penny eventually dropped and I changed the san serif default to another san 
serif font, in my case, helvetica and I could then change the scaling factor. 
As you say this gives wrong proportions on line spacing, but I found that a 
little adjustment of the line spacing produced a reasonable result.

Thanks again.

G




Re: Booklet headings

2008-03-31 Thread Grahame Blackwood
On Monday 31 March 2008 17:05:21 Rich Shepard wrote:
> On Mon, 31 Mar 2008, Grahame Blackwood wrote:
> > Is there anyway to do this properly so that standard text and
> > section/subsections are increased in size proportionally?
>
>    Documents -> Settings -> Fonts

Hi Rich

Thanks very much for the suggestion. I tried that but even when I have set the 
font to the maximum size i.e. 12 point, the print is quite small after the 
booklet package has reduced an a4 sheet of text down to a5 size. What I would 
like to achieve is a result that looks like 12 point on an a4 sheet, but 
after it has been reduced by the booklet package to fit on a5 paper. The ERT 
method I used worked, but was a compromise since I didn't want the standard 
text to be bigger than the section headings. 

Cheers

G





Booklet headings

2008-03-31 Thread Grahame Blackwood
Hi All

I printed a little booklet of reports this year in a5 style and using the 
booklet package. 

I set the font at size 12 but when I printed the booklet the font size shrank 
to the point where some readers would need a magnifying glass to read it. 

So I put an ERT \begin{large} in at the beginning to increase the font size 
and
closed with another ERT \end{large} and it worked --- at least partially.
Standard text increased in size, but section and subsection headings were not
changed. 

Is there anyway to do this properly so that standard text and
section/subsections are increased in size proportionally?

Cheers

G





ConvTex

2007-09-28 Thread Grahame Blackwood
Hi All

Does anyone use ConvTex to convert from LyX to OpenOffice via Latex? 
(see http://wiki.lyx.org/Tools/LyX2OpenOffice) 

When I do this, I find that % signs in the .tex file (exported from LyX) are 
ignored when the file is converted to an OpenOffice .sdw file.

Has anyone else found this minor problem and is there a cure?

I am using LyX 1.5.1 on PCLinuxOS.

Cheers

G





Re: On the fly spellcheck?

2007-08-11 Thread Grahame Blackwood
On Saturday 11 August 2007 19:06:49 Richard Heck wrote:
> Rather, I think
> instant spellcheck distracts from the process of writing.

I agree with this. A spell checker highlighting in some way, anything it does 
not understand, is most distracting and too easily breaks the thread of 
thought. Much better, in my view to treat spell checking as a separate task. 
That way you can do a global rejection of any offered correction of something 
that is actually exactly what you wanted, or perhaps, add something to your 
personal dictionary.

Cheers

G





Re: Table column width

2007-07-04 Thread Grahame Blackwood
On Tuesday 03 July 2007 21:11:02 Paul A. Rubin wrote:
> No problem.  Stop back here if 1.4.4 does the same (unlikely, but then I
> never saw this with 1.4.2).

Hi Paul and others following this trail.

I removed 1.4.2 and tried to install 1.4.4. It didn't install. However, I 
noticed that I had LyX-GTK 1.4.2 installed and this seems to be what I was 
using. Removing that and installing the non-GTK version of LyX 1.4.2 has 
solved the problem.

A problem resolved and grateful thanks to all.

Cheers

G



Re: Table column width

2007-07-03 Thread Grahame Blackwood
On Tuesday 03 July 2007 19:28:15 Paul A. Rubin wrote:
> open the LyX file in a text editor and change one of
> those zeros to, say, "2cm", when LyX opens the file is the column width
> retained?

Hi Paul

Thanks for trying, but even changing the table specifications with a text 
editor does nothing when I return to LyX. I noticed in LyX Tables Setting 
dialogue that after making changes and then exiting without saving, it did 
not alert me to save the file. So that particular dialogue must be faulty, at 
least for me. No help for it, I'll upgrade to 1.4.4.

Cheers and many thanks for taking a look at it for me.

G



Re: Table column width

2007-07-03 Thread Grahame Blackwood
On Tuesday 03 July 2007 15:02:49 Paul A. Rubin wrote:

> Can you post a small example file?  Maybe there's something in the file
> causing a problem (doubtful, but you never know).
>
> /Paul

Attached is a small table with three columns. No matter what I do in the table 
settings dialogue, the beginning of the tabular environment in the LyX file 
reads:









I suspect that if the dialogue had worked and I had set the widths of each 
column to say 1,2 and 3cm then these values would be shown above instead 
of "0".

Cheers

G




columnwidth.lyx
Description: application/lyx


Re: Table column width

2007-07-03 Thread Grahame Blackwood
Hi Steve, Paul and Uwe

Thanks for your suggestions. Unfortunately I haven't had any success so far 
with them.

Steve, pressing ENTER after setting the column width as 6cm still didn't work. 
Whatever I do in this dialogue box in relation to the fixing the width, ie 
clicking on the check box and then entering the width as integer cm, just 
does not 'stick'. I wonder should there be an 'Apply' button on this dialogue 
(as with many others) instead of just a 'Close' button?

Paul, as you may have gathered I did use an integer width to no avail. I tried 
p in the Latex argument field to see whether it made any difference. Again 
no, and I wonder how this field is intended to be used.
I've asked PCLinuxOS to upgrade their repository version of LyX to 1.4.4.

Uwe, I read the EmbeddedObjects documentation after copying the .lyx file into 
Kile, saving it as a .lyx file and then processing it to produce the .pdf 
locally.  (The reason for this roundabout procedure was that the .pdf version 
insisted that I have Adobe Acrobat 7.0, which I haven't, so it wouldn't play 
and when I opened the .lyx  file, it wouldn't let me save it to file. At 
least there are workarounds.) On reading the manual, I think I am still doing 
the obvious procedure recommendation/implication in the manual. Perhaps I 
need to put something in the preamble to make the dialogue box work properly? 

Thanks again, and perhaps I'll try entering tables with an ert.

Cheers

G


>
> I'm pretty sure I know. After changing the number in a column width field
> of the dialog box, you MUST PRESS ENTER. Clicking a button is not enough,
> you must press enter.
>
> It's one of the most bizarre user interfaces in the world, but considering
> that so much of LyX is engineered *just right*, I guess we can live with
> this bizarity.
>
> SteveT
>
> Steve Litt
> Author: Universal Troubleshooting Process books and courseware
> http://www.troubleshooters.com/





Table column width

2007-07-02 Thread Grahame Blackwood
Hi

I am trying to set the width of a column in a table, but no matter what I do, 
it refuses to work. 

I think I have followed the instructions in the manual, trying repeatedly with 
the menu Edit>Table Settings or right-clicking within the column and setting 
the Width to the required value, and also entering 'p' in the Latex code 
field. Every time I close the dialoge box and open it up again the settings 
have disappeared.

Any ideas as to what I am doing wrong?  Help would be very much appreciated.

I am using LyX 1.4.2.