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

Word Doc No Running Head #104

Open
jgeller112 opened this issue Jan 3, 2025 · 8 comments
Open

Word Doc No Running Head #104

jgeller112 opened this issue Jan 3, 2025 · 8 comments

Comments

@jgeller112
Copy link

When I render my document to docx there is no header/running head.

@wjschne
Copy link
Owner

wjschne commented Jan 3, 2025

I am not sure what might be wrong. Can you post (or send to [email protected]) a minimal example that fails to create a header?

@jgeller112
Copy link
Author

jgeller112 commented Jan 3, 2025

I am using the latest extension.

---
title: "Language Without Borders: A Step-by-Step Guide to Analyzing Webcam Eye-Tracking Data for L2 Research"
# If blank, the running header is the title in upper case.
shorttitle: "VWP Webcam Tutorial"
# Set names and affiliations.
# It is nice to specify everyone's orcid, if possible.
# There can be only one corresponding author, but declaring one is optional.
author:
  - name: Jason Geller
    corresponding: true
    orcid: 0000-0002-7459-4505
    email: [email protected]
    url: www.drjasongeller.com
    # Roles are optional. 
    # Select from the CRediT: Contributor Roles Taxonomy https://credit.niso.org/
    # conceptualization, data curation, formal Analysis, funding acquisition, investigation, 
    # methodology, project administration, resources, software, supervision, validation, 
    # visualization, writing, editing
    roles:
      - conceptualization
      - writing
      - data curation
      - editing
      - software
      - formal analysis
    affiliations:
      - id: id1
        name: "Boston College"
        department: Department of Psychology and Neuroscience
        address: Mcguinn Hall 405
        city: Chestnut Hill
        region: MA
        country: USA
        postal-code: 02467-9991

  - name: Yanina Prystauka
    orcid: 0000-0000-0000-0002
    roles:
      - writing
      - editing
      - formal analysis
    affiliations: 
      - id: id2
        name: "University of Bergen"
        department: Department of Psychology and Neuroscience
  - name: Sarah Colby
    orcid: 0000-0000-0000-0003
    roles: 
      - writing
      - editing
    affiliations:
     - id: id3
       name: "University of Ottowa"
       department: Department of Psychology and Neuroscience
  - name: Julia Droulin
    orcid: 0000-0000-0000-0003
    roles: 
      - conceptualziation
      - writing
      - editing
      - funding acquisition
    affiliations:
     - id: id4
       name: "University of North Carolina at Chapel Hill"
       department: Department of Psychology and Neuroscience
author-note:
  status-changes: 
    # Example: [Author name] is now at [affiliation].
    affiliation-change: ~
    # Example: [Author name] is deceased.
    deceased: ~
  # Disclosures condensed to one paragraph, but you can start a field with two line breaks to break them up: \n\nNew Paragraph
  disclosures:
    # Example: This study was registered at X (Identifier Y).
    study-registration: This study was not preregistered. 
    # Acknowledge and cite data/materials to be shared.
    data-sharing: The data and code can be found at  https://github.com/jgeller112/L2_VWP_Webcam. 
    # Example: This article is based on data published in [Reference].
    # Example: This article is based on the dissertation completed by [citation].  
    related-report: ~
    # Example: [Author name] has been a paid consultant for Corporation X, which funded this study.
    conflict-of-interest: The authors have no conflicts of interest to disclose.
    # Example: This study was supported by Grant [Grant Number] from [Funding Source].
    financial-support: ~
    # Example: The authors are grateful to [Person] for [Reason].
    gratitude: ~
    # Example. Because the authors are equal contributors, order of authorship was determined by a fair coin toss.
    authorship-agreements: ~
