Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If no definition exists for statement or argument, assign section of first reference #65

Closed
cwkit opened this issue Sep 20, 2018 · 3 comments

Comments

@cwkit
Copy link

cwkit commented Sep 20, 2018

# Header

<ArgumentA>: Argument A

    (1) [A]: Text
    (2) [B]: Text
    ----
    (3) [C]: Text
# Header

<ArgumentB>:  Argument B

    (1) [A]: Text
    (2) [B]
    ----
    (3) [C]: Text

In Argument A, the Argument and all Statements are grouped in # Header. (when creating the Map)
In Argument B, Statement B is not grouped in # Header.

It seems that Statements and Arguments that have no explanatory text are always grouped outside of the respective header.

@christianvoigt
Copy link
Owner

I think I remember what you meant even if the above example is not really working (please use correct code fences for Argdown snippets). If I remember correctly the following is a minimal example for your issue:

# Group 1

<A>: Some description
   - <B>

In this case argument A belongs to Group 1 while argument B does not. This is actually the consequence of the current rules regarding group assignment (refer to the documentation for further details): Arguments belong to the group of their assigned premise-conclusion-structure or to the group in which they are first defined (with a title and and argument description). If the document contains neither a definition nor a premise conclusion structure (pcs) for the argument, but is only referred to by a title, the argument will belong to no group.

Maybe the rules have to be changed so that an argument that has neither pcs nor definition will still be assigned to the group in which it is first referenced.

Is this what you meant?

@cwkit
Copy link
Author

cwkit commented Oct 15, 2018

I raised this issue after we discussed this specific example and your first reaction was that argdown isn't doing what it's supposed to do. You are right, it is probably best understood as a feature request because the current rules are supposed to group the statements as described.
While it is somewhat unintuitive that a statement or an argument that is first referenced in a group is not assigned to that group, one could argue that a statement or argument without explanatory text shouldn't be named in the first place.

@christianvoigt
Copy link
Owner

I will leave this open for now. I think it is a legitimate point that this is unintuitive. On the other hand I do not think it is important enough that we should postpone the 1.0 release for it.

@christianvoigt christianvoigt changed the title Grouping of Statements depends on Text If no definition exists for statement or argument, assign section of first reference Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants