passamo9 / LaTeX_EnglandWales_Templates

GNU Affero General Public License v3.0
9 stars 4 forks source link

[enhancement] Support for contracts #17

Open bond7o6 opened 3 years ago

bond7o6 commented 3 years ago

Just adding this here to keep track of it. Discussed within #15 (don't know how to reference a specific comment) and at reddit, discussing etoolbox.

Any suggestions and ideas for it can be commented below, or make a new issue.

passamo9 commented 3 years ago

Thanks @bond7o6! I'm really happy you started this.

Giebisch commented 3 years ago

What would it be used for ?

passamo9 commented 3 years ago

@Andonome suggested the following on reddit:

Let's say you want to sell cars, some of which come with a cd player, and some of which have insurance. The insurance policy might then talk about the cd player.

\newtoggle{insurance}
\settoggle{insurance}{true}
\newtoggle{cdplayer}
\settoggle{cdplayer}{true}

\iftoggle{insurance}{This car comes with insurance
\iftoggle{cdplayer}{which covers the cd player}{.}
}{This car does not have any insurance}

/u/Andonome wrote:

This would show the sentence 'this car comes with insurance which comes covers the cd player', but if 'cd player' is set to 'false' then it removes just that part. If there are 5 things which might be true or false, that's 32 different total contracts possible, but with \iftoggles we can just keep one contract, then turn the toggles on and off. The toggles can change any number of statements, and statements within statements.

I just want to make sure that we log this idea so that we can develop it soon.

Giebisch commented 3 years ago

Just to clarify: I know what the package does, I'm just not sure what we can use it for ?

yjyao commented 3 years ago

Just to clarify: I know what the package does, I'm just not sure what we can use it for ?

in the example about they have contracts where depending on a few conditions should be phrased differently.

i think this is more like a nice-to-know. if authors would like to do this in their docs, they can do it. i don't see anything to add to the packages.

also, a tip on \iftoggle, it doesn't handle spacing as smart as the comment environment. so a \iftoggle{false}{b}{} c results in a<space><space>c. see my comment on this topic earlier.

Giebisch commented 3 years ago

i don't see anything to add to the packages

Me neither, so I don't think this should be an issue. Also I'm not sure how important this would be for lawyers who don't have that much experience with LaTeX. Either way, maybe move this here to later be added to the docs.

passamo9 commented 3 years ago

This is something to do later on when there's more buy-in from more lawyers that have more experience with contracts.

In the meantime, talking about this is great for future reference!

Andonome commented 3 years ago

I've stuck in etoolbox as I proposed it for a private contract before in order to save having different versions.

I wonder if there are any documents of this sort which are public, so we could see what a finished result is meant to look like, at least in term of content?

passamo9 commented 3 years ago

Content-wise, here is one example of content: Data Processing Agreement.

Please let me know if that is helpful

Andonome commented 3 years ago

Perfect. GDPR is the only full legal document I've ever read.

Correct me if I'm wrong, but I suspect that the documents start with 'Bob's Bits, hereafter known as "The Company"', in order to reuse contracts without modification?

If there's no legal requirement, then one could use \company (the LaTeX command), and have LaTeX write in the actual name of the company at all points.

passamo9 commented 3 years ago

but I suspect that the documents start with 'Bob's Bits, hereafter known as "The Company"', in order to reuse contracts without modification?

Yes, that's correct!

If there's no legal requirement, then one could use \company (the LaTeX command), and have LaTeX write in the actual name of the company at all points.

Better to just keep "Company" during the whole contract. Sometimes for 'construction' (in the legal sense) it's better to leave Company in.

Perhaps even better is to use \undertaking and call it Company (in short, in EU law, an Undertaking is any entity that has economic activity. For GDPR, economic activity means any non-household use of data (see Jehovah's Witness case, 2018ish). If you call it \undertaking Company, a non-company can go back and change it to, e.g. Charity, Unincorporated Association, etc.) Thus, a user will be able to change the undertaking name from Company to e.g. Charity. Hope that's clear.

Thanks so much!!

Andonome commented 3 years ago

You can check the curren gdpr branch here.

Its' not finished yet, so I won't submit a pull request, but if you want to check it out, just compile, then change the undertaking, and type, and such.

Andonome commented 3 years ago

data_sharing.pdf

There's an example of the first couple of pages. I'll just check the formatting's what people are after before proceeding.

Night all.

passamo9 commented 3 years ago

Hi @Andonome, I can't find the GDPR branch that you mention in this comment.

I mentioned this to @yjyao, who suggested that I start an issue

Andonome commented 3 years ago

I can't make changes to your repo, so I've made my own fork ('copy') here:

https://github.com/Andonome/LaTeX_EnglandWales_Templates/tree/gdpr

yjyao commented 3 years ago

explanation for @passamo9 : this fork/copy @Andonome mentioned is what is being reviewed in #31.