abstract: "Eye-tracking has become a valuable tool for studying cognitive processes in second language (L2) acquisition and bilingualism (Godfroid et al., 2024). While research-grade infrared eye-trackers are commonly used, there are a number of issues that limit its wide-spread adoption. Recently, consumer-based webcam eye-tracking has emerged as an attractive alternative, requiring only internet access and a personal webcam. However, webcam eye-tracking presents unique design and preprocessing challenges that must be addressed for valid results. To help researchers overcome these challenges,we developed a comprehensive tutorial focused on visual world  webcam eye-tracking for L2 langauge research. Our guide will cover all key steps, from experiment design to data preprocessing and analysis, where we highlight the R package `webgazeR`, which is open source and freely available for download and installation: https://github.com/jgeller112/webgazeR. We offer best practices for environmental conditions, participant instructions,and tips for designing visual world experiments with webcam eye-tracking. To demonstrate these steps, we analyze data collected through the Gorilla platform (Anwyl-Irvine et al., 2020) using a single word Spanish visual world paradigm (VWP) and show competeiton within and between L2/L1. This tutorial aims to empower researchers by providing a step-by-step guide to successfully conduct visual world  webcam-based eye-tracking studies. To follow along with this tutorial, please download the entire manuscript and its accompaying code with data from here: https://github.com/jgeller112/L2_VWP_Webcam. "

# Put as many keywords at you like, separated by commmas (e.g., [reliability, validity, generalizability])
keywords: [VWP, Tutorial, Webcam eye-tracking, R, Gorilla]
# If true, tables and figures are mingled with the text instead of listed at the end of the document.
floatsintext: true
# Numbered lines (.pdf and .docx only)
numbered-lines: true
# File with references
bibliography: references.bib
# Suppress title page
suppress-title-page: false
# Link citations to references
link-citations: true
# Masks references that appear in the masked-citations list
mask: false
masked-citations:
# If true, adds today's date below author affiliations. If text, can be any value.
# This is not standard APA format, but it is convenient.
# Works with docx, html, and typst. 
draft-date: false
# Language options. See https://quarto.org/docs/authoring/language.html
lang: en
language:
  citation-last-author-separator: "and"
  citation-masked-author: "Masked Citation"
  citation-masked-date: "n.d."
  citation-masked-title: "Masked Title"
  email: "[email protected]"
  title-block-author-note: "Author Note"
  title-block-correspondence-note: "Correspondence concerning this article should be addressed to"
  title-block-role-introduction: "Author roles were classified using the Contributor Role Taxonomy (CRediT; https://credit.niso.org/) as follows:"
format:
  apaquarto-docx: default
execute: 
  echo: true
  warning: false
  message: false
  freeze: auto
  fig-align: center
  tbl-align: center
  code-line-numbers: true
  keep-with-next: true
  code-overflow: wrap
---

Eye-tracking technology, which has a history spanning over a century, has seen remarkable advancements. In the early days, eye-tracking sometimes required the use of contact lenses fitted with search coils, often requiring anesthesia, or the attachment of suction cups to the sclera of the eyes [@pluzyczka2018]. These methods were not only cumbersome for the researcher, but also uncomfortable and invasive for participants. Over time, such approaches have been replaced by non-invasive, lightweight, and user-friendly systems. Today, modern eye-tracking technology is widely accessible in laboratories worldwide, enabling researchers to tackle critical questions about cognitive processes . This evolution has had a profound impact on fields such as psycholinguistics and bilingualism opening up new possibilities for understanding how language is processed in real time [@godfroid].



@jgeller112
Copy link
Author

When I use typst or pdf it will output a header

@wjschne
Copy link
Owner

wjschne commented Jan 6, 2025

The problem is that I implemented the numbered-lines option with a hack. Unfortunately, it overwrites the header. I will try to get this work properly. In the meantime, I would turn off the numbered lines option and then, when you are ready to send the document somewhere, turn it on in Word itself:

https://support.microsoft.com/en-us/office/add-or-remove-line-numbers-b67cd35e-422c-42eb-adc9-256ca9802e22

@jgeller112
Copy link
Author

Thanks for figuring this out!

@jgeller112
Copy link
Author

Still having issues here.

Screenshot 2025-01-07 at 3 53 51 PM

The header is still not displayed properly.

@wjschne
Copy link
Owner

wjschne commented Jan 8, 2025

At first I could not figure out what was wrong. Then, I realized that the screenshot was from Microsoft 365. The custom header is populated from the document's description field. This does not seem to work in the online viewer. However, if you open the document with the desktop application of MS Word, you should see the heading you specified. I will look into a solution that works for the online viewer as well as the desktop application.

@jgeller112
Copy link
Author

I actually opened it from my desktop version (it is a Mac and is in unactivated mode so maybe that is it?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants