Search found 29 matches

by Pangur
Sun Oct 13, 2019 1:44 pm
Forum: General
Topic: Help with \if please
Replies: 1
Views: 5195

Help with \if please

I have realised that I do not need an \if ... \fi suite here. It has become obvious to me that it does not do anything for me, and that I do not require it.

All I need is:

{\DTLfetch{litdays}{soy}{\publicationdate}{special}}

and it is sufficient.

Sorry for not working this out before I posted ...
by Pangur
Fri Oct 11, 2019 3:40 pm
Forum: General
Topic: Help with \if please
Replies: 1
Views: 5195

Help with \if please

I have this piece of code which fetches from a file the title of a particular Sunday depending on the church calendar. (E.g., Easter, First Sunday of Epiphany, etc.) The sheet consists of various fields, where the field called "special" is the title of the day (e.g., "Candlemas" --- if the date is ...
by Pangur
Sun Sep 29, 2019 2:44 pm
Forum: General
Topic: datetime2 showdow
Replies: 6
Views: 7308

datetime2 showdow

Thanks for elucidating your previous comment. I take your point, and my approach is now guided by your advice. Thus, I am opting for the recommended way of doing things. At least I have an alternative to try, should I encounter further problems.
by Pangur
Sun Sep 29, 2019 1:57 am
Forum: General
Topic: datetime2 showdow
Replies: 6
Views: 7308

datetime2 showdow

Thanks. I had not noticed \DTMsetup{showdow=false}, but will probably stick with \DTMshowdowfalse, as it is more compact. However, it is good to have an alternative.

Thanks too for the tip about examining the source code as well as reading the documentation.

Calum
by Pangur
Sat Sep 28, 2019 6:04 pm
Forum: General
Topic: datetime2 showdow
Replies: 6
Views: 7308

datetime2 showdow

\DTMshowdowfalse was exactly what I needed, @rais.

What I am wondering is if that information that you supplied is documented somewhere, and I have missed it? Or is it simply something that a person who knows LaTeX well or the datetime2 package well would know instinctively?

Anyway, I am grateful ...
by Pangur
Fri Sep 27, 2019 5:48 pm
Forum: General
Topic: datetime2 showdow
Replies: 6
Views: 7308

datetime2 showdow

I produce a booklet which has the date of publication on the front, and inside a list of forthcoming dates that are calculated automatically using datatime2 calc using default of showdow=true.

(a) Inside that works well, as the NAME of the day of the week alongside the date is a helpful check that ...
by Pangur
Thu Sep 26, 2019 1:05 am
Forum: General
Topic: \DTLpar height
Replies: 5
Views: 6254

\DTLpar height

I have now removed \DeclareRobustCommand{\DTLpar}{\par}, as I note that it is not required.
by Pangur
Sat Sep 21, 2019 1:49 pm
Forum: General
Topic: \DTLpar height
Replies: 5
Views: 6254

\DTLpar height

@Ijon Tichy, thanks very much for your help.

In the preamble, I added:

\DeclareRobustCommand{\DTLpar}{\par}

In the page, I have put:

{
\setlength{\parskip}{0\baselineskip plus 2pt}
\newcommand{\pubcoll}{\bliadhna-\mios-\latha}
\DTLfetch{goirid}{soy}{\pubcoll}{collect}
}

That did exactly ...
by Pangur
Sat Sep 21, 2019 9:56 am
Forum: General
Topic: \DTLpar height
Replies: 5
Views: 6254

\DTLpar height

I grateful for this helpful advice that you have given me, with several options. I shall try them and report back, probably later today.
by Pangur
Sat Sep 21, 2019 1:28 am
Forum: General
Topic: \DTLpar height
Replies: 5
Views: 6254

\DTLpar height

I have a text-based data file that contains the text of short prayers called collects. There is one for each Sunday of the year. The file contains dates in the left hand column, and the collects in the right hand column.

Using the datatool package, the template for a booklet I produce weekly for ...