Layout to enter a Variable

2020-05-06 Thread Dr Eberhard Lisse
Hi, in the Koma Letter variant I can generate a Local Layout to generate an "Entry Field" with the label in colour and the content reusable as ERT in the Text. If I try something similar in the Koma Article, it does not show the Label and centers the field. Is there a way of doing this in LyX?

Re: Module allocating variable in preable

2019-02-26 Thread Steve Litt
On Tue, 26 Feb 2019 11:22:37 -0500 Richard Kimberly Heck wrote: > Please reply to the list. Please also do not top post, but append your > response where it naturally goes. And one more thing: Delete all irrelevant quoted text. Before your final response replace any deleted text with [snip]. Aft

Re: Module allocating variable in preable

2019-02-26 Thread Richard Kimberly Heck
Please reply to the list. Please also do not top post, but append your response where it naturally goes. On 2/26/19 1:35 AM, Christian wrote: > Sorry, but I don't see how this solves the problem. This solution > assumes that the variable allocation is always fixed, so that loading &

Re: Module allocating variable in preable

2019-02-26 Thread Kornel Benko
of Last Menstruation > in ISO format in the Red LMP: field in the LyX GUI and at PDF generation > \EDD{\LMP} makes the Expected Date of Delivery appear automatically > whereas \CUTOFF{\LMP} produces the Friday nearest to 24 weeks of > pregnancy. > > This (accessing LUA (or

Re: Module allocating variable in preable

2019-02-26 Thread Dr Eberhard Lisse
e: > Am Dienstag, 26. Februar 2019 01:35:52 CET schrieb Christian > : >> Sorry, but I don't see how this solves the problem. This solution >> assumes that the variable allocation is always fixed, so that loading >> the module would be equivalent to have a set of variab

Re: Module allocating variable in preable

2019-02-25 Thread Kornel Benko
Am Dienstag, 26. Februar 2019 01:35:52 CET schrieb Christian : > Sorry, but I don't see how this solves the problem. This solution > assumes that the variable allocation is always fixed, so that loading > the module would be equivalent to have a set of variables > automatic

Re: Module allocating variable in preable

2019-02-25 Thread Steve Litt
On Tue, 26 Feb 2019 01:35:52 -0500 Christian wrote: > Sorry, but I don't see how this solves the problem. This solution > assumes that the variable allocation is always fixed, so that loading > the module would be equivalent to have a set of variables > automatically allocated

Re: Module allocating variable in preable

2019-02-25 Thread Christian
Sorry, but I don't see how this solves the problem. This solution assumes that the variable allocation is always fixed, so that loading the module would be equivalent to have a set of variables automatically allocated by "% some stuff to go in the preamble". This is not what I was

Re: Module allocating variable in preable

2019-02-22 Thread Richard Kimberly Heck
On 2/22/19 12:35 AM, Christian wrote: > Hello, > > I am trying to code a module that allocates a variable in the > preamble. More specifically, I am using a package that requires to > allocate a variable in the preamble. For example, if the package is > called "thepacka

Module allocating variable in preable

2019-02-21 Thread Christian
Hello, I am trying to code a module that allocates a variable in the preamble. More specifically, I am using a package that requires to allocate a variable in the preamble. For example, if the package is called "thepackage" and the variable is called "myvariable" my LaTeX code

Re: Need to define a macro/variable in the command line

2014-11-06 Thread Ramon Casha
Thanks, that sounds like one option. Currently I'm experimenting with the "include child document", setting type to "include" and inserting a plain text file as the document. I can then write some text to the file just before generation. This seems to work. Ramon Casha On 6 November 2014 14:17,

Re: Need to define a macro/variable in the command line

2014-11-06 Thread Rainer M Krug
Ramon Casha writes: > I have a LyX document from which I want to generate a number of output > documents from the command line. The output documents vary in small > details, like a product name or a recipient name. > > Is it possible to define a macro or change its value from the command line? >

Need to define a macro/variable in the command line

2014-11-06 Thread Ramon Casha
I have a LyX document from which I want to generate a number of output documents from the command line. The output documents vary in small details, like a product name or a recipient name. Is it possible to define a macro or change its value from the command line? I could then use the macro from w

Re: Variable to be used from Lyx in the LaTeX text

2014-01-07 Thread Dr Eberhard W Lisse
Ok, thanks. I'll have a look and if I can't figure it out I'll ask again. el Sent from Dr Lisse's iPad mini > On Jan 7, 2014, at 18:55, Liviu Andronic wrote: > >> On Tue, Jan 7, 2014 at 5:16 PM, Richard Heck wrote: >> >> This is what layout files are for. Find the file stdletter.inc on your

Re: Variable to be used from Lyx in the LaTeX text

2014-01-07 Thread Liviu Andronic
On Tue, Jan 7, 2014 at 5:16 PM, Richard Heck wrote: > > This is what layout files are for. Find the file stdletter.inc on your > system and have a look at that. The syntax is explained in Ch 5 of the > Customization manual. Ask here if you get confused. This isn't hard but > takes a little doing.

Re: Variable to be used from Lyx in the LaTeX text

2014-01-07 Thread Richard Heck
wonder how I would create another variable (such as PS/CC/Encl) in the drop down menu so it appears at the top of the LyX text. This is what layout files are for. Find the file stdletter.inc on your system and have a look at that. The syntax is explained in Ch 5 of the Customization manual. Ask

Variable to be used from Lyx in the LaTeX text

2014-01-07 Thread Dr Eberhard Lisse
Hi, I have designed me a few form letters, and in one I need to use a date repeatedly in the text. It is a bit of a nuisance to have to look for the date throughout the text. I can put in LaTeX variables and enter the value in the preamble but wonder how I would create another variable (such as

variable margin width in texts

2007-12-14 Thread Ad Meskens
Hi, I want to use several child documents. In two of them the margin settings should be different than in the rest of the text. I haven't found how to do this, other than adding two pdf-documents after they are generated. I would like LyX to do this. Is there a possibility of changing the margi

Re: Question about bibtex and BIBINPUTS environment variable

2007-02-14 Thread Richard Heck
If you could put together a minimal test case, we might be able to make some progress here. It seems that LyX may misuse the BIBINPUTS variable, perhaps searching underneath that directory? You might also try running LyX with debugging enabled (see lyx -dbg). Richard Jim Rockford wrote: > I

Question about bibtex and BIBINPUTS environment variable

2007-02-11 Thread Jim Rockford
I use lyx 1.4.3 with linux (Fedora Core 5), and in the past have found it useful to define the environment variable BIBINPUTS = /home/jim/my_bibfiles My impression was that this allowed bibtex by default to search for .bib files in this particular directory, so that when it came to adding .bib

Box environment with variable label

2006-06-13 Thread Steve Litt
Hi all, I've created a breakout box environment so that the box title is passed to the LaTeX environment. However, I don't know how to make it so that I can specify the box title to the LyX environment. As a temporary (or maybe not so temporary) kludge, I have the LyX environment call the LaTeX

Getting rid of the "parameters" variable in the External Inset

2003-06-03 Thread Angus Leeming
be processed by the LaTeX compiler for example.) The converter is hard-coded within the template definition but you have the ability to tune its behaviour using the "parameters" variable that you can set in the External dialog. At least that's the idea. In practice, however, the im

Re: Variable spacing

2001-10-16 Thread Herbert Voss
Rich Shepard wrote: > > I'm working on my first serious LyX document: a paper that I'll be > presenting next year at a professional society meeting. It has five major > parts which I designated as "*parts". But, when I view the postscript > output, I see that the spacing between sections/subsct

Variable spacing

2001-10-15 Thread Rich Shepard
I'm working on my first serious LyX document: a paper that I'll be presenting next year at a professional society meeting. It has five major parts which I designated as "*parts". But, when I view the postscript output, I see that the spacing between sections/subsctions varies, particularly towar

Re: Variable

2000-11-19 Thread Andre Berger
Andre Berger <[EMAIL PROTECTED]> writes: > Hi, > > in which variables the current window name and of the working > directory the corresponding file are stored? (Like $$FName) > > Thanks, > > Andre Sorry, my cut and paste had its own will. I mean, I need the variables for - the name of the c

Variable

2000-11-19 Thread Andre Berger
Hi, in which variables the current window name and of the working directory the corresponding file are stored? (Like $$FName) Thanks, Andre

Re: [lyx-users] Use of _ in variable names in math mode.]

1999-12-06 Thread Herbert
"Bobby D. Bryant" wrote: > > I am setting some equations that refer to the handling of some data that > my readers will be familiar with, so I would like to use the actual > variable names produced by a certain simulator. Some of the variable > names have underscores e

[lyx-users] Use of _ in variable names in math mode.

1999-12-06 Thread Bobby D. Bryant
I am setting some equations that refer to the handling of some data that my readers will be familiar with, so I would like to use the actual variable names produced by a certain simulator. Some of the variable names have underscores embedded in them, e.g. dl1.miss_rate. However, when I try to