Skip to content

Hook to include comments #312

@dmadisetti

Description

@dmadisetti

This is likely a won't-fix as it is particular to certain review software.

However, some collaborative editors like overleaf allow for "external comments". Packages like comment allow for annotations viewable in most readers.

latexdiff seems great for isolating text across the markup, is there any reasonable way to hook in and automatically add these comments? Flexible on the input, but here's an example of a json comment dump from overleaf:

{
  "comments": [
    {
      "id": "6484839c1d760c36e6000001",
      "op": {
        "c": "The text that is highlighted, with first character at 15233",
        "p": 15233,
        "t": "6484839c1d760c36e6000001"
      },
      "metadata": {
        "user_id": "539f53e5eef2f999414858da",
        "ts": "2023-06-22T17:23:44.167Z"
      }
    }
  ],
  "threads": {
    "6484839c1d760c36e6000001": {
      "messages": [
        {
          "id": "539f53e5eef2f999414858da",
          "content": "Message content of the thread",
          "timestamp": 1687454622182,
          "user_id": "539f53e5eef2f999414858da",
          "user": {
            "id": "539f53e5eef2f999414858da",
            "email": "user"
          }
        }
      ],
      "resolved": true,
      "resolved_at": "2023-06-22T17:23:45.067Z",
      "resolved_by_user_id": "539f53e5eef2f999414858da",
      "resolved_by_user": {
        "id": "539f53e5eef2f999414858da",
        "email": "user"
      }
    },
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    On holdWaiting for more input from reporter

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions