Margins

1999-10-13 Thread lloy0076


Hi!

I use LyX Version 1.04. I built it using the make file generated by
automake/autoconfig. It installed quite well. However, I have a small
problem but can't determine whether it is LyX's fault or something else.

Here are my specifications:

* the printer is a Hewlett Packard DeskJet 600; I'm running it as a post
script enabled printer. Star Office and Netscape print successfully to
it

* I'm running RedHat 6.0 stock kernel custom rebuilt

* I run GNOME and Enlightenment

* I use A4 paper

My problem is this:

I create a document using the "Linux Document" format. I then convert
the document to post script and view it with gv. I can guaranteee that
the bottom paragraph simply "dissapears". I suspect it's being printed
below the bottom of the A4 sheet.

I have tried the following unsuccesfully:

* increasing the bottom margin using layout to 1 inch, 2 inches and even
further

* manually entering the size of the A4 paper into the paper dialog

* saving as sgml, converting to latex, converting from latex to dvi,
converting from dvi to ps (majorly round about but anything's worth a
try at least once)

* coping, but telling the program printing the paper size

I find LyX an excellent program except it will be absolutely useless to
me if I can't fix this problem. Has anyone any suggestions?

DL

-- 
Subscribe to the Linux C Mailing Lists Today!
  mailto:[EMAIL PROTECTED]
  http://users.senet.com.au/~lloy0076/linux_c_programming/index.html



Re: Margins

1999-10-14 Thread lloy0076

Juergan and All:

> Could you send an example file? It's a bit hard to guess what's wrong
> only from your comments :)

I have attached a sample file. On this particular file section 1.2
doesn't print at all. Furthermore it's touch and go whether the headers
print either.

DAVID 
-- 
Subscribe to the Linux C Mailing Lists Today!
  mailto:[EMAIL PROTECTED]
  http://users.senet.com.au/~lloy0076/linux_c_programming/index.html

#This file was created by  Thu Oct 14 14:36:50 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass linuxdoc
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title
\added_space_top vfill \added_space_bottom 0.3cm 
Developing a 
\begin_inset Quotes eld
\end_inset 

Hello World!
\begin_inset Quotes erd
\end_inset 

 Application in C with Linux 
\layout Author

David Lloyd
\layout Date

14 September 1999
\layout Abstract

ABSTRACT
\layout Abstract

This document aims to introduce readers to the most basic of all programs
 - the classical 
\begin_inset Quotes eld
\end_inset 

Hello World!
\begin_inset Quotes erd
\end_inset 

 program.
 In doing so it will introduce readers to a number of important programming
 constructs, concepts and data types.
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Section

Developing a 
\begin_inset Quotes eld
\end_inset 

Hello World!
\begin_inset Quotes erd
\end_inset 

 Application in C with Linux
\layout Subsection

This document's objectives
\layout Standard

This document aims to introduce you to the C programming language, a small
 part of its history, some of its structure and short-comings and, of course,
 your very first program.
 Here is the outcome of that program:
\layout Standard

# ./hello
\layout Standard

Hello World!
\layout Standard

#
\layout Standard

Whilst this program is not at all exciting it will introduce you to a number
 of important concepts and topics in C.
 
\layout Subsection

What you will learn
\layout Standard

By the end of this tutorial you will be able to:
\layout Itemize

understand the basis of all C programs
\layout Itemize

understand the concept of standard libraries and C headers
\layout Itemize

explain what a function is and understand its structure/syntax
\layout Itemize

write to standard output using printf
\layout Itemize

exit gracefully from the main function
\layout Itemize

create and compile the program using tools supplied with virtually all linux
 distributions
\layout Section

Requirements
\layout Standard

This section shows the hardware and software requirements necessary to develop
 your first 
\begin_inset Quotes eld
\end_inset 

Hello World!
\begin_inset Quotes erd
\end_inset 

 application.
 In addition, it also specifies what the author assumes you already know.
\layout Subsection

Hardware and software requirements
\layout Standard

You will need the following to be able to produce the program outlined in
 this document:
\layout Itemize

linux
\layout Itemize

gcc or egcs
\layout Itemize

gmake
\layout Itemize

vi, pico, joe or emacs (any text editor will do)
\layout Standard

The author cannot think of a hard-drive installation of linux which would
 lack these tools.
 Most users can assume that they all exist on their system.
\layout Subsection

Assumed knowledge
\layout Standard

The following knowledge is assumed:
\layout Itemize

basic knowledge of the linux operating system
\layout Itemize

basic computer knowledge, such as what a computer is, what a program is
\layout Itemize

an understanding of linux file permissions (read, write and execute)
\layout Itemize

how to use the text editor of your choice
\layout Standard

As you have managed to obtain this document, the author feels that these
 are reasonable assumptions.
\layout Subsection

What do I do if
\layout Standard

Please go to this address: http://www.linux.org.
 This is the American Linux User Groups' home pages.
 There are sections for new users of linux through to experienced users
 of linux.
 Read the many and varied FAQs.
 Consider joining a local linux user group's mailing list to ask more detailed
 questions.
\layout Section

An Overview of C
\layout Standard

This section gives a brief overview of the C programming language.
 First it gives a short history of the language, a brief description of
 the language and a brief discussion of C's shortcomings.
\layout Subsection

History of C
\layout Standard

In 1965, the MIT had sponsored a project codenamed Project MAC.
 Co-funded by General Electric and Bell Labs, two talented programmers Thompson
 and Ritchie began to prod

Re: Margins

1999-10-14 Thread lloy0076


Juergan et al:

> IMO you should revise your config.ps of the dvips installation, if
> it contains A4 paper informations. I can print and view this file
> without any problems!

I probably should. I am currently working elsewhere at the moment with
StarOffice and such so it's not an urgent necessity. I will report the
results when I can...

DL
-- 
Subscribe to the Linux C Mailing Lists Today!
  mailto:[EMAIL PROTECTED]
  http://users.senet.com.au/~lloy0076/linux_c_programming/index.html



Re: Margins [HOW DO I STOP THIS DAMNED MESSAGE]

1999-10-18 Thread lloy0076

lloy0076 wrote:
> 
> Juergan and All:
> 
> > Could you send an example file? It's a bit hard to guess what's wrong
> > only from your comments :)
> 
> I have attached a sample file. On this particular file section 1.2
> doesn't print at all. Furthermore it's touch and go whether the headers
> print either.
> 
> DAVID
> --
> Subscribe to the Linux C Mailing Lists Today!
>   mailto:[EMAIL PROTECTED]
>   http://users.senet.com.au/~lloy0076/linux_c_programming/index.html
> 

AAARGHGHGHGGH!

I don't know what's going wrong. This message keeps resending. I have:

1) checked my nsmail directory and it's not contained in any of my
unsent or draft folders (I use Netscape to coordinate my mail messages)

2) resent this message to ISP to see what they say about it

Can the list manager please tell me what's wrong?

DL
-- 
Subscribe to the Linux C Mailing Lists Today!
  mailto:[EMAIL PROTECTED]
  http://users.senet.com.au/~lloy0076/linux_c_programming/index.html